@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
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
3
|
-
import { ConfigTile } from '../atoms/config-tile';
|
|
4
|
-
import { MappingInput } from '../atoms/mapping-input';
|
|
5
|
-
const VALUE_CONFIG_TILES = [
|
|
6
|
-
{
|
|
7
|
-
key: 'key',
|
|
8
|
-
label: 'Key',
|
|
9
|
-
description: 'Property path',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
key: 'value',
|
|
13
|
-
label: 'Value',
|
|
14
|
-
description: 'Static value',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
key: 'fn',
|
|
18
|
-
label: 'Fn',
|
|
19
|
-
description: 'Custom function',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
key: 'map',
|
|
23
|
-
label: 'Map',
|
|
24
|
-
description: 'Transform object',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
key: 'loop',
|
|
28
|
-
label: 'Loop',
|
|
29
|
-
description: 'Array iteration',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
key: 'set',
|
|
33
|
-
label: 'Set',
|
|
34
|
-
description: 'Multiple values',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
key: 'consent',
|
|
38
|
-
label: 'Consent',
|
|
39
|
-
description: 'Required states',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
key: 'validate',
|
|
43
|
-
label: 'Validate',
|
|
44
|
-
description: 'Check function',
|
|
45
|
-
},
|
|
46
|
-
];
|
|
47
|
-
/**
|
|
48
|
-
* ValueType Pane - Edit ValueType (string | ValueConfig)
|
|
49
|
-
*
|
|
50
|
-
* Simple logic:
|
|
51
|
-
* - String mode: Quick Value input edits the string directly
|
|
52
|
-
* - Object mode: Quick Value input ALWAYS edits the 'key' property
|
|
53
|
-
* - Input is NEVER disabled
|
|
54
|
-
* - Quick Value and Key tile are always synced
|
|
55
|
-
*
|
|
56
|
-
* Smart Conversions:
|
|
57
|
-
* - Clicking any tile in String mode converts to { key: "string value" }
|
|
58
|
-
* - All tiles (including Key) are clickable and open their respective editors
|
|
59
|
-
* - Conversion happens automatically before opening the editor
|
|
60
|
-
*/
|
|
61
|
-
export function MappingValueTypePaneView({ path, mappingState, navigation, className = '', title = 'Value Configuration', description = 'Configure how to extract or transform data', hideNavigation = false, }) {
|
|
62
|
-
const value = mappingState.actions.getValue(path);
|
|
63
|
-
// Determine current mode
|
|
64
|
-
const isString = typeof value === 'string';
|
|
65
|
-
const isValueConfig = typeof value === 'object' && value !== null;
|
|
66
|
-
const valueConfig = isValueConfig ? value : {};
|
|
67
|
-
// Display value for the input
|
|
68
|
-
// - If string: show the string value
|
|
69
|
-
// - If object: show the key property value (or empty if no key)
|
|
70
|
-
const displayValue = isString
|
|
71
|
-
? value
|
|
72
|
-
: typeof valueConfig.key === 'string'
|
|
73
|
-
? valueConfig.key
|
|
74
|
-
: '';
|
|
75
|
-
const handleStringChange = (newValue) => {
|
|
76
|
-
if (isString || value === undefined) {
|
|
77
|
-
// String mode or undefined: set as string value
|
|
78
|
-
mappingState.actions.setValue(path, newValue);
|
|
79
|
-
}
|
|
80
|
-
else if (isValueConfig) {
|
|
81
|
-
// ValueConfig mode: update the key property using the sub-path
|
|
82
|
-
// This works whether it's key-only or has multiple properties
|
|
83
|
-
mappingState.actions.setValue([...path, 'key'], newValue);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
const handleTileClick = (tileKey) => {
|
|
87
|
-
// If in string mode, convert to ValueConfig first (for all tiles)
|
|
88
|
-
// This preserves the string value as the 'key' property
|
|
89
|
-
if (isString && displayValue) {
|
|
90
|
-
mappingState.actions.setValue(path, { key: displayValue });
|
|
91
|
-
}
|
|
92
|
-
else if (value === undefined) {
|
|
93
|
-
// If value is undefined, initialize as empty object so tile properties can be set
|
|
94
|
-
mappingState.actions.setValue(path, {});
|
|
95
|
-
}
|
|
96
|
-
// Determine the appropriate nodeType based on the property
|
|
97
|
-
// Properties that hold primitives get dedicated editors
|
|
98
|
-
// Properties that hold ValueConfig objects get the generic valueConfig editor
|
|
99
|
-
let nodeType;
|
|
100
|
-
switch (tileKey) {
|
|
101
|
-
case 'key':
|
|
102
|
-
nodeType = 'key'; // Key property editor
|
|
103
|
-
break;
|
|
104
|
-
case 'value':
|
|
105
|
-
nodeType = 'value'; // Primitive value editor
|
|
106
|
-
break;
|
|
107
|
-
case 'fn':
|
|
108
|
-
nodeType = 'fn'; // Function editor (placeholder for now)
|
|
109
|
-
break;
|
|
110
|
-
case 'validate':
|
|
111
|
-
nodeType = 'validate'; // Validate function editor (placeholder for now)
|
|
112
|
-
break;
|
|
113
|
-
case 'condition':
|
|
114
|
-
nodeType = 'condition'; // Condition function editor (already implemented)
|
|
115
|
-
break;
|
|
116
|
-
case 'consent':
|
|
117
|
-
nodeType = 'consent'; // Consent editor (already implemented)
|
|
118
|
-
break;
|
|
119
|
-
case 'map':
|
|
120
|
-
nodeType = 'map'; // Map editor (placeholder for now)
|
|
121
|
-
break;
|
|
122
|
-
case 'loop':
|
|
123
|
-
nodeType = 'loop'; // Loop editor (placeholder for now)
|
|
124
|
-
break;
|
|
125
|
-
case 'set':
|
|
126
|
-
nodeType = 'set'; // Set editor (placeholder for now)
|
|
127
|
-
break;
|
|
128
|
-
default:
|
|
129
|
-
nodeType = 'valueConfig'; // Fallback to generic editor
|
|
130
|
-
}
|
|
131
|
-
navigation.openTab([...path, tileKey], nodeType);
|
|
132
|
-
};
|
|
133
|
-
const getTileStatus = (tileKey) => {
|
|
134
|
-
// For 'key' tile: only enabled if we have a ValueConfig with a key property
|
|
135
|
-
if (tileKey === 'key') {
|
|
136
|
-
if (isString) {
|
|
137
|
-
// In string mode, there is no ValueConfig and no key property
|
|
138
|
-
return { enabled: false, text: 'Not set' };
|
|
139
|
-
}
|
|
140
|
-
else if (isValueConfig) {
|
|
141
|
-
// In ValueConfig mode, show the key property status
|
|
142
|
-
const keyValue = valueConfig.key;
|
|
143
|
-
return typeof keyValue === 'string' && keyValue
|
|
144
|
-
? { enabled: true, text: keyValue }
|
|
145
|
-
: { enabled: false, text: 'Not set' };
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
// For all other tiles, only show status if in ValueConfig mode
|
|
149
|
-
if (!isValueConfig) {
|
|
150
|
-
return { enabled: false, text: 'Not set' };
|
|
151
|
-
}
|
|
152
|
-
const configValue = valueConfig[tileKey];
|
|
153
|
-
switch (tileKey) {
|
|
154
|
-
case 'key':
|
|
155
|
-
// Already handled above
|
|
156
|
-
return { enabled: false, text: 'Not set' };
|
|
157
|
-
case 'value':
|
|
158
|
-
if (configValue !== undefined) {
|
|
159
|
-
let displayText;
|
|
160
|
-
if (typeof configValue === 'string') {
|
|
161
|
-
displayText = configValue;
|
|
162
|
-
}
|
|
163
|
-
else if (typeof configValue === 'number') {
|
|
164
|
-
displayText = String(configValue);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof configValue === 'boolean') {
|
|
167
|
-
displayText = String(configValue);
|
|
168
|
-
}
|
|
169
|
-
else if (configValue === null) {
|
|
170
|
-
displayText = 'null';
|
|
171
|
-
}
|
|
172
|
-
else if (Array.isArray(configValue)) {
|
|
173
|
-
displayText = `[${configValue.length} items]`;
|
|
174
|
-
}
|
|
175
|
-
else if (typeof configValue === 'object') {
|
|
176
|
-
// Show only values, not keys
|
|
177
|
-
const values = Object.values(configValue);
|
|
178
|
-
displayText = values
|
|
179
|
-
.map((v) => (typeof v === 'string' ? v : JSON.stringify(v)))
|
|
180
|
-
.join(', ');
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
displayText = String(configValue);
|
|
184
|
-
}
|
|
185
|
-
// Truncate if too long
|
|
186
|
-
const preview = displayText.length > 40
|
|
187
|
-
? displayText.substring(0, 40) + '...'
|
|
188
|
-
: displayText;
|
|
189
|
-
return { enabled: true, text: preview };
|
|
190
|
-
}
|
|
191
|
-
return { enabled: false, text: 'Not set' };
|
|
192
|
-
case 'fn':
|
|
193
|
-
if (typeof configValue === 'string' && configValue) {
|
|
194
|
-
// Show preview of function (first 40 chars)
|
|
195
|
-
const preview = configValue.length > 40
|
|
196
|
-
? configValue.substring(0, 40) + '...'
|
|
197
|
-
: configValue;
|
|
198
|
-
return { enabled: true, text: preview };
|
|
199
|
-
}
|
|
200
|
-
return { enabled: false, text: 'Not set' };
|
|
201
|
-
case 'map':
|
|
202
|
-
if (!configValue)
|
|
203
|
-
return { enabled: false, text: 'Not set' };
|
|
204
|
-
const mapCount = Object.keys(configValue).length;
|
|
205
|
-
return mapCount > 0
|
|
206
|
-
? {
|
|
207
|
-
enabled: true,
|
|
208
|
-
text: `${mapCount} ${mapCount === 1 ? 'property' : 'properties'}`,
|
|
209
|
-
}
|
|
210
|
-
: { enabled: false, text: 'Not set' };
|
|
211
|
-
case 'loop':
|
|
212
|
-
if (Array.isArray(configValue) && configValue.length >= 1) {
|
|
213
|
-
// Show the source array path
|
|
214
|
-
const source = String(configValue[0] || 'nested');
|
|
215
|
-
return { enabled: true, text: `Source: ${source}` };
|
|
216
|
-
}
|
|
217
|
-
return { enabled: false, text: 'Not set' };
|
|
218
|
-
case 'set':
|
|
219
|
-
return Array.isArray(configValue) && configValue.length > 0
|
|
220
|
-
? {
|
|
221
|
-
enabled: true,
|
|
222
|
-
text: `${configValue.length} ${configValue.length === 1 ? 'value' : 'values'}`,
|
|
223
|
-
}
|
|
224
|
-
: { enabled: false, text: 'Not set' };
|
|
225
|
-
case 'consent':
|
|
226
|
-
if (!configValue)
|
|
227
|
-
return { enabled: false, text: 'Not set' };
|
|
228
|
-
const consentCount = Object.keys(configValue).length;
|
|
229
|
-
return consentCount > 0
|
|
230
|
-
? {
|
|
231
|
-
enabled: true,
|
|
232
|
-
text: `${consentCount} ${consentCount === 1 ? 'state' : 'states'}`,
|
|
233
|
-
}
|
|
234
|
-
: { enabled: false, text: 'Not set' };
|
|
235
|
-
case 'validate':
|
|
236
|
-
if (typeof configValue === 'string' && configValue) {
|
|
237
|
-
// Show preview of validation function (first 40 chars)
|
|
238
|
-
const preview = configValue.length > 40
|
|
239
|
-
? configValue.substring(0, 40) + '...'
|
|
240
|
-
: configValue;
|
|
241
|
-
return { enabled: true, text: preview };
|
|
242
|
-
}
|
|
243
|
-
return { enabled: false, text: 'Not set' };
|
|
244
|
-
default:
|
|
245
|
-
return { enabled: false, text: 'Not set' };
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
// Input is ALWAYS enabled
|
|
249
|
-
const inputPlaceholder = 'e.g., data.productId, user.email';
|
|
250
|
-
const inputTitle = 'Enter a property path to extract data from the event';
|
|
251
|
-
return (_jsxs(BaseMappingPane, { title: title, description: description, navigation: navigation, hideNavigation: hideNavigation, className: className, children: [_jsxs("div", { className: "elb-mapping-value-type-quick-section", children: [_jsx("div", { className: "elb-mapping-value-type-section-title", children: "Dynamic Value" }), _jsx(MappingInput, { value: displayValue, onChange: handleStringChange, placeholder: inputPlaceholder, title: inputTitle }), _jsx("div", { className: "elb-mapping-value-type-hint", children: isString ? (_jsx("span", { children: "Property path to extract data from the event" })) : (_jsx("span", { className: "is-info", children: "Editing property path - synced with Key tile" })) })] }), _jsxs("div", { className: "elb-mapping-value-type-advanced-section", children: [_jsx("div", { className: "elb-mapping-value-type-section-title", children: "Advanced Configuration" }), _jsx("div", { className: "elb-mapping-value-type-tiles-grid", children: VALUE_CONFIG_TILES.map((tile) => (_jsx(ConfigTile, { label: tile.label, description: tile.description, status: getTileStatus(tile.key), onClick: () => handleTileClick(tile.key) }, tile.key))) })] })] }));
|
|
252
|
-
}
|
|
253
|
-
//# sourceMappingURL=mapping-value-type-pane-view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-value-type-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-value-type-pane-view.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAyB,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAoBtD,MAAM,kBAAkB,GAA4B;IAClD;QACE,GAAG,EAAE,KAAK;QACV,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,eAAe;KAC7B;IACD;QACE,GAAG,EAAE,OAAO;QACZ,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,cAAc;KAC5B;IACD;QACE,GAAG,EAAE,IAAI;QACT,KAAK,EAAE,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,EAAC,mCAAmC,YAC/C,kBAAkB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAChC,KAAC,UAAU,IAET,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IAJnC,IAAI,CAAC,GAAG,CAKb,CACH,CAAC,GACE,IACF,IACU,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Options Pane - Edit root-level destination config options
|
|
5
|
-
*
|
|
6
|
-
* Handles config properties like:
|
|
7
|
-
* - id: Destination ID
|
|
8
|
-
* - loadScript: Whether to auto-load external scripts
|
|
9
|
-
* - queue: Enable event queuing
|
|
10
|
-
* - verbose: Enable verbose logging
|
|
11
|
-
*
|
|
12
|
-
* Uses RJSF for form generation with toggle switches and inputs.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* <OptionsPane
|
|
16
|
-
* path={['options']}
|
|
17
|
-
* mappingState={configState}
|
|
18
|
-
* navigation={navigation}
|
|
19
|
-
* />
|
|
20
|
-
*/
|
|
21
|
-
export interface OptionsPaneProps {
|
|
22
|
-
path: string[];
|
|
23
|
-
mappingState: UseMappingStateReturn;
|
|
24
|
-
navigation: UseMappingNavigationReturn;
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare function OptionsPane({ path, mappingState, navigation, className, }: OptionsPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
//# sourceMappingURL=options-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/options-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAKnF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,gBAAgB,2CAgGlB"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
3
|
-
import { MappingFormWrapper } from '../forms/mapping-form-wrapper';
|
|
4
|
-
export function OptionsPane({ path, mappingState, navigation, className = '', }) {
|
|
5
|
-
// Get root config (path is ['options'], but we need root values)
|
|
6
|
-
const rootConfig = mappingState.config;
|
|
7
|
-
const currentOptions = {
|
|
8
|
-
id: rootConfig.id,
|
|
9
|
-
loadScript: rootConfig.loadScript,
|
|
10
|
-
queue: rootConfig.queue,
|
|
11
|
-
verbose: rootConfig.verbose,
|
|
12
|
-
};
|
|
13
|
-
// Schema for options
|
|
14
|
-
const schema = {
|
|
15
|
-
type: 'object',
|
|
16
|
-
title: 'Options',
|
|
17
|
-
properties: {
|
|
18
|
-
id: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
title: 'Destination ID',
|
|
21
|
-
description: 'Unique identifier for this destination instance',
|
|
22
|
-
},
|
|
23
|
-
loadScript: {
|
|
24
|
-
type: 'boolean',
|
|
25
|
-
title: 'Load Script',
|
|
26
|
-
description: 'Automatically load required external scripts',
|
|
27
|
-
},
|
|
28
|
-
queue: {
|
|
29
|
-
type: 'boolean',
|
|
30
|
-
title: 'Enable Queue',
|
|
31
|
-
description: 'Queue events when destination is not ready',
|
|
32
|
-
},
|
|
33
|
-
verbose: {
|
|
34
|
-
type: 'boolean',
|
|
35
|
-
title: 'Verbose Logging',
|
|
36
|
-
description: 'Enable detailed console logging for debugging',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const uiSchema = {
|
|
41
|
-
id: {
|
|
42
|
-
'ui:placeholder': 'e.g., meta-pixel, ga4-analytics',
|
|
43
|
-
'ui:help': 'Optional identifier for logging and debugging',
|
|
44
|
-
},
|
|
45
|
-
loadScript: {
|
|
46
|
-
'ui:widget': 'MappingBooleanWidget',
|
|
47
|
-
'ui:help': 'When enabled, the destination will load its tracking script automatically',
|
|
48
|
-
},
|
|
49
|
-
queue: {
|
|
50
|
-
'ui:widget': 'MappingBooleanWidget',
|
|
51
|
-
'ui:help': 'Events will be queued until the destination is initialized',
|
|
52
|
-
},
|
|
53
|
-
verbose: {
|
|
54
|
-
'ui:widget': 'MappingBooleanWidget',
|
|
55
|
-
'ui:help': 'Shows detailed logs for event processing and API calls',
|
|
56
|
-
},
|
|
57
|
-
'ui:order': ['id', 'loadScript', 'queue', 'verbose'],
|
|
58
|
-
};
|
|
59
|
-
const handleChange = (newOptions) => {
|
|
60
|
-
if (newOptions && typeof newOptions === 'object') {
|
|
61
|
-
const options = newOptions;
|
|
62
|
-
// Update root-level properties
|
|
63
|
-
Object.entries(options).forEach(([key, value]) => {
|
|
64
|
-
if (value !== undefined) {
|
|
65
|
-
mappingState.actions.setValue([key], value);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
// Remove undefined values
|
|
69
|
-
mappingState.actions.deleteValue([key]);
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
return (_jsx(BaseMappingPane, { title: "Options", description: "Configure destination behavior and runtime options", navigation: navigation, className: className, children: _jsx(MappingFormWrapper, { schema: schema, uiSchema: uiSchema, formData: currentOptions, onChange: handleChange, formContext: {
|
|
75
|
-
navigation,
|
|
76
|
-
mappingState,
|
|
77
|
-
path,
|
|
78
|
-
} }) }));
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=options-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/options-pane.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AA4BnE,MAAM,UAAU,WAAW,CAAC,EAC1B,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAS,GAAG,EAAE,GACG;IACjB,iEAAiE;IACjE,MAAM,UAAU,GAAG,YAAY,CAAC,MAAiC,CAAC;IAElE,MAAM,cAAc,GAAG;QACrB,EAAE,EAAE,UAAU,CAAC,EAAE;QACjB,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,KAAK,EAAE,UAAU,CAAC,KAAK;QACvB,OAAO,EAAE,UAAU,CAAC,OAAO;KAC5B,CAAC;IAEF,qBAAqB;IACrB,MAAM,MAAM,GAAe;QACzB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,iDAAiD;aAC/D;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,aAAa;gBACpB,WAAW,EAAE,8CAA8C;aAC5D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,4CAA4C;aAC1D;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,K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,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,cAAc,EACxB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE;gBACX,UAAU;gBACV,YAAY;gBACZ,IAAI;aACL,GACD,GACc,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { RJSFSchema } from '@rjsf/utils';
|
|
2
|
-
import type { NodeType } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Property Suggestions Component
|
|
5
|
-
*
|
|
6
|
-
* Shows configured properties first (as tiles with values), then available suggestions in a grid.
|
|
7
|
-
* Uses schema to determine the correct NodeType for each property.
|
|
8
|
-
*/
|
|
9
|
-
export interface PropertySuggestionsProps {
|
|
10
|
-
schema?: RJSFSchema;
|
|
11
|
-
existingKeys?: string[];
|
|
12
|
-
currentValue?: Record<string, unknown>;
|
|
13
|
-
onSelect: (propertyName: string, nodeType: NodeType) => void;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function PropertySuggestions({ schema, existingKeys, currentValue, onSelect, className, }: PropertySuggestionsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
-
//# sourceMappingURL=property-suggestions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"property-suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/property-suggestions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAmCD,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,YAAiB,EACjB,YAAiB,EACjB,QAAQ,EACR,SAAc,GACf,EAAE,wBAAwB,kDA2E1B"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { RuleTile } from '../atoms/config-tile';
|
|
3
|
-
import { detectNodeTypeFromSchema } from '../../utils/type-detector';
|
|
4
|
-
function getPropertyStatus(value, title) {
|
|
5
|
-
if (value === undefined || value === null || value === '') {
|
|
6
|
-
return { enabled: false, text: 'Not set' };
|
|
7
|
-
}
|
|
8
|
-
// Simple value display
|
|
9
|
-
if (typeof value === 'string') {
|
|
10
|
-
return { enabled: true, text: value };
|
|
11
|
-
}
|
|
12
|
-
if (typeof value === 'number') {
|
|
13
|
-
return { enabled: true, text: String(value) };
|
|
14
|
-
}
|
|
15
|
-
if (typeof value === 'boolean') {
|
|
16
|
-
return { enabled: true, text: value ? 'true' : 'false' };
|
|
17
|
-
}
|
|
18
|
-
if (Array.isArray(value)) {
|
|
19
|
-
return { enabled: true, text: `${value.length} items` };
|
|
20
|
-
}
|
|
21
|
-
if (typeof value === 'object') {
|
|
22
|
-
const keys = Object.keys(value);
|
|
23
|
-
return { enabled: true, text: `${keys.length} properties` };
|
|
24
|
-
}
|
|
25
|
-
return { enabled: true, text: 'Configured' };
|
|
26
|
-
}
|
|
27
|
-
export function PropertySuggestions({ schema, existingKeys = [], currentValue = {}, onSelect, className = '', }) {
|
|
28
|
-
if (!schema || !schema.properties) {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
// Separate configured and available properties
|
|
32
|
-
const configuredProperties = [];
|
|
33
|
-
const availableProperties = [];
|
|
34
|
-
Object.entries(schema.properties).forEach(([name, propSchema]) => {
|
|
35
|
-
const propSchemaObj = propSchema;
|
|
36
|
-
// Detect the correct NodeType from the property's schema
|
|
37
|
-
const nodeType = detectNodeTypeFromSchema(propSchemaObj);
|
|
38
|
-
const propertyInfo = {
|
|
39
|
-
name,
|
|
40
|
-
title: propSchemaObj.title || name,
|
|
41
|
-
description: propSchemaObj.description,
|
|
42
|
-
nodeType,
|
|
43
|
-
};
|
|
44
|
-
if (existingKeys.includes(name)) {
|
|
45
|
-
configuredProperties.push(propertyInfo);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
availableProperties.push(propertyInfo);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
// Sort both lists alphabetically
|
|
52
|
-
configuredProperties.sort((a, b) => a.title.localeCompare(b.title));
|
|
53
|
-
availableProperties.sort((a, b) => a.title.localeCompare(b.title));
|
|
54
|
-
return (_jsxs("div", { className: `elb-property-suggestions ${className}`, children: [configuredProperties.length > 0 && (_jsx("div", { className: "elb-property-suggestions-section", children: _jsx("div", { className: "elb-property-suggestions-grid", children: configuredProperties.map((prop) => (_jsx(RuleTile, { label: prop.title, description: prop.description || '', status: getPropertyStatus(currentValue[prop.name], prop.title), onClick: () => onSelect(prop.name, prop.nodeType) }, prop.name))) }) })), availableProperties.length > 0 && (_jsxs("div", { className: "elb-property-suggestions-section", children: [configuredProperties.length > 0 && (_jsx("div", { className: "elb-property-suggestions-divider", children: _jsx("span", { children: "Available Properties" }) })), _jsx("div", { className: "elb-property-suggestions-grid", children: availableProperties.map((prop) => (_jsx(RuleTile, { label: prop.title, description: prop.description || '', status: { enabled: false, text: 'Not set' }, onClick: () => onSelect(prop.name, prop.nodeType) }, prop.name))) })] }))] }));
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=property-suggestions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"property-suggestions.js","sourceRoot":"","sources":["../../../src/components/molecules/property-suggestions.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QA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E,IACF,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
import type { RJSFSchema } from '@rjsf/utils';
|
|
4
|
-
/**
|
|
5
|
-
* Settings Overview Pane - Shows config-level settings as tiles
|
|
6
|
-
*
|
|
7
|
-
* Similar to RuleOverview but for config.settings instead of mapping rules.
|
|
8
|
-
* Shows destination-specific settings like pixelId, measurementId, etc.
|
|
9
|
-
*
|
|
10
|
-
* Features:
|
|
11
|
-
* - Displays configured settings as tiles with values
|
|
12
|
-
* - Shows available settings from schema (if provided)
|
|
13
|
-
* - Click tile to navigate to detailed editor
|
|
14
|
-
* - Schema-driven type detection for correct editor pane
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* <SettingsOverviewPane
|
|
18
|
-
* path={['settings']}
|
|
19
|
-
* mappingState={configState}
|
|
20
|
-
* navigation={navigation}
|
|
21
|
-
* schema={settingsSchema}
|
|
22
|
-
* />
|
|
23
|
-
*/
|
|
24
|
-
export interface SettingsOverviewPaneProps {
|
|
25
|
-
path: string[];
|
|
26
|
-
mappingState: UseMappingStateReturn;
|
|
27
|
-
navigation: UseMappingNavigationReturn;
|
|
28
|
-
schema?: RJSFSchema;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function SettingsOverviewPane({ path, mappingState, navigation, schema, className, }: SettingsOverviewPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
//# sourceMappingURL=settings-overview-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-overview-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/settings-overview-pane.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAK9C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA4BD,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,MAAM,EACN,SAAc,GACf,EAAE,yBAAyB,2CA2H3B"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { RuleTile } from '../atoms/config-tile';
|
|
3
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
4
|
-
function getSettingStatus(value) {
|
|
5
|
-
if (value === undefined || value === null) {
|
|
6
|
-
return { enabled: false, text: 'Not set' };
|
|
7
|
-
}
|
|
8
|
-
// Display value preview
|
|
9
|
-
if (typeof value === 'string') {
|
|
10
|
-
return { enabled: true, text: value };
|
|
11
|
-
}
|
|
12
|
-
if (typeof value === 'number') {
|
|
13
|
-
return { enabled: true, text: String(value) };
|
|
14
|
-
}
|
|
15
|
-
if (typeof value === 'boolean') {
|
|
16
|
-
return { enabled: true, text: value ? 'Enabled' : 'Disabled' };
|
|
17
|
-
}
|
|
18
|
-
if (Array.isArray(value)) {
|
|
19
|
-
return { enabled: true, text: `${value.length} items` };
|
|
20
|
-
}
|
|
21
|
-
if (typeof value === 'object') {
|
|
22
|
-
const keys = Object.keys(value);
|
|
23
|
-
return { enabled: true, text: `${keys.length} properties` };
|
|
24
|
-
}
|
|
25
|
-
return { enabled: true, text: 'Configured' };
|
|
26
|
-
}
|
|
27
|
-
export function SettingsOverviewPane({ path, mappingState, navigation, schema, className = '', }) {
|
|
28
|
-
const settings = mappingState.actions.getValue(path);
|
|
29
|
-
// Gather all setting keys (from value + schema)
|
|
30
|
-
const configuredKeys = settings ? Object.keys(settings) : [];
|
|
31
|
-
const schemaKeys = schema?.properties ? Object.keys(schema.properties) : [];
|
|
32
|
-
const allKeys = Array.from(new Set([...configuredKeys, ...schemaKeys])).sort();
|
|
33
|
-
// Separate configured vs available
|
|
34
|
-
const configuredSettings = [];
|
|
35
|
-
const availableSettings = [];
|
|
36
|
-
allKeys.forEach((key) => {
|
|
37
|
-
const propSchema = schema?.properties?.[key];
|
|
38
|
-
const title = propSchema?.title || key.charAt(0).toUpperCase() + key.slice(1);
|
|
39
|
-
const description = propSchema?.description;
|
|
40
|
-
let nodeType = 'valueConfig';
|
|
41
|
-
if (propSchema) {
|
|
42
|
-
if (propSchema.enum && Array.isArray(propSchema.enum) && propSchema.enum.length > 0) {
|
|
43
|
-
nodeType = 'enum';
|
|
44
|
-
}
|
|
45
|
-
else if (propSchema.type === 'boolean') {
|
|
46
|
-
nodeType = 'boolean';
|
|
47
|
-
}
|
|
48
|
-
else if (propSchema.type === 'object') {
|
|
49
|
-
nodeType = 'map';
|
|
50
|
-
}
|
|
51
|
-
else if (propSchema.type === 'array') {
|
|
52
|
-
nodeType = propSchema.minItems === 2 && propSchema.maxItems === 2 ? 'loop' : 'set';
|
|
53
|
-
}
|
|
54
|
-
else if (propSchema.type === 'string' || propSchema.type === 'number') {
|
|
55
|
-
nodeType = 'primitive';
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
const currentValue = mappingState.actions.getValue([...path, key]);
|
|
59
|
-
const hasValue = currentValue !== undefined;
|
|
60
|
-
if (hasValue) {
|
|
61
|
-
configuredSettings.push({
|
|
62
|
-
key,
|
|
63
|
-
title,
|
|
64
|
-
description,
|
|
65
|
-
nodeType,
|
|
66
|
-
value: currentValue,
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
availableSettings.push({
|
|
71
|
-
key,
|
|
72
|
-
title,
|
|
73
|
-
description,
|
|
74
|
-
nodeType,
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
const handleSettingClick = (key, nodeType) => {
|
|
79
|
-
navigation.openTab([...path, key], nodeType);
|
|
80
|
-
};
|
|
81
|
-
return (_jsxs(BaseMappingPane, { title: "Settings", description: configuredSettings.length === 0
|
|
82
|
-
? 'No settings configured. Click a tile to add settings.'
|
|
83
|
-
: `${configuredSettings.length} ${configuredSettings.length === 1 ? 'setting' : 'settings'} configured`, navigation: navigation, className: className, children: [_jsx("div", { className: "elb-mapping-rule-section-grid", children: configuredSettings.map((setting) => (_jsx(RuleTile, { label: setting.title, description: setting.description || '', status: getSettingStatus(setting.value), onClick: () => handleSettingClick(setting.key, setting.nodeType) }, setting.key))) }), availableSettings.length > 0 && (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: "Available Settings" }), _jsx("p", { className: "elb-mapping-rule-section-description", children: "Click to configure additional destination settings" }), _jsx("div", { className: "elb-mapping-rule-section-grid", children: availableSettings.map((setting) => (_jsx(RuleTile, { label: setting.title, description: setting.description || '', status: { enabled: false, text: 'Not set' }, onClick: () => handleSettingClick(setting.key, setting.nodeType) }, setting.key))) })] }))] }));
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=settings-overview-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-overview-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/settings-overview-pane.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,QAAQ,EAAuB,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AA+B7D,SAAS,gBAAgB,CAAC,KAAc;IACtC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;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|
-
export interface SplitButtonAction {
|
|
3
|
-
key: string;
|
|
4
|
-
label: string;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface SplitButtonProps {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
actions?: SplitButtonAction[];
|
|
12
|
-
variant?: 'primary' | 'default' | 'danger';
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
loadingText?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* SplitButton - Primary button with dropdown actions
|
|
20
|
-
*
|
|
21
|
-
* Generic molecule: primary button + dropdown arrow.
|
|
22
|
-
* Click-outside and Escape to close.
|
|
23
|
-
*/
|
|
24
|
-
export declare function SplitButton({ children, onClick, actions, variant, loading, loadingText, disabled, className, }: SplitButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
//# sourceMappingURL=split-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/split-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,OAAO,EACP,OAAY,EACZ,OAAmB,EACnB,OAAe,EACf,WAAW,EACX,QAAgB,EAChB,SAAc,GACf,EAAE,gBAAgB,2CAyFlB"}
|