spiral / toolkit
Spiral 框架的表单序列化工具包
v1.2.2
2023-05-18 12:15 UTC
Requires
- php: >=7.2
- spiral/stempler-bridge: ^1.0 | ^2.0
- dev-master
- 2.0.x-dev
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.67
- v1.1.66
- v1.1.65
- v1.1.64
- v1.1.63
- v1.1.62
- v1.1.61
- v1.1.60
- v1.1.59
- v1.1.56
- v1.1.55
- v1.1.54
- v1.1.53
- v1.1.52
- v1.1.51
- v1.1.50
- v1.1.49.x-dev
- v1.1.49
- v1.1.48
- v1.1.46
- v1.1.45
- v1.1.44
- v1.1.43
- v1.1.42
- v1.1.41
- v1.1.40
- v1.1.39
- v1.1.38
- v1.1.37
- v1.1.36
- v1.1.35
- v1.1.34
- v1.1.33
- v1.1.32
- v1.1.31
- v1.1.30
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- v0.9.13
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.27
- v0.8.26
- v0.8.25
- v0.8.24
- v0.8.23
- v0.8.22
- v0.8.21
- v0.8.20
- v0.8.19
- v0.8.18
- v0.8.17
- v0.8.16
- v0.8.15
- v0.8.14
- v0.8.13
- v0.8.12
- v0.8.11
- v0.8.10
- v0.8.9
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.4
- v0.8.2
- v0.8.1
- v0.8.0
- dev-dependabot/npm_and_yarn/word-wrap-1.2.4
- dev-dependabot/npm_and_yarn/semver-5.7.2
- dev-dependabot/npm_and_yarn/stylelint-15.10.1
- dev-release/1.2.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-release/v.1.1.66
- dev-feature/experimental-responsive
- dev-release/v.1.1.62
- dev-release/v.1.1.60
- dev-release/v1.1.55
- dev-release/v1.1.54
- dev-feature/autocomplete-improvement
- dev-release/v1.1.53
- dev-fix/datagrid-action-target
- dev-fix/sf-table
- dev-feature/autocomplete-external-data
- dev-feature/allow-setting-label
- dev-release/v1.1.43
- dev-release/v1.1.42
- dev-feature/autocomplete-initial-value
- dev-release/v1.1.41
- dev-feature/handle-action-change
- dev-release/v1.1.40
- dev-fix-multiple-select
- dev-release/v1.1.29
- dev-feature/v1.1.26
- dev-release/v1.1.25
- dev-release/v1.1.24
- dev-fix/improve-error-handling
- dev-feature/autocomplete-debounce-and-loader
- dev-fix/submit-on-reset
- dev-fix/form-messages-assign
- dev-develop
- dev-release/v1.1.19
- dev-release/v1.1.13
- dev-feature/error-group
- dev-feature/better-autocomplete
- dev-feature/fix-modal
- dev-release/v1.1.10
- dev-release/v1.1.9
- dev-feature/restore-ids
- dev-feature/SK-11-dark-theme
This package is auto-updated.
Last update: 2024-09-19 00:33:08 UTC
README
Spiral 框架的 AJAX 和表单序列化工具包。
仓库包含以下两个主要组件:工具包 和 保管者
工具包是一组模块,实现了一个简单的前端框架,能够序列化表单,显示加载器和数据网格
保管者是一组脚本,演示了使用 Spiral 框架的典型工具包用法,包括基于 Bootstrap 4 的默认样式。
先决条件
- node 11.15.0+ 使用最新的 LTS 版本
- yarn 1.17.0+ 使用最新的稳定版本
项目基于 Lerna。
启动
- 执行
npx lerna bootstrap
以安装依赖项并链接包 - 构建工具包和依赖项
yarn build
其他开发命令
当在相互依赖的包中同时开发时,使用如下单独的命令:
yarn build:core
构建 core 包。yarn build:form
构建 form 包。yarn build:lock
构建 lock 包。yarn build:toolkit
构建 toolkit 包。yarn build:datagrid
构建 datagrid 包。yarn build:keeper
构建 keeper 包。
或者,从包文件夹中执行 yarn build
。
其他命令
npx lerna run lint
对每个包进行代码风格检查。注意,在将数据推送到仓库之前,此命令预期将成功完成。
项目结构
项目是一个 单一仓库,包含以下包:
packages/core
- 工具包的核心packages/form
- 工具包的表单模块packages/lock
- 工具包的锁定模块packages/core
- 主要的工具包包
发布版本
在单独的分支中执行以下操作:
lerna publish
- 在 lerna 和根 package.json 中手动升级版本
yarn gitrelease
Windows
在 Windows 上执行 git config core.autocrlf false
以禁用自动行结束转换。
MIT 许可证 (MIT)。有关更多信息,请参阅 LICENSE
。由 Spiral Scout 维护。