@walkeros/explorer 2.1.4 → 3.0.0-next-1773236214827
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 +35 -11
- package/dist/components/atoms/button-group.stories.d.ts.map +1 -1
- package/dist/components/atoms/button-group.stories.js +5 -1
- package/dist/components/atoms/button-group.stories.js.map +1 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +1 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +1 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -1
- package/dist/components/molecules/code-box.stories.d.ts +3 -3
- package/dist/components/molecules/code-box.stories.d.ts.map +1 -1
- package/dist/components/molecules/code-box.stories.js +7 -7
- package/dist/components/molecules/code-box.stories.js.map +1 -1
- package/dist/components/molecules/property-table.d.ts.map +1 -1
- package/dist/components/molecules/property-table.js.map +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/button.js.map +1 -1
- package/dist/hooks/useMonacoHeight.d.ts.map +1 -1
- package/dist/hooks/useMonacoHeight.js.map +1 -1
- package/dist/index.d.cts +9 -672
- package/dist/index.d.ts +1 -31
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -18676
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +687 -5001
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/index.js.map +1 -1
- package/dist/types/intellisense.d.ts +2 -0
- package/dist/types/intellisense.d.ts.map +1 -1
- package/dist/utils/contract-path-walker.d.ts +27 -0
- package/dist/utils/contract-path-walker.d.ts.map +1 -0
- package/dist/utils/contract-path-walker.js +145 -0
- package/dist/utils/contract-path-walker.js.map +1 -0
- package/dist/utils/mapping-context-detector.d.ts +17 -0
- package/dist/utils/mapping-context-detector.d.ts.map +1 -0
- package/dist/utils/mapping-context-detector.js +22 -0
- package/dist/utils/mapping-context-detector.js.map +1 -0
- package/dist/utils/monaco-context-types.d.ts.map +1 -1
- package/dist/utils/monaco-context-types.js.map +1 -1
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts +2 -2
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts.map +1 -1
- package/dist/utils/monaco-intellisense-flow-extractor.js +28 -21
- package/dist/utils/monaco-intellisense-flow-extractor.js.map +1 -1
- package/dist/utils/monaco-json-path.d.ts +12 -0
- package/dist/utils/monaco-json-path.d.ts.map +1 -0
- package/dist/utils/monaco-json-path.js +68 -0
- package/dist/utils/monaco-json-path.js.map +1 -0
- package/dist/utils/monaco-schema-flow-config.d.ts +10 -0
- package/dist/utils/monaco-schema-flow-config.d.ts.map +1 -0
- package/dist/utils/{monaco-schema-flow-setup.js → monaco-schema-flow-config.js} +19 -19
- package/dist/utils/monaco-schema-flow-config.js.map +1 -0
- package/dist/utils/monaco-walkeros-completions.d.ts +8 -0
- package/dist/utils/monaco-walkeros-completions.d.ts.map +1 -1
- package/dist/utils/monaco-walkeros-completions.js +193 -0
- package/dist/utils/monaco-walkeros-completions.js.map +1 -1
- package/dist/utils/monaco-walkeros-providers.d.ts.map +1 -1
- package/dist/utils/monaco-walkeros-providers.js +58 -3
- package/dist/utils/monaco-walkeros-providers.js.map +1 -1
- package/package.json +9 -26
- package/AGENT.md +0 -429
- package/LICENSE +0 -42
- package/STYLE.md +0 -1103
- package/dist/chunk-5B2ONDO3.mjs +0 -573
- package/dist/chunk-5B2ONDO3.mjs.map +0 -1
- package/dist/components/atoms/alert.d.ts +0 -29
- package/dist/components/atoms/alert.d.ts.map +0 -1
- package/dist/components/atoms/alert.js +0 -19
- package/dist/components/atoms/alert.js.map +0 -1
- package/dist/components/atoms/alert.stories.d.ts +0 -7
- package/dist/components/atoms/alert.stories.d.ts.map +0 -1
- package/dist/components/atoms/alert.stories.js +0 -14
- package/dist/components/atoms/alert.stories.js.map +0 -1
- package/dist/components/atoms/base-mapping-pane.d.ts +0 -85
- package/dist/components/atoms/base-mapping-pane.d.ts.map +0 -1
- package/dist/components/atoms/base-mapping-pane.js +0 -53
- package/dist/components/atoms/base-mapping-pane.js.map +0 -1
- package/dist/components/atoms/config-tile.d.ts +0 -38
- package/dist/components/atoms/config-tile.d.ts.map +0 -1
- package/dist/components/atoms/config-tile.js +0 -29
- package/dist/components/atoms/config-tile.js.map +0 -1
- package/dist/components/atoms/consent-state-tile.d.ts +0 -14
- package/dist/components/atoms/consent-state-tile.d.ts.map +0 -1
- package/dist/components/atoms/consent-state-tile.js +0 -5
- package/dist/components/atoms/consent-state-tile.js.map +0 -1
- package/dist/components/atoms/field-header.d.ts +0 -41
- package/dist/components/atoms/field-header.d.ts.map +0 -1
- package/dist/components/atoms/field-header.js +0 -42
- package/dist/components/atoms/field-header.js.map +0 -1
- package/dist/components/atoms/form-field.d.ts +0 -28
- package/dist/components/atoms/form-field.d.ts.map +0 -1
- package/dist/components/atoms/form-field.js +0 -16
- package/dist/components/atoms/form-field.js.map +0 -1
- package/dist/components/atoms/form-field.stories.d.ts +0 -7
- package/dist/components/atoms/form-field.stories.d.ts.map +0 -1
- package/dist/components/atoms/form-field.stories.js +0 -16
- package/dist/components/atoms/form-field.stories.js.map +0 -1
- package/dist/components/atoms/form-input.d.ts +0 -43
- package/dist/components/atoms/form-input.d.ts.map +0 -1
- package/dist/components/atoms/form-input.js +0 -26
- package/dist/components/atoms/form-input.js.map +0 -1
- package/dist/components/atoms/form-input.stories.d.ts +0 -7
- package/dist/components/atoms/form-input.stories.d.ts.map +0 -1
- package/dist/components/atoms/form-input.stories.js +0 -17
- package/dist/components/atoms/form-input.stories.js.map +0 -1
- package/dist/components/atoms/form-textarea.d.ts +0 -41
- package/dist/components/atoms/form-textarea.d.ts.map +0 -1
- package/dist/components/atoms/form-textarea.js +0 -26
- package/dist/components/atoms/form-textarea.js.map +0 -1
- package/dist/components/atoms/form-textarea.stories.d.ts +0 -7
- package/dist/components/atoms/form-textarea.stories.d.ts.map +0 -1
- package/dist/components/atoms/form-textarea.stories.js +0 -17
- package/dist/components/atoms/form-textarea.stories.js.map +0 -1
- package/dist/components/atoms/icon-button.d.ts +0 -26
- package/dist/components/atoms/icon-button.d.ts.map +0 -1
- package/dist/components/atoms/icon-button.js +0 -39
- package/dist/components/atoms/icon-button.js.map +0 -1
- package/dist/components/atoms/mapping-boolean.d.ts +0 -31
- package/dist/components/atoms/mapping-boolean.d.ts.map +0 -1
- package/dist/components/atoms/mapping-boolean.js +0 -38
- package/dist/components/atoms/mapping-boolean.js.map +0 -1
- package/dist/components/atoms/mapping-breadcrumb.d.ts +0 -14
- package/dist/components/atoms/mapping-breadcrumb.d.ts.map +0 -1
- package/dist/components/atoms/mapping-breadcrumb.js +0 -10
- package/dist/components/atoms/mapping-breadcrumb.js.map +0 -1
- package/dist/components/atoms/mapping-collapsible.d.ts +0 -54
- package/dist/components/atoms/mapping-collapsible.d.ts.map +0 -1
- package/dist/components/atoms/mapping-collapsible.js +0 -87
- package/dist/components/atoms/mapping-collapsible.js.map +0 -1
- package/dist/components/atoms/mapping-condition-field.d.ts +0 -18
- package/dist/components/atoms/mapping-condition-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-condition-field.js +0 -34
- package/dist/components/atoms/mapping-condition-field.js.map +0 -1
- package/dist/components/atoms/mapping-condition.d.ts +0 -34
- package/dist/components/atoms/mapping-condition.d.ts.map +0 -1
- package/dist/components/atoms/mapping-condition.js +0 -70
- package/dist/components/atoms/mapping-condition.js.map +0 -1
- package/dist/components/atoms/mapping-confirm-button.d.ts +0 -29
- package/dist/components/atoms/mapping-confirm-button.d.ts.map +0 -1
- package/dist/components/atoms/mapping-confirm-button.js +0 -42
- package/dist/components/atoms/mapping-confirm-button.js.map +0 -1
- package/dist/components/atoms/mapping-consent-field.d.ts +0 -20
- package/dist/components/atoms/mapping-consent-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-consent-field.js +0 -36
- package/dist/components/atoms/mapping-consent-field.js.map +0 -1
- package/dist/components/atoms/mapping-consent.d.ts +0 -34
- package/dist/components/atoms/mapping-consent.d.ts.map +0 -1
- package/dist/components/atoms/mapping-consent.js +0 -86
- package/dist/components/atoms/mapping-consent.js.map +0 -1
- package/dist/components/atoms/mapping-data-field.d.ts +0 -23
- package/dist/components/atoms/mapping-data-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-data-field.js +0 -38
- package/dist/components/atoms/mapping-data-field.js.map +0 -1
- package/dist/components/atoms/mapping-data.d.ts +0 -34
- package/dist/components/atoms/mapping-data.d.ts.map +0 -1
- package/dist/components/atoms/mapping-data.js +0 -76
- package/dist/components/atoms/mapping-data.js.map +0 -1
- package/dist/components/atoms/mapping-enum-select.d.ts +0 -28
- package/dist/components/atoms/mapping-enum-select.d.ts.map +0 -1
- package/dist/components/atoms/mapping-enum-select.js +0 -142
- package/dist/components/atoms/mapping-enum-select.js.map +0 -1
- package/dist/components/atoms/mapping-fn-field.d.ts +0 -23
- package/dist/components/atoms/mapping-fn-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-fn-field.js +0 -38
- package/dist/components/atoms/mapping-fn-field.js.map +0 -1
- package/dist/components/atoms/mapping-fn.d.ts +0 -34
- package/dist/components/atoms/mapping-fn.d.ts.map +0 -1
- package/dist/components/atoms/mapping-fn.js +0 -70
- package/dist/components/atoms/mapping-fn.js.map +0 -1
- package/dist/components/atoms/mapping-grid.d.ts +0 -45
- package/dist/components/atoms/mapping-grid.d.ts.map +0 -1
- package/dist/components/atoms/mapping-grid.js +0 -83
- package/dist/components/atoms/mapping-grid.js.map +0 -1
- package/dist/components/atoms/mapping-input-with-button.d.ts +0 -54
- package/dist/components/atoms/mapping-input-with-button.d.ts.map +0 -1
- package/dist/components/atoms/mapping-input-with-button.js +0 -54
- package/dist/components/atoms/mapping-input-with-button.js.map +0 -1
- package/dist/components/atoms/mapping-input.d.ts +0 -44
- package/dist/components/atoms/mapping-input.d.ts.map +0 -1
- package/dist/components/atoms/mapping-input.js +0 -35
- package/dist/components/atoms/mapping-input.js.map +0 -1
- package/dist/components/atoms/mapping-key-field.d.ts +0 -23
- package/dist/components/atoms/mapping-key-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-key-field.js +0 -39
- package/dist/components/atoms/mapping-key-field.js.map +0 -1
- package/dist/components/atoms/mapping-key.d.ts +0 -35
- package/dist/components/atoms/mapping-key.d.ts.map +0 -1
- package/dist/components/atoms/mapping-key.js +0 -48
- package/dist/components/atoms/mapping-key.js.map +0 -1
- package/dist/components/atoms/mapping-map-entry.d.ts +0 -31
- package/dist/components/atoms/mapping-map-entry.d.ts.map +0 -1
- package/dist/components/atoms/mapping-map-entry.js +0 -68
- package/dist/components/atoms/mapping-map-entry.js.map +0 -1
- package/dist/components/atoms/mapping-number.d.ts +0 -32
- package/dist/components/atoms/mapping-number.d.ts.map +0 -1
- package/dist/components/atoms/mapping-number.js +0 -52
- package/dist/components/atoms/mapping-number.js.map +0 -1
- package/dist/components/atoms/mapping-object-explorer-field.d.ts +0 -30
- package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-object-explorer-field.js +0 -48
- package/dist/components/atoms/mapping-object-explorer-field.js.map +0 -1
- package/dist/components/atoms/mapping-object-explorer.d.ts +0 -59
- package/dist/components/atoms/mapping-object-explorer.d.ts.map +0 -1
- package/dist/components/atoms/mapping-object-explorer.js +0 -215
- package/dist/components/atoms/mapping-object-explorer.js.map +0 -1
- package/dist/components/atoms/mapping-set-entry.d.ts +0 -31
- package/dist/components/atoms/mapping-set-entry.d.ts.map +0 -1
- package/dist/components/atoms/mapping-set-entry.js +0 -66
- package/dist/components/atoms/mapping-set-entry.js.map +0 -1
- package/dist/components/atoms/mapping-settings-field.d.ts +0 -33
- package/dist/components/atoms/mapping-settings-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-settings-field.js +0 -48
- package/dist/components/atoms/mapping-settings-field.js.map +0 -1
- package/dist/components/atoms/mapping-settings.d.ts +0 -44
- package/dist/components/atoms/mapping-settings.d.ts.map +0 -1
- package/dist/components/atoms/mapping-settings.js +0 -108
- package/dist/components/atoms/mapping-settings.js.map +0 -1
- package/dist/components/atoms/mapping-string.d.ts +0 -19
- package/dist/components/atoms/mapping-string.d.ts.map +0 -1
- package/dist/components/atoms/mapping-string.js +0 -26
- package/dist/components/atoms/mapping-string.js.map +0 -1
- package/dist/components/atoms/mapping-tab.d.ts +0 -15
- package/dist/components/atoms/mapping-tab.d.ts.map +0 -1
- package/dist/components/atoms/mapping-tab.js +0 -8
- package/dist/components/atoms/mapping-tab.js.map +0 -1
- package/dist/components/atoms/mapping-type-button.d.ts +0 -19
- package/dist/components/atoms/mapping-type-button.d.ts.map +0 -1
- package/dist/components/atoms/mapping-type-button.js +0 -5
- package/dist/components/atoms/mapping-type-button.js.map +0 -1
- package/dist/components/atoms/mapping-validate-field.d.ts +0 -23
- package/dist/components/atoms/mapping-validate-field.d.ts.map +0 -1
- package/dist/components/atoms/mapping-validate-field.js +0 -38
- package/dist/components/atoms/mapping-validate-field.js.map +0 -1
- package/dist/components/atoms/mapping-validate.d.ts +0 -34
- package/dist/components/atoms/mapping-validate.d.ts.map +0 -1
- package/dist/components/atoms/mapping-validate.js +0 -68
- package/dist/components/atoms/mapping-validate.js.map +0 -1
- package/dist/components/atoms/mapping-value.d.ts +0 -17
- package/dist/components/atoms/mapping-value.d.ts.map +0 -1
- package/dist/components/atoms/mapping-value.js +0 -127
- package/dist/components/atoms/mapping-value.js.map +0 -1
- package/dist/components/atoms/pane-header.d.ts +0 -24
- package/dist/components/atoms/pane-header.d.ts.map +0 -1
- package/dist/components/atoms/pane-header.js +0 -5
- package/dist/components/atoms/pane-header.js.map +0 -1
- package/dist/components/atoms/panel-hints.d.ts +0 -35
- package/dist/components/atoms/panel-hints.d.ts.map +0 -1
- package/dist/components/atoms/panel-hints.js +0 -5
- package/dist/components/atoms/panel-hints.js.map +0 -1
- package/dist/components/atoms/panel-hints.stories.d.ts +0 -14
- package/dist/components/atoms/panel-hints.stories.d.ts.map +0 -1
- package/dist/components/atoms/panel-hints.stories.js +0 -35
- package/dist/components/atoms/panel-hints.stories.js.map +0 -1
- package/dist/components/atoms/submit-button.d.ts +0 -34
- package/dist/components/atoms/submit-button.d.ts.map +0 -1
- package/dist/components/atoms/submit-button.js +0 -18
- package/dist/components/atoms/submit-button.js.map +0 -1
- package/dist/components/atoms/submit-button.stories.d.ts +0 -7
- package/dist/components/atoms/submit-button.stories.d.ts.map +0 -1
- package/dist/components/atoms/submit-button.stories.js +0 -13
- package/dist/components/atoms/submit-button.stories.js.map +0 -1
- package/dist/components/demos/MappingCode.d.ts +0 -34
- package/dist/components/demos/MappingCode.d.ts.map +0 -1
- package/dist/components/demos/MappingCode.js +0 -54
- package/dist/components/demos/MappingCode.js.map +0 -1
- package/dist/components/demos/MappingCode.stories.d.ts +0 -16
- package/dist/components/demos/MappingCode.stories.d.ts.map +0 -1
- package/dist/components/demos/MappingCode.stories.js +0 -42
- package/dist/components/demos/MappingCode.stories.js.map +0 -1
- package/dist/components/demos/MappingDemo.d.ts +0 -41
- package/dist/components/demos/MappingDemo.d.ts.map +0 -1
- package/dist/components/demos/MappingDemo.js +0 -62
- package/dist/components/demos/MappingDemo.js.map +0 -1
- package/dist/components/demos/MappingDemo.stories.d.ts +0 -16
- package/dist/components/demos/MappingDemo.stories.d.ts.map +0 -1
- package/dist/components/demos/MappingDemo.stories.js +0 -63
- package/dist/components/demos/MappingDemo.stories.js.map +0 -1
- package/dist/components/forms/field-registry.d.ts +0 -42
- package/dist/components/forms/field-registry.d.ts.map +0 -1
- package/dist/components/forms/field-registry.js +0 -64
- package/dist/components/forms/field-registry.js.map +0 -1
- package/dist/components/forms/mapping-form-wrapper.d.ts +0 -14
- package/dist/components/forms/mapping-form-wrapper.d.ts.map +0 -1
- package/dist/components/forms/mapping-form-wrapper.js +0 -105
- package/dist/components/forms/mapping-form-wrapper.js.map +0 -1
- package/dist/components/forms/widget-registry.d.ts +0 -42
- package/dist/components/forms/widget-registry.d.ts.map +0 -1
- package/dist/components/forms/widget-registry.js +0 -54
- package/dist/components/forms/widget-registry.js.map +0 -1
- package/dist/components/molecules/auto-select.d.ts +0 -29
- package/dist/components/molecules/auto-select.d.ts.map +0 -1
- package/dist/components/molecules/auto-select.js +0 -188
- package/dist/components/molecules/auto-select.js.map +0 -1
- package/dist/components/molecules/config-form-card.d.ts +0 -50
- package/dist/components/molecules/config-form-card.d.ts.map +0 -1
- package/dist/components/molecules/config-form-card.js +0 -30
- package/dist/components/molecules/config-form-card.js.map +0 -1
- package/dist/components/molecules/config-form-card.stories.d.ts +0 -7
- package/dist/components/molecules/config-form-card.stories.d.ts.map +0 -1
- package/dist/components/molecules/config-form-card.stories.js +0 -21
- package/dist/components/molecules/config-form-card.stories.js.map +0 -1
- package/dist/components/molecules/config-overview-pane.d.ts +0 -44
- package/dist/components/molecules/config-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/config-overview-pane.js +0 -75
- package/dist/components/molecules/config-overview-pane.js.map +0 -1
- package/dist/components/molecules/config-tree-sidebar.d.ts +0 -46
- package/dist/components/molecules/config-tree-sidebar.d.ts.map +0 -1
- package/dist/components/molecules/config-tree-sidebar.js +0 -183
- package/dist/components/molecules/config-tree-sidebar.js.map +0 -1
- package/dist/components/molecules/destination-config-overview-pane.d.ts +0 -33
- package/dist/components/molecules/destination-config-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/destination-config-overview-pane.js +0 -153
- package/dist/components/molecules/destination-config-overview-pane.js.map +0 -1
- package/dist/components/molecules/flow-selector.d.ts +0 -19
- package/dist/components/molecules/flow-selector.d.ts.map +0 -1
- package/dist/components/molecules/flow-selector.js +0 -26
- package/dist/components/molecules/flow-selector.js.map +0 -1
- package/dist/components/molecules/flow-selector.stories.d.ts +0 -28
- package/dist/components/molecules/flow-selector.stories.d.ts.map +0 -1
- package/dist/components/molecules/flow-selector.stories.js +0 -66
- package/dist/components/molecules/flow-selector.stories.js.map +0 -1
- package/dist/components/molecules/form-card.d.ts +0 -28
- package/dist/components/molecules/form-card.d.ts.map +0 -1
- package/dist/components/molecules/form-card.js +0 -16
- package/dist/components/molecules/form-card.js.map +0 -1
- package/dist/components/molecules/form-card.stories.d.ts +0 -7
- package/dist/components/molecules/form-card.stories.d.ts.map +0 -1
- package/dist/components/molecules/form-card.stories.js +0 -16
- package/dist/components/molecules/form-card.stories.js.map +0 -1
- package/dist/components/molecules/mapping-batch-pane-view.d.ts +0 -22
- package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-batch-pane-view.js +0 -45
- package/dist/components/molecules/mapping-batch-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-boolean-pane-view.d.ts +0 -28
- package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-boolean-pane-view.js +0 -34
- package/dist/components/molecules/mapping-boolean-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-condition-pane-view.d.ts +0 -18
- package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-condition-pane-view.js +0 -63
- package/dist/components/molecules/mapping-condition-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-consent-pane-view.d.ts +0 -16
- package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-consent-pane-view.js +0 -65
- package/dist/components/molecules/mapping-consent-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-consent-row.d.ts +0 -29
- package/dist/components/molecules/mapping-consent-row.d.ts.map +0 -1
- package/dist/components/molecules/mapping-consent-row.js +0 -26
- package/dist/components/molecules/mapping-consent-row.js.map +0 -1
- package/dist/components/molecules/mapping-entity-pane.d.ts +0 -17
- package/dist/components/molecules/mapping-entity-pane.d.ts.map +0 -1
- package/dist/components/molecules/mapping-entity-pane.js +0 -68
- package/dist/components/molecules/mapping-entity-pane.js.map +0 -1
- package/dist/components/molecules/mapping-enum-pane-view.d.ts +0 -40
- package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-enum-pane-view.js +0 -32
- package/dist/components/molecules/mapping-enum-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-fn-pane-view.d.ts +0 -18
- package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-fn-pane-view.js +0 -77
- package/dist/components/molecules/mapping-fn-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-function-pane-base.d.ts +0 -53
- package/dist/components/molecules/mapping-function-pane-base.d.ts.map +0 -1
- package/dist/components/molecules/mapping-function-pane-base.js +0 -60
- package/dist/components/molecules/mapping-function-pane-base.js.map +0 -1
- package/dist/components/molecules/mapping-key-pane-view.d.ts +0 -23
- package/dist/components/molecules/mapping-key-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-key-pane-view.js +0 -12
- package/dist/components/molecules/mapping-key-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-loop-field.d.ts +0 -44
- package/dist/components/molecules/mapping-loop-field.d.ts.map +0 -1
- package/dist/components/molecules/mapping-loop-field.js +0 -133
- package/dist/components/molecules/mapping-loop-field.js.map +0 -1
- package/dist/components/molecules/mapping-loop-pane-view.d.ts +0 -28
- package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-loop-pane-view.js +0 -44
- package/dist/components/molecules/mapping-loop-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-map-field.d.ts +0 -31
- package/dist/components/molecules/mapping-map-field.d.ts.map +0 -1
- package/dist/components/molecules/mapping-map-field.js +0 -120
- package/dist/components/molecules/mapping-map-field.js.map +0 -1
- package/dist/components/molecules/mapping-map-overview.d.ts +0 -13
- package/dist/components/molecules/mapping-map-overview.d.ts.map +0 -1
- package/dist/components/molecules/mapping-map-overview.js +0 -58
- package/dist/components/molecules/mapping-map-overview.js.map +0 -1
- package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +0 -53
- package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +0 -1
- package/dist/components/molecules/mapping-map-pane-view-rjsf.js +0 -127
- package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +0 -1
- package/dist/components/molecules/mapping-name-pane-view.d.ts +0 -22
- package/dist/components/molecules/mapping-name-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-name-pane-view.js +0 -38
- package/dist/components/molecules/mapping-name-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-navigation-header.d.ts +0 -27
- package/dist/components/molecules/mapping-navigation-header.d.ts.map +0 -1
- package/dist/components/molecules/mapping-navigation-header.js +0 -7
- package/dist/components/molecules/mapping-navigation-header.js.map +0 -1
- package/dist/components/molecules/mapping-overview-pane.d.ts +0 -14
- package/dist/components/molecules/mapping-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/mapping-overview-pane.js +0 -60
- package/dist/components/molecules/mapping-overview-pane.js.map +0 -1
- package/dist/components/molecules/mapping-pane.d.ts +0 -52
- package/dist/components/molecules/mapping-pane.d.ts.map +0 -1
- package/dist/components/molecules/mapping-pane.js +0 -155
- package/dist/components/molecules/mapping-pane.js.map +0 -1
- package/dist/components/molecules/mapping-policy-overview-pane.d.ts +0 -26
- package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/mapping-policy-overview-pane.js +0 -69
- package/dist/components/molecules/mapping-policy-overview-pane.js.map +0 -1
- package/dist/components/molecules/mapping-primitive-pane-view.d.ts +0 -30
- package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-primitive-pane-view.js +0 -43
- package/dist/components/molecules/mapping-primitive-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-rule-pane-view.d.ts +0 -25
- package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-rule-pane-view.js +0 -35
- package/dist/components/molecules/mapping-rule-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-set-field.d.ts +0 -34
- package/dist/components/molecules/mapping-set-field.d.ts.map +0 -1
- package/dist/components/molecules/mapping-set-field.js +0 -160
- package/dist/components/molecules/mapping-set-field.js.map +0 -1
- package/dist/components/molecules/mapping-set-pane-view.d.ts +0 -31
- package/dist/components/molecules/mapping-set-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-set-pane-view.js +0 -96
- package/dist/components/molecules/mapping-set-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-tab-bar.d.ts +0 -15
- package/dist/components/molecules/mapping-tab-bar.d.ts.map +0 -1
- package/dist/components/molecules/mapping-tab-bar.js +0 -9
- package/dist/components/molecules/mapping-tab-bar.js.map +0 -1
- package/dist/components/molecules/mapping-tree-sidebar.d.ts +0 -59
- package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +0 -1
- package/dist/components/molecules/mapping-tree-sidebar.js +0 -491
- package/dist/components/molecules/mapping-tree-sidebar.js.map +0 -1
- package/dist/components/molecules/mapping-type-grid.d.ts +0 -12
- package/dist/components/molecules/mapping-type-grid.d.ts.map +0 -1
- package/dist/components/molecules/mapping-type-grid.js +0 -107
- package/dist/components/molecules/mapping-type-grid.js.map +0 -1
- package/dist/components/molecules/mapping-type-selector.d.ts +0 -21
- package/dist/components/molecules/mapping-type-selector.d.ts.map +0 -1
- package/dist/components/molecules/mapping-type-selector.js +0 -38
- package/dist/components/molecules/mapping-type-selector.js.map +0 -1
- package/dist/components/molecules/mapping-validate-pane-view.d.ts +0 -19
- package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-validate-pane-view.js +0 -66
- package/dist/components/molecules/mapping-validate-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-value-config-pane-view.d.ts +0 -30
- package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-value-config-pane-view.js +0 -105
- package/dist/components/molecules/mapping-value-config-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-value-pane-view.d.ts +0 -28
- package/dist/components/molecules/mapping-value-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-value-pane-view.js +0 -40
- package/dist/components/molecules/mapping-value-pane-view.js.map +0 -1
- package/dist/components/molecules/mapping-value-type-pane-view.d.ts +0 -27
- package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +0 -1
- package/dist/components/molecules/mapping-value-type-pane-view.js +0 -253
- package/dist/components/molecules/mapping-value-type-pane-view.js.map +0 -1
- package/dist/components/molecules/options-pane.d.ts +0 -28
- package/dist/components/molecules/options-pane.d.ts.map +0 -1
- package/dist/components/molecules/options-pane.js +0 -80
- package/dist/components/molecules/options-pane.js.map +0 -1
- package/dist/components/molecules/property-suggestions.d.ts +0 -17
- package/dist/components/molecules/property-suggestions.d.ts.map +0 -1
- package/dist/components/molecules/property-suggestions.js +0 -56
- package/dist/components/molecules/property-suggestions.js.map +0 -1
- package/dist/components/molecules/settings-overview-pane.d.ts +0 -32
- package/dist/components/molecules/settings-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/settings-overview-pane.js +0 -85
- package/dist/components/molecules/settings-overview-pane.js.map +0 -1
- package/dist/components/molecules/split-button.d.ts +0 -25
- package/dist/components/molecules/split-button.d.ts.map +0 -1
- package/dist/components/molecules/split-button.js +0 -37
- package/dist/components/molecules/split-button.js.map +0 -1
- package/dist/components/molecules/split-button.stories.d.ts +0 -32
- package/dist/components/molecules/split-button.stories.d.ts.map +0 -1
- package/dist/components/molecules/split-button.stories.js +0 -88
- package/dist/components/molecules/split-button.stories.js.map +0 -1
- package/dist/components/molecules/validation-overview-pane.d.ts +0 -27
- package/dist/components/molecules/validation-overview-pane.d.ts.map +0 -1
- package/dist/components/molecules/validation-overview-pane.js +0 -50
- package/dist/components/molecules/validation-overview-pane.js.map +0 -1
- package/dist/components/organisms/config-editor/config-editor-box.d.ts +0 -35
- package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +0 -1
- package/dist/components/organisms/config-editor/config-editor-box.js +0 -50
- package/dist/components/organisms/config-editor/config-editor-box.js.map +0 -1
- package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +0 -52
- package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +0 -1
- package/dist/components/organisms/config-editor/config-editor-tabs.js +0 -127
- package/dist/components/organisms/config-editor/config-editor-tabs.js.map +0 -1
- package/dist/components/organisms/config-editor/config-editor.d.ts +0 -47
- package/dist/components/organisms/config-editor/config-editor.d.ts.map +0 -1
- package/dist/components/organisms/config-editor/config-editor.js +0 -50
- package/dist/components/organisms/config-editor/config-editor.js.map +0 -1
- package/dist/components/organisms/config-editor/config-editor.stories.d.ts +0 -25
- package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +0 -1
- package/dist/components/organisms/config-editor/config-editor.stories.js +0 -77
- package/dist/components/organisms/config-editor/config-editor.stories.js.map +0 -1
- package/dist/components/organisms/config-editor/index.d.ts +0 -22
- package/dist/components/organisms/config-editor/index.d.ts.map +0 -1
- package/dist/components/organisms/config-editor/index.js +0 -20
- package/dist/components/organisms/config-editor/index.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -5
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -5
- package/dist/components/ui/label.js.map +0 -1
- package/dist/hooks/useMappingNavigation.d.ts +0 -62
- package/dist/hooks/useMappingNavigation.d.ts.map +0 -1
- package/dist/hooks/useMappingNavigation.js +0 -339
- package/dist/hooks/useMappingNavigation.js.map +0 -1
- package/dist/hooks/useMappingState.d.ts +0 -56
- package/dist/hooks/useMappingState.d.ts.map +0 -1
- package/dist/hooks/useMappingState.js +0 -142
- package/dist/hooks/useMappingState.js.map +0 -1
- package/dist/monaco-types-QVKK6UKF.mjs +0 -34
- package/dist/monaco-types-QVKK6UKF.mjs.map +0 -1
- package/dist/schemas/config-structures/destination-config.d.ts +0 -27
- package/dist/schemas/config-structures/destination-config.d.ts.map +0 -1
- package/dist/schemas/config-structures/destination-config.js +0 -104
- package/dist/schemas/config-structures/destination-config.js.map +0 -1
- package/dist/schemas/config-structures/index.d.ts +0 -17
- package/dist/schemas/config-structures/index.d.ts.map +0 -1
- package/dist/schemas/config-structures/index.js +0 -17
- package/dist/schemas/config-structures/index.js.map +0 -1
- package/dist/schemas/config-structures/mapping-rule.d.ts +0 -17
- package/dist/schemas/config-structures/mapping-rule.d.ts.map +0 -1
- package/dist/schemas/config-structures/mapping-rule.js +0 -81
- package/dist/schemas/config-structures/mapping-rule.js.map +0 -1
- package/dist/schemas/config-structures/types.d.ts +0 -62
- package/dist/schemas/config-structures/types.d.ts.map +0 -1
- package/dist/schemas/config-structures/types.js +0 -2
- package/dist/schemas/config-structures/types.js.map +0 -1
- package/dist/schemas/mapping-rule-schema.d.ts +0 -25
- package/dist/schemas/mapping-rule-schema.d.ts.map +0 -1
- package/dist/schemas/mapping-rule-schema.js +0 -86
- package/dist/schemas/mapping-rule-schema.js.map +0 -1
- package/dist/schemas/rule-properties-schema.d.ts +0 -42
- package/dist/schemas/rule-properties-schema.d.ts.map +0 -1
- package/dist/schemas/rule-properties-schema.js +0 -79
- package/dist/schemas/rule-properties-schema.js.map +0 -1
- package/dist/schemas/value-config-schema.d.ts +0 -36
- package/dist/schemas/value-config-schema.d.ts.map +0 -1
- package/dist/schemas/value-config-schema.js +0 -227
- package/dist/schemas/value-config-schema.js.map +0 -1
- package/dist/types/schemas.d.ts +0 -29
- package/dist/types/schemas.d.ts.map +0 -1
- package/dist/types/schemas.js +0 -2
- package/dist/types/schemas.js.map +0 -1
- package/dist/utils/clean-form-data.d.ts +0 -26
- package/dist/utils/clean-form-data.d.ts.map +0 -1
- package/dist/utils/clean-form-data.js +0 -76
- package/dist/utils/clean-form-data.js.map +0 -1
- package/dist/utils/config-validator.d.ts +0 -12
- package/dist/utils/config-validator.d.ts.map +0 -1
- package/dist/utils/config-validator.js +0 -10
- package/dist/utils/config-validator.js.map +0 -1
- package/dist/utils/consent-scanner.d.ts +0 -19
- package/dist/utils/consent-scanner.d.ts.map +0 -1
- package/dist/utils/consent-scanner.js +0 -115
- package/dist/utils/consent-scanner.js.map +0 -1
- package/dist/utils/generic-tree-builder.d.ts +0 -37
- package/dist/utils/generic-tree-builder.d.ts.map +0 -1
- package/dist/utils/generic-tree-builder.js +0 -225
- package/dist/utils/generic-tree-builder.js.map +0 -1
- package/dist/utils/mapping-path.d.ts +0 -146
- package/dist/utils/mapping-path.d.ts.map +0 -1
- package/dist/utils/mapping-path.js +0 -271
- package/dist/utils/mapping-path.js.map +0 -1
- package/dist/utils/monaco-schema-flow-setup.d.ts +0 -10
- package/dist/utils/monaco-schema-flow-setup.d.ts.map +0 -1
- package/dist/utils/monaco-schema-flow-setup.js.map +0 -1
- package/dist/utils/schema-validation.d.ts +0 -36
- package/dist/utils/schema-validation.d.ts.map +0 -1
- package/dist/utils/schema-validation.js +0 -136
- package/dist/utils/schema-validation.js.map +0 -1
- package/dist/utils/type-detector.d.ts +0 -35
- package/dist/utils/type-detector.d.ts.map +0 -1
- package/dist/utils/type-detector.js +0 -241
- package/dist/utils/type-detector.js.map +0 -1
- package/dist/utils/value-display-formatter.d.ts +0 -31
- package/dist/utils/value-display-formatter.d.ts.map +0 -1
- package/dist/utils/value-display-formatter.js +0 -110
- package/dist/utils/value-display-formatter.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,88 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Destination, WalkerOS, Mapping, Elb } from '@walkeros/core';
|
|
3
|
-
import {
|
|
4
|
-
import React, { ReactNode, FormEvent, FC, PropsWithChildren, RefObject } from 'react';
|
|
3
|
+
import React, { ReactNode, FC, PropsWithChildren, RefObject } from 'react';
|
|
5
4
|
import * as monaco_editor from 'monaco-editor';
|
|
6
5
|
import { editor } from 'monaco-editor';
|
|
6
|
+
import { RJSFSchema } from '@rjsf/utils';
|
|
7
7
|
export { Icon } from '@iconify/react';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Monaco } from '@monaco-editor/react';
|
|
10
10
|
|
|
11
|
-
interface MappingDemoProps {
|
|
12
|
-
input?: string;
|
|
13
|
-
config?: string;
|
|
14
|
-
labelInput?: string;
|
|
15
|
-
labelConfig?: string;
|
|
16
|
-
labelOutput?: string;
|
|
17
|
-
fn?: (input: string, config: string) => Promise<string>;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* MappingDemo - Interactive dual-editor component with Monaco Editor
|
|
21
|
-
*
|
|
22
|
-
* A generic component with two editable JSON editors and one output display.
|
|
23
|
-
* Requires a transformation function to process input+config into output.
|
|
24
|
-
*
|
|
25
|
-
* Props:
|
|
26
|
-
* - input: Initial JSON string for left editor (default: '{}')
|
|
27
|
-
* - config: Initial JSON string for middle editor (default: '{}')
|
|
28
|
-
* - labelInput: Label for input editor (default: "Input")
|
|
29
|
-
* - labelConfig: Label for config editor (default: "Config")
|
|
30
|
-
* - labelOutput: Label for output editor (default: "Output")
|
|
31
|
-
* - fn: Transformation function (input, config) => Promise<string> (required for output)
|
|
32
|
-
*
|
|
33
|
-
* Example:
|
|
34
|
-
* ```tsx
|
|
35
|
-
* <MappingDemo
|
|
36
|
-
* input='{ "name": "example" }'
|
|
37
|
-
* config='{ "transform": "uppercase" }'
|
|
38
|
-
* labelInput="Data"
|
|
39
|
-
* labelConfig="Rules"
|
|
40
|
-
* labelOutput="Result"
|
|
41
|
-
* fn={async (input, config) => {
|
|
42
|
-
* const data = JSON.parse(input);
|
|
43
|
-
* const rules = JSON.parse(config);
|
|
44
|
-
* // Your transformation logic
|
|
45
|
-
* return JSON.stringify(result, null, 2);
|
|
46
|
-
* }}
|
|
47
|
-
* />
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
declare function MappingDemo({ input: initialInput, config: initialConfig, labelInput, labelConfig, labelOutput, fn, }?: MappingDemoProps): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
interface MappingCodeProps {
|
|
53
|
-
input: string;
|
|
54
|
-
config?: string;
|
|
55
|
-
labelInput?: string;
|
|
56
|
-
labelOutput?: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* MappingCode - Specialized component for walkerOS mapping demonstrations
|
|
60
|
-
*
|
|
61
|
-
* Similar to LiveCode but specifically for mapping transformations.
|
|
62
|
-
* Shows input code and output result side-by-side with built-in mapping logic.
|
|
63
|
-
*
|
|
64
|
-
* Props:
|
|
65
|
-
* - input: Code string to execute (can use await getMappingEvent, getMappingValue)
|
|
66
|
-
* - config: Optional mapping configuration JSON
|
|
67
|
-
* - labelInput: Label for input editor (default: "Configuration")
|
|
68
|
-
* - labelOutput: Label for output display (default: "Result")
|
|
69
|
-
*
|
|
70
|
-
* Example:
|
|
71
|
-
* ```tsx
|
|
72
|
-
* <MappingCode
|
|
73
|
-
* input={`await getMappingEvent(
|
|
74
|
-
* { name: 'product view' },
|
|
75
|
-
* {
|
|
76
|
-
* product: {
|
|
77
|
-
* view: { name: 'product_viewed' }
|
|
78
|
-
* }
|
|
79
|
-
* }
|
|
80
|
-
* );`}
|
|
81
|
-
* />
|
|
82
|
-
* ```
|
|
83
|
-
*/
|
|
84
|
-
declare function MappingCode({ input: initialInput, config, labelInput, labelOutput, }: MappingCodeProps): react_jsx_runtime.JSX.Element;
|
|
85
|
-
|
|
86
11
|
interface DestinationDemoProps {
|
|
87
12
|
destination: Destination.Instance;
|
|
88
13
|
event: WalkerOS.PartialEvent;
|
|
@@ -287,155 +212,6 @@ interface BrowserBoxProps {
|
|
|
287
212
|
*/
|
|
288
213
|
declare function BrowserBox({ html, css, js, onHtmlChange, onCssChange, onJsChange, showPreview, label, className, initialTab, lineNumbers, wordWrap, }: BrowserBoxProps): react_jsx_runtime.JSX.Element;
|
|
289
214
|
|
|
290
|
-
/**
|
|
291
|
-
* Configuration Structure Definition
|
|
292
|
-
*
|
|
293
|
-
* Describes the SHAPE of a configuration object - what properties it has,
|
|
294
|
-
* how they should be edited, and how to build tree navigation.
|
|
295
|
-
*
|
|
296
|
-
* This is NOT the schema for values (that's JSON Schema).
|
|
297
|
-
* This IS the meta-schema that describes structure.
|
|
298
|
-
*
|
|
299
|
-
* Example:
|
|
300
|
-
* - DESTINATION_CONFIG_STRUCTURE describes Destination.Config shape
|
|
301
|
-
* - MAPPING_RULE_STRUCTURE describes Mapping.Rule shape
|
|
302
|
-
* - VALUE_CONFIG_MAP_STRUCTURE describes ValueConfig.map shape
|
|
303
|
-
*/
|
|
304
|
-
interface ConfigStructureDef {
|
|
305
|
-
/** Type of the root config */
|
|
306
|
-
type: 'object' | 'array' | 'primitive';
|
|
307
|
-
/** Human-readable title */
|
|
308
|
-
title?: string;
|
|
309
|
-
/** Description of this config type */
|
|
310
|
-
description?: string;
|
|
311
|
-
/** Default NodeType for overview (when path is empty) */
|
|
312
|
-
rootNodeType?: NodeType;
|
|
313
|
-
/** Property definitions */
|
|
314
|
-
properties?: Record<string, PropertyDef>;
|
|
315
|
-
/** Special structural patterns */
|
|
316
|
-
patterns?: {
|
|
317
|
-
/** Entity → Action hierarchy (e.g., mapping.{entity}.{action}) */
|
|
318
|
-
'entity-action'?: boolean;
|
|
319
|
-
/** Dynamic keys allowed (e.g., map.{any-key}) */
|
|
320
|
-
'dynamic-keys'?: boolean;
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Property Definition
|
|
325
|
-
*
|
|
326
|
-
* Describes a single property within a config structure.
|
|
327
|
-
*/
|
|
328
|
-
interface PropertyDef {
|
|
329
|
-
/** Human-readable title */
|
|
330
|
-
title?: string;
|
|
331
|
-
/** Description of this property */
|
|
332
|
-
description?: string;
|
|
333
|
-
/** Explicit NodeType for editing this property */
|
|
334
|
-
nodeType?: NodeType;
|
|
335
|
-
/** Path to schema in schemas bundle (e.g., 'settings', 'mapping', 'id') */
|
|
336
|
-
schemaPath?: string;
|
|
337
|
-
/** How to build children for this property */
|
|
338
|
-
children?: ChildrenStrategy;
|
|
339
|
-
/** Nested structure definition (for complex properties) */
|
|
340
|
-
structure?: ConfigStructureDef;
|
|
341
|
-
/** Depth of this property in entity-action pattern */
|
|
342
|
-
depth?: number;
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Children Building Strategy
|
|
346
|
-
*
|
|
347
|
-
* Determines how to build tree children for a property.
|
|
348
|
-
*/
|
|
349
|
-
type ChildrenStrategy = 'entity-action' | 'schema-driven' | 'value-driven' | 'none';
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Node types for different editing contexts
|
|
353
|
-
*/
|
|
354
|
-
type NodeType = 'entity' | 'rule' | 'name' | 'batch' | 'policy' | 'consent' | 'settings' | 'options' | 'validationOverview' | 'valueConfig' | 'valueType' | 'primitive' | 'map' | 'loop' | 'set' | 'value' | 'fn' | 'validate' | 'condition' | 'enum' | 'boolean' | 'key';
|
|
355
|
-
|
|
356
|
-
interface NavigationState {
|
|
357
|
-
currentPath: string[];
|
|
358
|
-
nodeType: NodeType;
|
|
359
|
-
expandedPaths: string[][];
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Config Editor Box
|
|
364
|
-
*
|
|
365
|
-
* Wrapper component that provides Code/Visual toggle.
|
|
366
|
-
* Persists navigation state when switching between views.
|
|
367
|
-
*
|
|
368
|
-
* @example
|
|
369
|
-
* <ConfigEditorBox
|
|
370
|
-
* config={destinationConfig}
|
|
371
|
-
* onChange={setConfig}
|
|
372
|
-
* structure={DESTINATION_CONFIG_STRUCTURE}
|
|
373
|
-
* schemas={metaSchemas}
|
|
374
|
-
* label="Meta Pixel Configuration"
|
|
375
|
-
* />
|
|
376
|
-
*/
|
|
377
|
-
interface ConfigEditorBoxProps<T extends Record<string, unknown>> {
|
|
378
|
-
config: T;
|
|
379
|
-
onChange?: (config: T) => void;
|
|
380
|
-
structure: ConfigStructureDef;
|
|
381
|
-
schemas?: Record<string, RJSFSchema>;
|
|
382
|
-
sections?: Record<string, boolean>;
|
|
383
|
-
label?: string;
|
|
384
|
-
className?: string;
|
|
385
|
-
initialTab?: 'code' | 'visual';
|
|
386
|
-
resizable?: boolean;
|
|
387
|
-
showTree?: boolean;
|
|
388
|
-
showHeader?: boolean;
|
|
389
|
-
initialNavigationState?: NavigationState;
|
|
390
|
-
onNavigationStateChange?: (state: NavigationState) => void;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* ConfigEditor - Generic Visual Configuration Editor
|
|
395
|
-
*
|
|
396
|
-
* A fully generic configuration editor that works at ANY depth with ANY config type.
|
|
397
|
-
* Uses structure definitions and schemas to provide appropriate editing UI.
|
|
398
|
-
*
|
|
399
|
-
* Key Features:
|
|
400
|
-
* - Works at any depth (full config or nested object)
|
|
401
|
-
* - Structure-driven (no hardcoded assumptions)
|
|
402
|
-
* - Schema-aware (validation, type hints, metadata)
|
|
403
|
-
* - Code/Visual toggle
|
|
404
|
-
* - Tree navigation
|
|
405
|
-
* - Validation with error overview
|
|
406
|
-
* - TypeScript generic for type safety
|
|
407
|
-
*
|
|
408
|
-
* @example
|
|
409
|
-
* // Full DestinationConfig
|
|
410
|
-
* <ConfigEditor
|
|
411
|
-
* config={destinationConfig}
|
|
412
|
-
* onChange={setConfig}
|
|
413
|
-
* structure={DESTINATION_CONFIG_STRUCTURE}
|
|
414
|
-
* schemas={metaSchemas}
|
|
415
|
-
* label="Meta Pixel Configuration"
|
|
416
|
-
* />
|
|
417
|
-
*
|
|
418
|
-
* @example
|
|
419
|
-
* // Single Rule (deep nested)
|
|
420
|
-
* <ConfigEditor
|
|
421
|
-
* config={pageViewRule}
|
|
422
|
-
* onChange={setRule}
|
|
423
|
-
* structure={MAPPING_RULE_STRUCTURE}
|
|
424
|
-
* schemas={{ mapping: mappingSchema }}
|
|
425
|
-
* label="Page View Rule"
|
|
426
|
-
* showTree={false}
|
|
427
|
-
* />
|
|
428
|
-
*
|
|
429
|
-
* @example
|
|
430
|
-
* // Read-only (no onChange)
|
|
431
|
-
* <ConfigEditor
|
|
432
|
-
* config={destinationConfig}
|
|
433
|
-
* structure={DESTINATION_CONFIG_STRUCTURE}
|
|
434
|
-
* initialTab="code"
|
|
435
|
-
* />
|
|
436
|
-
*/
|
|
437
|
-
declare function ConfigEditor<T extends Record<string, unknown>>(props: ConfigEditorBoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
438
|
-
|
|
439
215
|
interface FlowItem {
|
|
440
216
|
icon: ReactNode;
|
|
441
217
|
label: string;
|
|
@@ -484,6 +260,8 @@ interface IntelliSenseContext {
|
|
|
484
260
|
entity: string;
|
|
485
261
|
actions: string[];
|
|
486
262
|
}>;
|
|
263
|
+
/** Raw contract object for $contract completions and mapping hints */
|
|
264
|
+
contractRaw?: Record<string, unknown>;
|
|
487
265
|
/** Available packages for autocomplete */
|
|
488
266
|
packages?: PackageInfo[];
|
|
489
267
|
/** Current platform context (web or server) */
|
|
@@ -788,33 +566,6 @@ interface PropertyTableProps {
|
|
|
788
566
|
}
|
|
789
567
|
declare function PropertyTable({ schema, className }: PropertyTableProps): react_jsx_runtime.JSX.Element;
|
|
790
568
|
|
|
791
|
-
interface FormCardProps {
|
|
792
|
-
/** Card content */
|
|
793
|
-
children: React.ReactNode;
|
|
794
|
-
/** Card title */
|
|
795
|
-
title?: string;
|
|
796
|
-
/** Card subtitle */
|
|
797
|
-
subtitle?: string;
|
|
798
|
-
/** Footer content */
|
|
799
|
-
footer?: React.ReactNode;
|
|
800
|
-
/** Maximum width */
|
|
801
|
-
maxWidth?: 'sm' | 'md' | 'lg' | 'full';
|
|
802
|
-
/** Additional CSS class */
|
|
803
|
-
className?: string;
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* FormCard - Container for form-based content
|
|
807
|
-
*
|
|
808
|
-
* Pure UI component for centered form layouts.
|
|
809
|
-
* Typically used for auth pages, settings, etc.
|
|
810
|
-
*
|
|
811
|
-
* @example
|
|
812
|
-
* <FormCard title="Sign in" maxWidth="sm">
|
|
813
|
-
* <form>...</form>
|
|
814
|
-
* </FormCard>
|
|
815
|
-
*/
|
|
816
|
-
declare function FormCard({ children, title, subtitle, footer, maxWidth, className, }: FormCardProps): react_jsx_runtime.JSX.Element;
|
|
817
|
-
|
|
818
569
|
interface DropdownProps {
|
|
819
570
|
/** Trigger element (button, link, etc.) */
|
|
820
571
|
trigger: React.ReactNode;
|
|
@@ -882,157 +633,6 @@ declare function DropdownItem({ children, onClick, disabled, variant, className,
|
|
|
882
633
|
*/
|
|
883
634
|
declare function DropdownDivider({ className }: DropdownDividerProps): react_jsx_runtime.JSX.Element;
|
|
884
635
|
|
|
885
|
-
interface ConfigFormCardProps {
|
|
886
|
-
/** Current config value (JSON/code string) */
|
|
887
|
-
config: string;
|
|
888
|
-
/** Config change handler */
|
|
889
|
-
onConfigChange: (value: string) => void;
|
|
890
|
-
/** Form submit handler */
|
|
891
|
-
onSubmit: (e: FormEvent) => void;
|
|
892
|
-
/** Loading state */
|
|
893
|
-
loading?: boolean;
|
|
894
|
-
/** Error message (null if no error) */
|
|
895
|
-
error?: string | null;
|
|
896
|
-
/** Card title (default: "Configuration") */
|
|
897
|
-
title?: string;
|
|
898
|
-
/** Textarea label (default: "Configuration (JSON)") */
|
|
899
|
-
label?: string;
|
|
900
|
-
/** Submit button text (default: "Submit") */
|
|
901
|
-
submitText?: string;
|
|
902
|
-
/** Loading button text (default: "Processing...") */
|
|
903
|
-
loadingText?: string;
|
|
904
|
-
/** Number of textarea rows (default: 20) */
|
|
905
|
-
rows?: number;
|
|
906
|
-
/** Card max width */
|
|
907
|
-
maxWidth?: 'sm' | 'md' | 'lg' | 'full';
|
|
908
|
-
/** Additional CSS class */
|
|
909
|
-
className?: string;
|
|
910
|
-
}
|
|
911
|
-
/**
|
|
912
|
-
* ConfigFormCard - Form for JSON/code configuration input (pure UI)
|
|
913
|
-
*
|
|
914
|
-
* Displays a textarea for entering configuration with submit button.
|
|
915
|
-
* Business logic (validation, API calls) is handled via callbacks.
|
|
916
|
-
*
|
|
917
|
-
* @example
|
|
918
|
-
* const { config, setConfig, loading, error, handleSubmit } = useBundleForm(); // App hook
|
|
919
|
-
*
|
|
920
|
-
* <ConfigFormCard
|
|
921
|
-
* config={config}
|
|
922
|
-
* onConfigChange={setConfig}
|
|
923
|
-
* onSubmit={handleSubmit}
|
|
924
|
-
* loading={loading}
|
|
925
|
-
* error={error}
|
|
926
|
-
* title="Bundle Configuration"
|
|
927
|
-
* label="Flow Configuration (JSON)"
|
|
928
|
-
* submitText="Bundle"
|
|
929
|
-
* loadingText="Bundling..."
|
|
930
|
-
* />
|
|
931
|
-
*/
|
|
932
|
-
declare function ConfigFormCard({ config, onConfigChange, onSubmit, loading, error, title, label, submitText, loadingText, rows, maxWidth, className, }: ConfigFormCardProps): react_jsx_runtime.JSX.Element;
|
|
933
|
-
|
|
934
|
-
interface SplitButtonAction {
|
|
935
|
-
key: string;
|
|
936
|
-
label: string;
|
|
937
|
-
onClick: () => void;
|
|
938
|
-
disabled?: boolean;
|
|
939
|
-
}
|
|
940
|
-
interface SplitButtonProps {
|
|
941
|
-
children: React.ReactNode;
|
|
942
|
-
onClick: () => void;
|
|
943
|
-
actions?: SplitButtonAction[];
|
|
944
|
-
variant?: 'primary' | 'default' | 'danger';
|
|
945
|
-
loading?: boolean;
|
|
946
|
-
loadingText?: string;
|
|
947
|
-
disabled?: boolean;
|
|
948
|
-
className?: string;
|
|
949
|
-
}
|
|
950
|
-
/**
|
|
951
|
-
* SplitButton - Primary button with dropdown actions
|
|
952
|
-
*
|
|
953
|
-
* Generic molecule: primary button + dropdown arrow.
|
|
954
|
-
* Click-outside and Escape to close.
|
|
955
|
-
*/
|
|
956
|
-
declare function SplitButton({ children, onClick, actions, variant, loading, loadingText, disabled, className, }: SplitButtonProps): react_jsx_runtime.JSX.Element;
|
|
957
|
-
|
|
958
|
-
interface FlowSelectorFlow {
|
|
959
|
-
name: string;
|
|
960
|
-
platform?: 'web' | 'server';
|
|
961
|
-
deploymentStatus?: string | null;
|
|
962
|
-
}
|
|
963
|
-
interface FlowSelectorProps {
|
|
964
|
-
flows: FlowSelectorFlow[];
|
|
965
|
-
selectedFlow: string;
|
|
966
|
-
onSelectFlow: (name: string) => void;
|
|
967
|
-
className?: string;
|
|
968
|
-
}
|
|
969
|
-
/**
|
|
970
|
-
* FlowSelector - Tab bar for selecting named flows
|
|
971
|
-
*
|
|
972
|
-
* Shows tabs with status dots for each named flow.
|
|
973
|
-
* Returns null when there is only one flow or none.
|
|
974
|
-
*/
|
|
975
|
-
declare function FlowSelector({ flows, selectedFlow, onSelectFlow, className, }: FlowSelectorProps): react_jsx_runtime.JSX.Element | null;
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* Destination schema bundle for runtime provision
|
|
979
|
-
*
|
|
980
|
-
* Maps to Destination.Types<S, M, E> generic structure:
|
|
981
|
-
* - settings: JSON Schema for config-level Settings<T>
|
|
982
|
-
* - mapping: JSON Schema for rule-level Mapping<T> (settings inside rules)
|
|
983
|
-
* - data: JSON Schema for expected event data properties
|
|
984
|
-
*
|
|
985
|
-
* Used by ConfigEditor and related components to provide:
|
|
986
|
-
* - Type detection for editing panes
|
|
987
|
-
* - Validation for user input
|
|
988
|
-
* - Metadata (titles, descriptions, enums)
|
|
989
|
-
*/
|
|
990
|
-
interface DestinationSchemas {
|
|
991
|
-
/** Config-level settings schema (for Settings<T>) */
|
|
992
|
-
settings?: RJSFSchema;
|
|
993
|
-
/** Config-level settings UI schema */
|
|
994
|
-
settingsUi?: UiSchema;
|
|
995
|
-
/** Rule-level mapping settings schema (for Mapping<T>) */
|
|
996
|
-
mapping?: RJSFSchema;
|
|
997
|
-
/** Rule-level mapping settings UI schema */
|
|
998
|
-
mappingUi?: UiSchema;
|
|
999
|
-
/** Expected data properties schema for destination events */
|
|
1000
|
-
data?: RJSFSchema;
|
|
1001
|
-
/** Data properties UI schema */
|
|
1002
|
-
dataUi?: UiSchema;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Structure Definition for Destination.Config
|
|
1007
|
-
*
|
|
1008
|
-
* Describes the shape of a full destination configuration:
|
|
1009
|
-
* - settings: Destination-specific settings
|
|
1010
|
-
* - mapping: Event mapping rules (entity → action hierarchy)
|
|
1011
|
-
* - data: Global data transformations
|
|
1012
|
-
* - policy: Processing policy rules
|
|
1013
|
-
* - consent: Consent requirements
|
|
1014
|
-
* - id, loadScript, queue, verbose: Config options
|
|
1015
|
-
*
|
|
1016
|
-
* This structure works with DestinationBox and ConfigEditor.
|
|
1017
|
-
*/
|
|
1018
|
-
declare const DESTINATION_CONFIG_STRUCTURE: ConfigStructureDef;
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* Structure Definition for Mapping.Rule
|
|
1022
|
-
*
|
|
1023
|
-
* Describes the shape of a single mapping rule (e.g., mapping.page.view):
|
|
1024
|
-
* - name: Event name override
|
|
1025
|
-
* - batch: Batch size
|
|
1026
|
-
* - settings: Rule-level settings
|
|
1027
|
-
* - data: Data transformations
|
|
1028
|
-
* - consent: Consent requirements
|
|
1029
|
-
* - condition: Condition function
|
|
1030
|
-
* - ignore: Ignore flag
|
|
1031
|
-
*
|
|
1032
|
-
* This structure enables editing individual rules with ConfigEditor.
|
|
1033
|
-
*/
|
|
1034
|
-
declare const MAPPING_RULE_STRUCTURE: ConfigStructureDef;
|
|
1035
|
-
|
|
1036
636
|
interface PreviewProps {
|
|
1037
637
|
html: string;
|
|
1038
638
|
css?: string;
|
|
@@ -1213,97 +813,6 @@ interface ButtonLinkProps {
|
|
|
1213
813
|
}
|
|
1214
814
|
declare function ButtonLink({ variant, size, href, onClick, children, className, disabled, }: ButtonLinkProps): react_jsx_runtime.JSX.Element;
|
|
1215
815
|
|
|
1216
|
-
/**
|
|
1217
|
-
* MappingKeyWidget - RJSF widget for key property
|
|
1218
|
-
*
|
|
1219
|
-
* Manages the key property of ValueConfig - a string path to extract
|
|
1220
|
-
* values from events (e.g., 'data.id', 'user.email', 'globals.currency').
|
|
1221
|
-
*
|
|
1222
|
-
* Features:
|
|
1223
|
-
* - Simple text input for path entry
|
|
1224
|
-
* - Helpful examples and common path patterns
|
|
1225
|
-
* - Clean, focused interface for single property editing
|
|
1226
|
-
*
|
|
1227
|
-
* @example
|
|
1228
|
-
* // In schema:
|
|
1229
|
-
* const schema = {
|
|
1230
|
-
* type: 'object',
|
|
1231
|
-
* properties: {
|
|
1232
|
-
* key: {
|
|
1233
|
-
* type: 'string',
|
|
1234
|
-
* title: 'Key',
|
|
1235
|
-
* description: 'Extract value from event path'
|
|
1236
|
-
* }
|
|
1237
|
-
* }
|
|
1238
|
-
* }
|
|
1239
|
-
*
|
|
1240
|
-
* @example
|
|
1241
|
-
* // In uiSchema:
|
|
1242
|
-
* const uiSchema = {
|
|
1243
|
-
* key: {
|
|
1244
|
-
* 'ui:widget': 'mappingKey'
|
|
1245
|
-
* }
|
|
1246
|
-
* }
|
|
1247
|
-
*/
|
|
1248
|
-
declare function MappingKeyWidget(props: WidgetProps): react_jsx_runtime.JSX.Element;
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* MappingKeyField - RJSF field wrapper for key property
|
|
1252
|
-
*
|
|
1253
|
-
* Bridges RJSF FieldProps to our custom MappingKeyWidget.
|
|
1254
|
-
* Required because RJSF uses fields (not widgets) for custom field rendering.
|
|
1255
|
-
*
|
|
1256
|
-
* @example
|
|
1257
|
-
* // Register in field registry:
|
|
1258
|
-
* export const mappingFields: RegistryFieldsType = {
|
|
1259
|
-
* mappingKey: MappingKeyField,
|
|
1260
|
-
* };
|
|
1261
|
-
*
|
|
1262
|
-
* @example
|
|
1263
|
-
* // Use in uiSchema:
|
|
1264
|
-
* const uiSchema = {
|
|
1265
|
-
* key: {
|
|
1266
|
-
* 'ui:field': 'mappingKey'
|
|
1267
|
-
* }
|
|
1268
|
-
* };
|
|
1269
|
-
*/
|
|
1270
|
-
declare function MappingKeyField(props: FieldProps): react_jsx_runtime.JSX.Element;
|
|
1271
|
-
|
|
1272
|
-
/**
|
|
1273
|
-
* Hint item definition
|
|
1274
|
-
*/
|
|
1275
|
-
interface HintItem {
|
|
1276
|
-
code: string;
|
|
1277
|
-
description: string;
|
|
1278
|
-
}
|
|
1279
|
-
/**
|
|
1280
|
-
* PanelHints - Reusable hints component for panel views
|
|
1281
|
-
*
|
|
1282
|
-
* Displays a clean, modern hints box with code examples and descriptions.
|
|
1283
|
-
* Used across all property panel views for consistency.
|
|
1284
|
-
*
|
|
1285
|
-
* Features:
|
|
1286
|
-
* - Minimal design with subtle background
|
|
1287
|
-
* - Code-first presentation
|
|
1288
|
-
* - Clean typography
|
|
1289
|
-
* - Theme-aware styling
|
|
1290
|
-
*
|
|
1291
|
-
* @example
|
|
1292
|
-
* <PanelHints
|
|
1293
|
-
* title="Common patterns"
|
|
1294
|
-
* hints={[
|
|
1295
|
-
* { code: 'data.id', description: 'Product identifier' },
|
|
1296
|
-
* { code: 'user.email', description: 'User email address' }
|
|
1297
|
-
* ]}
|
|
1298
|
-
* />
|
|
1299
|
-
*/
|
|
1300
|
-
interface PanelHintsProps {
|
|
1301
|
-
title?: string;
|
|
1302
|
-
hints: HintItem[];
|
|
1303
|
-
className?: string;
|
|
1304
|
-
}
|
|
1305
|
-
declare function PanelHints({ title, hints, className, }: PanelHintsProps): react_jsx_runtime.JSX.Element;
|
|
1306
|
-
|
|
1307
816
|
interface SpinnerProps {
|
|
1308
817
|
/** Size of the spinner */
|
|
1309
818
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -1321,178 +830,6 @@ interface SpinnerProps {
|
|
|
1321
830
|
*/
|
|
1322
831
|
declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1323
832
|
|
|
1324
|
-
interface AlertProps {
|
|
1325
|
-
/** Alert content */
|
|
1326
|
-
children: React.ReactNode;
|
|
1327
|
-
/** Optional title */
|
|
1328
|
-
title?: string;
|
|
1329
|
-
/** Visual variant */
|
|
1330
|
-
variant: 'error' | 'success' | 'warning' | 'info';
|
|
1331
|
-
/** ARIA role */
|
|
1332
|
-
role?: 'alert' | 'status';
|
|
1333
|
-
/** Additional CSS class */
|
|
1334
|
-
className?: string;
|
|
1335
|
-
}
|
|
1336
|
-
/**
|
|
1337
|
-
* Alert - Feedback message component
|
|
1338
|
-
*
|
|
1339
|
-
* Pure UI component for displaying error, success, warning, or info messages.
|
|
1340
|
-
* No internal state - controlled via parent.
|
|
1341
|
-
*
|
|
1342
|
-
* @example
|
|
1343
|
-
* <Alert variant="error">Something went wrong</Alert>
|
|
1344
|
-
*
|
|
1345
|
-
* @example
|
|
1346
|
-
* <Alert variant="success" title="Check your email">
|
|
1347
|
-
* We sent a magic link to your inbox.
|
|
1348
|
-
* </Alert>
|
|
1349
|
-
*/
|
|
1350
|
-
declare function Alert({ children, title, variant, role, className, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
1351
|
-
|
|
1352
|
-
interface FormFieldProps {
|
|
1353
|
-
/** Form field content (input, textarea, etc.) */
|
|
1354
|
-
children: React.ReactNode;
|
|
1355
|
-
/** Field label */
|
|
1356
|
-
label?: string;
|
|
1357
|
-
/** HTML id for the input (links label to input) */
|
|
1358
|
-
htmlFor?: string;
|
|
1359
|
-
/** Error message to display */
|
|
1360
|
-
error?: string;
|
|
1361
|
-
/** Whether the field is required */
|
|
1362
|
-
required?: boolean;
|
|
1363
|
-
/** Additional CSS class */
|
|
1364
|
-
className?: string;
|
|
1365
|
-
}
|
|
1366
|
-
/**
|
|
1367
|
-
* FormField - Label + input + error wrapper
|
|
1368
|
-
*
|
|
1369
|
-
* Pure UI component for consistent form field layout.
|
|
1370
|
-
* Wraps input elements with label and error message.
|
|
1371
|
-
*
|
|
1372
|
-
* @example
|
|
1373
|
-
* <FormField label="Email" htmlFor="email" error={errors.email}>
|
|
1374
|
-
* <input id="email" type="email" />
|
|
1375
|
-
* </FormField>
|
|
1376
|
-
*/
|
|
1377
|
-
declare function FormField({ children, label, htmlFor, error, required, className, }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
1378
|
-
|
|
1379
|
-
interface FormInputProps {
|
|
1380
|
-
/** Current value (controlled) */
|
|
1381
|
-
value: string;
|
|
1382
|
-
/** Change handler */
|
|
1383
|
-
onChange: (value: string) => void;
|
|
1384
|
-
/** Field label */
|
|
1385
|
-
label?: string;
|
|
1386
|
-
/** Input type */
|
|
1387
|
-
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
1388
|
-
/** Placeholder text */
|
|
1389
|
-
placeholder?: string;
|
|
1390
|
-
/** Disabled state */
|
|
1391
|
-
disabled?: boolean;
|
|
1392
|
-
/** Autofocus on mount */
|
|
1393
|
-
autoFocus?: boolean;
|
|
1394
|
-
/** Autocomplete attribute */
|
|
1395
|
-
autoComplete?: string;
|
|
1396
|
-
/** Required field */
|
|
1397
|
-
required?: boolean;
|
|
1398
|
-
/** Error state (boolean shows error style, string shows error message) */
|
|
1399
|
-
error?: boolean | string;
|
|
1400
|
-
/** HTML id (auto-generated if not provided) */
|
|
1401
|
-
id?: string;
|
|
1402
|
-
/** Additional CSS class */
|
|
1403
|
-
className?: string;
|
|
1404
|
-
}
|
|
1405
|
-
/**
|
|
1406
|
-
* FormInput - Text input with label and error support
|
|
1407
|
-
*
|
|
1408
|
-
* Pure UI component for single-line text inputs.
|
|
1409
|
-
* Fully controlled - all state managed by parent.
|
|
1410
|
-
*
|
|
1411
|
-
* @example
|
|
1412
|
-
* <FormInput
|
|
1413
|
-
* label="Email"
|
|
1414
|
-
* type="email"
|
|
1415
|
-
* value={email}
|
|
1416
|
-
* onChange={setEmail}
|
|
1417
|
-
* error={emailError}
|
|
1418
|
-
* />
|
|
1419
|
-
*/
|
|
1420
|
-
declare function FormInput({ value, onChange, label, type, placeholder, disabled, autoFocus, autoComplete, required, error, id, className, }: FormInputProps): react_jsx_runtime.JSX.Element;
|
|
1421
|
-
|
|
1422
|
-
interface FormTextareaProps {
|
|
1423
|
-
/** Current value (controlled) */
|
|
1424
|
-
value: string;
|
|
1425
|
-
/** Change handler */
|
|
1426
|
-
onChange: (value: string) => void;
|
|
1427
|
-
/** Field label */
|
|
1428
|
-
label?: string;
|
|
1429
|
-
/** Number of visible rows */
|
|
1430
|
-
rows?: number;
|
|
1431
|
-
/** Placeholder text */
|
|
1432
|
-
placeholder?: string;
|
|
1433
|
-
/** Disabled state */
|
|
1434
|
-
disabled?: boolean;
|
|
1435
|
-
/** Spellcheck enabled */
|
|
1436
|
-
spellCheck?: boolean;
|
|
1437
|
-
/** Required field */
|
|
1438
|
-
required?: boolean;
|
|
1439
|
-
/** Error state (boolean shows error style, string shows error message) */
|
|
1440
|
-
error?: boolean | string;
|
|
1441
|
-
/** HTML id (auto-generated if not provided) */
|
|
1442
|
-
id?: string;
|
|
1443
|
-
/** Additional CSS class */
|
|
1444
|
-
className?: string;
|
|
1445
|
-
}
|
|
1446
|
-
/**
|
|
1447
|
-
* FormTextarea - Multi-line text input with label and error support
|
|
1448
|
-
*
|
|
1449
|
-
* Pure UI component for multi-line text inputs.
|
|
1450
|
-
* Fully controlled - all state managed by parent.
|
|
1451
|
-
*
|
|
1452
|
-
* @example
|
|
1453
|
-
* <FormTextarea
|
|
1454
|
-
* label="Configuration"
|
|
1455
|
-
* value={config}
|
|
1456
|
-
* onChange={setConfig}
|
|
1457
|
-
* rows={15}
|
|
1458
|
-
* spellCheck={false}
|
|
1459
|
-
* />
|
|
1460
|
-
*/
|
|
1461
|
-
declare function FormTextarea({ value, onChange, label, rows, placeholder, disabled, spellCheck, required, error, id, className, }: FormTextareaProps): react_jsx_runtime.JSX.Element;
|
|
1462
|
-
|
|
1463
|
-
interface SubmitButtonProps {
|
|
1464
|
-
/** Button content */
|
|
1465
|
-
children: React.ReactNode;
|
|
1466
|
-
/** Text to show when loading */
|
|
1467
|
-
loadingText?: string;
|
|
1468
|
-
/** Loading state */
|
|
1469
|
-
loading?: boolean;
|
|
1470
|
-
/** Disabled state */
|
|
1471
|
-
disabled?: boolean;
|
|
1472
|
-
/** Visual variant */
|
|
1473
|
-
variant?: 'primary' | 'default' | 'danger';
|
|
1474
|
-
/** Full width button */
|
|
1475
|
-
fullWidth?: boolean;
|
|
1476
|
-
/** Button type */
|
|
1477
|
-
type?: 'submit' | 'button';
|
|
1478
|
-
/** Click handler (for type="button") */
|
|
1479
|
-
onClick?: () => void;
|
|
1480
|
-
/** Additional CSS class */
|
|
1481
|
-
className?: string;
|
|
1482
|
-
}
|
|
1483
|
-
/**
|
|
1484
|
-
* SubmitButton - Form submit button with loading state
|
|
1485
|
-
*
|
|
1486
|
-
* Pure UI component for form submissions.
|
|
1487
|
-
* Shows spinner and loading text when loading=true.
|
|
1488
|
-
*
|
|
1489
|
-
* @example
|
|
1490
|
-
* <SubmitButton loading={isSubmitting} loadingText="Saving...">
|
|
1491
|
-
* Save
|
|
1492
|
-
* </SubmitButton>
|
|
1493
|
-
*/
|
|
1494
|
-
declare function SubmitButton({ children, loadingText, loading, disabled, variant, fullWidth, type, onClick, className, }: SubmitButtonProps): react_jsx_runtime.JSX.Element;
|
|
1495
|
-
|
|
1496
833
|
/**
|
|
1497
834
|
* MDXProvider - Makes components available in MDX files without explicit imports
|
|
1498
835
|
*
|
|
@@ -1850,12 +1187,12 @@ declare function enrichSchema(baseSchema: Record<string, unknown>, enrichments:
|
|
|
1850
1187
|
|
|
1851
1188
|
type AnySchema$2 = Record<string, any>;
|
|
1852
1189
|
/**
|
|
1853
|
-
* Takes the base Flow.
|
|
1190
|
+
* Takes the base Flow.Config JSON Schema (from @walkeros/core z.toJSONSchema())
|
|
1854
1191
|
* and returns an enriched version with Monaco-specific extensions.
|
|
1855
1192
|
*
|
|
1856
1193
|
* The actual schema uses anyOf[0] at the top level.
|
|
1857
1194
|
*/
|
|
1858
|
-
declare function
|
|
1195
|
+
declare function enrichFlowConfigSchema(baseSchema: AnySchema$2): AnySchema$2;
|
|
1859
1196
|
|
|
1860
1197
|
type AnySchema$1 = Record<string, any>;
|
|
1861
1198
|
/**
|
|
@@ -1926,9 +1263,9 @@ interface ValidationIssue {
|
|
|
1926
1263
|
declare function validateWalkerOSReferences(text: string, context: Partial<IntelliSenseContext>): ValidationIssue[];
|
|
1927
1264
|
|
|
1928
1265
|
/**
|
|
1929
|
-
* Extract IntelliSense context from a Flow.
|
|
1266
|
+
* Extract IntelliSense context from a Flow.Config JSON string.
|
|
1930
1267
|
*
|
|
1931
|
-
* Parses the JSON, walks
|
|
1268
|
+
* Parses the JSON, walks config → settings → steps, and collects
|
|
1932
1269
|
* all discoverable variables, definitions, step names, packages,
|
|
1933
1270
|
* platform, and contract entities.
|
|
1934
1271
|
*
|
|
@@ -1998,4 +1335,4 @@ declare function createRawCapture(destinationEnv: unknown): {
|
|
|
1998
1335
|
}[];
|
|
1999
1336
|
};
|
|
2000
1337
|
|
|
2001
|
-
export {
|
|
1338
|
+
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders, enrichFlowConfigSchema, enrichSchema, extractFlowIntelliSenseContext, findWalkerOSReferences, formatCapturedCalls, generateModelPath, getEnrichedContractSchema, getVariablesSchema, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerJsonSchema, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSDecorationStyles, registerWalkerOSProviders, registerWalkerOSTypes, removeIntelliSenseContext, setIntelliSenseContext, unregisterJsonSchema, useDropdown, validateWalkerOSReferences };
|