soma-kit 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +106 -112
- package/bin/soma-kit.mjs +32 -2
- package/bin/soma.mjs +22 -0
- package/package.json +14 -7
- package/packs/finance/reconcile-board.ts +5 -2
- package/packs/finance/reconcile-desk/compile.ts +3 -2
- package/spec/generated/kit-app.schema.json +929 -37
- package/spec/generated/kit-page.schema.json +1684 -161
- package/spec/kit-grammar.json +1176 -584
- package/spec/kit-grammar.schema.json +1971 -393
- package/src/app/app-config.ts +449 -347
- package/src/app/component-gate.ts +283 -28
- package/src/app/compose-apps.ts +79 -8
- package/src/app/define-kit-actions.ts +245 -41
- package/src/app/define-kit-app.ts +176 -33
- package/src/app/define-kit-view.ts +104 -0
- package/src/app/dev-diagnostic.ts +5 -0
- package/src/app/envelope.ts +1 -161
- package/src/app/index.ts +29 -6
- package/src/app/kit-view-context.ts +439 -0
- package/src/app/notify-renderer.ts +1 -115
- package/src/app/paged-list-adapter.ts +1 -240
- package/src/app/render-ports.ts +18 -0
- package/src/app/server-pages.ts +11 -3
- package/src/app/server.ts +530 -103
- package/src/app/submit.types.ts +1 -1
- package/src/app/theme-endpoint.ts +63 -0
- package/src/app/theme-runtime-shared.ts +1 -0
- package/src/app/theme-runtime.ts +667 -0
- package/src/base/action-busy.ts +103 -6
- package/src/base/action-gate.ts +4 -255
- package/src/base/action-slots.ts +58 -0
- package/src/base/alert.ts +5 -3
- package/src/base/anchored-layer.ts +50 -0
- package/src/base/avatar.ts +2 -2
- package/src/base/button.ts +99 -37
- package/src/base/cascader.ts +11 -12
- package/src/base/check-core.ts +9 -1
- package/src/base/checkbox.ts +2 -1
- package/src/base/choice.ts +49 -28
- package/src/base/class-candidates.ts +17 -0
- package/src/base/color-picker.ts +16 -11
- package/src/base/combobox.ts +5 -3
- package/src/base/command-palette.ts +10 -6
- package/src/base/context-menu.ts +10 -7
- package/src/base/countdown.ts +1 -1
- package/src/base/date-range.ts +32 -18
- package/src/base/date.ts +135 -28
- package/src/base/delta.ts +72 -0
- package/src/base/divider.ts +2 -2
- package/src/base/end-edge.ts +49 -0
- package/src/base/fab.ts +12 -5
- package/src/base/gap-value.ts +148 -0
- package/src/base/hint-tips.ts +170 -0
- package/src/base/icons.ts +8 -0
- package/src/base/illustrations.ts +94 -0
- package/src/base/image.ts +1 -1
- package/src/base/index.ts +35 -11
- package/src/base/input.ts +42 -13
- package/src/base/kbd.ts +3 -1
- package/src/base/link.ts +4 -4
- package/src/base/listbox-core.ts +56 -35
- package/src/base/loading-gate.ts +186 -0
- package/src/base/mentions.ts +7 -6
- package/src/base/menu-button.ts +28 -12
- package/src/base/menu-core.ts +41 -8
- package/src/base/motion/aura.ts +2 -2
- package/src/base/motion/hover-3d.ts +3 -3
- package/src/base/motion/hover-gallery.ts +2 -2
- package/src/base/motion/marquee.ts +3 -3
- package/src/base/motion/text-rotate.ts +2 -2
- package/src/base/number.ts +93 -80
- package/src/base/otp.ts +9 -5
- package/src/base/overlay-runtime.ts +235 -0
- package/src/base/permission-gate.ts +6 -0
- package/src/base/popover.ts +48 -16
- package/src/base/popup.ts +143 -19
- package/src/base/portal-core.ts +4 -0
- package/src/base/price-text.ts +2 -2
- package/src/base/progress.ts +2 -2
- package/src/base/qr-code.ts +4 -4
- package/src/base/qty-stepper.ts +14 -8
- package/src/base/radio.ts +2 -1
- package/src/base/range.ts +21 -4
- package/src/base/rating.ts +12 -7
- package/src/base/reason-tip.ts +150 -0
- package/src/base/segmented.ts +27 -21
- package/src/base/select.ts +4 -3
- package/src/base/shared.ts +387 -49
- package/src/base/state-panel.ts +346 -0
- package/src/base/status-tone.ts +27 -0
- package/src/base/sticky-edge.ts +116 -0
- package/src/base/swap.ts +10 -7
- package/src/base/switch.ts +11 -6
- package/src/base/tag-input.ts +20 -16
- package/src/base/tag.ts +68 -34
- package/src/base/text.ts +80 -18
- package/src/base/textarea.ts +37 -11
- package/src/base/time-picker.ts +18 -13
- package/src/base/tree-select.ts +21 -12
- package/src/base/trend-tone.ts +9 -0
- package/src/base/upload.ts +48 -14
- package/src/base/view-transition.ts +77 -0
- package/src/base/virtual-list.ts +107 -1
- package/src/biz/approval-desk/compile.ts +23 -41
- package/src/biz/approval-desk/shell.ts +11 -8
- package/src/biz/auth-panel/compile.ts +37 -52
- package/src/biz/auth-panel/index.ts +1 -1
- package/src/biz/auth-panel/shell.ts +5 -4
- package/src/biz/category-crud/compile.ts +23 -37
- package/src/biz/category-crud/shell.ts +2 -1
- package/src/biz/checkout-page/compile.ts +22 -5
- package/src/biz/checkout-page/shell.ts +4 -3
- package/src/biz/compose.ts +13 -27
- package/src/biz/define.ts +5 -4
- package/src/biz/import-wizard/compile.ts +22 -26
- package/src/biz/import-wizard/hub.ts +126 -61
- package/src/biz/import-wizard/shell.ts +5 -4
- package/src/biz/index.ts +3 -3
- package/src/biz/landing-page/compile.ts +19 -3
- package/src/biz/link/hub.ts +69 -22
- package/src/biz/link/shared.ts +127 -119
- package/src/biz/master-sub/compile.ts +127 -48
- package/src/biz/master-sub/index.ts +5 -2
- package/src/biz/master-sub/shell.ts +95 -18
- package/src/biz/multi-board/compile.ts +38 -50
- package/src/biz/multi-board/index.ts +18 -1
- package/src/biz/multi-board/shell.ts +32 -20
- package/src/biz/notification-center/compile.ts +21 -33
- package/src/biz/notification-center/shell.ts +6 -4
- package/src/biz/page-templates/domain-templates.ts +80 -13
- package/src/biz/page-templates/result-page/compile.ts +11 -2
- package/src/biz/page-templates/result-page/shell.ts +2 -1
- package/src/biz/page-templates/shared.ts +34 -36
- package/src/biz/page-templates/sign-in-page/shell.ts +2 -2
- package/src/biz/record-detail/compile.ts +48 -43
- package/src/biz/record-detail/index.ts +11 -1
- package/src/biz/record-detail/shell.ts +8 -6
- package/src/biz/settings-center/compile.ts +7 -5
- package/src/biz/settings-center/shell.ts +6 -4
- package/src/biz/shared/action-host.ts +97 -211
- package/src/biz/shared/compile-helpers.ts +98 -0
- package/src/biz/shared/coordinator.ts +472 -92
- package/src/biz/shared/index.ts +13 -2
- package/src/biz/shared/object-aliases.ts +154 -0
- package/src/biz/shared/overlay-compile.ts +239 -0
- package/src/biz/shared/overlay-shell.ts +209 -0
- package/src/biz/shared/pipes.ts +50 -31
- package/src/biz/shared/remove-wire.ts +14 -0
- package/src/biz/shared/runtime-hub.ts +226 -24
- package/src/biz/single-form/compile.ts +16 -37
- package/src/biz/single-form/shell.ts +4 -3
- package/src/biz/standard-crud/compile.ts +72 -255
- package/src/biz/standard-crud/shell.ts +21 -99
- package/src/biz/step-form/compile.ts +26 -97
- package/src/biz/step-form/hub.ts +34 -41
- package/src/biz/step-form/shell.ts +5 -5
- package/src/biz/types.ts +4 -3
- package/src/cli/core-imports.ts +54 -0
- package/src/cli/kit-cli.ts +254 -25
- package/src/cli/kit-init.ts +227 -0
- package/src/cli/layout-cli.ts +167 -0
- package/src/cli/migrate/index.ts +10 -0
- package/src/cli/migrate/migrate.ts +248 -0
- package/src/cli/migrate/text-utils.ts +306 -0
- package/src/cli/migrate/theme-map.ts +104 -0
- package/src/cli/migrate/ts-rules.ts +235 -0
- package/src/cli/migrate/types.ts +95 -0
- package/src/cli/migrate/view-skeleton.ts +159 -0
- package/src/cli/migrate/yaml-report.ts +376 -0
- package/src/cli/migrate/yaml-rules.ts +465 -0
- package/src/cli/service-endpoint-check.ts +425 -0
- package/src/cli/source-path-check.d.mts +17 -0
- package/src/cli/source-path-check.mjs +334 -0
- package/src/cli/view-writes.ts +761 -0
- package/src/compile/action-host-attach.ts +21 -29
- package/src/compile/closed-set.ts +570 -0
- package/src/compile/compile-page.ts +267 -76
- package/src/compile/component-candidates.ts +13 -2
- package/src/compile/hints.ts +30 -1
- package/src/compile/index.ts +1 -0
- package/src/compile/kit-error.ts +1 -0
- package/src/compile/layout-lint/engine.ts +82 -0
- package/src/compile/layout-lint/index.ts +55 -0
- package/src/compile/layout-lint/rules-composition.ts +218 -0
- package/src/compile/layout-lint/rules-form.ts +192 -0
- package/src/compile/layout-lint/rules-table.ts +194 -0
- package/src/compile/layout-lint/score.ts +52 -0
- package/src/compile/layout-lint/types.ts +51 -0
- package/src/compile/locate.ts +21 -1
- package/src/compile/parse.ts +370 -41
- package/src/compile/redirect.ts +6 -2
- package/src/compile/remove-guard.ts +10 -7
- package/src/compile/styles.ts +63 -2
- package/src/compile/types.ts +31 -3
- package/src/compile/view-check.ts +284 -0
- package/src/data/amount-breakdown.ts +8 -3
- package/src/data/anchor-nav.ts +2 -2
- package/src/data/approval-flow.ts +3 -3
- package/src/data/assignment-picker.ts +92 -55
- package/src/data/async-result-panel.ts +111 -9
- package/src/data/breadcrumbs.ts +5 -4
- package/src/data/calendar.ts +24 -27
- package/src/data/carousel.ts +13 -8
- package/src/data/chart.ts +183 -44
- package/src/data/checklist.ts +20 -7
- package/src/data/code-view.ts +12 -6
- package/src/data/comment-thread.ts +7 -4
- package/src/data/confirm-dialog.ts +81 -18
- package/src/data/context-menu.ts +29 -37
- package/src/data/d9-util.ts +2 -18
- package/src/data/diff.ts +4 -2
- package/src/data/dock.ts +3 -3
- package/src/data/embed.ts +233 -30
- package/src/data/field-mapper.ts +35 -30
- package/src/data/flow-editor-contract.ts +8 -1
- package/src/data/flow-editor.ts +113 -108
- package/src/data/flow-node-options.ts +120 -0
- package/src/data/flow-remote-options.ts +0 -103
- package/src/data/footer.ts +2 -2
- package/src/data/form-draft-registry.ts +2 -4
- package/src/data/gantt.ts +19 -19
- package/src/data/hero.ts +4 -3
- package/src/data/image-viewer.ts +27 -30
- package/src/data/index.ts +5 -2
- package/src/data/item-list.ts +48 -31
- package/src/data/kanban.ts +82 -52
- package/src/data/media-grid.ts +20 -20
- package/src/data/mega-menu.ts +6 -4
- package/src/data/menu-dom.ts +4 -2
- package/src/data/menu.ts +47 -15
- package/src/data/mockup.ts +10 -6
- package/src/data/modal-dialog.ts +49 -25
- package/src/data/navbar.ts +12 -7
- package/src/data/notice-list.ts +268 -0
- package/src/data/notify-renderer.ts +250 -0
- package/src/data/object-form.ts +1360 -666
- package/src/data/outcome-watch.ts +61 -2
- package/src/data/pager.ts +80 -34
- package/src/data/permission-matrix.ts +52 -31
- package/src/data/permission-tree.ts +71 -44
- package/src/data/pricing-table.ts +30 -14
- package/src/data/prompt-dialog.ts +124 -194
- package/src/data/reaction-bar.ts +83 -92
- package/src/data/read-rollback.ts +73 -0
- package/src/data/record-card.ts +26 -5
- package/src/data/record-picker.ts +104 -55
- package/src/data/redirect.ts +32 -32
- package/src/data/remote-options.ts +13 -6
- package/src/data/request-console.ts +5 -3
- package/src/data/resident.ts +2 -1
- package/src/data/result-panel.ts +8 -4
- package/src/data/rich-text.ts +61 -55
- package/src/data/row-editor.ts +362 -76
- package/src/data/rule-builder.ts +26 -20
- package/src/data/shape-util.ts +27 -9
- package/src/data/stat-group.ts +392 -109
- package/src/data/static-lazy.ts +1 -0
- package/src/data/static-registry.ts +24 -11
- package/src/data/steps.ts +10 -5
- package/src/data/survey.ts +27 -32
- package/src/data/system-switcher.ts +3 -3
- package/src/data/text-action-button.ts +17 -0
- package/src/data/timeline.ts +19 -8
- package/src/data/tour-guide.ts +23 -30
- package/src/data/transfer.ts +62 -38
- package/src/data/tree-table.ts +152 -78
- package/src/data/tree.ts +49 -36
- package/src/data/trend-line.ts +6 -24
- package/src/data/virtual-rows.ts +133 -82
- package/src/data/watermark.ts +2 -2
- package/src/data/wrap.ts +63 -38
- package/src/data/wrapped-candidates.ts +10 -0
- package/src/frames/blank-frame.ts +1 -0
- package/src/frames/index.ts +2 -2
- package/src/frames/page-bar.ts +26 -24
- package/src/frames/page-header.ts +14 -5
- package/src/frames/page-status.ts +9 -7
- package/src/frames/shared.ts +36 -25
- package/src/frames/single-frame.ts +1 -0
- package/src/frames/split-frame/shell.ts +6 -6
- package/src/frames/split-frame/wiring.ts +2 -2
- package/src/frames/tabs-frame/shell.ts +4 -14
- package/src/frames/tabs-frame/wiring.ts +5 -8
- package/src/frames/top-main-frame.ts +3 -2
- package/src/frames/types.ts +13 -2
- package/src/frames/workspace-frame/extras.ts +21 -5
- package/src/frames/workspace-frame/index.ts +1 -1
- package/src/frames/workspace-frame/shell.ts +3 -2
- package/src/frames/workspace-frame/state.ts +13 -6
- package/src/frames/workspace-frame/view.ts +250 -48
- package/src/generated/kit-grammar-runtime.ts +645 -397
- package/src/generated/page-origin.ts +0 -11
- package/src/i18n/kit-text.ts +84 -29
- package/src/i18n/resolve-text-refs.ts +22 -6
- package/src/index.ts +2 -1
- package/src/object-renderer/action-gate.ts +11 -147
- package/src/object-renderer/arrange.ts +112 -84
- package/src/object-renderer/collapse-wiring.ts +2 -2
- package/src/object-renderer/collection-expand.ts +2 -2
- package/src/object-renderer/collection-parts.ts +401 -104
- package/src/object-renderer/collection-table.ts +287 -45
- package/src/object-renderer/collection.ts +258 -104
- package/src/object-renderer/compile-data.ts +112 -102
- package/src/object-renderer/crud-bridge.ts +32 -0
- package/src/object-renderer/defaults.ts +38 -16
- package/src/object-renderer/display-checks.ts +4 -25
- package/src/object-renderer/emit-events.ts +224 -176
- package/src/object-renderer/emit-object.ts +15 -2
- package/src/object-renderer/emit-static.ts +533 -151
- package/src/object-renderer/field-value.ts +593 -396
- package/src/object-renderer/filter-reload.ts +70 -0
- package/src/object-renderer/form-detail.ts +111 -2
- package/src/object-renderer/form-notify.ts +45 -0
- package/src/object-renderer/index.ts +26 -0
- package/src/object-renderer/key-field.ts +12 -0
- package/src/object-renderer/layout-facts.ts +386 -0
- package/src/object-renderer/layout-plan.ts +132 -0
- package/src/object-renderer/layout-plan.types.ts +22 -0
- package/src/object-renderer/linkage.ts +7 -270
- package/src/object-renderer/merge-class.ts +18 -1
- package/src/object-renderer/parts.ts +252 -1
- package/src/object-renderer/path-pick.ts +27 -0
- package/src/object-renderer/render-object.ts +456 -89
- package/src/object-renderer/request-actions.ts +232 -249
- package/src/object-renderer/skeleton.ts +58 -19
- package/src/object-renderer/table-actions.ts +319 -111
- package/src/object-renderer/table-summary.ts +2 -2
- package/src/object-renderer/table-tools.ts +429 -94
- package/src/object-renderer/types.ts +204 -127
- package/src/object-renderer/view-binding.ts +393 -0
- package/src/page-target/ai-surface.ts +37 -0
- package/src/page-target/compile.ts +48 -8
- package/src/page-target/index.ts +8 -1
- package/src/page-target/intent-schema.ts +165 -28
- package/src/page-target/target.ts +262 -51
- package/src/page-target/writer-policy.ts +14 -3
- package/src/recipes/container.ts +210 -0
- package/src/recipes/control.ts +277 -0
- package/src/recipes/index.ts +312 -0
- package/src/recipes/nowrap.ts +16 -0
- package/src/recipes/overlay.ts +240 -0
- package/src/recipes/placeholder.ts +79 -0
- package/src/recipes/rail-grid.ts +45 -0
- package/src/recipes/slot-align.ts +56 -0
- package/src/recipes/state.ts +99 -0
- package/src/recipes/status.ts +139 -0
- package/src/recipes/surface.ts +40 -0
- package/src/recipes/table-row.ts +88 -0
- package/src/recipes/title-row.ts +37 -0
- package/src/recipes/typography.ts +99 -0
- package/src/shared/action-field-guard.ts +41 -0
- package/src/shared/confirm-decl.ts +118 -0
- package/src/shared/envelope.ts +207 -0
- package/src/shared/escape.ts +57 -0
- package/src/shared/kit-error.ts +21 -0
- package/src/shared/paged-list-adapter.ts +15 -0
- package/src/shared/path-guard.ts +127 -0
- package/src/shared/theme-runtime-shared.ts +180 -0
- package/src/shared/view-info.ts +10 -0
- package/src/theme/index.ts +13 -0
- package/src/theme/kit-theme-text.ts +1 -1
- package/src/theme/kit-theme.css +407 -10
- package/src/theme/kit-theme.tpl +407 -10
- package/src/theme/nine-dim-structure.ts +247 -0
- package/src/theme/surface-layers.ts +101 -0
- package/src/theme/theme-tokens.ts +130 -84
- package/src/theme/theme-types.ts +103 -0
- package/src/theme/typography.ts +17 -17
- package/src/biz/shared/step-values.ts +0 -25
- package/src/biz/step-form/steps-ref.ts +0 -112
- package/src/data/options-bus.ts +0 -24
- package/src/object-renderer/adopt-gate.ts +0 -333
- package/src/object-renderer/field-policy.ts +0 -89
- package/src/object-renderer/outcome-draft.ts +0 -61
- package/src/theme/nine-dim-palettes.ts +0 -1473
|
@@ -123,6 +123,9 @@
|
|
|
123
123
|
"inherit_layout": {
|
|
124
124
|
"description": "kit-grammar.json#pageKeys.inherit_layout"
|
|
125
125
|
},
|
|
126
|
+
"view": {
|
|
127
|
+
"description": "kit-grammar.json#pageKeys.view"
|
|
128
|
+
},
|
|
126
129
|
"layout": {
|
|
127
130
|
"type": "object",
|
|
128
131
|
"description": "应用级默认页面外框与导航继承配置"
|
|
@@ -223,7 +226,6 @@
|
|
|
223
226
|
"anyOf": [
|
|
224
227
|
{
|
|
225
228
|
"enum": [
|
|
226
|
-
"limitsRef",
|
|
227
229
|
"StandardCrud",
|
|
228
230
|
"MasterSubWorkstation",
|
|
229
231
|
"CategoryCrud",
|
|
@@ -235,6 +237,8 @@
|
|
|
235
237
|
"SettingsCenter",
|
|
236
238
|
"CheckoutPage",
|
|
237
239
|
"LandingPage",
|
|
240
|
+
"NotificationCenter",
|
|
241
|
+
"AuthPanel",
|
|
238
242
|
"ResultPage",
|
|
239
243
|
"ImportWizard",
|
|
240
244
|
"SignInPage"
|
|
@@ -248,8 +252,154 @@
|
|
|
248
252
|
"objects": {
|
|
249
253
|
"type": "object",
|
|
250
254
|
"description": "对象角色表:角色名 -> 对象声明(角色集合由业务组件决定,见 kit-grammar.json#bizComponents)",
|
|
255
|
+
"properties": {
|
|
256
|
+
"overlays": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
259
|
+
"additionalProperties": {
|
|
260
|
+
"$ref": "#/definitions/object"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"entity": {
|
|
264
|
+
"$ref": "#/definitions/object",
|
|
265
|
+
"description": "对象角色(如 StandardCrud.objects.entity)"
|
|
266
|
+
},
|
|
267
|
+
"master": {
|
|
268
|
+
"$ref": "#/definitions/object",
|
|
269
|
+
"description": "对象角色(如 MasterSubWorkstation.objects.master)"
|
|
270
|
+
},
|
|
271
|
+
"subs": {
|
|
272
|
+
"type": "object",
|
|
273
|
+
"description": "多对象角色表(如 MasterSubWorkstation.objects.subs):子对象名 -> 对象声明",
|
|
274
|
+
"additionalProperties": {
|
|
275
|
+
"$ref": "#/definitions/object"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"aside": {
|
|
279
|
+
"$ref": "#/definitions/object",
|
|
280
|
+
"description": "对象角色(如 MasterSubWorkstation.objects.aside)"
|
|
281
|
+
},
|
|
282
|
+
"category": {
|
|
283
|
+
"$ref": "#/definitions/object",
|
|
284
|
+
"description": "对象角色(如 CategoryCrud.objects.category)"
|
|
285
|
+
},
|
|
286
|
+
"item": {
|
|
287
|
+
"$ref": "#/definitions/object",
|
|
288
|
+
"description": "对象角色(如 CategoryCrud.objects.item)"
|
|
289
|
+
},
|
|
290
|
+
"filter": {
|
|
291
|
+
"$ref": "#/definitions/object",
|
|
292
|
+
"description": "对象角色(如 MultiObjectBoard.objects.filter)"
|
|
293
|
+
},
|
|
294
|
+
"panels": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"description": "多对象角色表(如 MultiObjectBoard.objects.panels):子对象名 -> 对象声明",
|
|
297
|
+
"additionalProperties": {
|
|
298
|
+
"$ref": "#/definitions/object"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"target": {
|
|
302
|
+
"$ref": "#/definitions/object",
|
|
303
|
+
"description": "对象角色(如 SingleObjectForm.objects.target)"
|
|
304
|
+
},
|
|
305
|
+
"queue": {
|
|
306
|
+
"$ref": "#/definitions/object",
|
|
307
|
+
"description": "对象角色(如 ApprovalDesk.objects.queue)"
|
|
308
|
+
},
|
|
309
|
+
"request": {
|
|
310
|
+
"$ref": "#/definitions/object",
|
|
311
|
+
"description": "对象角色(如 ApprovalDesk.objects.request)"
|
|
312
|
+
},
|
|
313
|
+
"history": {
|
|
314
|
+
"$ref": "#/definitions/object",
|
|
315
|
+
"description": "对象角色(如 ApprovalDesk.objects.history)"
|
|
316
|
+
},
|
|
317
|
+
"record": {
|
|
318
|
+
"$ref": "#/definitions/object",
|
|
319
|
+
"description": "对象角色(如 RecordDetail.objects.record)"
|
|
320
|
+
},
|
|
321
|
+
"groups": {
|
|
322
|
+
"type": "object",
|
|
323
|
+
"description": "多对象角色表(如 RecordDetail.objects.groups):子对象名 -> 对象声明",
|
|
324
|
+
"additionalProperties": {
|
|
325
|
+
"$ref": "#/definitions/object"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"steps": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"description": "多对象角色表(如 StepForm.objects.steps):子对象名 -> 对象声明",
|
|
331
|
+
"additionalProperties": {
|
|
332
|
+
"$ref": "#/definitions/object"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"sections": {
|
|
336
|
+
"type": "object",
|
|
337
|
+
"description": "多对象角色表(如 SettingsCenter.objects.sections):子对象名 -> 对象声明",
|
|
338
|
+
"additionalProperties": {
|
|
339
|
+
"$ref": "#/definitions/object"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"form": {
|
|
343
|
+
"$ref": "#/definitions/object",
|
|
344
|
+
"description": "对象角色(如 CheckoutPage.objects.form)"
|
|
345
|
+
},
|
|
346
|
+
"items": {
|
|
347
|
+
"$ref": "#/definitions/object",
|
|
348
|
+
"description": "对象角色(如 CheckoutPage.objects.items)"
|
|
349
|
+
},
|
|
350
|
+
"amounts": {
|
|
351
|
+
"$ref": "#/definitions/object",
|
|
352
|
+
"description": "对象角色(如 CheckoutPage.objects.amounts)"
|
|
353
|
+
},
|
|
354
|
+
"hero": {
|
|
355
|
+
"$ref": "#/definitions/object",
|
|
356
|
+
"description": "对象角色(如 LandingPage.objects.hero)"
|
|
357
|
+
},
|
|
358
|
+
"footer": {
|
|
359
|
+
"$ref": "#/definitions/object",
|
|
360
|
+
"description": "对象角色(如 LandingPage.objects.footer)"
|
|
361
|
+
},
|
|
362
|
+
"notices": {
|
|
363
|
+
"$ref": "#/definitions/object",
|
|
364
|
+
"description": "对象角色(如 NotificationCenter.objects.notices)"
|
|
365
|
+
},
|
|
366
|
+
"user": {
|
|
367
|
+
"$ref": "#/definitions/object",
|
|
368
|
+
"description": "对象角色(如 AuthPanel.objects.user)"
|
|
369
|
+
},
|
|
370
|
+
"roles": {
|
|
371
|
+
"$ref": "#/definitions/object",
|
|
372
|
+
"description": "对象角色(如 AuthPanel.objects.roles)"
|
|
373
|
+
},
|
|
374
|
+
"matrix": {
|
|
375
|
+
"$ref": "#/definitions/object",
|
|
376
|
+
"description": "对象角色(如 AuthPanel.objects.matrix)"
|
|
377
|
+
},
|
|
378
|
+
"result": {
|
|
379
|
+
"$ref": "#/definitions/object",
|
|
380
|
+
"description": "对象角色(如 ResultPage.objects.result)"
|
|
381
|
+
},
|
|
382
|
+
"detail": {
|
|
383
|
+
"$ref": "#/definitions/object",
|
|
384
|
+
"description": "对象角色(如 ResultPage.objects.detail)"
|
|
385
|
+
},
|
|
386
|
+
"job": {
|
|
387
|
+
"$ref": "#/definitions/object",
|
|
388
|
+
"description": "对象角色(如 ImportWizard.objects.job)"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
251
391
|
"additionalProperties": {
|
|
252
|
-
"
|
|
392
|
+
"anyOf": [
|
|
393
|
+
{
|
|
394
|
+
"$ref": "#/definitions/object"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"type": "object",
|
|
398
|
+
"additionalProperties": {
|
|
399
|
+
"$ref": "#/definitions/object"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
253
403
|
}
|
|
254
404
|
},
|
|
255
405
|
"class": {
|
|
@@ -268,58 +418,1319 @@
|
|
|
268
418
|
"description": "页面 / 产品块级主题 page.theme、product.theme 的写面(规格 Q 波第 1 项)。令牌值一律由 soma-foundation 求解,编译期发作用域类 soma-scope-<id> 的变量块,不写 CSSOM;page.theme 只管内容区(各产品根),不含页面框外壳。只收词条:块级主题的机器写面:AI 只许写光学意图——简写 inverse / dark / light,或只含 mode / color 的对象;mode 取昼夜光感词条里极性落在简写域内的、减去区域禁用词,color 取主色意向词条减去企业专属色号;factors(技术旋钮)、name(主题库名)、别的维度键、hex 一律拒收。词条域不在这里手抄:mode / color 的词条读 visual-factors 投影(维度作者键取 modeDimension / colorDimension…",
|
|
269
419
|
"anyOf": [
|
|
270
420
|
{
|
|
271
|
-
"enum": [
|
|
272
|
-
"inverse",
|
|
273
|
-
"dark",
|
|
274
|
-
"light"
|
|
275
|
-
]
|
|
421
|
+
"enum": [
|
|
422
|
+
"inverse",
|
|
423
|
+
"dark",
|
|
424
|
+
"light"
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": "object",
|
|
429
|
+
"additionalProperties": false,
|
|
430
|
+
"minProperties": 1,
|
|
431
|
+
"properties": {
|
|
432
|
+
"mode": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "mode 词条(取值域读 soma-design visual-factors,由编译器校验;KIT-THEME-001..003)"
|
|
435
|
+
},
|
|
436
|
+
"color": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"description": "color 词条(取值域读 soma-design visual-factors,由编译器校验;KIT-THEME-001..003)"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"emphasis": {
|
|
445
|
+
"enum": [
|
|
446
|
+
"primary",
|
|
447
|
+
"normal",
|
|
448
|
+
"subtle"
|
|
449
|
+
],
|
|
450
|
+
"description": "视觉强调级别(primary 强强调 / normal 常规 / subtle 弱化)"
|
|
451
|
+
},
|
|
452
|
+
"surface": {
|
|
453
|
+
"enum": [
|
|
454
|
+
"card",
|
|
455
|
+
"flush",
|
|
456
|
+
"plain"
|
|
457
|
+
],
|
|
458
|
+
"description": "表面容器形态(card 卡片 / flush 贴边 / plain 极简无边框)"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"required": [
|
|
462
|
+
"kind",
|
|
463
|
+
"objects"
|
|
464
|
+
],
|
|
465
|
+
"allOf": [
|
|
466
|
+
{
|
|
467
|
+
"if": {
|
|
468
|
+
"properties": {
|
|
469
|
+
"kind": {
|
|
470
|
+
"const": "StandardCrud"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"required": [
|
|
474
|
+
"kind"
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
"then": {
|
|
478
|
+
"properties": {
|
|
479
|
+
"objects": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"description": "StandardCrud 的对象角色表(kit-grammar.json#bizComponents.StandardCrud.roles)",
|
|
482
|
+
"required": [
|
|
483
|
+
"entity"
|
|
484
|
+
],
|
|
485
|
+
"properties": {
|
|
486
|
+
"overlays": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
489
|
+
"additionalProperties": {
|
|
490
|
+
"$ref": "#/definitions/object"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"entity": {
|
|
494
|
+
"$ref": "#/definitions/object",
|
|
495
|
+
"description": "StandardCrud.objects.entity(必填角色对象;视图槽:filter / list / form)"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"additionalProperties": false
|
|
499
|
+
},
|
|
500
|
+
"areaClass": {
|
|
501
|
+
"type": "object",
|
|
502
|
+
"description": "StandardCrud 的区域样式覆写(允许区域:root / filter / list / dialog / drawer)",
|
|
503
|
+
"properties": {
|
|
504
|
+
"root": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"description": "StandardCrud 区域 root 的 Tailwind 类串"
|
|
507
|
+
},
|
|
508
|
+
"filter": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "StandardCrud 区域 filter 的 Tailwind 类串"
|
|
511
|
+
},
|
|
512
|
+
"list": {
|
|
513
|
+
"type": "string",
|
|
514
|
+
"description": "StandardCrud 区域 list 的 Tailwind 类串"
|
|
515
|
+
},
|
|
516
|
+
"dialog": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"description": "StandardCrud 区域 dialog 的 Tailwind 类串"
|
|
519
|
+
},
|
|
520
|
+
"drawer": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "StandardCrud 区域 drawer 的 Tailwind 类串"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"additionalProperties": false
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"if": {
|
|
532
|
+
"properties": {
|
|
533
|
+
"kind": {
|
|
534
|
+
"const": "MasterSubWorkstation"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"required": [
|
|
538
|
+
"kind"
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
"then": {
|
|
542
|
+
"properties": {
|
|
543
|
+
"objects": {
|
|
544
|
+
"type": "object",
|
|
545
|
+
"description": "MasterSubWorkstation 的对象角色表(kit-grammar.json#bizComponents.MasterSubWorkstation.roles)",
|
|
546
|
+
"required": [
|
|
547
|
+
"master",
|
|
548
|
+
"subs"
|
|
549
|
+
],
|
|
550
|
+
"properties": {
|
|
551
|
+
"overlays": {
|
|
552
|
+
"type": "object",
|
|
553
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
554
|
+
"additionalProperties": {
|
|
555
|
+
"$ref": "#/definitions/object"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"master": {
|
|
559
|
+
"$ref": "#/definitions/object",
|
|
560
|
+
"description": "MasterSubWorkstation.objects.master(必填角色对象;视图槽:filter / list / summary / form)"
|
|
561
|
+
},
|
|
562
|
+
"subs": {
|
|
563
|
+
"type": "object",
|
|
564
|
+
"description": "MasterSubWorkstation.objects.subs(必填多对象角色表:子对象名 -> 对象声明;视图槽:list / summary)",
|
|
565
|
+
"additionalProperties": {
|
|
566
|
+
"$ref": "#/definitions/object"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"aside": {
|
|
570
|
+
"$ref": "#/definitions/object",
|
|
571
|
+
"description": "MasterSubWorkstation.objects.aside(可选角色对象;视图槽:list / summary)"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"additionalProperties": false
|
|
575
|
+
},
|
|
576
|
+
"areaClass": {
|
|
577
|
+
"type": "object",
|
|
578
|
+
"description": "MasterSubWorkstation 的区域样式覆写(允许区域:root / masterList / masterSummary / subWorkspace / subBlock / aside / dialog)",
|
|
579
|
+
"properties": {
|
|
580
|
+
"root": {
|
|
581
|
+
"type": "string",
|
|
582
|
+
"description": "MasterSubWorkstation 区域 root 的 Tailwind 类串"
|
|
583
|
+
},
|
|
584
|
+
"masterList": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "MasterSubWorkstation 区域 masterList 的 Tailwind 类串"
|
|
587
|
+
},
|
|
588
|
+
"masterSummary": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"description": "MasterSubWorkstation 区域 masterSummary 的 Tailwind 类串"
|
|
591
|
+
},
|
|
592
|
+
"subWorkspace": {
|
|
593
|
+
"type": "string",
|
|
594
|
+
"description": "MasterSubWorkstation 区域 subWorkspace 的 Tailwind 类串"
|
|
595
|
+
},
|
|
596
|
+
"subBlock": {
|
|
597
|
+
"type": "string",
|
|
598
|
+
"description": "MasterSubWorkstation 区域 subBlock 的 Tailwind 类串"
|
|
599
|
+
},
|
|
600
|
+
"aside": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "MasterSubWorkstation 区域 aside 的 Tailwind 类串"
|
|
603
|
+
},
|
|
604
|
+
"dialog": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "MasterSubWorkstation 区域 dialog 的 Tailwind 类串"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"additionalProperties": false
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"if": {
|
|
616
|
+
"properties": {
|
|
617
|
+
"kind": {
|
|
618
|
+
"const": "CategoryCrud"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"required": [
|
|
622
|
+
"kind"
|
|
623
|
+
]
|
|
624
|
+
},
|
|
625
|
+
"then": {
|
|
626
|
+
"properties": {
|
|
627
|
+
"objects": {
|
|
628
|
+
"type": "object",
|
|
629
|
+
"description": "CategoryCrud 的对象角色表(kit-grammar.json#bizComponents.CategoryCrud.roles)",
|
|
630
|
+
"required": [
|
|
631
|
+
"category",
|
|
632
|
+
"item"
|
|
633
|
+
],
|
|
634
|
+
"properties": {
|
|
635
|
+
"overlays": {
|
|
636
|
+
"type": "object",
|
|
637
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
638
|
+
"additionalProperties": {
|
|
639
|
+
"$ref": "#/definitions/object"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"category": {
|
|
643
|
+
"$ref": "#/definitions/object",
|
|
644
|
+
"description": "CategoryCrud.objects.category(必填角色对象;视图槽:filter / list / summary)"
|
|
645
|
+
},
|
|
646
|
+
"item": {
|
|
647
|
+
"$ref": "#/definitions/object",
|
|
648
|
+
"description": "CategoryCrud.objects.item(必填角色对象;视图槽:filter / list / summary / form)"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"additionalProperties": false
|
|
652
|
+
},
|
|
653
|
+
"areaClass": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"description": "CategoryCrud 的区域样式覆写(允许区域:root / categorySidebar / itemWorkspace / dialog)",
|
|
656
|
+
"properties": {
|
|
657
|
+
"root": {
|
|
658
|
+
"type": "string",
|
|
659
|
+
"description": "CategoryCrud 区域 root 的 Tailwind 类串"
|
|
660
|
+
},
|
|
661
|
+
"categorySidebar": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"description": "CategoryCrud 区域 categorySidebar 的 Tailwind 类串"
|
|
664
|
+
},
|
|
665
|
+
"itemWorkspace": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"description": "CategoryCrud 区域 itemWorkspace 的 Tailwind 类串"
|
|
668
|
+
},
|
|
669
|
+
"dialog": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"description": "CategoryCrud 区域 dialog 的 Tailwind 类串"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"additionalProperties": false
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"if": {
|
|
681
|
+
"properties": {
|
|
682
|
+
"kind": {
|
|
683
|
+
"const": "MultiObjectBoard"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"required": [
|
|
687
|
+
"kind"
|
|
688
|
+
]
|
|
689
|
+
},
|
|
690
|
+
"then": {
|
|
691
|
+
"properties": {
|
|
692
|
+
"objects": {
|
|
693
|
+
"type": "object",
|
|
694
|
+
"description": "MultiObjectBoard 的对象角色表(kit-grammar.json#bizComponents.MultiObjectBoard.roles)",
|
|
695
|
+
"required": [
|
|
696
|
+
"panels"
|
|
697
|
+
],
|
|
698
|
+
"properties": {
|
|
699
|
+
"overlays": {
|
|
700
|
+
"type": "object",
|
|
701
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
702
|
+
"additionalProperties": {
|
|
703
|
+
"$ref": "#/definitions/object"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"filter": {
|
|
707
|
+
"$ref": "#/definitions/object",
|
|
708
|
+
"description": "MultiObjectBoard.objects.filter(可选角色对象;视图槽:filter)"
|
|
709
|
+
},
|
|
710
|
+
"panels": {
|
|
711
|
+
"type": "object",
|
|
712
|
+
"description": "MultiObjectBoard.objects.panels(必填多对象角色表:子对象名 -> 对象声明;视图槽:list / summary)",
|
|
713
|
+
"additionalProperties": {
|
|
714
|
+
"$ref": "#/definitions/object"
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"additionalProperties": false
|
|
719
|
+
},
|
|
720
|
+
"areaClass": {
|
|
721
|
+
"type": "object",
|
|
722
|
+
"description": "MultiObjectBoard 的区域样式覆写(允许区域:root / filter / panels / panel)",
|
|
723
|
+
"properties": {
|
|
724
|
+
"root": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "MultiObjectBoard 区域 root 的 Tailwind 类串"
|
|
727
|
+
},
|
|
728
|
+
"filter": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"description": "MultiObjectBoard 区域 filter 的 Tailwind 类串"
|
|
731
|
+
},
|
|
732
|
+
"panels": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"description": "MultiObjectBoard 区域 panels 的 Tailwind 类串"
|
|
735
|
+
},
|
|
736
|
+
"panel": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"description": "MultiObjectBoard 区域 panel 的 Tailwind 类串"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"additionalProperties": false
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"if": {
|
|
748
|
+
"properties": {
|
|
749
|
+
"kind": {
|
|
750
|
+
"const": "SingleObjectForm"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"required": [
|
|
754
|
+
"kind"
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
"then": {
|
|
758
|
+
"properties": {
|
|
759
|
+
"objects": {
|
|
760
|
+
"type": "object",
|
|
761
|
+
"description": "SingleObjectForm 的对象角色表(kit-grammar.json#bizComponents.SingleObjectForm.roles)",
|
|
762
|
+
"required": [
|
|
763
|
+
"target"
|
|
764
|
+
],
|
|
765
|
+
"properties": {
|
|
766
|
+
"overlays": {
|
|
767
|
+
"type": "object",
|
|
768
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
769
|
+
"additionalProperties": {
|
|
770
|
+
"$ref": "#/definitions/object"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"target": {
|
|
774
|
+
"$ref": "#/definitions/object",
|
|
775
|
+
"description": "SingleObjectForm.objects.target(必填角色对象;视图槽:form)"
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"additionalProperties": false
|
|
779
|
+
},
|
|
780
|
+
"areaClass": {
|
|
781
|
+
"type": "object",
|
|
782
|
+
"description": "SingleObjectForm 的区域样式覆写(允许区域:root / card / body / footer)",
|
|
783
|
+
"properties": {
|
|
784
|
+
"root": {
|
|
785
|
+
"type": "string",
|
|
786
|
+
"description": "SingleObjectForm 区域 root 的 Tailwind 类串"
|
|
787
|
+
},
|
|
788
|
+
"card": {
|
|
789
|
+
"type": "string",
|
|
790
|
+
"description": "SingleObjectForm 区域 card 的 Tailwind 类串"
|
|
791
|
+
},
|
|
792
|
+
"body": {
|
|
793
|
+
"type": "string",
|
|
794
|
+
"description": "SingleObjectForm 区域 body 的 Tailwind 类串"
|
|
795
|
+
},
|
|
796
|
+
"footer": {
|
|
797
|
+
"type": "string",
|
|
798
|
+
"description": "SingleObjectForm 区域 footer 的 Tailwind 类串"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"additionalProperties": false
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"if": {
|
|
808
|
+
"properties": {
|
|
809
|
+
"kind": {
|
|
810
|
+
"const": "ApprovalDesk"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"required": [
|
|
814
|
+
"kind"
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
"then": {
|
|
818
|
+
"properties": {
|
|
819
|
+
"objects": {
|
|
820
|
+
"type": "object",
|
|
821
|
+
"description": "ApprovalDesk 的对象角色表(kit-grammar.json#bizComponents.ApprovalDesk.roles)",
|
|
822
|
+
"required": [
|
|
823
|
+
"queue",
|
|
824
|
+
"request"
|
|
825
|
+
],
|
|
826
|
+
"properties": {
|
|
827
|
+
"overlays": {
|
|
828
|
+
"type": "object",
|
|
829
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
830
|
+
"additionalProperties": {
|
|
831
|
+
"$ref": "#/definitions/object"
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"queue": {
|
|
835
|
+
"$ref": "#/definitions/object",
|
|
836
|
+
"description": "ApprovalDesk.objects.queue(必填角色对象;视图槽:list)"
|
|
837
|
+
},
|
|
838
|
+
"request": {
|
|
839
|
+
"$ref": "#/definitions/object",
|
|
840
|
+
"description": "ApprovalDesk.objects.request(必填角色对象;视图槽:summary)"
|
|
841
|
+
},
|
|
842
|
+
"history": {
|
|
843
|
+
"$ref": "#/definitions/object",
|
|
844
|
+
"description": "ApprovalDesk.objects.history(可选角色对象;视图槽:list / summary)"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"additionalProperties": false
|
|
848
|
+
},
|
|
849
|
+
"areaClass": {
|
|
850
|
+
"type": "object",
|
|
851
|
+
"description": "ApprovalDesk 的区域样式覆写(允许区域:root / queue / request / history)",
|
|
852
|
+
"properties": {
|
|
853
|
+
"root": {
|
|
854
|
+
"type": "string",
|
|
855
|
+
"description": "ApprovalDesk 区域 root 的 Tailwind 类串"
|
|
856
|
+
},
|
|
857
|
+
"queue": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"description": "ApprovalDesk 区域 queue 的 Tailwind 类串"
|
|
860
|
+
},
|
|
861
|
+
"request": {
|
|
862
|
+
"type": "string",
|
|
863
|
+
"description": "ApprovalDesk 区域 request 的 Tailwind 类串"
|
|
864
|
+
},
|
|
865
|
+
"history": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"description": "ApprovalDesk 区域 history 的 Tailwind 类串"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"additionalProperties": false
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"if": {
|
|
877
|
+
"properties": {
|
|
878
|
+
"kind": {
|
|
879
|
+
"const": "RecordDetail"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"required": [
|
|
883
|
+
"kind"
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
"then": {
|
|
887
|
+
"properties": {
|
|
888
|
+
"objects": {
|
|
889
|
+
"type": "object",
|
|
890
|
+
"description": "RecordDetail 的对象角色表(kit-grammar.json#bizComponents.RecordDetail.roles)",
|
|
891
|
+
"required": [
|
|
892
|
+
"record"
|
|
893
|
+
],
|
|
894
|
+
"properties": {
|
|
895
|
+
"overlays": {
|
|
896
|
+
"type": "object",
|
|
897
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
898
|
+
"additionalProperties": {
|
|
899
|
+
"$ref": "#/definitions/object"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"record": {
|
|
903
|
+
"$ref": "#/definitions/object",
|
|
904
|
+
"description": "RecordDetail.objects.record(必填角色对象;视图槽:summary / form)"
|
|
905
|
+
},
|
|
906
|
+
"groups": {
|
|
907
|
+
"type": "object",
|
|
908
|
+
"description": "RecordDetail.objects.groups(可选多对象角色表:子对象名 -> 对象声明;视图槽:summary)",
|
|
909
|
+
"additionalProperties": {
|
|
910
|
+
"$ref": "#/definitions/object"
|
|
911
|
+
}
|
|
912
|
+
},
|
|
913
|
+
"subs": {
|
|
914
|
+
"type": "object",
|
|
915
|
+
"description": "RecordDetail.objects.subs(可选多对象角色表:子对象名 -> 对象声明;视图槽:list / summary)",
|
|
916
|
+
"additionalProperties": {
|
|
917
|
+
"$ref": "#/definitions/object"
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"additionalProperties": false
|
|
922
|
+
},
|
|
923
|
+
"areaClass": {
|
|
924
|
+
"type": "object",
|
|
925
|
+
"description": "RecordDetail 的区域样式覆写(允许区域:root / header / actions / groups / group / sub / dialog)",
|
|
926
|
+
"properties": {
|
|
927
|
+
"root": {
|
|
928
|
+
"type": "string",
|
|
929
|
+
"description": "RecordDetail 区域 root 的 Tailwind 类串"
|
|
930
|
+
},
|
|
931
|
+
"header": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"description": "RecordDetail 区域 header 的 Tailwind 类串"
|
|
934
|
+
},
|
|
935
|
+
"actions": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"description": "RecordDetail 区域 actions 的 Tailwind 类串"
|
|
938
|
+
},
|
|
939
|
+
"groups": {
|
|
940
|
+
"type": "string",
|
|
941
|
+
"description": "RecordDetail 区域 groups 的 Tailwind 类串"
|
|
942
|
+
},
|
|
943
|
+
"group": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "RecordDetail 区域 group 的 Tailwind 类串"
|
|
946
|
+
},
|
|
947
|
+
"sub": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "RecordDetail 区域 sub 的 Tailwind 类串"
|
|
950
|
+
},
|
|
951
|
+
"dialog": {
|
|
952
|
+
"type": "string",
|
|
953
|
+
"description": "RecordDetail 区域 dialog 的 Tailwind 类串"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"additionalProperties": false
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"if": {
|
|
963
|
+
"properties": {
|
|
964
|
+
"kind": {
|
|
965
|
+
"const": "StepForm"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"required": [
|
|
969
|
+
"kind"
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
"then": {
|
|
973
|
+
"properties": {
|
|
974
|
+
"objects": {
|
|
975
|
+
"type": "object",
|
|
976
|
+
"description": "StepForm 的对象角色表(kit-grammar.json#bizComponents.StepForm.roles)",
|
|
977
|
+
"required": [
|
|
978
|
+
"steps"
|
|
979
|
+
],
|
|
980
|
+
"properties": {
|
|
981
|
+
"overlays": {
|
|
982
|
+
"type": "object",
|
|
983
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
984
|
+
"additionalProperties": {
|
|
985
|
+
"$ref": "#/definitions/object"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"steps": {
|
|
989
|
+
"type": "object",
|
|
990
|
+
"description": "StepForm.objects.steps(必填多对象角色表:子对象名 -> 对象声明;视图槽:form)",
|
|
991
|
+
"additionalProperties": {
|
|
992
|
+
"$ref": "#/definitions/object"
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"target": {
|
|
996
|
+
"$ref": "#/definitions/object",
|
|
997
|
+
"description": "StepForm.objects.target(可选角色对象;视图槽:form)"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"additionalProperties": false
|
|
1001
|
+
},
|
|
1002
|
+
"areaClass": {
|
|
1003
|
+
"type": "object",
|
|
1004
|
+
"description": "StepForm 的区域样式覆写(允许区域:root / card / steps / panel / done)",
|
|
1005
|
+
"properties": {
|
|
1006
|
+
"root": {
|
|
1007
|
+
"type": "string",
|
|
1008
|
+
"description": "StepForm 区域 root 的 Tailwind 类串"
|
|
1009
|
+
},
|
|
1010
|
+
"card": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"description": "StepForm 区域 card 的 Tailwind 类串"
|
|
1013
|
+
},
|
|
1014
|
+
"steps": {
|
|
1015
|
+
"type": "string",
|
|
1016
|
+
"description": "StepForm 区域 steps 的 Tailwind 类串"
|
|
1017
|
+
},
|
|
1018
|
+
"panel": {
|
|
1019
|
+
"type": "string",
|
|
1020
|
+
"description": "StepForm 区域 panel 的 Tailwind 类串"
|
|
1021
|
+
},
|
|
1022
|
+
"done": {
|
|
1023
|
+
"type": "string",
|
|
1024
|
+
"description": "StepForm 区域 done 的 Tailwind 类串"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"additionalProperties": false
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"if": {
|
|
1034
|
+
"properties": {
|
|
1035
|
+
"kind": {
|
|
1036
|
+
"const": "SettingsCenter"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"required": [
|
|
1040
|
+
"kind"
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
1043
|
+
"then": {
|
|
1044
|
+
"properties": {
|
|
1045
|
+
"objects": {
|
|
1046
|
+
"type": "object",
|
|
1047
|
+
"description": "SettingsCenter 的对象角色表(kit-grammar.json#bizComponents.SettingsCenter.roles)",
|
|
1048
|
+
"required": [
|
|
1049
|
+
"sections"
|
|
1050
|
+
],
|
|
1051
|
+
"properties": {
|
|
1052
|
+
"overlays": {
|
|
1053
|
+
"type": "object",
|
|
1054
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1055
|
+
"additionalProperties": {
|
|
1056
|
+
"$ref": "#/definitions/object"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"sections": {
|
|
1060
|
+
"type": "object",
|
|
1061
|
+
"description": "SettingsCenter.objects.sections(必填多对象角色表:子对象名 -> 对象声明;视图槽:form)",
|
|
1062
|
+
"additionalProperties": {
|
|
1063
|
+
"$ref": "#/definitions/object"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"additionalProperties": false
|
|
1068
|
+
},
|
|
1069
|
+
"areaClass": {
|
|
1070
|
+
"type": "object",
|
|
1071
|
+
"description": "SettingsCenter 的区域样式覆写(允许区域:root / nav / content / section)",
|
|
1072
|
+
"properties": {
|
|
1073
|
+
"root": {
|
|
1074
|
+
"type": "string",
|
|
1075
|
+
"description": "SettingsCenter 区域 root 的 Tailwind 类串"
|
|
1076
|
+
},
|
|
1077
|
+
"nav": {
|
|
1078
|
+
"type": "string",
|
|
1079
|
+
"description": "SettingsCenter 区域 nav 的 Tailwind 类串"
|
|
1080
|
+
},
|
|
1081
|
+
"content": {
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"description": "SettingsCenter 区域 content 的 Tailwind 类串"
|
|
1084
|
+
},
|
|
1085
|
+
"section": {
|
|
1086
|
+
"type": "string",
|
|
1087
|
+
"description": "SettingsCenter 区域 section 的 Tailwind 类串"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"additionalProperties": false
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"if": {
|
|
1097
|
+
"properties": {
|
|
1098
|
+
"kind": {
|
|
1099
|
+
"const": "CheckoutPage"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"required": [
|
|
1103
|
+
"kind"
|
|
1104
|
+
]
|
|
1105
|
+
},
|
|
1106
|
+
"then": {
|
|
1107
|
+
"properties": {
|
|
1108
|
+
"objects": {
|
|
1109
|
+
"type": "object",
|
|
1110
|
+
"description": "CheckoutPage 的对象角色表(kit-grammar.json#bizComponents.CheckoutPage.roles)",
|
|
1111
|
+
"required": [
|
|
1112
|
+
"form",
|
|
1113
|
+
"items"
|
|
1114
|
+
],
|
|
1115
|
+
"properties": {
|
|
1116
|
+
"overlays": {
|
|
1117
|
+
"type": "object",
|
|
1118
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1119
|
+
"additionalProperties": {
|
|
1120
|
+
"$ref": "#/definitions/object"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"form": {
|
|
1124
|
+
"$ref": "#/definitions/object",
|
|
1125
|
+
"description": "CheckoutPage.objects.form(必填角色对象;视图槽:form)"
|
|
1126
|
+
},
|
|
1127
|
+
"items": {
|
|
1128
|
+
"$ref": "#/definitions/object",
|
|
1129
|
+
"description": "CheckoutPage.objects.items(必填角色对象;视图槽:list / summary)"
|
|
1130
|
+
},
|
|
1131
|
+
"amounts": {
|
|
1132
|
+
"$ref": "#/definitions/object",
|
|
1133
|
+
"description": "CheckoutPage.objects.amounts(可选角色对象;视图槽:list / summary)"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"additionalProperties": false
|
|
1137
|
+
},
|
|
1138
|
+
"areaClass": {
|
|
1139
|
+
"type": "object",
|
|
1140
|
+
"description": "CheckoutPage 的区域样式覆写(允许区域:root / form / summary / items / amounts)",
|
|
1141
|
+
"properties": {
|
|
1142
|
+
"root": {
|
|
1143
|
+
"type": "string",
|
|
1144
|
+
"description": "CheckoutPage 区域 root 的 Tailwind 类串"
|
|
1145
|
+
},
|
|
1146
|
+
"form": {
|
|
1147
|
+
"type": "string",
|
|
1148
|
+
"description": "CheckoutPage 区域 form 的 Tailwind 类串"
|
|
1149
|
+
},
|
|
1150
|
+
"summary": {
|
|
1151
|
+
"type": "string",
|
|
1152
|
+
"description": "CheckoutPage 区域 summary 的 Tailwind 类串"
|
|
1153
|
+
},
|
|
1154
|
+
"items": {
|
|
1155
|
+
"type": "string",
|
|
1156
|
+
"description": "CheckoutPage 区域 items 的 Tailwind 类串"
|
|
1157
|
+
},
|
|
1158
|
+
"amounts": {
|
|
1159
|
+
"type": "string",
|
|
1160
|
+
"description": "CheckoutPage 区域 amounts 的 Tailwind 类串"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"additionalProperties": false
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"if": {
|
|
1170
|
+
"properties": {
|
|
1171
|
+
"kind": {
|
|
1172
|
+
"const": "LandingPage"
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"required": [
|
|
1176
|
+
"kind"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
"then": {
|
|
1180
|
+
"properties": {
|
|
1181
|
+
"objects": {
|
|
1182
|
+
"type": "object",
|
|
1183
|
+
"description": "LandingPage 的对象角色表(kit-grammar.json#bizComponents.LandingPage.roles)",
|
|
1184
|
+
"required": [
|
|
1185
|
+
"hero"
|
|
1186
|
+
],
|
|
1187
|
+
"properties": {
|
|
1188
|
+
"overlays": {
|
|
1189
|
+
"type": "object",
|
|
1190
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1191
|
+
"additionalProperties": {
|
|
1192
|
+
"$ref": "#/definitions/object"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
"hero": {
|
|
1196
|
+
"$ref": "#/definitions/object",
|
|
1197
|
+
"description": "LandingPage.objects.hero(必填角色对象;视图槽:summary / list)"
|
|
1198
|
+
},
|
|
1199
|
+
"sections": {
|
|
1200
|
+
"type": "object",
|
|
1201
|
+
"description": "LandingPage.objects.sections(可选多对象角色表:子对象名 -> 对象声明;视图槽:list / summary)",
|
|
1202
|
+
"additionalProperties": {
|
|
1203
|
+
"$ref": "#/definitions/object"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"footer": {
|
|
1207
|
+
"$ref": "#/definitions/object",
|
|
1208
|
+
"description": "LandingPage.objects.footer(可选角色对象;视图槽:summary / list)"
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
"additionalProperties": false
|
|
1212
|
+
},
|
|
1213
|
+
"areaClass": {
|
|
1214
|
+
"type": "object",
|
|
1215
|
+
"description": "LandingPage 的区域样式覆写(允许区域:root / hero / sections / section / footer)",
|
|
1216
|
+
"properties": {
|
|
1217
|
+
"root": {
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"description": "LandingPage 区域 root 的 Tailwind 类串"
|
|
1220
|
+
},
|
|
1221
|
+
"hero": {
|
|
1222
|
+
"type": "string",
|
|
1223
|
+
"description": "LandingPage 区域 hero 的 Tailwind 类串"
|
|
1224
|
+
},
|
|
1225
|
+
"sections": {
|
|
1226
|
+
"type": "string",
|
|
1227
|
+
"description": "LandingPage 区域 sections 的 Tailwind 类串"
|
|
1228
|
+
},
|
|
1229
|
+
"section": {
|
|
1230
|
+
"type": "string",
|
|
1231
|
+
"description": "LandingPage 区域 section 的 Tailwind 类串"
|
|
1232
|
+
},
|
|
1233
|
+
"footer": {
|
|
1234
|
+
"type": "string",
|
|
1235
|
+
"description": "LandingPage 区域 footer 的 Tailwind 类串"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"additionalProperties": false
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"if": {
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"kind": {
|
|
1247
|
+
"const": "NotificationCenter"
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"required": [
|
|
1251
|
+
"kind"
|
|
1252
|
+
]
|
|
1253
|
+
},
|
|
1254
|
+
"then": {
|
|
1255
|
+
"properties": {
|
|
1256
|
+
"objects": {
|
|
1257
|
+
"type": "object",
|
|
1258
|
+
"description": "NotificationCenter 的对象角色表(kit-grammar.json#bizComponents.NotificationCenter.roles)",
|
|
1259
|
+
"required": [
|
|
1260
|
+
"notices"
|
|
1261
|
+
],
|
|
1262
|
+
"properties": {
|
|
1263
|
+
"overlays": {
|
|
1264
|
+
"type": "object",
|
|
1265
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1266
|
+
"additionalProperties": {
|
|
1267
|
+
"$ref": "#/definitions/object"
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"notices": {
|
|
1271
|
+
"$ref": "#/definitions/object",
|
|
1272
|
+
"description": "NotificationCenter.objects.notices(必填角色对象;视图槽:list / summary / filter)"
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"additionalProperties": false
|
|
1276
|
+
},
|
|
1277
|
+
"areaClass": {
|
|
1278
|
+
"type": "object",
|
|
1279
|
+
"description": "NotificationCenter 的区域样式覆写(允许区域:root / list / detail)",
|
|
1280
|
+
"properties": {
|
|
1281
|
+
"root": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"description": "NotificationCenter 区域 root 的 Tailwind 类串"
|
|
1284
|
+
},
|
|
1285
|
+
"list": {
|
|
1286
|
+
"type": "string",
|
|
1287
|
+
"description": "NotificationCenter 区域 list 的 Tailwind 类串"
|
|
1288
|
+
},
|
|
1289
|
+
"detail": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"description": "NotificationCenter 区域 detail 的 Tailwind 类串"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"additionalProperties": false
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"if": {
|
|
1301
|
+
"properties": {
|
|
1302
|
+
"kind": {
|
|
1303
|
+
"const": "AuthPanel"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
"required": [
|
|
1307
|
+
"kind"
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
"then": {
|
|
1311
|
+
"properties": {
|
|
1312
|
+
"objects": {
|
|
1313
|
+
"type": "object",
|
|
1314
|
+
"description": "AuthPanel 的对象角色表(kit-grammar.json#bizComponents.AuthPanel.roles)",
|
|
1315
|
+
"required": [
|
|
1316
|
+
"roles",
|
|
1317
|
+
"matrix"
|
|
1318
|
+
],
|
|
1319
|
+
"properties": {
|
|
1320
|
+
"overlays": {
|
|
1321
|
+
"type": "object",
|
|
1322
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1323
|
+
"additionalProperties": {
|
|
1324
|
+
"$ref": "#/definitions/object"
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"user": {
|
|
1328
|
+
"$ref": "#/definitions/object",
|
|
1329
|
+
"description": "AuthPanel.objects.user(可选角色对象;视图槽:summary)"
|
|
1330
|
+
},
|
|
1331
|
+
"roles": {
|
|
1332
|
+
"$ref": "#/definitions/object",
|
|
1333
|
+
"description": "AuthPanel.objects.roles(必填角色对象;视图槽:list)"
|
|
1334
|
+
},
|
|
1335
|
+
"matrix": {
|
|
1336
|
+
"$ref": "#/definitions/object",
|
|
1337
|
+
"description": "AuthPanel.objects.matrix(必填角色对象;视图槽:summary)"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"additionalProperties": false
|
|
1341
|
+
},
|
|
1342
|
+
"areaClass": {
|
|
1343
|
+
"type": "object",
|
|
1344
|
+
"description": "AuthPanel 的区域样式覆写(允许区域:root / user / roles / matrix)",
|
|
1345
|
+
"properties": {
|
|
1346
|
+
"root": {
|
|
1347
|
+
"type": "string",
|
|
1348
|
+
"description": "AuthPanel 区域 root 的 Tailwind 类串"
|
|
1349
|
+
},
|
|
1350
|
+
"user": {
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"description": "AuthPanel 区域 user 的 Tailwind 类串"
|
|
1353
|
+
},
|
|
1354
|
+
"roles": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"description": "AuthPanel 区域 roles 的 Tailwind 类串"
|
|
1357
|
+
},
|
|
1358
|
+
"matrix": {
|
|
1359
|
+
"type": "string",
|
|
1360
|
+
"description": "AuthPanel 区域 matrix 的 Tailwind 类串"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
"additionalProperties": false
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"if": {
|
|
1370
|
+
"properties": {
|
|
1371
|
+
"kind": {
|
|
1372
|
+
"const": "ResultPage"
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
"required": [
|
|
1376
|
+
"kind"
|
|
1377
|
+
]
|
|
1378
|
+
},
|
|
1379
|
+
"then": {
|
|
1380
|
+
"properties": {
|
|
1381
|
+
"objects": {
|
|
1382
|
+
"type": "object",
|
|
1383
|
+
"description": "ResultPage 的对象角色表(kit-grammar.json#bizComponents.ResultPage.roles)",
|
|
1384
|
+
"required": [
|
|
1385
|
+
"result"
|
|
1386
|
+
],
|
|
1387
|
+
"properties": {
|
|
1388
|
+
"overlays": {
|
|
1389
|
+
"type": "object",
|
|
1390
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1391
|
+
"additionalProperties": {
|
|
1392
|
+
"$ref": "#/definitions/object"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
"result": {
|
|
1396
|
+
"$ref": "#/definitions/object",
|
|
1397
|
+
"description": "ResultPage.objects.result(必填角色对象;视图槽:summary / list)"
|
|
1398
|
+
},
|
|
1399
|
+
"detail": {
|
|
1400
|
+
"$ref": "#/definitions/object",
|
|
1401
|
+
"description": "ResultPage.objects.detail(可选角色对象;视图槽:summary / list)"
|
|
1402
|
+
}
|
|
1403
|
+
},
|
|
1404
|
+
"additionalProperties": false
|
|
1405
|
+
},
|
|
1406
|
+
"areaClass": {
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"description": "ResultPage 的区域样式覆写(允许区域:root / card / detail)",
|
|
1409
|
+
"properties": {
|
|
1410
|
+
"root": {
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"description": "ResultPage 区域 root 的 Tailwind 类串"
|
|
1413
|
+
},
|
|
1414
|
+
"card": {
|
|
1415
|
+
"type": "string",
|
|
1416
|
+
"description": "ResultPage 区域 card 的 Tailwind 类串"
|
|
1417
|
+
},
|
|
1418
|
+
"detail": {
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"description": "ResultPage 区域 detail 的 Tailwind 类串"
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
"additionalProperties": false
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"if": {
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"kind": {
|
|
1432
|
+
"const": "ImportWizard"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
"required": [
|
|
1436
|
+
"kind"
|
|
1437
|
+
]
|
|
1438
|
+
},
|
|
1439
|
+
"then": {
|
|
1440
|
+
"properties": {
|
|
1441
|
+
"objects": {
|
|
1442
|
+
"type": "object",
|
|
1443
|
+
"description": "ImportWizard 的对象角色表(kit-grammar.json#bizComponents.ImportWizard.roles)",
|
|
1444
|
+
"required": [
|
|
1445
|
+
"target"
|
|
1446
|
+
],
|
|
1447
|
+
"properties": {
|
|
1448
|
+
"overlays": {
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1451
|
+
"additionalProperties": {
|
|
1452
|
+
"$ref": "#/definitions/object"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
"target": {
|
|
1456
|
+
"$ref": "#/definitions/object",
|
|
1457
|
+
"description": "ImportWizard.objects.target(必填角色对象;视图槽:form)"
|
|
1458
|
+
},
|
|
1459
|
+
"job": {
|
|
1460
|
+
"$ref": "#/definitions/object",
|
|
1461
|
+
"description": "ImportWizard.objects.job(可选角色对象;视图槽:summary / list)"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"additionalProperties": false
|
|
1465
|
+
},
|
|
1466
|
+
"areaClass": {
|
|
1467
|
+
"type": "object",
|
|
1468
|
+
"description": "ImportWizard 的区域样式覆写(允许区域:root / card / steps / panel / preview / done)",
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"root": {
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"description": "ImportWizard 区域 root 的 Tailwind 类串"
|
|
1473
|
+
},
|
|
1474
|
+
"card": {
|
|
1475
|
+
"type": "string",
|
|
1476
|
+
"description": "ImportWizard 区域 card 的 Tailwind 类串"
|
|
1477
|
+
},
|
|
1478
|
+
"steps": {
|
|
1479
|
+
"type": "string",
|
|
1480
|
+
"description": "ImportWizard 区域 steps 的 Tailwind 类串"
|
|
1481
|
+
},
|
|
1482
|
+
"panel": {
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"description": "ImportWizard 区域 panel 的 Tailwind 类串"
|
|
1485
|
+
},
|
|
1486
|
+
"preview": {
|
|
1487
|
+
"type": "string",
|
|
1488
|
+
"description": "ImportWizard 区域 preview 的 Tailwind 类串"
|
|
1489
|
+
},
|
|
1490
|
+
"done": {
|
|
1491
|
+
"type": "string",
|
|
1492
|
+
"description": "ImportWizard 区域 done 的 Tailwind 类串"
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
"additionalProperties": false
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"if": {
|
|
1502
|
+
"properties": {
|
|
1503
|
+
"kind": {
|
|
1504
|
+
"const": "SignInPage"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"required": [
|
|
1508
|
+
"kind"
|
|
1509
|
+
]
|
|
1510
|
+
},
|
|
1511
|
+
"then": {
|
|
1512
|
+
"properties": {
|
|
1513
|
+
"objects": {
|
|
1514
|
+
"type": "object",
|
|
1515
|
+
"description": "SignInPage 的对象角色表(kit-grammar.json#bizComponents.SignInPage.roles)",
|
|
1516
|
+
"required": [
|
|
1517
|
+
"target"
|
|
1518
|
+
],
|
|
1519
|
+
"properties": {
|
|
1520
|
+
"overlays": {
|
|
1521
|
+
"type": "object",
|
|
1522
|
+
"description": "附加浮层表:浮层名 -> 浮层对象声明",
|
|
1523
|
+
"additionalProperties": {
|
|
1524
|
+
"$ref": "#/definitions/object"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
"target": {
|
|
1528
|
+
"$ref": "#/definitions/object",
|
|
1529
|
+
"description": "SignInPage.objects.target(必填角色对象;视图槽:form)"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"additionalProperties": false
|
|
1533
|
+
},
|
|
1534
|
+
"areaClass": {
|
|
1535
|
+
"type": "object",
|
|
1536
|
+
"description": "SignInPage 的区域样式覆写(允许区域:root / card / body / footer / page / aside / brand / column / links / social)",
|
|
1537
|
+
"properties": {
|
|
1538
|
+
"root": {
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"description": "SignInPage 区域 root 的 Tailwind 类串"
|
|
1541
|
+
},
|
|
1542
|
+
"card": {
|
|
1543
|
+
"type": "string",
|
|
1544
|
+
"description": "SignInPage 区域 card 的 Tailwind 类串"
|
|
1545
|
+
},
|
|
1546
|
+
"body": {
|
|
1547
|
+
"type": "string",
|
|
1548
|
+
"description": "SignInPage 区域 body 的 Tailwind 类串"
|
|
1549
|
+
},
|
|
1550
|
+
"footer": {
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"description": "SignInPage 区域 footer 的 Tailwind 类串"
|
|
1553
|
+
},
|
|
1554
|
+
"page": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"description": "SignInPage 区域 page 的 Tailwind 类串"
|
|
1557
|
+
},
|
|
1558
|
+
"aside": {
|
|
1559
|
+
"type": "string",
|
|
1560
|
+
"description": "SignInPage 区域 aside 的 Tailwind 类串"
|
|
1561
|
+
},
|
|
1562
|
+
"brand": {
|
|
1563
|
+
"type": "string",
|
|
1564
|
+
"description": "SignInPage 区域 brand 的 Tailwind 类串"
|
|
1565
|
+
},
|
|
1566
|
+
"column": {
|
|
1567
|
+
"type": "string",
|
|
1568
|
+
"description": "SignInPage 区域 column 的 Tailwind 类串"
|
|
1569
|
+
},
|
|
1570
|
+
"links": {
|
|
1571
|
+
"type": "string",
|
|
1572
|
+
"description": "SignInPage 区域 links 的 Tailwind 类串"
|
|
1573
|
+
},
|
|
1574
|
+
"social": {
|
|
1575
|
+
"type": "string",
|
|
1576
|
+
"description": "SignInPage 区域 social 的 Tailwind 类串"
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"additionalProperties": false
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
"object": {
|
|
1587
|
+
"type": "object",
|
|
1588
|
+
"additionalProperties": false,
|
|
1589
|
+
"description": "对象声明:schema(字段)+ behavior(取数 / 写入 / 动作)+ view(视图)",
|
|
1590
|
+
"properties": {
|
|
1591
|
+
"schema": {
|
|
1592
|
+
"description": "kit-grammar.json#objectKeys.schema",
|
|
1593
|
+
"anyOf": [
|
|
1594
|
+
{
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"pattern": "^\\$entity\\.[A-Za-z_][A-Za-z0-9_]*$",
|
|
1597
|
+
"description": "引用 kit.app.yaml#entities 声明的实体($entity.<实体名>)"
|
|
276
1598
|
},
|
|
277
1599
|
{
|
|
278
1600
|
"type": "object",
|
|
279
1601
|
"additionalProperties": false,
|
|
280
|
-
"
|
|
1602
|
+
"required": [
|
|
1603
|
+
"$ref"
|
|
1604
|
+
],
|
|
281
1605
|
"properties": {
|
|
282
|
-
"
|
|
1606
|
+
"$ref": {
|
|
283
1607
|
"type": "string",
|
|
284
|
-
"
|
|
1608
|
+
"pattern": "^\\$entity\\.[A-Za-z_][A-Za-z0-9_]*$"
|
|
285
1609
|
},
|
|
286
|
-
"
|
|
287
|
-
"type": "
|
|
288
|
-
"
|
|
1610
|
+
"pick": {
|
|
1611
|
+
"type": "array",
|
|
1612
|
+
"items": {
|
|
1613
|
+
"type": "string"
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
"omit": {
|
|
1617
|
+
"type": "array",
|
|
1618
|
+
"items": {
|
|
1619
|
+
"type": "string"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
"override": {
|
|
1623
|
+
"type": "object",
|
|
1624
|
+
"additionalProperties": {
|
|
1625
|
+
"type": "object"
|
|
1626
|
+
}
|
|
289
1627
|
}
|
|
290
1628
|
}
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"type": "object",
|
|
1632
|
+
"additionalProperties": {
|
|
1633
|
+
"$ref": "#/definitions/field"
|
|
1634
|
+
}
|
|
291
1635
|
}
|
|
292
1636
|
]
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
"object": {
|
|
301
|
-
"type": "object",
|
|
302
|
-
"description": "对象声明:schema(字段)+ behavior(取数 / 写入 / 动作)+ view(视图)",
|
|
303
|
-
"properties": {
|
|
1637
|
+
},
|
|
1638
|
+
"behavior": {
|
|
1639
|
+
"$ref": "#/definitions/behavior"
|
|
1640
|
+
},
|
|
1641
|
+
"view": {
|
|
1642
|
+
"$ref": "#/definitions/view"
|
|
1643
|
+
},
|
|
304
1644
|
"title": {
|
|
305
1645
|
"type": "string",
|
|
306
1646
|
"description": "从属对象与浮层的标题"
|
|
307
1647
|
},
|
|
308
|
-
"
|
|
1648
|
+
"primaryKey": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"description": "对象主键字段名"
|
|
1651
|
+
},
|
|
1652
|
+
"emphasis": {
|
|
1653
|
+
"enum": [
|
|
1654
|
+
"primary",
|
|
1655
|
+
"normal",
|
|
1656
|
+
"subtle"
|
|
1657
|
+
],
|
|
1658
|
+
"description": "视觉强调级别(primary 强强调 / normal 常规 / subtle 弱化)"
|
|
1659
|
+
},
|
|
1660
|
+
"surface": {
|
|
1661
|
+
"enum": [
|
|
1662
|
+
"card",
|
|
1663
|
+
"flush",
|
|
1664
|
+
"plain"
|
|
1665
|
+
],
|
|
1666
|
+
"description": "表面容器形态(card 卡片 / flush 贴边 / plain 极简无边框)"
|
|
1667
|
+
},
|
|
1668
|
+
"highlight": {
|
|
1669
|
+
"type": "boolean",
|
|
1670
|
+
"description": "区块或字段高亮主视觉开关(布尔值,开启后以主色或高亮底色突出显示)"
|
|
1671
|
+
},
|
|
1672
|
+
"subsLayout": {
|
|
1673
|
+
"enum": [
|
|
1674
|
+
"stack",
|
|
1675
|
+
"tabs"
|
|
1676
|
+
],
|
|
1677
|
+
"description": "RecordDetail 从属对象布局方式(stack 垂直堆叠 / tabs 页签切换)"
|
|
1678
|
+
},
|
|
1679
|
+
"kind": {
|
|
1680
|
+
"enum": [
|
|
1681
|
+
"dialog",
|
|
1682
|
+
"drawer",
|
|
1683
|
+
"expand"
|
|
1684
|
+
],
|
|
1685
|
+
"description": "浮层形态(dialog 居中对话框 / drawer 侧边抽屉 / expand 行下展开的子表,仅 StandardCrud 支持,其它业务组件写了报 KIT-BIZ-003)"
|
|
1686
|
+
},
|
|
1687
|
+
"editOverlay": {
|
|
1688
|
+
"type": "string",
|
|
1689
|
+
"description": "关联的编辑浮层名称"
|
|
1690
|
+
},
|
|
1691
|
+
"rowClick": {
|
|
1692
|
+
"type": "boolean",
|
|
1693
|
+
"description": "整行点击是否打开该浮层(布尔值)"
|
|
1694
|
+
},
|
|
1695
|
+
"span": {
|
|
1696
|
+
"type": "integer",
|
|
1697
|
+
"minimum": 1,
|
|
1698
|
+
"maximum": 12,
|
|
1699
|
+
"description": "MultiObjectBoard 面板占宽(1~12)"
|
|
1700
|
+
},
|
|
1701
|
+
"class": {
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"description": "外框 Tailwind 类串"
|
|
1704
|
+
},
|
|
1705
|
+
"events": {
|
|
309
1706
|
"type": "object",
|
|
310
|
-
"description": "
|
|
1707
|
+
"description": "浮层内写死形状数据组件的事件约定(K-1):saved -> 关窗并刷新;cancel / close -> 关窗;reload -> 刷新。overlays.<名>.events 可补自定义事件名",
|
|
311
1708
|
"additionalProperties": {
|
|
312
|
-
"
|
|
1709
|
+
"anyOf": [
|
|
1710
|
+
{
|
|
1711
|
+
"enum": [
|
|
1712
|
+
"saved",
|
|
1713
|
+
"close",
|
|
1714
|
+
"reload"
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"type": "object",
|
|
1719
|
+
"additionalProperties": false,
|
|
1720
|
+
"required": [
|
|
1721
|
+
"action"
|
|
1722
|
+
],
|
|
1723
|
+
"properties": {
|
|
1724
|
+
"action": {
|
|
1725
|
+
"type": "string",
|
|
1726
|
+
"description": "events 的值也可写 { action: 具名动作 }:事件抛出后执行 ACTION | 动作(单管道);动作之后要提示 / 重取 / 关窗,写在具名动作处理函数里(ctx.reload / ctx.notify / ctx.close),不在页面声明顺序;action 必须是应用登记的具名动作,或本对象 request / download 动作的 id(请求成功后宿主固定关掉该浮层并重取)(KIT-EVT-001)"
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
]
|
|
313
1731
|
}
|
|
314
|
-
},
|
|
315
|
-
"behavior": {
|
|
316
|
-
"$ref": "#/definitions/behavior"
|
|
317
|
-
},
|
|
318
|
-
"view": {
|
|
319
|
-
"$ref": "#/definitions/view"
|
|
320
1732
|
}
|
|
321
|
-
}
|
|
322
|
-
"additionalProperties": true
|
|
1733
|
+
}
|
|
323
1734
|
},
|
|
324
1735
|
"field": {
|
|
325
1736
|
"type": "object",
|
|
@@ -380,8 +1791,22 @@
|
|
|
380
1791
|
"hidden": {
|
|
381
1792
|
"description": "kit-grammar.json#objectKeys.schema.hidden"
|
|
382
1793
|
},
|
|
383
|
-
"
|
|
384
|
-
"description": "kit-grammar.json#objectKeys.schema.
|
|
1794
|
+
"access": {
|
|
1795
|
+
"description": "kit-grammar.json#objectKeys.schema.access"
|
|
1796
|
+
},
|
|
1797
|
+
"readonly": {
|
|
1798
|
+
"description": "kit-grammar.json#objectKeys.schema.readonly"
|
|
1799
|
+
},
|
|
1800
|
+
"emphasis": {
|
|
1801
|
+
"enum": [
|
|
1802
|
+
"strong",
|
|
1803
|
+
"muted"
|
|
1804
|
+
],
|
|
1805
|
+
"description": "字段视觉强调级别(strong 加重 / muted 减淡)"
|
|
1806
|
+
},
|
|
1807
|
+
"highlight": {
|
|
1808
|
+
"type": "boolean",
|
|
1809
|
+
"description": "区块或字段高亮主视觉开关(布尔值,开启后以主色或高亮底色突出显示)"
|
|
385
1810
|
}
|
|
386
1811
|
}
|
|
387
1812
|
},
|
|
@@ -405,9 +1830,6 @@
|
|
|
405
1830
|
},
|
|
406
1831
|
"description": "kit-grammar.json#objectKeys.behavior.actions"
|
|
407
1832
|
},
|
|
408
|
-
"poll": {
|
|
409
|
-
"description": "D9 组数据组件(Calendar / ImageViewer / MediaGrid / EmojiReactionBar / RichTextEditor / Questionnaire(含投票用法)/ TourGuide / TrendLine,以及 CommentThread 的 chat 变体)的限值与闭集真源;代码经 src/data/d9-limits.ts 读取,不手抄"
|
|
410
|
-
},
|
|
411
1833
|
"subscribe": {
|
|
412
1834
|
"description": "kit-grammar.json#objectKeys.behavior.subscribe"
|
|
413
1835
|
},
|
|
@@ -417,12 +1839,12 @@
|
|
|
417
1839
|
"leaveGuard": {
|
|
418
1840
|
"description": "kit-grammar.json#objectKeys.behavior.leaveGuard"
|
|
419
1841
|
},
|
|
420
|
-
"adapter": {
|
|
421
|
-
"description": "kit-grammar.json#objectKeys.behavior.adapter"
|
|
422
|
-
},
|
|
423
1842
|
"params": {
|
|
424
1843
|
"description": "kit-grammar.json#objectKeys.behavior.params"
|
|
425
1844
|
},
|
|
1845
|
+
"require": {
|
|
1846
|
+
"description": "kit-grammar.json#objectKeys.behavior.require"
|
|
1847
|
+
},
|
|
426
1848
|
"syncUrl": {
|
|
427
1849
|
"description": "kit-grammar.json#objectKeys.behavior.syncUrl"
|
|
428
1850
|
},
|
|
@@ -487,11 +1909,31 @@
|
|
|
487
1909
|
"rowClass": {
|
|
488
1910
|
"description": "kit-grammar.json#objectKeys.view.rowClass"
|
|
489
1911
|
},
|
|
490
|
-
"
|
|
491
|
-
"description": "kit-grammar.json#objectKeys.view.
|
|
1912
|
+
"rowTone": {
|
|
1913
|
+
"description": "kit-grammar.json#objectKeys.view.rowTone"
|
|
492
1914
|
},
|
|
493
1915
|
"replaceClass": {
|
|
494
1916
|
"description": "kit-grammar.json#objectKeys.view.replaceClass"
|
|
1917
|
+
},
|
|
1918
|
+
"emphasis": {
|
|
1919
|
+
"enum": [
|
|
1920
|
+
"primary",
|
|
1921
|
+
"normal",
|
|
1922
|
+
"subtle"
|
|
1923
|
+
],
|
|
1924
|
+
"description": "视觉强调级别(primary 强强调 / normal 常规 / subtle 弱化)"
|
|
1925
|
+
},
|
|
1926
|
+
"surface": {
|
|
1927
|
+
"enum": [
|
|
1928
|
+
"card",
|
|
1929
|
+
"flush",
|
|
1930
|
+
"plain"
|
|
1931
|
+
],
|
|
1932
|
+
"description": "表面容器形态(card 卡片 / flush 贴边 / plain 极简无边框)"
|
|
1933
|
+
},
|
|
1934
|
+
"highlight": {
|
|
1935
|
+
"type": "boolean",
|
|
1936
|
+
"description": "区块或字段高亮主视觉开关(布尔值,开启后以主色或高亮底色突出显示)"
|
|
495
1937
|
}
|
|
496
1938
|
}
|
|
497
1939
|
},
|
|
@@ -535,8 +1977,8 @@
|
|
|
535
1977
|
"rowClass": {
|
|
536
1978
|
"description": "kit-grammar.json#viewFormKeys.rowClass"
|
|
537
1979
|
},
|
|
538
|
-
"
|
|
539
|
-
"description": "kit-grammar.json#viewFormKeys.
|
|
1980
|
+
"rowTone": {
|
|
1981
|
+
"description": "kit-grammar.json#viewFormKeys.rowTone"
|
|
540
1982
|
},
|
|
541
1983
|
"replaceClass": {
|
|
542
1984
|
"description": "kit-grammar.json#viewFormKeys.replaceClass"
|
|
@@ -582,6 +2024,7 @@
|
|
|
582
2024
|
"AssignmentPicker",
|
|
583
2025
|
"CodeView",
|
|
584
2026
|
"ItemList",
|
|
2027
|
+
"NoticeList",
|
|
585
2028
|
"SystemSwitcher",
|
|
586
2029
|
"RowEditor",
|
|
587
2030
|
"RecordPicker",
|
|
@@ -626,6 +2069,9 @@
|
|
|
626
2069
|
"submitLabel": {
|
|
627
2070
|
"description": "kit-grammar.json#viewFormKeys.submitLabel"
|
|
628
2071
|
},
|
|
2072
|
+
"notify": {
|
|
2073
|
+
"description": "kit-grammar.json#viewFormKeys.notify"
|
|
2074
|
+
},
|
|
629
2075
|
"hideEmpty": {
|
|
630
2076
|
"description": "kit-grammar.json#viewFormKeys.hideEmpty"
|
|
631
2077
|
},
|
|
@@ -668,9 +2114,6 @@
|
|
|
668
2114
|
"scrollToError": {
|
|
669
2115
|
"description": "kit-grammar.json#viewFormKeys.scrollToError"
|
|
670
2116
|
},
|
|
671
|
-
"afterSave": {
|
|
672
|
-
"description": "kit-grammar.json#viewFormKeys.afterSave"
|
|
673
|
-
},
|
|
674
2117
|
"collapsedRows": {
|
|
675
2118
|
"description": "kit-grammar.json#viewFormKeys.collapsedRows"
|
|
676
2119
|
},
|
|
@@ -680,20 +2123,40 @@
|
|
|
680
2123
|
"contextMenu": {
|
|
681
2124
|
"description": "Q 波 G6 / B1 B 组:contextMenu 是所有“有行级动作的视图”共用的一个键,同一个 KitContextMenu、同一份实现。适用:collection 的 table(含虚拟滚动)/ treeTable(含 table + tree)/ cards / stack(写在 view.list 或 collection 上),以及写死形状组件 ItemList / Tree / Kanban 的视图(写在该视图上,staticComponents)。`@动作id` 列表,顺序即显示顺序,至多 maxItems 项;元素必须是 behavior.actions 里的动作(带 targetOverlay 的动作须同时写在 rowActions 里,写死形状组件没有 rowActions,不许带 targetOverlay)。只有页面显式声明了 contextMenu 才接管右…"
|
|
682
2125
|
},
|
|
683
|
-
"policy": {
|
|
684
|
-
"description": "字段策略表(view.form.policy):按一个状态字段(或角色字段)的取值声明各字段的 hide / readonly / required,编译成已有的 showWhen / disabledWhen / requiredWhen(不新开运行时)。形状 { by: 字段名, table: { 取值: { hide: [字段], readonly: [字段], required: [字段] } } };表里没写的取值不施加任何限制;hide 的字段不显示、不进 model、不过校验;readonly 置灰但值保留;required 在该取值下必填。by 须是本对象 schema 里的字段(可以是不在表单里显示的只读字段,如 status / role,初值取自被编辑的行)。字段上另写的 showWhen / disabledWhen / requiredWhen 与策略表叠加(都成…"
|
|
685
|
-
},
|
|
686
|
-
"adopt": {
|
|
687
|
-
"description": "采纳建议(view.form.adopt,human-only):某个 request 动作(写 into: 名字)返回一组建议值(如 AI 生成的配置草稿),用户在表单上点「采纳」才把建议写进当前草稿;采纳只改草稿,不提交,用户确认后仍要自己点保存。形状 { from, path?, map?, label? }:from = request 动作的 into;path = 建议对象在 outcome.data 里的点路径(缺省取整个 data;接口带信封时写 data 或 data.xxx);map = { 表单字段: 建议里的点路径 },缺省按『与表单字段同名的键』回填;label = 采纳按钮文案(缺省词条 soma.kit.adopt);ask = 采纳条上『获取建议』钮要发的 request 动作 id(该动作写在本对象 behavior.actions 里、不写 on,不渲染…"
|
|
688
|
-
},
|
|
689
2126
|
"footerActions": {
|
|
690
2127
|
"description": "kit-grammar.json#viewFormKeys.footerActions"
|
|
691
2128
|
},
|
|
692
2129
|
"result": {
|
|
693
2130
|
"description": "kit-grammar.json#viewFormKeys.result"
|
|
694
2131
|
},
|
|
695
|
-
"
|
|
696
|
-
"description": "kit-grammar.json#viewFormKeys.
|
|
2132
|
+
"onDraft": {
|
|
2133
|
+
"description": "kit-grammar.json#viewFormKeys.onDraft"
|
|
2134
|
+
},
|
|
2135
|
+
"submitDisabled": {
|
|
2136
|
+
"description": "kit-grammar.json#viewFormKeys.submitDisabled"
|
|
2137
|
+
},
|
|
2138
|
+
"emphasis": {
|
|
2139
|
+
"enum": [
|
|
2140
|
+
"primary",
|
|
2141
|
+
"normal",
|
|
2142
|
+
"subtle"
|
|
2143
|
+
],
|
|
2144
|
+
"description": "视觉强调级别(primary 强强调 / normal 常规 / subtle 弱化)"
|
|
2145
|
+
},
|
|
2146
|
+
"surface": {
|
|
2147
|
+
"enum": [
|
|
2148
|
+
"card",
|
|
2149
|
+
"flush",
|
|
2150
|
+
"plain"
|
|
2151
|
+
],
|
|
2152
|
+
"description": "表面容器形态(card 卡片 / flush 贴边 / plain 极简无边框)"
|
|
2153
|
+
},
|
|
2154
|
+
"highlight": {
|
|
2155
|
+
"type": "boolean",
|
|
2156
|
+
"description": "区块或字段高亮主视觉开关(布尔值,开启后以主色或高亮底色突出显示)"
|
|
2157
|
+
},
|
|
2158
|
+
"defaultCollapsedCount": {
|
|
2159
|
+
"description": "kit-grammar.json#viewFormKeys.defaultCollapsedCount"
|
|
697
2160
|
}
|
|
698
2161
|
}
|
|
699
2162
|
},
|
|
@@ -706,7 +2169,8 @@
|
|
|
706
2169
|
"table",
|
|
707
2170
|
"treeTable",
|
|
708
2171
|
"cards",
|
|
709
|
-
"stack"
|
|
2172
|
+
"stack",
|
|
2173
|
+
"compact-list"
|
|
710
2174
|
],
|
|
711
2175
|
"description": "treeTable 不是另一套表格:`type: treeTable` 等价于 `type: table` + `tree: {...}`,同一条列 / 表头 / 密度 / 三态 / 分页路径,只有表体换成 KitTreeTable(详见顶层 treeTable)。骨架屏同理:KitCollectionState 一个实现,按 table / cards / stack / single 形态参数化(顶层 skeleton)。折叠分组与手风琴同一个实现(KitCollapseWiring + accordion 参数)"
|
|
712
2176
|
},
|
|
@@ -725,20 +2189,15 @@
|
|
|
725
2189
|
"expand": {
|
|
726
2190
|
"description": "kit-grammar.json#collectionKeys.expand。collection 的子键。三态文案键 loading / empty / error 必须是字符串(否则 KIT-OBJ-007),state: false 关闭内置兜底;expand 只允许 { view: summary } 或 {…"
|
|
727
2191
|
},
|
|
728
|
-
"density": {
|
|
729
|
-
"enum": [
|
|
730
|
-
"compact",
|
|
731
|
-
"standard",
|
|
732
|
-
"comfortable"
|
|
733
|
-
],
|
|
734
|
-
"description": "table 单元格上下内边距三档,只改 py 不改 px(--spacing 已随 Host 密度变化,density 只是单表局部微调,不与全局密度叠乘)(classDefaults.tableHead* / tableRow*):compact / standard(缺省)/ comfortable,非闭集内的值报 KIT-OBJ-009 并按 standard 处理;striped: true = 斑马纹(偶数行 classDefaults.tableRowStriped,含偶数行自己的悬停色 even:hover:bg-border-subtle,避免悬停色与底色相同),缺省关闭,非布尔报 KIT-OBJ-009。选中行高亮恒开:表格是无 role 的 div 结构,选中态不用 aria-selected(它只在 grid / treegrid 的 row 上合法),KitTabl…"
|
|
735
|
-
},
|
|
736
2192
|
"striped": {
|
|
737
2193
|
"description": "kit-grammar.json#collectionKeys.striped。collection 的子键。三态文案键 loading / empty / error 必须是字符串(否则 KIT-OBJ-007),state: false 关闭内置兜底;expand 只允许 { view: summary } 或 {…"
|
|
738
2194
|
},
|
|
739
2195
|
"bordered": {
|
|
740
2196
|
"description": "kit-grammar.json#collectionKeys.bordered。collection 的子键。三态文案键 loading / empty / error 必须是字符串(否则 KIT-OBJ-007),state: false 关闭内置兜底;expand 只允许 { view: summary } 或 {…"
|
|
741
2197
|
},
|
|
2198
|
+
"count": {
|
|
2199
|
+
"description": "kit-grammar.json#collectionKeys.count。collection 的子键。三态文案键 loading / empty / error 必须是字符串(否则 KIT-OBJ-007),state: false 关闭内置兜底;expand 只允许 { view: summary } 或 {…"
|
|
2200
|
+
},
|
|
742
2201
|
"tree": {
|
|
743
2202
|
"description": "collection: { type: treeTable, tree: {...} }:层级表格。行数据两种形状任选:嵌套(每行带 childrenField 数组)或平铺(每行带 parentField 指向父行主键,孤儿补在末尾)。列、选择、行操作、可排序表头、密度、斑马纹、三态与 table 同口径;不支持 expand 详情行、字段级 action(写了丢弃并报 KIT-OBJ-010)。表体由写死形状数据组件 KitTreeTable 渲染(单元格用 Text / Tag 两种展示:enum 带 tone 的字段画成 Tag,其余走 Text 的格式化;其它 component 退回 Text),缩进用定宽占位元素,不用拼接类名。展开状态留在组件内(只在一个组件内流转归该组件),数据刷新后保留;lazy 子项经 childrenFrom 按需 GET,响应行形状同 rows。键…"
|
|
744
2203
|
},
|
|
@@ -820,6 +2279,7 @@
|
|
|
820
2279
|
"AvatarGroup",
|
|
821
2280
|
"Kbd",
|
|
822
2281
|
"KitProgress",
|
|
2282
|
+
"KitDelta",
|
|
823
2283
|
"Countdown",
|
|
824
2284
|
"Swap",
|
|
825
2285
|
"Fab",
|
|
@@ -833,6 +2293,7 @@
|
|
|
833
2293
|
"PriceText",
|
|
834
2294
|
"QrCode",
|
|
835
2295
|
"CommandPalette",
|
|
2296
|
+
"GapValue",
|
|
836
2297
|
"RowEditor",
|
|
837
2298
|
"FlowEditor"
|
|
838
2299
|
]
|
|
@@ -874,26 +2335,11 @@
|
|
|
874
2335
|
},
|
|
875
2336
|
"help": {
|
|
876
2337
|
"type": "string",
|
|
877
|
-
"description": "fields[].help
|
|
878
|
-
},
|
|
879
|
-
"showWhen": {
|
|
880
|
-
"description": "闭集谓词:叶子 { field, op, value? };组合 { all: [叶子...] } / { any: [叶子...] },只许一层。编成 core 谓词时 all -> all_of、any -> any_of,叶子原样。requiredWhen 编成 schema 字段的 rules[].when(core 校验时求值,记录 = 读态 ∪ model);showWhen / disabledWhen 在 KitObjectForm 里用 soma-core/predicates 的 evaluatePredicate 对草稿求值(草稿在组件里,页面没有可绑的字段值,core 对象层也没有 derived 键且 calc 不产布尔);动作 when 编进行操作 steps 的前置条件(叶子字段 field 改写成 { field: row, path: 字段 })"
|
|
881
|
-
},
|
|
882
|
-
"requiredWhen": {
|
|
883
|
-
"description": "闭集谓词:叶子 { field, op, value? };组合 { all: [叶子...] } / { any: [叶子...] },只许一层。编成 core 谓词时 all -> all_of、any -> any_of,叶子原样。requiredWhen 编成 schema 字段的 rules[].when(core 校验时求值,记录 = 读态 ∪ model);showWhen / disabledWhen 在 KitObjectForm 里用 soma-core/predicates 的 evaluatePredicate 对草稿求值(草稿在组件里,页面没有可绑的字段值,core 对象层也没有 derived 键且 calc 不产布尔);动作 when 编进行操作 steps 的前置条件(叶子字段 field 改写成 { field: row, path: 字段 })"
|
|
884
|
-
},
|
|
885
|
-
"disabledWhen": {
|
|
886
|
-
"description": "闭集谓词:叶子 { field, op, value? };组合 { all: [叶子...] } / { any: [叶子...] },只许一层。编成 core 谓词时 all -> all_of、any -> any_of,叶子原样。requiredWhen 编成 schema 字段的 rules[].when(core 校验时求值,记录 = 读态 ∪ model);showWhen / disabledWhen 在 KitObjectForm 里用 soma-core/predicates 的 evaluatePredicate 对草稿求值(草稿在组件里,页面没有可绑的字段值,core 对象层也没有 derived 键且 calc 不产布尔);动作 when 编进行操作 steps 的前置条件(叶子字段 field 改写成 { field: row, path: 字段 })"
|
|
887
|
-
},
|
|
888
|
-
"when": {
|
|
889
|
-
"description": "闭集谓词:叶子 { field, op, value? };组合 { all: [叶子...] } / { any: [叶子...] },只许一层。编成 core 谓词时 all -> all_of、any -> any_of,叶子原样。requiredWhen 编成 schema 字段的 rules[].when(core 校验时求值,记录 = 读态 ∪ model);showWhen / disabledWhen 在 KitObjectForm 里用 soma-core/predicates 的 evaluatePredicate 对草稿求值(草稿在组件里,页面没有可绑的字段值,core 对象层也没有 derived 键且 calc 不产布尔);动作 when 编进行操作 steps 的前置条件(叶子字段 field 改写成 { field: row, path: 字段 })"
|
|
2338
|
+
"description": "fields[].help:字段说明文字,字符串(非字符串报 KIT-OBJ-009)。编辑态格(form / filter 的 KitObjectForm)渲染成控件下的说明行,位置写死 = 控件下、错误行上,类 classDefaults.help;只读的 summary / list 在列头 / 标签旁显示成小「i」说明图标钮(悬停 / 聚焦才出气泡,列头各一个键盘停靠点、行内没有;没有 help 的列不出任何节点)。同一字段说明在所有容器一致可见。"
|
|
890
2339
|
},
|
|
891
2340
|
"on": {
|
|
892
2341
|
"description": "view.on(写死形状数据组件的视图):{ 组件事件名: 动作 },把组件 emit 接到动作。事件名必须在该组件契约 emits 里(否则 KIT-STATIC-001);动作取值见 values,具名动作未登记报 KIT-EVT-001。浮层里的同类接线仍用 overlays.<名>.events"
|
|
893
2342
|
},
|
|
894
|
-
"fill": {
|
|
895
|
-
"description": "kit-grammar.json#fieldRefKeys.fill"
|
|
896
|
-
},
|
|
897
2343
|
"fixed": {
|
|
898
2344
|
"description": "kit-grammar.json#fieldRefKeys.fixed"
|
|
899
2345
|
},
|
|
@@ -914,6 +2360,38 @@
|
|
|
914
2360
|
},
|
|
915
2361
|
"resizable": {
|
|
916
2362
|
"description": "kit-grammar.json#fieldRefKeys.resizable"
|
|
2363
|
+
},
|
|
2364
|
+
"hidden": {
|
|
2365
|
+
"description": "kit-grammar.json#fieldRefKeys.hidden"
|
|
2366
|
+
},
|
|
2367
|
+
"disabled": {
|
|
2368
|
+
"description": "kit-grammar.json#fieldRefKeys.disabled"
|
|
2369
|
+
},
|
|
2370
|
+
"required": {
|
|
2371
|
+
"description": "kit-grammar.json#fieldRefKeys.required"
|
|
2372
|
+
},
|
|
2373
|
+
"options": {
|
|
2374
|
+
"description": "kit-grammar.json#fieldRefKeys.options"
|
|
2375
|
+
},
|
|
2376
|
+
"nodeOptions": {
|
|
2377
|
+
"description": "kit-grammar.json#fieldRefKeys.nodeOptions"
|
|
2378
|
+
},
|
|
2379
|
+
"columnOptions": {
|
|
2380
|
+
"description": "kit-grammar.json#fieldRefKeys.columnOptions"
|
|
2381
|
+
},
|
|
2382
|
+
"suggestions": {
|
|
2383
|
+
"description": "kit-grammar.json#fieldRefKeys.suggestions"
|
|
2384
|
+
},
|
|
2385
|
+
"emphasis": {
|
|
2386
|
+
"enum": [
|
|
2387
|
+
"strong",
|
|
2388
|
+
"muted"
|
|
2389
|
+
],
|
|
2390
|
+
"description": "字段视觉强调级别(strong 加重 / muted 减淡)"
|
|
2391
|
+
},
|
|
2392
|
+
"highlight": {
|
|
2393
|
+
"type": "boolean",
|
|
2394
|
+
"description": "区块或字段高亮主视觉开关(布尔值,开启后以主色或高亮底色突出显示)"
|
|
917
2395
|
}
|
|
918
2396
|
},
|
|
919
2397
|
"allOf": [
|
|
@@ -942,6 +2420,9 @@
|
|
|
942
2420
|
},
|
|
943
2421
|
"copied_label": {
|
|
944
2422
|
"description": "Text.copied_label(kit-grammar.json#baseComponentProps.Text)"
|
|
2423
|
+
},
|
|
2424
|
+
"tone_as": {
|
|
2425
|
+
"description": "Text.tone_as(kit-grammar.json#baseComponentProps.Text)"
|
|
945
2426
|
}
|
|
946
2427
|
}
|
|
947
2428
|
}
|
|
@@ -1918,6 +3399,37 @@
|
|
|
1918
3399
|
}
|
|
1919
3400
|
}
|
|
1920
3401
|
},
|
|
3402
|
+
{
|
|
3403
|
+
"if": {
|
|
3404
|
+
"properties": {
|
|
3405
|
+
"component": {
|
|
3406
|
+
"const": "KitDelta"
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
"required": [
|
|
3410
|
+
"component"
|
|
3411
|
+
]
|
|
3412
|
+
},
|
|
3413
|
+
"then": {
|
|
3414
|
+
"properties": {
|
|
3415
|
+
"props": {
|
|
3416
|
+
"type": "object",
|
|
3417
|
+
"description": "KitDelta 的 props(kit-grammar.json#baseComponentProps.KitDelta;未列出的键以组件契约为准)",
|
|
3418
|
+
"properties": {
|
|
3419
|
+
"value": {
|
|
3420
|
+
"description": "KitDelta.value(kit-grammar.json#baseComponentProps.KitDelta)"
|
|
3421
|
+
},
|
|
3422
|
+
"format": {
|
|
3423
|
+
"description": "KitDelta.format(kit-grammar.json#baseComponentProps.KitDelta)"
|
|
3424
|
+
},
|
|
3425
|
+
"upIs": {
|
|
3426
|
+
"description": "KitDelta.upIs(kit-grammar.json#baseComponentProps.KitDelta)"
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
1921
3433
|
{
|
|
1922
3434
|
"if": {
|
|
1923
3435
|
"properties": {
|
|
@@ -2241,6 +3753,9 @@
|
|
|
2241
3753
|
"search_delay": {
|
|
2242
3754
|
"description": "Combobox.search_delay(kit-grammar.json#baseComponentProps.Combobox)"
|
|
2243
3755
|
},
|
|
3756
|
+
"options_query": {
|
|
3757
|
+
"description": "Combobox.options_query(kit-grammar.json#baseComponentProps.Combobox)"
|
|
3758
|
+
},
|
|
2244
3759
|
"multiple": {
|
|
2245
3760
|
"description": "Combobox.multiple(kit-grammar.json#baseComponentProps.Combobox)"
|
|
2246
3761
|
},
|
|
@@ -2548,6 +4063,55 @@
|
|
|
2548
4063
|
}
|
|
2549
4064
|
}
|
|
2550
4065
|
}
|
|
4066
|
+
},
|
|
4067
|
+
{
|
|
4068
|
+
"if": {
|
|
4069
|
+
"properties": {
|
|
4070
|
+
"component": {
|
|
4071
|
+
"const": "GapValue"
|
|
4072
|
+
}
|
|
4073
|
+
},
|
|
4074
|
+
"required": [
|
|
4075
|
+
"component"
|
|
4076
|
+
]
|
|
4077
|
+
},
|
|
4078
|
+
"then": {
|
|
4079
|
+
"properties": {
|
|
4080
|
+
"props": {
|
|
4081
|
+
"type": "object",
|
|
4082
|
+
"description": "GapValue 的 props(kit-grammar.json#baseComponentProps.GapValue;未列出的键以组件契约为准)",
|
|
4083
|
+
"properties": {
|
|
4084
|
+
"value": {
|
|
4085
|
+
"description": "GapValue.value(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4086
|
+
},
|
|
4087
|
+
"state": {
|
|
4088
|
+
"description": "GapValue.state(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4089
|
+
},
|
|
4090
|
+
"reason": {
|
|
4091
|
+
"description": "GapValue.reason(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4092
|
+
},
|
|
4093
|
+
"format": {
|
|
4094
|
+
"description": "GapValue.format(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4095
|
+
},
|
|
4096
|
+
"unit": {
|
|
4097
|
+
"description": "GapValue.unit(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4098
|
+
},
|
|
4099
|
+
"locale": {
|
|
4100
|
+
"description": "GapValue.locale(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4101
|
+
},
|
|
4102
|
+
"compact": {
|
|
4103
|
+
"description": "GapValue.compact(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4104
|
+
},
|
|
4105
|
+
"tooltip": {
|
|
4106
|
+
"description": "GapValue.tooltip(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4107
|
+
},
|
|
4108
|
+
"size": {
|
|
4109
|
+
"description": "GapValue.size(kit-grammar.json#baseComponentProps.GapValue)"
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
4113
|
+
}
|
|
4114
|
+
}
|
|
2551
4115
|
}
|
|
2552
4116
|
]
|
|
2553
4117
|
}
|
|
@@ -2583,7 +4147,34 @@
|
|
|
2583
4147
|
"description": "kit-grammar.json#actionKeys.targetOverlay"
|
|
2584
4148
|
},
|
|
2585
4149
|
"confirm": {
|
|
2586
|
-
"description": "kit
|
|
4150
|
+
"description": "动作 confirm 两种写法:字符串 = plain 一句话确认(逐字写进 core 的 confirm 尾段,行为不变;删除动作与批量动作只收字符串);对象 { level, text, phrase?, impact?, tone? } = core 确认规格(字面量,只给普通动作),编成 core 的结构化确认段 `confirm:{…JSON}`,与 core parseConfirmSegment 解析回同一规格。判据只有 core 的 checkConfirmSpec(kit 不抄闭集 / 限值):键只能是 level / text / phrase / impact / tone;tone ∈ default / danger(danger = 破坏性确认:确认钮警示色、初始焦点落取消;删除动作与自身 tone 为 danger 的动作由 kit 自动编成 tone: da…",
|
|
4151
|
+
"anyOf": [
|
|
4152
|
+
{
|
|
4153
|
+
"type": "string"
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"type": "object",
|
|
4157
|
+
"additionalProperties": false,
|
|
4158
|
+
"required": [
|
|
4159
|
+
"level",
|
|
4160
|
+
"text"
|
|
4161
|
+
],
|
|
4162
|
+
"properties": {
|
|
4163
|
+
"level": {
|
|
4164
|
+
"type": "string"
|
|
4165
|
+
},
|
|
4166
|
+
"text": {
|
|
4167
|
+
"type": "string"
|
|
4168
|
+
},
|
|
4169
|
+
"phrase": {
|
|
4170
|
+
"type": "string"
|
|
4171
|
+
},
|
|
4172
|
+
"impact": {
|
|
4173
|
+
"type": "string"
|
|
4174
|
+
}
|
|
4175
|
+
}
|
|
4176
|
+
}
|
|
4177
|
+
]
|
|
2587
4178
|
},
|
|
2588
4179
|
"tone": {
|
|
2589
4180
|
"description": "kit-grammar.json#actionKeys.tone",
|
|
@@ -2607,20 +4198,11 @@
|
|
|
2607
4198
|
"description": "kit-grammar.json#actionKeys.permission",
|
|
2608
4199
|
"type": "string"
|
|
2609
4200
|
},
|
|
2610
|
-
"after": {
|
|
2611
|
-
"description": "kit 层解释的内置动作;reload 经协调组件 kit_reload 重取(K-2)。after: reload 让具名动作成功后经协调组件重取(K-5,行操作恒自动刷新,主要给工具栏)"
|
|
2612
|
-
},
|
|
2613
|
-
"then": {
|
|
2614
|
-
"description": "M 波 G3:表单与字段联动、动作后续链、远程选项、接口适配、behavior 透传、表单布局与筛选折叠。能编成 core 现有声明的编成 core(rules[].when / transform / write.validate_on / 事件 steps / NAV_STATIC / NOTIFY / SCOPE window-reload / 顶层 subscribe),core 没有的在 KitObjectForm 内用同一份闭集谓词求值,不在 core 加 kit 包络"
|
|
2615
|
-
},
|
|
2616
|
-
"when": {
|
|
2617
|
-
"description": "闭集谓词:叶子 { field, op, value? };组合 { all: [叶子...] } / { any: [叶子...] },只许一层。编成 core 谓词时 all -> all_of、any -> any_of,叶子原样。requiredWhen 编成 schema 字段的 rules[].when(core 校验时求值,记录 = 读态 ∪ model);showWhen / disabledWhen 在 KitObjectForm 里用 soma-core/predicates 的 evaluatePredicate 对草稿求值(草稿在组件里,页面没有可绑的字段值,core 对象层也没有 derived 键且 calc 不产布尔);动作 when 编进行操作 steps 的前置条件(叶子字段 field 改写成 { field: row, path: 字段 })"
|
|
2618
|
-
},
|
|
2619
4201
|
"more": {
|
|
2620
4202
|
"description": "kit-grammar.json#actionKeys.more"
|
|
2621
4203
|
},
|
|
2622
4204
|
"request": {
|
|
2623
|
-
"description": "声明式请求 / 下载动作(P1):动作写 request 或 download(与 submit / builtin 三选一)。request = 经 core 写通道(ACTION data.submit 同一条,写入结果落 write-outcome-store)发一次 POST / PUT / PATCH
|
|
4205
|
+
"description": "声明式请求 / 下载动作(P1):动作写 request 或 download(与 submit / builtin 三选一)。request = 经 core 写通道(ACTION data.submit 同一条,写入结果落 write-outcome-store)发一次 POST / PUT / PATCH,页面声明不拼请求体、不写参数取值路径(载荷由业务对象 / 具名动作 / 接口一侧提供);into 给结果命名(outcome 范围名),组件用 outcome prop 订阅它的 pending / saved / failed 与响应;into 也可写 { name, key: $row.<主键字段> }(按行分开存):结果按「名字 + 行键」分槽,同一个动作在不同行上点各存各的(一行成功不放开别的行),行键字段必须是对象的 key: true 字段;行内动作 / 右键菜单的 o…",
|
|
2624
4206
|
"type": "object",
|
|
2625
4207
|
"additionalProperties": false,
|
|
2626
4208
|
"required": [
|
|
@@ -2637,9 +4219,6 @@
|
|
|
2637
4219
|
"PATCH"
|
|
2638
4220
|
]
|
|
2639
4221
|
},
|
|
2640
|
-
"body": {
|
|
2641
|
-
"type": "object"
|
|
2642
|
-
},
|
|
2643
4222
|
"into": {
|
|
2644
4223
|
"anyOf": [
|
|
2645
4224
|
{
|
|
@@ -2666,57 +4245,9 @@
|
|
|
2666
4245
|
}
|
|
2667
4246
|
]
|
|
2668
4247
|
},
|
|
2669
|
-
"ok": {
|
|
2670
|
-
"type": "object",
|
|
2671
|
-
"additionalProperties": false,
|
|
2672
|
-
"properties": {
|
|
2673
|
-
"path": {},
|
|
2674
|
-
"equals": {},
|
|
2675
|
-
"message": {}
|
|
2676
|
-
}
|
|
2677
|
-
},
|
|
2678
4248
|
"notify": {
|
|
2679
4249
|
"type": "string"
|
|
2680
4250
|
},
|
|
2681
|
-
"then": {
|
|
2682
|
-
"anyOf": [
|
|
2683
|
-
{
|
|
2684
|
-
"enum": [
|
|
2685
|
-
"reload",
|
|
2686
|
-
"none"
|
|
2687
|
-
]
|
|
2688
|
-
},
|
|
2689
|
-
{
|
|
2690
|
-
"type": "array",
|
|
2691
|
-
"items": {
|
|
2692
|
-
"type": "object",
|
|
2693
|
-
"additionalProperties": false,
|
|
2694
|
-
"required": [
|
|
2695
|
-
"reload"
|
|
2696
|
-
],
|
|
2697
|
-
"properties": {
|
|
2698
|
-
"reload": {
|
|
2699
|
-
"anyOf": [
|
|
2700
|
-
{
|
|
2701
|
-
"const": true
|
|
2702
|
-
},
|
|
2703
|
-
{
|
|
2704
|
-
"type": "string"
|
|
2705
|
-
}
|
|
2706
|
-
]
|
|
2707
|
-
},
|
|
2708
|
-
"on": {
|
|
2709
|
-
"enum": [
|
|
2710
|
-
"success",
|
|
2711
|
-
"failed",
|
|
2712
|
-
"always"
|
|
2713
|
-
]
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
]
|
|
2719
|
-
},
|
|
2720
4251
|
"read": {
|
|
2721
4252
|
"type": "boolean"
|
|
2722
4253
|
},
|
|
@@ -2725,16 +4256,13 @@
|
|
|
2725
4256
|
"mount"
|
|
2726
4257
|
]
|
|
2727
4258
|
},
|
|
2728
|
-
"prompt": {
|
|
2729
|
-
"type": "object"
|
|
2730
|
-
},
|
|
2731
4259
|
"timeoutMs": {
|
|
2732
4260
|
"type": "integer"
|
|
2733
4261
|
}
|
|
2734
4262
|
}
|
|
2735
4263
|
},
|
|
2736
4264
|
"download": {
|
|
2737
|
-
"description": "声明式请求 / 下载动作(P1):动作写 request 或 download(与 submit / builtin 三选一)。request = 经 core 写通道(ACTION data.submit 同一条,写入结果落 write-outcome-store)发一次 POST / PUT / PATCH
|
|
4265
|
+
"description": "声明式请求 / 下载动作(P1):动作写 request 或 download(与 submit / builtin 三选一)。request = 经 core 写通道(ACTION data.submit 同一条,写入结果落 write-outcome-store)发一次 POST / PUT / PATCH,页面声明不拼请求体、不写参数取值路径(载荷由业务对象 / 具名动作 / 接口一侧提供);into 给结果命名(outcome 范围名),组件用 outcome prop 订阅它的 pending / saved / failed 与响应;into 也可写 { name, key: $row.<主键字段> }(按行分开存):结果按「名字 + 行键」分槽,同一个动作在不同行上点各存各的(一行成功不放开别的行),行键字段必须是对象的 key: true 字段;行内动作 / 右键菜单的 o…",
|
|
2738
4266
|
"type": "object",
|
|
2739
4267
|
"additionalProperties": false,
|
|
2740
4268
|
"required": [
|
|
@@ -2750,25 +4278,20 @@
|
|
|
2750
4278
|
"POST"
|
|
2751
4279
|
]
|
|
2752
4280
|
},
|
|
2753
|
-
"body": {
|
|
2754
|
-
"type": "object"
|
|
2755
|
-
},
|
|
2756
|
-
"query": {
|
|
2757
|
-
"type": "object"
|
|
2758
|
-
},
|
|
2759
4281
|
"filename": {
|
|
2760
4282
|
"type": "string"
|
|
2761
4283
|
}
|
|
2762
4284
|
}
|
|
2763
4285
|
},
|
|
2764
|
-
"
|
|
2765
|
-
"description": "
|
|
4286
|
+
"disabled": {
|
|
4287
|
+
"description": "kit-grammar.json#actionKeys.disabled"
|
|
2766
4288
|
},
|
|
2767
|
-
"
|
|
2768
|
-
"description": "kit-
|
|
4289
|
+
"disabledReason": {
|
|
4290
|
+
"description": "动作 disabledReason:声明「置灰时的原因文案从哪来」,呈现方式由 kit 写死。适用 on: toolbar(字面量 | view.<成员>)与 on: row(字面量 | view.<成员> | row.<字段>;覆盖行内按钮、折叠进「更多」的项、cards / stack 的行操作、右键菜单项);表单底栏动作(由 object-form 渲染)暂不支持,写了报 KIT-VIEW-006。必须与 disabled 同写,只写 disabledReason 报 KIT-ACT-010;值是对象 / 数字、含 {…} 占位(拼值)、row. / view. 前缀却不是纯路径,报 KIT-ACT-010 / KIT-ROW-001 / KIT-VIEW-001;toolbar 动作写 row. 路径报 KIT-VIEW-001;row.<字段> 不在对象 schema 里报 KI…",
|
|
4291
|
+
"type": "string"
|
|
2769
4292
|
},
|
|
2770
|
-
"
|
|
2771
|
-
"description": "kit-grammar.json#actionKeys.
|
|
4293
|
+
"hidden": {
|
|
4294
|
+
"description": "kit-grammar.json#actionKeys.hidden"
|
|
2772
4295
|
}
|
|
2773
4296
|
}
|
|
2774
4297
|
}
|