@flextudio/scenario 0.1.0
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/LICENSE +202 -0
- package/README.md +260 -0
- package/bin/flex-scenario.mjs +895 -0
- package/commands/flex-spec.md +28 -0
- package/contract-data/README.md +267 -0
- package/contract-data/examples/README.md +147 -0
- package/contract-data/examples/basic/basic-list-detail.json +2521 -0
- package/contract-data/examples/basic/delivery-address-popup.json +2175 -0
- package/contract-data/examples/basic/fixedtop-floating-form.json +1524 -0
- package/contract-data/examples/basic/search-period-popup.json +1524 -0
- package/contract-data/examples/design/booking-wizard-3step.json +1335 -0
- package/contract-data/examples/design/list-detail-form-3step.json +1516 -0
- package/contract-data/examples/design/list-filter-2step.json +1365 -0
- package/contract-data/examples/design/list-filter-detail-3step.json +1570 -0
- package/contract-data/examples/design/result-entry-wizard-4step.json +1861 -0
- package/contract-data/examples/intent/mock-employee-list.json +54 -0
- package/contract-data/examples/intent/script-cart-flow.json +96 -0
- package/contract-data/examples/intent/script-dialog-confirm.json +61 -0
- package/contract-data/runtime/v1/collection/README.md +119 -0
- package/contract-data/runtime/v1/collection/_c.md +205 -0
- package/contract-data/runtime/v1/collection/category.md +165 -0
- package/contract-data/runtime/v1/collection/collection.md +135 -0
- package/contract-data/runtime/v1/collection/lifecycle.md +140 -0
- package/contract-data/runtime/v1/collection/naming.md +174 -0
- package/contract-data/runtime/v1/collection/sector.md +176 -0
- package/contract-data/runtime/v1/collection/status.md +114 -0
- package/contract-data/runtime/v1/intent-system/INTENT.md +552 -0
- package/contract-data/runtime/v1/intent-system/README.md +118 -0
- package/contract-data/runtime/v1/intent-system/intent.schema.json +164 -0
- package/contract-data/runtime/v1/intent-system/kinds/_base.mjs +137 -0
- package/contract-data/runtime/v1/intent-system/kinds/clearCategory.mjs +35 -0
- package/contract-data/runtime/v1/intent-system/kinds/copyStepValues.mjs +100 -0
- package/contract-data/runtime/v1/intent-system/kinds/deleteActive.mjs +45 -0
- package/contract-data/runtime/v1/intent-system/kinds/dialog.mjs +127 -0
- package/contract-data/runtime/v1/intent-system/kinds/reloadGroup.mjs +28 -0
- package/contract-data/runtime/v1/intent-system/kinds/updateActive.mjs +74 -0
- package/contract-data/runtime/v1/intent-system/materialize.mjs +495 -0
- package/contract-data/runtime/v1/script/README.md +37 -0
- package/contract-data/runtime/v1/script/current_step.md +112 -0
- package/contract-data/runtime/v1/script/f_collection.md +142 -0
- package/contract-data/runtime/v1/script/f_content.md +133 -0
- package/contract-data/runtime/v1/script/f_messagebox.md +132 -0
- package/contract-data/runtime/v1/script/scenario-gen-rules.md +264 -0
- package/contract-data/schema/v1/SKELETON-SHELL.md +120 -0
- package/contract-data/schema/v1/bottom-buttons.md +155 -0
- package/contract-data/schema/v1/bottom-buttons.schema.json +134 -0
- package/contract-data/schema/v1/control/_base.schema.json +1296 -0
- package/contract-data/schema/v1/control/button.md +147 -0
- package/contract-data/schema/v1/control/button.schema.json +55 -0
- package/contract-data/schema/v1/control/calendar-navigator.md +143 -0
- package/contract-data/schema/v1/control/calendar-navigator.schema.json +164 -0
- package/contract-data/schema/v1/control/calendar.md +128 -0
- package/contract-data/schema/v1/control/calendar.schema.json +18 -0
- package/contract-data/schema/v1/control/check-box.md +117 -0
- package/contract-data/schema/v1/control/check-box.schema.json +41 -0
- package/contract-data/schema/v1/control/combo.md +293 -0
- package/contract-data/schema/v1/control/combo.schema.json +23 -0
- package/contract-data/schema/v1/control/embed.md +211 -0
- package/contract-data/schema/v1/control/embed.schema.json +30 -0
- package/contract-data/schema/v1/control/image-box.md +237 -0
- package/contract-data/schema/v1/control/image-box.schema.json +49 -0
- package/contract-data/schema/v1/control/input-date.md +175 -0
- package/contract-data/schema/v1/control/input-date.schema.json +27 -0
- package/contract-data/schema/v1/control/input-file.md +192 -0
- package/contract-data/schema/v1/control/input-file.schema.json +139 -0
- package/contract-data/schema/v1/control/input-mask.md +89 -0
- package/contract-data/schema/v1/control/input-mask.schema.json +45 -0
- package/contract-data/schema/v1/control/input-number.md +55 -0
- package/contract-data/schema/v1/control/input-number.schema.json +24 -0
- package/contract-data/schema/v1/control/input-text.md +73 -0
- package/contract-data/schema/v1/control/input-text.schema.json +24 -0
- package/contract-data/schema/v1/control/label.md +127 -0
- package/contract-data/schema/v1/control/label.schema.json +113 -0
- package/contract-data/schema/v1/control/multi-input-box.md +51 -0
- package/contract-data/schema/v1/control/multi-input-box.schema.json +19 -0
- package/contract-data/schema/v1/control/other.schema.json +24 -0
- package/contract-data/schema/v1/control/radio-box.md +150 -0
- package/contract-data/schema/v1/control/radio-box.schema.json +87 -0
- package/contract-data/schema/v1/control/search.md +163 -0
- package/contract-data/schema/v1/control/search.schema.json +23 -0
- package/contract-data/schema/v1/control/tab.md +240 -0
- package/contract-data/schema/v1/control/tab.schema.json +112 -0
- package/contract-data/schema/v1/control/tree.md +278 -0
- package/contract-data/schema/v1/control/tree.schema.json +83 -0
- package/contract-data/schema/v1/control.md +264 -0
- package/contract-data/schema/v1/control.schema.json +30 -0
- package/contract-data/schema/v1/data-objects.md +278 -0
- package/contract-data/schema/v1/data-objects.schema.json +161 -0
- package/contract-data/schema/v1/data-sources.md +215 -0
- package/contract-data/schema/v1/data-sources.schema.json +184 -0
- package/contract-data/schema/v1/design-system/DESIGN.md +282 -0
- package/contract-data/schema/v1/design-system/README.md +235 -0
- package/contract-data/schema/v1/design-system/design.schema.json +496 -0
- package/contract-data/schema/v1/design-system/error-mapping.mjs +132 -0
- package/contract-data/schema/v1/design-system/materialize.mjs +1435 -0
- package/contract-data/schema/v1/design-system/tests/_base.additional-meta.test.mjs +98 -0
- package/contract-data/schema/v1/design-system/tests/_base.materialize.test.mjs +596 -0
- package/contract-data/schema/v1/design-system/tests/checklist.test.mjs +135 -0
- package/contract-data/schema/v1/design-system/tests/design.schema.test.mjs +487 -0
- package/contract-data/schema/v1/design-system/tests/error-mapping.test.mjs +244 -0
- package/contract-data/schema/v1/design-system/tests/materialize.test.mjs +1093 -0
- package/contract-data/schema/v1/design-system/tests/move-step.test.mjs +119 -0
- package/contract-data/schema/v1/design-system/tests/override.integration.test.mjs +116 -0
- package/contract-data/schema/v1/design-system/tokens.json +76 -0
- package/contract-data/schema/v1/events.md +467 -0
- package/contract-data/schema/v1/events.schema.json +272 -0
- package/contract-data/schema/v1/group.md +146 -0
- package/contract-data/schema/v1/group.schema.json +133 -0
- package/contract-data/schema/v1/mockup-data.md +186 -0
- package/contract-data/schema/v1/naming-objects.schema.json +133 -0
- package/contract-data/schema/v1/node.md +32 -0
- package/contract-data/schema/v1/node.schema.json +24 -0
- package/contract-data/schema/v1/patterns/_base.additional-meta.mjs +135 -0
- package/contract-data/schema/v1/patterns/_base.controls.mjs +759 -0
- package/contract-data/schema/v1/patterns/_base.icon.mjs +61 -0
- package/contract-data/schema/v1/patterns/_base.id.mjs +15 -0
- package/contract-data/schema/v1/patterns/_base.materialize.mjs +1181 -0
- package/contract-data/schema/v1/patterns/_base.style.mjs +312 -0
- package/contract-data/schema/v1/patterns/atom/badge.materialize.mjs +68 -0
- package/contract-data/schema/v1/patterns/atom/badge.schema.json +44 -0
- package/contract-data/schema/v1/patterns/atom/button.materialize.mjs +91 -0
- package/contract-data/schema/v1/patterns/atom/button.schema.json +70 -0
- package/contract-data/schema/v1/patterns/atom/checkbox.materialize.mjs +40 -0
- package/contract-data/schema/v1/patterns/atom/checkbox.schema.json +39 -0
- package/contract-data/schema/v1/patterns/atom/segmented-radio.materialize.mjs +67 -0
- package/contract-data/schema/v1/patterns/atom/segmented-radio.schema.json +49 -0
- package/contract-data/schema/v1/patterns/atom/switch.materialize.mjs +58 -0
- package/contract-data/schema/v1/patterns/atom/switch.schema.json +27 -0
- package/contract-data/schema/v1/patterns/molecule/checklist.materialize.mjs +130 -0
- package/contract-data/schema/v1/patterns/molecule/checklist.schema.json +63 -0
- package/contract-data/schema/v1/patterns/molecule/input-action.materialize.mjs +356 -0
- package/contract-data/schema/v1/patterns/molecule/input-action.schema.json +251 -0
- package/contract-data/schema/v1/patterns/molecule/input-button.materialize.mjs +183 -0
- package/contract-data/schema/v1/patterns/molecule/input-button.schema.json +141 -0
- package/contract-data/schema/v1/patterns/molecule/input-pair.materialize.mjs +254 -0
- package/contract-data/schema/v1/patterns/molecule/input-pair.schema.json +210 -0
- package/contract-data/schema/v1/scenario.md +112 -0
- package/contract-data/schema/v1/scenario.schema.json +161 -0
- package/contract-data/schema/v1/service/CustomSystem.md +139 -0
- package/contract-data/schema/v1/service/CustomSystem.schema.json +41 -0
- package/contract-data/schema/v1/service/Firestore.md +125 -0
- package/contract-data/schema/v1/service/Firestore.schema.json +28 -0
- package/contract-data/schema/v1/service/FlexAutoQuery.md +128 -0
- package/contract-data/schema/v1/service/FlexAutoQuery.schema.json +35 -0
- package/contract-data/schema/v1/service/FlexSQL.md +96 -0
- package/contract-data/schema/v1/service/FlexSQL.schema.json +33 -0
- package/contract-data/schema/v1/service/Flextudio API.md +161 -0
- package/contract-data/schema/v1/service/Flextudio API.schema.json +115 -0
- package/contract-data/schema/v1/service/Flextudio.md +87 -0
- package/contract-data/schema/v1/service/Flextudio.schema.json +26 -0
- package/contract-data/schema/v1/service/GoogleSheet.md +71 -0
- package/contract-data/schema/v1/service/GoogleSheet.schema.json +31 -0
- package/contract-data/schema/v1/service/README.md +127 -0
- package/contract-data/schema/v1/service/_base.schema.json +31 -0
- package/contract-data/schema/v1/service/ksystem.md +76 -0
- package/contract-data/schema/v1/service/ksystem.schema.json +36 -0
- package/contract-data/schema/v1/service-binding.md +228 -0
- package/contract-data/schema/v1/service-binding.schema.json +51 -0
- package/contract-data/schema/v1/step.md +546 -0
- package/contract-data/schema/v1/step.schema.json +258 -0
- package/contract-data/schema/v1/style-objects.md +183 -0
- package/contract-data/schema/v1/style-objects.schema.json +155 -0
- package/contract-data/spec/catalog.json +406 -0
- package/contract-data/spec/rules.md +400 -0
- package/node_modules/@flextudio/contract-core/contract.mjs +367 -0
- package/node_modules/@flextudio/contract-core/index.mjs +16 -0
- package/node_modules/@flextudio/contract-core/package.json +21 -0
- package/node_modules/@flextudio/contract-core/paths.mjs +72 -0
- package/node_modules/@flextudio/contract-core/schemas.mjs +474 -0
- package/node_modules/@flextudio/contract-core/validators.mjs +2471 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +406 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +443 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/equal.test.js +117 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +501 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/parse.test.js +323 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +39 -0
- package/node_modules/fast-uri/test/security.test.js +133 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/package.json +51 -0
- package/scripts/api-call.mjs +59 -0
- package/scripts/auth.mjs +262 -0
- package/scripts/build-skill-payload.mjs +338 -0
- package/scripts/cleanup.mjs +166 -0
- package/scripts/install-paths.mjs +146 -0
- package/scripts/postinstall.mjs +218 -0
- package/scripts/postpack.mjs +43 -0
- package/scripts/prepack.mjs +222 -0
- package/scripts/tty-menu.mjs +100 -0
- package/skill/README.md +55 -0
- package/skill/SKILL.md +138 -0
- package/skill/catalog.json +406 -0
- package/skill/design-rules.md +282 -0
- package/skill/design-system.md +235 -0
- package/skill/docs/SKELETON-SHELL.md +120 -0
- package/skill/docs/bottom-buttons.md +155 -0
- package/skill/docs/control/button.md +147 -0
- package/skill/docs/control/calendar-navigator.md +143 -0
- package/skill/docs/control/calendar.md +128 -0
- package/skill/docs/control/check-box.md +117 -0
- package/skill/docs/control/combo.md +293 -0
- package/skill/docs/control/embed.md +211 -0
- package/skill/docs/control/image-box.md +237 -0
- package/skill/docs/control/input-date.md +175 -0
- package/skill/docs/control/input-file.md +192 -0
- package/skill/docs/control/input-mask.md +89 -0
- package/skill/docs/control/input-number.md +55 -0
- package/skill/docs/control/input-text.md +73 -0
- package/skill/docs/control/label.md +127 -0
- package/skill/docs/control/multi-input-box.md +51 -0
- package/skill/docs/control/radio-box.md +150 -0
- package/skill/docs/control/search.md +163 -0
- package/skill/docs/control/tab.md +240 -0
- package/skill/docs/control/tree.md +278 -0
- package/skill/docs/control.md +264 -0
- package/skill/docs/data-objects.md +278 -0
- package/skill/docs/data-sources.md +215 -0
- package/skill/docs/events.md +467 -0
- package/skill/docs/group.md +146 -0
- package/skill/docs/index.json +125 -0
- package/skill/docs/mockup-data.md +186 -0
- package/skill/docs/node.md +32 -0
- package/skill/docs/scenario.md +112 -0
- package/skill/docs/service/CustomSystem.md +139 -0
- package/skill/docs/service/Firestore.md +125 -0
- package/skill/docs/service/FlexAutoQuery.md +128 -0
- package/skill/docs/service/FlexSQL.md +96 -0
- package/skill/docs/service/Flextudio API.md +161 -0
- package/skill/docs/service/Flextudio.md +87 -0
- package/skill/docs/service/GoogleSheet.md +71 -0
- package/skill/docs/service/README.md +127 -0
- package/skill/docs/service/ksystem.md +76 -0
- package/skill/docs/service-binding.md +228 -0
- package/skill/docs/step.md +546 -0
- package/skill/docs/style-objects.md +183 -0
- package/skill/examples/README.md +147 -0
- package/skill/examples/basic/basic-list-detail.json +2521 -0
- package/skill/examples/basic/delivery-address-popup.json +2175 -0
- package/skill/examples/basic/fixedtop-floating-form.json +1524 -0
- package/skill/examples/basic/search-period-popup.json +1524 -0
- package/skill/examples/design/booking-wizard-3step.json +1335 -0
- package/skill/examples/design/list-detail-form-3step.json +1516 -0
- package/skill/examples/design/list-filter-2step.json +1365 -0
- package/skill/examples/design/list-filter-detail-3step.json +1570 -0
- package/skill/examples/design/result-entry-wizard-4step.json +1861 -0
- package/skill/examples/index.json +150 -0
- package/skill/examples/intent/mock-employee-list.json +54 -0
- package/skill/examples/intent/script-cart-flow.json +96 -0
- package/skill/examples/intent/script-dialog-confirm.json +61 -0
- package/skill/intent-rules.md +552 -0
- package/skill/intent-system.md +118 -0
- package/skill/patterns/atom/badge.json +103 -0
- package/skill/patterns/atom/button.json +111 -0
- package/skill/patterns/atom/checkbox.json +70 -0
- package/skill/patterns/atom/segmented-radio.json +92 -0
- package/skill/patterns/atom/switch.json +57 -0
- package/skill/patterns/index.json +471 -0
- package/skill/patterns/molecule/checklist.json +107 -0
- package/skill/patterns/molecule/input-action.json +355 -0
- package/skill/patterns/molecule/input-button.json +212 -0
- package/skill/patterns/molecule/input-pair.json +284 -0
- package/skill/references/build-sequence.md +55 -0
- package/skill/references/patterns-cheatsheet.md +87 -0
- package/skill/references/spec-evolve/README.md +43 -0
- package/skill/references/spec-evolve/conventions.md +92 -0
- package/skill/references/spec-evolve/data-connection.md +102 -0
- package/skill/references/spec-evolve/intake.md +41 -0
- package/skill/references/spec-evolve/key-roles.md +44 -0
- package/skill/references/spec-evolve/lint.md +27 -0
- package/skill/references/spec-evolve/mockup.md +50 -0
- package/skill/references/spec-evolve/query-screens.md +66 -0
- package/skill/references/spec-evolve/routing.md +43 -0
- package/skill/references/spec-evolve/spec-format.md +76 -0
- package/skill/references/spec-evolve/templates/master-detail.spec.md +97 -0
- package/skill/references/spec-evolve/templates/query-screen.spec.md +96 -0
- package/skill/references/spec-evolve/templates/static-prototype.spec.md +54 -0
- package/skill/references/spec-evolve/templates-index.json +26 -0
- package/skill/rules.md +400 -0
- package/skill/schemas/bottom-buttons.schema.json +134 -0
- package/skill/schemas/control/_base.schema.json +1296 -0
- package/skill/schemas/control/button.schema.json +55 -0
- package/skill/schemas/control/calendar-navigator.schema.json +164 -0
- package/skill/schemas/control/calendar.schema.json +18 -0
- package/skill/schemas/control/check-box.schema.json +41 -0
- package/skill/schemas/control/combo.schema.json +23 -0
- package/skill/schemas/control/embed.schema.json +30 -0
- package/skill/schemas/control/image-box.schema.json +49 -0
- package/skill/schemas/control/input-date.schema.json +27 -0
- package/skill/schemas/control/input-file.schema.json +139 -0
- package/skill/schemas/control/input-mask.schema.json +45 -0
- package/skill/schemas/control/input-number.schema.json +24 -0
- package/skill/schemas/control/input-text.schema.json +24 -0
- package/skill/schemas/control/label.schema.json +113 -0
- package/skill/schemas/control/multi-input-box.schema.json +19 -0
- package/skill/schemas/control/other.schema.json +24 -0
- package/skill/schemas/control/radio-box.schema.json +87 -0
- package/skill/schemas/control/search.schema.json +23 -0
- package/skill/schemas/control/tab.schema.json +112 -0
- package/skill/schemas/control/tree.schema.json +83 -0
- package/skill/schemas/control.schema.json +30 -0
- package/skill/schemas/data-objects.schema.json +161 -0
- package/skill/schemas/data-sources.schema.json +184 -0
- package/skill/schemas/design-system/design.schema.json +496 -0
- package/skill/schemas/events.schema.json +272 -0
- package/skill/schemas/group.schema.json +133 -0
- package/skill/schemas/index.json +362 -0
- package/skill/schemas/naming-objects.schema.json +133 -0
- package/skill/schemas/node.schema.json +24 -0
- package/skill/schemas/patterns/atom/badge.schema.json +44 -0
- package/skill/schemas/patterns/atom/button.schema.json +70 -0
- package/skill/schemas/patterns/atom/checkbox.schema.json +39 -0
- package/skill/schemas/patterns/atom/segmented-radio.schema.json +49 -0
- package/skill/schemas/patterns/atom/switch.schema.json +27 -0
- package/skill/schemas/patterns/molecule/checklist.schema.json +63 -0
- package/skill/schemas/patterns/molecule/input-action.schema.json +251 -0
- package/skill/schemas/patterns/molecule/input-button.schema.json +141 -0
- package/skill/schemas/patterns/molecule/input-pair.schema.json +210 -0
- package/skill/schemas/scenario.schema.json +161 -0
- package/skill/schemas/service/CustomSystem.schema.json +41 -0
- package/skill/schemas/service/Firestore.schema.json +28 -0
- package/skill/schemas/service/FlexAutoQuery.schema.json +35 -0
- package/skill/schemas/service/FlexSQL.schema.json +33 -0
- package/skill/schemas/service/Flextudio API.schema.json +115 -0
- package/skill/schemas/service/Flextudio.schema.json +26 -0
- package/skill/schemas/service/GoogleSheet.schema.json +31 -0
- package/skill/schemas/service/_base.schema.json +31 -0
- package/skill/schemas/service/ksystem.schema.json +36 -0
- package/skill/schemas/service-binding.schema.json +51 -0
- package/skill/schemas/step.schema.json +258 -0
- package/skill/schemas/style-objects.schema.json +155 -0
- package/skill/skill-guides/README.md +50 -0
- package/skill/skill-guides/control-options.md +126 -0
- package/skill/skill-guides/events.md +61 -0
- package/skill/skill-guides/failure-discipline.md +95 -0
- package/skill/skill-guides/index.json +40 -0
- package/skill/skill-guides/prompt-interview.md +92 -0
- package/skill/skill-guides/scripts.md +169 -0
- package/skill/skill-guides/step-navigation.md +98 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/input-text.schema.json",
|
|
4
|
+
"title": "InputText",
|
|
5
|
+
"description": "한 줄 텍스트 입력. text/password 모드.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{ "$ref": "_base.schema.json#/$defs/inputBase" },
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"ControlType": { "const": "InputText" },
|
|
15
|
+
"InputType": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": ["text", "password"],
|
|
18
|
+
"description": "text=일반 텍스트 / password=마스킹 입력. (숫자/이메일/전화 등은 InputNumber 또는 InputMask 사용.)"
|
|
19
|
+
},
|
|
20
|
+
"Events": { "$ref": "_base.schema.json#/$defs/inputEventsFull" }
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/label.schema.json",
|
|
4
|
+
"title": "Label",
|
|
5
|
+
"description": "텍스트/아이콘 표시 전용. 입력 없음. labeltext / LabelCKey 두 모드. UseMove / UseClickEvent 로 Group / Button 과 동일한 클릭 패턴 지원.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{
|
|
12
|
+
"properties": {
|
|
13
|
+
"ControlType": { "const": "Label" },
|
|
14
|
+
"LabelType": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": ["labeltext", "LabelCKey"],
|
|
17
|
+
"description": "labeltext=정적 텍스트(+바인딩) / LabelCKey=카테고리 필드값 직접 표시."
|
|
18
|
+
},
|
|
19
|
+
"labeltext": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "LabelType='labeltext' 일 때 표시 텍스트. {{i18n}} / {=Field} / {=$Field}(콤마) / {% JS %} 사용 가능. Load.sector 사용 불가."
|
|
22
|
+
},
|
|
23
|
+
"LabelCKey": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "LabelType='LabelCKey' 일 때 표시할 컬렉션 필드명."
|
|
26
|
+
},
|
|
27
|
+
"ImageStyle": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"additionalProperties": true,
|
|
30
|
+
"description": "아이콘 라벨용 이미지 스타일."
|
|
31
|
+
},
|
|
32
|
+
"UseFullShape": { "type": "boolean", "default": false, "description": "라벨 전체 영역 사용 (engine const K.USE_FULLSHAPE='UseFullShape'). ★ AI 생성 시 미포함 (사용자 수동 설정 전용)." },
|
|
33
|
+
"UseTriming": { "type": "boolean", "default": false, "description": "텍스트 말줄임 (...) 처리. ★ 오타 'Triming' 운영 키 그대로 — 'Trimming' 아님 (engine const K.USE_TRIMMING='UseTriming'). ★ AI 생성 시 미포함 (사용자 수동 설정 전용)." },
|
|
34
|
+
"TooltipType": { "type": "string", "description": "툴팁 모드 키 (정적 텍스트 / 카테고리 필드값 등 운영 키 기준). ★ PC 전용 — 모바일 시나리오 생성 시 미포함 (AI 생성 금지, 키 자체를 두지 말 것)." },
|
|
35
|
+
"TooltipText": { "type": "string", "description": "TooltipType 이 정적 텍스트 모드일 때 표시할 툴팁 문자열. ★ PC 전용 — 모바일 시나리오 생성 시 미포함 (AI 생성 금지, 키 자체를 두지 말 것)." },
|
|
36
|
+
"TooltipCKey": { "type": "string", "description": "TooltipType 이 카테고리 필드 모드일 때 표시할 컬렉션 필드명. ★ PC 전용 — 모바일 시나리오 생성 시 미포함 (AI 생성 금지, 키 자체를 두지 말 것)." },
|
|
37
|
+
"UseClickEvent": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": false,
|
|
40
|
+
"description": "클릭 이벤트 사용. Events.Click 핸들러 명과 함께. UseMove 와 같이 쓰면 UseMove 가 먼저 동작."
|
|
41
|
+
},
|
|
42
|
+
"UseMove": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"default": false,
|
|
45
|
+
"description": "클릭 시 Step 이동. MoveSteps 와 함께."
|
|
46
|
+
},
|
|
47
|
+
"MoveSteps": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"additionalProperties": true,
|
|
50
|
+
"description": "이동 대상 Step 정의. UseMove=true 일 때. MoveStepOrder 배열의 각 StepId 마다 동일 레벨에 옵션 객체(MoveTo/Direction 등) 슬롯이 함께 존재해야 한다.",
|
|
51
|
+
"properties": {
|
|
52
|
+
"MoveStepOrder": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"minItems": 1,
|
|
55
|
+
"items": { "type": "string", "pattern": "^Step[1-9][0-9]*$" }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"patternProperties": {
|
|
59
|
+
"^Step[1-9][0-9]*$": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": true,
|
|
62
|
+
"description": "StepId 별 이동 설정. 신규 생성 시 { MoveTo: 'Next', Direction: 'toRight' } 로 초기화.",
|
|
63
|
+
"properties": {
|
|
64
|
+
"Condition": { "type": "string", "description": "이동 조건식 (빈 문자열=무조건)." },
|
|
65
|
+
"MoveTo": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": ["Next", "Prev", "Prev_ReStart", "Init"],
|
|
68
|
+
"description": "이동 동작. const.js MOVETYPE 참조."
|
|
69
|
+
},
|
|
70
|
+
"Direction": { "type": "string", "description": "MoveTo='Next' 일 때 네비게이션 방향 (예: toBottom, toRight)." }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"Events": { "$ref": "_base.schema.json#/$defs/labelEvents" }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$comment": "LabelType='labeltext' 면 labeltext 필요.",
|
|
80
|
+
"if": {
|
|
81
|
+
"properties": { "LabelType": { "const": "labeltext" } },
|
|
82
|
+
"required": ["LabelType"]
|
|
83
|
+
},
|
|
84
|
+
"then": { "required": ["labeltext"] }
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"$comment": "LabelType='LabelCKey' 면 LabelCKey 필요.",
|
|
88
|
+
"if": {
|
|
89
|
+
"properties": { "LabelType": { "const": "LabelCKey" } },
|
|
90
|
+
"required": ["LabelType"]
|
|
91
|
+
},
|
|
92
|
+
"then": { "required": ["LabelCKey"] }
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"$comment": "UseMove=true 면 MoveSteps 필요.",
|
|
96
|
+
"if": {
|
|
97
|
+
"properties": { "UseMove": { "const": true } },
|
|
98
|
+
"required": ["UseMove"]
|
|
99
|
+
},
|
|
100
|
+
"then": { "required": ["MoveSteps"] }
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"$comment": "PC 전용 툴팁 키는 모바일 시나리오 메타에 등장 금지 — 키 존재 자체 차단 (명세는 properties 에 유지하되 옵션 차원 강제).",
|
|
104
|
+
"not": {
|
|
105
|
+
"anyOf": [
|
|
106
|
+
{ "required": ["TooltipType"] },
|
|
107
|
+
{ "required": ["TooltipText"] },
|
|
108
|
+
{ "required": ["TooltipCKey"] }
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/multi-input-box.schema.json",
|
|
4
|
+
"title": "MultiInputBox",
|
|
5
|
+
"description": "여러 줄 텍스트 입력 (TextArea). Enter 로 줄바꿈. Shared Input Base 사용 — Height 기본 120px (다른 입력은 70px).",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{ "$ref": "_base.schema.json#/$defs/inputBase" },
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"ControlType": { "const": "MultiInputBox" },
|
|
15
|
+
"Events": { "$ref": "_base.schema.json#/$defs/inputEventsFull" }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/other.schema.json",
|
|
4
|
+
"title": "OtherControl",
|
|
5
|
+
"description": "v1 명시 외 ControlType (InputBox, Sheet, TimeTable, Approval, Scheduler, Image, ComboList 단독, List 단독, Signature, Line 등) — 검증 통과시키는 fallback. 상세 schema 는 v2 에서 정의. Button/Calendar/CalendarNavigator/Tab/Tree/Embed 는 자체 schema 분기로 빠짐.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"Id": { "type": "string", "pattern": "^f_[1-9][0-9]*$" },
|
|
11
|
+
"ControlType": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"not": {
|
|
14
|
+
"enum": [
|
|
15
|
+
"InputText", "InputNumber", "InputMask", "InputDate",
|
|
16
|
+
"MultiInputBox", "Combo", "Search", "CheckBox", "RadioBox",
|
|
17
|
+
"Label", "ImageBox", "InputFile", "Button",
|
|
18
|
+
"Calendar", "CalendarNavigator", "Tab",
|
|
19
|
+
"Tree", "Embed"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/radio-box.schema.json",
|
|
4
|
+
"title": "RadioBox",
|
|
5
|
+
"description": "라디오 그룹. Fixed Items 또는 DataSource 두 가지 데이터 소스. styleTab 으로 탭 형태 UI 도 가능. UseDataSource 미지정 시 런타임 default=false (Fixed 모드).",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{
|
|
12
|
+
"properties": {
|
|
13
|
+
"ControlType": { "const": "RadioBox" },
|
|
14
|
+
"ControlStyle": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": ["", "None", "styleRectangle", "styleTab", "stylePeriod", "styleRadius"],
|
|
17
|
+
"description": "'None'=기본 라디오 / 'styleRectangle'=사각 카드 (UseItemDesign 과 함께) / 'styleTab'=탭 형태 / 'stylePeriod'=기간 선택형 / 'styleRadius'=라운드."
|
|
18
|
+
},
|
|
19
|
+
"Items": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": { "$ref": "_base.schema.json#/$defs/selectionItem" },
|
|
22
|
+
"description": "Fixed 모드 (UseDataSource=false 또는 생략) 일 때 인라인 선택지."
|
|
23
|
+
},
|
|
24
|
+
"SaveNameKey": { "type": "string", "description": "Ckeys 중 표시명 저장 필드. **Fixed 모드(UseDataSource=false 또는 생략) 전용** — DataSource 모드에서는 CollectionMapper 로 매핑하므로 본 키를 사용하지 않는다 (if/then 으로 차단)." },
|
|
25
|
+
"SaveNameName": { "type": "string", "description": "표시명 저장 시 사용할 별칭. **Fixed 모드 전용** (UseDataSource=true 시 사용 금지)." },
|
|
26
|
+
"SaveValueKey": { "type": "string", "description": "Ckeys 중 값 저장 필드." },
|
|
27
|
+
"DefaultValue": { "type": "string", "description": "초기 선택값 — **표시명(RadioBoxItem명) 기준** 문자열. Fixed 모드면 Items[*].ItemName 과 매칭, DataSource 모드면 CollectionMapper 의 ItemName 매핑 대상 필드 값과 매칭. ItemValue 가 아님에 유의. 빈 문자열 \"\" 도 가능." },
|
|
28
|
+
"UseDefaultValue": false,
|
|
29
|
+
"Direction": { "type": "string", "examples": ["horizontal", "vertical", "row", "column"], "description": "선택지 배치 방향." },
|
|
30
|
+
"UseDataSource": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"default": false,
|
|
33
|
+
"description": "true=DataSource 사용 (DataSourceName 필수), false=Fixed Items. 런타임 default=false. ★ 프로퍼티 EDITOR_CTRL.RADIOBOX boolean 저장 — 진실원본 boolean."
|
|
34
|
+
},
|
|
35
|
+
"DataSourceName": { "type": "string", "description": "UseDataSource=true 일 때 데이터 소스 이름." },
|
|
36
|
+
"CollectionMapper": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": { "type": "string" },
|
|
39
|
+
"description": "DataSource 사용 시 { 대상Ckey: 원본필드, ItemName: ..., ItemValue: ... } 매핑."
|
|
40
|
+
},
|
|
41
|
+
"UseCategory": { "type": "boolean", "default": false },
|
|
42
|
+
"CategoryName": { "type": "string" },
|
|
43
|
+
"UseItemDesign": { "type": "boolean", "default": false, "description": "true=ItemDesign 으로 항목별 커스텀 디자인 적용 (styleRectangle 과 함께)." },
|
|
44
|
+
"ItemDesign": { "type": "object", "additionalProperties": true },
|
|
45
|
+
"ItemBgStyle": { "type": "object", "additionalProperties": true },
|
|
46
|
+
"UseAlignRight": { "type": "boolean", "default": false },
|
|
47
|
+
"AfterScript": { "type": "string" },
|
|
48
|
+
"UniqueKey": { "type": "string" },
|
|
49
|
+
"Events": { "$ref": "_base.schema.json#/$defs/directClickEvents" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"$comment": "UseDataSource=true 면 DataSourceName + CollectionMapper 필수 — 콜렉션 ↔ DataSource 필드 매핑이 있어야 데이터 연결관계가 성립.",
|
|
54
|
+
"if": {
|
|
55
|
+
"properties": { "UseDataSource": { "const": true } },
|
|
56
|
+
"required": ["UseDataSource"]
|
|
57
|
+
},
|
|
58
|
+
"then": {
|
|
59
|
+
"required": ["DataSourceName", "CollectionMapper"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"CollectionMapper": { "minProperties": 1 }
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"$comment": "UseItemDesign=true 면 ItemDesign 필수.",
|
|
67
|
+
"if": {
|
|
68
|
+
"properties": { "UseItemDesign": { "const": true } },
|
|
69
|
+
"required": ["UseItemDesign"]
|
|
70
|
+
},
|
|
71
|
+
"then": { "required": ["ItemDesign"] }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"$comment": "UseDataSource=true (DataSource 모드) 일 때 SaveNameKey / SaveNameName 사용 금지 — Fixed 모드 전용 키. DataSource 모드의 표시명은 CollectionMapper 로 매핑.",
|
|
75
|
+
"if": {
|
|
76
|
+
"properties": { "UseDataSource": { "const": true } },
|
|
77
|
+
"required": ["UseDataSource"]
|
|
78
|
+
},
|
|
79
|
+
"then": {
|
|
80
|
+
"properties": {
|
|
81
|
+
"SaveNameKey": false,
|
|
82
|
+
"SaveNameName": false
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/search.schema.json",
|
|
4
|
+
"title": "Search",
|
|
5
|
+
"description": "Code Help / Lookup. 자식 트리 보유 (Dialog.Layouts[*].Controls[*] = List). 항목이 8개를 초과하거나 동적으로 늘어나는 데이터 (고객/사용자/거래처 등) 에 사용. DataSource=Collection/Service 면 Search, Fixed 면 Combo.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{ "$ref": "_base.schema.json#/$defs/inputBase" },
|
|
12
|
+
{
|
|
13
|
+
"properties": {
|
|
14
|
+
"ControlType": { "const": "Search" },
|
|
15
|
+
"DisplayValue": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "선택 후 표시 텍스트. 일반적으로 '{{=CkeyName}}' 형식 (현재 섹터의 Ckey 값 표시)."
|
|
18
|
+
},
|
|
19
|
+
"Dialog": { "$ref": "_base.schema.json#/$defs/searchDialog" }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/tab.schema.json",
|
|
4
|
+
"title": "Tab",
|
|
5
|
+
"description": "탭 컨트롤. 각 Items[].LinkedStepId 로 다른 Step 의 전체 UI 를 탭 내부에 렌더링한다. (탭마다 화면 전체가 바뀌는 경우 전용. 같은 리스트의 필터만 바뀌는 케이스는 RadioBox + ControlStyle:'styleTab' 권장.) Height 는 반드시 100% — 헤더 높이만 주면 LinkedStep 콘텐츠가 표시되지 않는다. Items[].LinkedStepId 가 자기 자신 Step 을 가리키면 무한 재귀. 핵심 제약: '탭 컨트롤은 일반 스텝에서 제공하는 기능이 적용되지 않는다 → 스텝버튼이 그려지지 않고 스텝 이벤트(Init/Loaded/OnBackLoaded/OnLeave/OnForeground/ScrollEnd)가 실행되지 않으며 서브시나리오 스텝은 표시할 수 없다.'",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{
|
|
12
|
+
"properties": {
|
|
13
|
+
"ControlType": { "const": "Tab" },
|
|
14
|
+
"ControlStyle": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"examples": ["", "None"],
|
|
17
|
+
"description": "기본 'None'."
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
"Height": {
|
|
21
|
+
"$ref": "../style-objects.schema.json#/$defs/sizeObject",
|
|
22
|
+
"description": "반드시 100% — `{ SizeValue: '100', SizeUnit: '%', MatchText: false }`. 고정 px 면 탭 헤더만 보이고 LinkedStep 콘텐츠가 잘림. (validate.mjs 후검증으로도 강제.)"
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
"DefaultValue": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"default": "",
|
|
28
|
+
"description": "초기 선택 탭의 값. Items[].ItemValue 와 일치하는 항목이 시작 시 선택 상태로 그려진다. 빈 문자열/미지정 시 첫 번째 Items 항목이 선택. ★ 초기 선택으로 LinkedStep 이 렌더되더라도 그 Step 의 Step 이벤트(Init/Loaded/OnBackLoaded/OnLeave/OnForeground/ScrollEnd)는 실행되지 않음 — Tab 컨트롤의 일반 제약(공식 가이드). 따라서 초기 데이터 로딩은 부모 Step(Tab 이 있는 Step) 의 Init 에서 처리하고, 탭 전환 시 동작이 필요하면 Items[].Events.Click 에 둔다. controlBase.DefaultValue 의 any 타입을 Tab 에서 string 으로 좁힘 (ItemValue 가 항상 string)."
|
|
29
|
+
},
|
|
30
|
+
"Items": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"description": "탭 항목 배열. 각 항목이 하나의 탭 헤더 + 연결된 Step.",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": true,
|
|
37
|
+
"required": ["ItemName", "ItemValue", "LinkedStepId"],
|
|
38
|
+
"properties": {
|
|
39
|
+
"ItemName": { "type": "string", "description": "탭 헤더 표시 텍스트. 필요시 `{{}}` 다국어." },
|
|
40
|
+
"ItemValue": { "type": "string", "description": "선택 시 Ckeys 에 저장되는 값." },
|
|
41
|
+
"LinkedStepId": { "type": "string", "pattern": "^Step[1-9][0-9]*$", "description": "이 탭이 선택되었을 때 내부에 렌더할 Step Id. 자기 자신 Step 금지 (무한 재귀)." },
|
|
42
|
+
"Events": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": true,
|
|
45
|
+
"description": "탭 항목 단위 이벤트. Click 핸들러 1종.",
|
|
46
|
+
"properties": {
|
|
47
|
+
"Click": { "type": "string" }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
"Ckeys": {
|
|
55
|
+
"$ref": "../naming-objects.schema.json#/$defs/ckeysArray",
|
|
56
|
+
"description": "선택된 탭의 ItemValue 가 저장될 컬렉션 키 (선택). 시스템 게터 / JS 빌트인 차단."
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
"TabHeader": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": true,
|
|
62
|
+
"description": "탭 헤더 전체 영역(아이템들을 감싸는 컨테이너) 디자인. 정렬·여백·테두리·배경.",
|
|
63
|
+
"properties": {
|
|
64
|
+
"ArrangeItemsStyle": { "$ref": "../style-objects.schema.json#/$defs/arrangeItemsStyle" },
|
|
65
|
+
"Padding": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
66
|
+
"Margin": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
67
|
+
"BorderStyle": { "$ref": "../style-objects.schema.json#/$defs/borderStyle" },
|
|
68
|
+
"BgStyle": { "$ref": "../style-objects.schema.json#/$defs/bgStyle" }
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"SelectTabHeader": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"additionalProperties": true,
|
|
74
|
+
"description": "선택 상태의 탭 헤더 컨테이너 디자인. TabHeader 와 동일 슬롯. 보통 비워두고 SelectTabHeaderItem 으로 항목별 강조를 처리.",
|
|
75
|
+
"properties": {
|
|
76
|
+
"ArrangeItemsStyle": { "$ref": "../style-objects.schema.json#/$defs/arrangeItemsStyle" },
|
|
77
|
+
"Padding": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
78
|
+
"Margin": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
79
|
+
"BorderStyle": { "$ref": "../style-objects.schema.json#/$defs/borderStyle" },
|
|
80
|
+
"BgStyle": { "$ref": "../style-objects.schema.json#/$defs/bgStyle" }
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"TabHeaderItem": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"additionalProperties": true,
|
|
86
|
+
"description": "각 탭 항목 헤더(미선택 상태) 디자인. 폰트·여백·테두리·배경.",
|
|
87
|
+
"properties": {
|
|
88
|
+
"FontStyle": { "$ref": "../style-objects.schema.json#/$defs/fontStyle" },
|
|
89
|
+
"Padding": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
90
|
+
"Margin": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
91
|
+
"BorderStyle": { "$ref": "../style-objects.schema.json#/$defs/borderStyle" },
|
|
92
|
+
"BgStyle": { "$ref": "../style-objects.schema.json#/$defs/bgStyle" }
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"SelectTabHeaderItem": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": true,
|
|
98
|
+
"description": "선택된 탭 항목 헤더 디자인. 보통 FontStyle / BgStyle / BorderStyle 만 사용 (선택 강조). Padding/Margin 은 TabHeaderItem 값을 그대로 상속.",
|
|
99
|
+
"properties": {
|
|
100
|
+
"FontStyle": { "$ref": "../style-objects.schema.json#/$defs/fontStyle" },
|
|
101
|
+
"BgStyle": { "$ref": "../style-objects.schema.json#/$defs/bgStyle" },
|
|
102
|
+
"BorderStyle": { "$ref": "../style-objects.schema.json#/$defs/borderStyle" },
|
|
103
|
+
"Padding": { "$ref": "../style-objects.schema.json#/$defs/spacing" },
|
|
104
|
+
"Margin": { "$ref": "../style-objects.schema.json#/$defs/spacing" }
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"ArrangeItems": { "type": "string", "description": "(레거시) 탭 헤더 정렬/배치 옵션 — 운영 메타 잔존 호환. 신규 생성은 TabHeader.ArrangeItemsStyle 사용." }
|
|
108
|
+
},
|
|
109
|
+
"required": ["Items"]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control/tree.schema.json",
|
|
4
|
+
"title": "Tree",
|
|
5
|
+
"description": "계층형(부모-자식) 데이터를 트리 구조로 표시. NodeId/ParentId 로 flat array 의 트리 관계 표현. 단일 선택(Selected) 과 다중 선택(UseMultiData=true → Checked 체크박스) 모드.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"required": ["Id", "ControlType"],
|
|
9
|
+
"allOf": [
|
|
10
|
+
{ "$ref": "_base.schema.json#/$defs/controlBase" },
|
|
11
|
+
{
|
|
12
|
+
"properties": {
|
|
13
|
+
"ControlType": { "const": "Tree" },
|
|
14
|
+
|
|
15
|
+
"DataSourceName": { "type": "string", "description": "트리 데이터 DataSource 이름. Fixed/Collection/Service/API 모두 가능. 필수." },
|
|
16
|
+
|
|
17
|
+
"NodeId": { "type": "string", "description": "각 노드 고유 ID 필드명 (DataSource Items 의 키 이름)." },
|
|
18
|
+
"ParentId": { "type": "string", "description": "부모 노드 ID 필드명. 루트는 ''/null/undefined 또는 자기참조(parentId===nodeId)." },
|
|
19
|
+
"Title": { "type": "string", "description": "노드 표시 텍스트 필드명." },
|
|
20
|
+
"SubTitle": { "type": "string", "description": "(선택) 노드 부제목 필드명. Title 아래 한 줄 더." },
|
|
21
|
+
|
|
22
|
+
"ThumbNail": { "type": "string", "description": "(선택) 노드 썸네일 이미지 필드명. row 의 해당 필드값이 URL/경로면 `<img class=\"img-thumbnail\">` 렌더. 키 표기 'ThumbNail' (camelCase 'Thumbnail' 아님) — engine const K_THUMBNAIL='ThumbNail'." },
|
|
23
|
+
"Icon": { "type": "string", "description": "(선택) 노드 좌측 아이콘 필드명. row 의 해당 필드값 형식에 따라 분기: `B_xxx`=라인 아이콘(SVG mask) / `C_xxx`=컬러 아이콘(/imagesCommon/icon/C_xxx.svg) / 'icon' 포함 문자열=라인 아이콘 / URL=이미지." },
|
|
24
|
+
"SubIcon": { "type": "string", "description": "(선택) 노드 우측 보조 아이콘 필드명. Icon 과 동일 형식 분기. 렌더 클래스만 'icon-sub' 로 차이 — engine const K_SUB_ICON='SubIcon'." },
|
|
25
|
+
|
|
26
|
+
"UseExpandAll": { "type": "boolean", "default": false, "description": "초기 전체 펼침." },
|
|
27
|
+
"UseSearchBar": { "type": "boolean", "default": false, "description": "검색바 표시 — 키워드 포함 노드 조회." },
|
|
28
|
+
"UseMultiData": { "type": "boolean", "default": false, "description": "다중 선택 모드 (체크박스). true 면 Checked 이벤트 사용 가능. ★ 프로퍼티 EDITOR_CTRL.CHECKBOX 저장 — boolean 고정." },
|
|
29
|
+
"UseSelectAllData": { "type": "boolean", "default": false, "description": "다중 선택 모드의 '전체선택' 체크박스 표시 (UseMultiData=true 일 때)." },
|
|
30
|
+
"UseParentAutoSelect": { "type": "boolean", "default": true, "description": "자식 노드 전체 체크 시 부모 자동 체크 (UseMultiData=true 일 때). 기본 true." },
|
|
31
|
+
"UseCondition": { "type": "boolean", "default": false },
|
|
32
|
+
|
|
33
|
+
"TreeType": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["Single", "UseMultiData"],
|
|
36
|
+
"description": "런타임 분류값 (engine const TREE_TYPE). 'Single'=단일 / 'UseMultiData'=다중. 일반적으로 UseMultiData boolean 으로 충분 — 운영 메타에는 명시 안 됨."
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
"CategoryName": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "다중 선택 (UseMultiData=true) 모드에서 체크된 노드가 저장되는 카테고리. 체크 → addSector / 해제 → remove."
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
"CollectionMapper": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": { "type": "string" },
|
|
47
|
+
"minProperties": 1,
|
|
48
|
+
"description": "{ MapperOrder: [...], 대상Ckey: 원본필드, ... } 매핑. 단일 선택 시 activeSector 에 매핑, 다중 선택 시 CategoryName 의 섹터에 매핑. Tree 는 항상 DataSource 기반이므로 콜렉션 ↔ DataSource 필드 매핑 필수 (빈 객체 금지). ★ additionalProperties 는 자유 매핑키(값=원본필드명, string)이므로 {type:string} — true 로 두면 strict 변환이 unevaluatedProperties:false 로 뒤집어 매핑키를 오탐 차단한다 (MapperOrder 는 properties 라 array 허용).",
|
|
49
|
+
"properties": {
|
|
50
|
+
"MapperOrder": { "type": "array", "items": { "type": "string" } }
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
"UseEvents": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": false,
|
|
57
|
+
"description": "이벤트 사용. true 면 Events.TreeOrder + 핸들러 등록."
|
|
58
|
+
},
|
|
59
|
+
"Events": { "$ref": "_base.schema.json#/$defs/treeEvents" },
|
|
60
|
+
|
|
61
|
+
"UseDCLink": { "type": "boolean", "default": false, "description": "데이터 연결고리 사용. ★ AI 생성 시 미포함 — 운영 메타 잔존 필드 (UseMultiData=true + 상위 DataConnection 활성 조합에서만 스튜디오 UI 노출). useDCLinkBlock 정책 동일." },
|
|
62
|
+
"DCLinkCkey": { "$ref": "_base.schema.json#/$defs/useDCLinkBlock/properties/DCLinkCkey" }
|
|
63
|
+
},
|
|
64
|
+
"required": ["DataSourceName", "NodeId", "ParentId", "Title", "CollectionMapper"]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"$comment": "UseMultiData=true → CategoryName 권장 (체크된 노드가 저장될 위치). 운영 메타에 종종 누락 — 후검증/가이드 차원으로 두고 schema 강제는 안 함.",
|
|
68
|
+
"if": {
|
|
69
|
+
"properties": { "UseMultiData": { "const": true } },
|
|
70
|
+
"required": ["UseMultiData"]
|
|
71
|
+
},
|
|
72
|
+
"then": {}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"$comment": "UseDCLink=true 면 DCLinkCkey 필수 (useDCLinkBlock 정책).",
|
|
76
|
+
"if": {
|
|
77
|
+
"properties": { "UseDCLink": { "const": true } },
|
|
78
|
+
"required": ["UseDCLink"]
|
|
79
|
+
},
|
|
80
|
+
"then": { "required": ["DCLinkCkey"] }
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://flextudio.local/meta-contract/v1/control.schema.json",
|
|
4
|
+
"title": "Control (dispatcher)",
|
|
5
|
+
"description": "Control 디스패처. ControlType discriminator 로 control/<name>.schema.json 분기. v1 명시 본체 17종(입력류 12 + Calendar/CalendarNavigator/Tab/Tree/Embed) + Dialog 자식 ComboList/List + OtherControl fallback. 진실원본: catalog.controlTypes.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["Id", "ControlType"],
|
|
8
|
+
"additionalProperties": true,
|
|
9
|
+
"oneOf": [
|
|
10
|
+
{ "$ref": "control/input-text.schema.json" },
|
|
11
|
+
{ "$ref": "control/input-number.schema.json" },
|
|
12
|
+
{ "$ref": "control/input-mask.schema.json" },
|
|
13
|
+
{ "$ref": "control/input-date.schema.json" },
|
|
14
|
+
{ "$ref": "control/multi-input-box.schema.json" },
|
|
15
|
+
{ "$ref": "control/combo.schema.json" },
|
|
16
|
+
{ "$ref": "control/search.schema.json" },
|
|
17
|
+
{ "$ref": "control/check-box.schema.json" },
|
|
18
|
+
{ "$ref": "control/radio-box.schema.json" },
|
|
19
|
+
{ "$ref": "control/label.schema.json" },
|
|
20
|
+
{ "$ref": "control/image-box.schema.json" },
|
|
21
|
+
{ "$ref": "control/input-file.schema.json" },
|
|
22
|
+
{ "$ref": "control/button.schema.json" },
|
|
23
|
+
{ "$ref": "control/calendar.schema.json" },
|
|
24
|
+
{ "$ref": "control/calendar-navigator.schema.json" },
|
|
25
|
+
{ "$ref": "control/tab.schema.json" },
|
|
26
|
+
{ "$ref": "control/tree.schema.json" },
|
|
27
|
+
{ "$ref": "control/embed.schema.json" },
|
|
28
|
+
{ "$ref": "control/other.schema.json" }
|
|
29
|
+
]
|
|
30
|
+
}
|