@walkeros/explorer 2.1.3 → 2.1.5
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/index.d.cts +3 -668
- package/dist/index.d.ts +1336 -99
- package/dist/index.js +1 -76
- 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/package.json +9 -26
- package/AGENT.md +0 -429
- package/LICENSE +0 -42
- package/STYLE.md +0 -1103
- package/dist/__mocks__/@monaco-editor/react.d.ts +0 -3
- package/dist/__mocks__/@monaco-editor/react.d.ts.map +0 -1
- package/dist/__mocks__/@monaco-editor/react.js +0 -4
- package/dist/__mocks__/@monaco-editor/react.js.map +0 -1
- package/dist/chunk-52ELVFJE.mjs +0 -573
- package/dist/chunk-52ELVFJE.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/box.d.ts +0 -27
- package/dist/components/atoms/box.d.ts.map +0 -1
- package/dist/components/atoms/box.js +0 -86
- package/dist/components/atoms/box.js.map +0 -1
- package/dist/components/atoms/box.stories.d.ts +0 -34
- package/dist/components/atoms/box.stories.d.ts.map +0 -1
- package/dist/components/atoms/box.stories.js +0 -104
- package/dist/components/atoms/box.stories.js.map +0 -1
- package/dist/components/atoms/button-group.d.ts +0 -17
- package/dist/components/atoms/button-group.d.ts.map +0 -1
- package/dist/components/atoms/button-group.js +0 -12
- package/dist/components/atoms/button-group.js.map +0 -1
- package/dist/components/atoms/button-group.stories.d.ts +0 -18
- package/dist/components/atoms/button-group.stories.d.ts.map +0 -1
- package/dist/components/atoms/button-group.stories.js +0 -35
- package/dist/components/atoms/button-group.stories.js.map +0 -1
- package/dist/components/atoms/button-link.d.ts +0 -12
- package/dist/components/atoms/button-link.d.ts.map +0 -1
- package/dist/components/atoms/button-link.js +0 -10
- package/dist/components/atoms/button-link.js.map +0 -1
- package/dist/components/atoms/button-link.stories.d.ts +0 -11
- package/dist/components/atoms/button-link.stories.d.ts.map +0 -1
- package/dist/components/atoms/button-link.stories.js +0 -50
- package/dist/components/atoms/button-link.stories.js.map +0 -1
- package/dist/components/atoms/button.d.ts +0 -15
- package/dist/components/atoms/button.d.ts.map +0 -1
- package/dist/components/atoms/button.js +0 -11
- package/dist/components/atoms/button.js.map +0 -1
- package/dist/components/atoms/button.stories.d.ts +0 -14
- package/dist/components/atoms/button.stories.d.ts.map +0 -1
- package/dist/components/atoms/button.stories.js +0 -25
- package/dist/components/atoms/button.stories.js.map +0 -1
- package/dist/components/atoms/code.d.ts +0 -92
- package/dist/components/atoms/code.d.ts.map +0 -1
- package/dist/components/atoms/code.js +0 -405
- package/dist/components/atoms/code.js.map +0 -1
- package/dist/components/atoms/code.stories.d.ts +0 -46
- package/dist/components/atoms/code.stories.d.ts.map +0 -1
- package/dist/components/atoms/code.stories.js +0 -156
- package/dist/components/atoms/code.stories.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/footer.d.ts +0 -21
- package/dist/components/atoms/footer.d.ts.map +0 -1
- package/dist/components/atoms/footer.js +0 -19
- package/dist/components/atoms/footer.js.map +0 -1
- package/dist/components/atoms/footer.stories.d.ts +0 -14
- package/dist/components/atoms/footer.stories.d.ts.map +0 -1
- package/dist/components/atoms/footer.stories.js +0 -29
- package/dist/components/atoms/footer.stories.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/grid.d.ts +0 -65
- package/dist/components/atoms/grid.d.ts.map +0 -1
- package/dist/components/atoms/grid.js +0 -169
- package/dist/components/atoms/grid.js.map +0 -1
- package/dist/components/atoms/grid.stories.d.ts +0 -18
- package/dist/components/atoms/grid.stories.d.ts.map +0 -1
- package/dist/components/atoms/grid.stories.js +0 -60
- package/dist/components/atoms/grid.stories.js.map +0 -1
- package/dist/components/atoms/header.d.ts +0 -7
- package/dist/components/atoms/header.d.ts.map +0 -1
- package/dist/components/atoms/header.js +0 -5
- package/dist/components/atoms/header.js.map +0 -1
- package/dist/components/atoms/header.stories.d.ts +0 -15
- package/dist/components/atoms/header.stories.d.ts.map +0 -1
- package/dist/components/atoms/header.stories.js +0 -37
- package/dist/components/atoms/header.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/icons/icon.stories.d.ts +0 -18
- package/dist/components/atoms/icons/icon.stories.d.ts.map +0 -1
- package/dist/components/atoms/icons/icon.stories.js +0 -37
- package/dist/components/atoms/icons/icon.stories.js.map +0 -1
- package/dist/components/atoms/icons/icons.d.ts +0 -2
- package/dist/components/atoms/icons/icons.d.ts.map +0 -1
- package/dist/components/atoms/icons/icons.js +0 -7
- package/dist/components/atoms/icons/icons.js.map +0 -1
- package/dist/components/atoms/icons/index.d.ts +0 -3
- package/dist/components/atoms/icons/index.d.ts.map +0 -1
- package/dist/components/atoms/icons/index.js +0 -3
- package/dist/components/atoms/icons/index.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/mdx-code.d.ts +0 -33
- package/dist/components/atoms/mdx-code.d.ts.map +0 -1
- package/dist/components/atoms/mdx-code.js +0 -69
- package/dist/components/atoms/mdx-code.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/preview-footer.d.ts +0 -32
- package/dist/components/atoms/preview-footer.d.ts.map +0 -1
- package/dist/components/atoms/preview-footer.js +0 -31
- package/dist/components/atoms/preview-footer.js.map +0 -1
- package/dist/components/atoms/spinner.d.ts +0 -17
- package/dist/components/atoms/spinner.d.ts.map +0 -1
- package/dist/components/atoms/spinner.js +0 -14
- package/dist/components/atoms/spinner.js.map +0 -1
- package/dist/components/atoms/spinner.stories.d.ts +0 -7
- package/dist/components/atoms/spinner.stories.d.ts.map +0 -1
- package/dist/components/atoms/spinner.stories.js +0 -9
- package/dist/components/atoms/spinner.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/atoms/toggle.d.ts +0 -9
- package/dist/components/atoms/toggle.d.ts.map +0 -1
- package/dist/components/atoms/toggle.js +0 -6
- package/dist/components/atoms/toggle.js.map +0 -1
- package/dist/components/demos/DestinationDemo.d.ts +0 -48
- package/dist/components/demos/DestinationDemo.d.ts.map +0 -1
- package/dist/components/demos/DestinationDemo.js +0 -105
- package/dist/components/demos/DestinationDemo.js.map +0 -1
- package/dist/components/demos/DestinationDemo.stories.d.ts +0 -17
- package/dist/components/demos/DestinationDemo.stories.d.ts.map +0 -1
- package/dist/components/demos/DestinationDemo.stories.js +0 -53
- package/dist/components/demos/DestinationDemo.stories.js.map +0 -1
- package/dist/components/demos/DestinationInitDemo.d.ts +0 -34
- package/dist/components/demos/DestinationInitDemo.d.ts.map +0 -1
- package/dist/components/demos/DestinationInitDemo.js +0 -73
- package/dist/components/demos/DestinationInitDemo.js.map +0 -1
- package/dist/components/demos/DestinationInitDemo.stories.d.ts +0 -17
- package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +0 -1
- package/dist/components/demos/DestinationInitDemo.stories.js +0 -39
- package/dist/components/demos/DestinationInitDemo.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/demos/PromotionPlayground.d.ts +0 -30
- package/dist/components/demos/PromotionPlayground.d.ts.map +0 -1
- package/dist/components/demos/PromotionPlayground.js +0 -366
- package/dist/components/demos/PromotionPlayground.js.map +0 -1
- package/dist/components/demos/PromotionPlayground.stories.d.ts +0 -27
- package/dist/components/demos/PromotionPlayground.stories.d.ts.map +0 -1
- package/dist/components/demos/PromotionPlayground.stories.js +0 -32
- package/dist/components/demos/PromotionPlayground.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/architecture-flow/ArchitectureFlow.d.ts +0 -24
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +0 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +0 -10
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +0 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +0 -7
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +0 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +0 -71
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +0 -1
- package/dist/components/molecules/architecture-flow/index.d.ts +0 -3
- package/dist/components/molecules/architecture-flow/index.d.ts.map +0 -1
- package/dist/components/molecules/architecture-flow/index.js +0 -2
- package/dist/components/molecules/architecture-flow/index.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/code-box.d.ts +0 -75
- package/dist/components/molecules/code-box.d.ts.map +0 -1
- package/dist/components/molecules/code-box.js +0 -174
- package/dist/components/molecules/code-box.js.map +0 -1
- package/dist/components/molecules/code-box.stories.d.ts +0 -87
- package/dist/components/molecules/code-box.stories.d.ts.map +0 -1
- package/dist/components/molecules/code-box.stories.js +0 -300
- package/dist/components/molecules/code-box.stories.js.map +0 -1
- package/dist/components/molecules/code-snippet.d.ts +0 -58
- package/dist/components/molecules/code-snippet.d.ts.map +0 -1
- package/dist/components/molecules/code-snippet.js +0 -72
- package/dist/components/molecules/code-snippet.js.map +0 -1
- package/dist/components/molecules/code-snippet.stories.d.ts +0 -23
- package/dist/components/molecules/code-snippet.stories.d.ts.map +0 -1
- package/dist/components/molecules/code-snippet.stories.js +0 -87
- package/dist/components/molecules/code-snippet.stories.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/dropdown.d.ts +0 -68
- package/dist/components/molecules/dropdown.d.ts.map +0 -1
- package/dist/components/molecules/dropdown.js +0 -47
- package/dist/components/molecules/dropdown.js.map +0 -1
- package/dist/components/molecules/dropdown.stories.d.ts +0 -7
- package/dist/components/molecules/dropdown.stories.d.ts.map +0 -1
- package/dist/components/molecules/dropdown.stories.js +0 -18
- package/dist/components/molecules/dropdown.stories.js.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.d.ts +0 -74
- package/dist/components/molecules/flow-map/FlowMap.d.ts.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.js +0 -1039
- package/dist/components/molecules/flow-map/FlowMap.js.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +0 -47
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.stories.js +0 -355
- package/dist/components/molecules/flow-map/FlowMap.stories.js.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +0 -29
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +0 -1
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +0 -117
- package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +0 -1
- package/dist/components/molecules/flow-map/index.d.ts +0 -3
- package/dist/components/molecules/flow-map/index.d.ts.map +0 -1
- package/dist/components/molecules/flow-map/index.js +0 -2
- package/dist/components/molecules/flow-map/index.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/preview.d.ts +0 -23
- package/dist/components/molecules/preview.d.ts.map +0 -1
- package/dist/components/molecules/preview.js +0 -232
- package/dist/components/molecules/preview.js.map +0 -1
- package/dist/components/molecules/preview.stories.d.ts +0 -23
- package/dist/components/molecules/preview.stories.d.ts.map +0 -1
- package/dist/components/molecules/preview.stories.js +0 -186
- package/dist/components/molecules/preview.stories.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/property-table.d.ts +0 -7
- package/dist/components/molecules/property-table.d.ts.map +0 -1
- package/dist/components/molecules/property-table.js +0 -88
- package/dist/components/molecules/property-table.js.map +0 -1
- package/dist/components/molecules/property-table.stories.d.ts +0 -24
- package/dist/components/molecules/property-table.stories.d.ts.map +0 -1
- package/dist/components/molecules/property-table.stories.js +0 -86
- package/dist/components/molecules/property-table.stories.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/browser-box.d.ts +0 -31
- package/dist/components/organisms/browser-box.d.ts.map +0 -1
- package/dist/components/organisms/browser-box.js +0 -80
- package/dist/components/organisms/browser-box.js.map +0 -1
- package/dist/components/organisms/browser-box.stories.d.ts +0 -26
- package/dist/components/organisms/browser-box.stories.d.ts.map +0 -1
- package/dist/components/organisms/browser-box.stories.js +0 -102
- package/dist/components/organisms/browser-box.stories.js.map +0 -1
- package/dist/components/organisms/collector-box.d.ts +0 -24
- package/dist/components/organisms/collector-box.d.ts.map +0 -1
- package/dist/components/organisms/collector-box.js +0 -56
- package/dist/components/organisms/collector-box.js.map +0 -1
- package/dist/components/organisms/collector-box.stories.d.ts +0 -22
- package/dist/components/organisms/collector-box.stories.d.ts.map +0 -1
- package/dist/components/organisms/collector-box.stories.js +0 -59
- package/dist/components/organisms/collector-box.stories.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/organisms/live-code.d.ts +0 -22
- package/dist/components/organisms/live-code.d.ts.map +0 -1
- package/dist/components/organisms/live-code.js +0 -50
- package/dist/components/organisms/live-code.js.map +0 -1
- package/dist/components/organisms/live-code.stories.d.ts +0 -24
- package/dist/components/organisms/live-code.stories.d.ts.map +0 -1
- package/dist/components/organisms/live-code.stories.js +0 -55
- package/dist/components/organisms/live-code.stories.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -4
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -6
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/icon.d.ts +0 -5
- package/dist/components/ui/icon.d.ts.map +0 -1
- package/dist/components/ui/icon.js +0 -5
- package/dist/components/ui/icon.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/contexts/GridHeightContext.d.ts +0 -11
- package/dist/contexts/GridHeightContext.d.ts.map +0 -1
- package/dist/contexts/GridHeightContext.js +0 -14
- package/dist/contexts/GridHeightContext.js.map +0 -1
- package/dist/helpers/capture.d.ts +0 -83
- package/dist/helpers/capture.d.ts.map +0 -1
- package/dist/helpers/capture.js +0 -125
- package/dist/helpers/capture.js.map +0 -1
- package/dist/helpers/destinations.d.ts +0 -21
- package/dist/helpers/destinations.d.ts.map +0 -1
- package/dist/helpers/destinations.js +0 -46
- package/dist/helpers/destinations.js.map +0 -1
- package/dist/hooks/useDropdown.d.ts +0 -34
- package/dist/hooks/useDropdown.d.ts.map +0 -1
- package/dist/hooks/useDropdown.js +0 -66
- package/dist/hooks/useDropdown.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/hooks/useMonacoHeight.d.ts +0 -31
- package/dist/hooks/useMonacoHeight.d.ts.map +0 -1
- package/dist/hooks/useMonacoHeight.js +0 -83
- package/dist/hooks/useMonacoHeight.js.map +0 -1
- package/dist/hooks/useTreeState.d.ts +0 -32
- package/dist/hooks/useTreeState.d.ts.map +0 -1
- package/dist/hooks/useTreeState.js +0 -94
- package/dist/hooks/useTreeState.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -7
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -10
- package/dist/lib/utils.js.map +0 -1
- package/dist/monaco-types-ZGWM2633.mjs +0 -34
- package/dist/monaco-types-ZGWM2633.mjs.map +0 -1
- package/dist/providers/MDXProvider.d.ts +0 -40
- package/dist/providers/MDXProvider.d.ts.map +0 -1
- package/dist/providers/MDXProvider.js +0 -57
- package/dist/providers/MDXProvider.js.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/themes/index.d.ts +0 -23
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/index.js +0 -29
- package/dist/themes/index.js.map +0 -1
- package/dist/themes/lighthouse.d.ts +0 -26
- package/dist/themes/lighthouse.d.ts.map +0 -1
- package/dist/themes/lighthouse.js +0 -230
- package/dist/themes/lighthouse.js.map +0 -1
- package/dist/themes/palenight.d.ts +0 -31
- package/dist/themes/palenight.d.ts.map +0 -1
- package/dist/themes/palenight.js +0 -236
- package/dist/themes/palenight.js.map +0 -1
- package/dist/themes/types.d.ts +0 -103
- package/dist/themes/types.d.ts.map +0 -1
- package/dist/themes/types.js +0 -8
- package/dist/themes/types.js.map +0 -1
- package/dist/types/intellisense.d.ts +0 -31
- package/dist/types/intellisense.d.ts.map +0 -1
- package/dist/types/intellisense.js +0 -2
- package/dist/types/intellisense.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/code-normalizer.d.ts +0 -11
- package/dist/utils/code-normalizer.d.ts.map +0 -1
- package/dist/utils/code-normalizer.js +0 -21
- package/dist/utils/code-normalizer.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/format-code.d.ts +0 -9
- package/dist/utils/format-code.d.ts.map +0 -1
- package/dist/utils/format-code.js +0 -77
- package/dist/utils/format-code.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-context-types.d.ts +0 -39
- package/dist/utils/monaco-context-types.d.ts.map +0 -1
- package/dist/utils/monaco-context-types.js +0 -426
- package/dist/utils/monaco-context-types.js.map +0 -1
- package/dist/utils/monaco-decorators.d.ts +0 -17
- package/dist/utils/monaco-decorators.d.ts.map +0 -1
- package/dist/utils/monaco-decorators.js +0 -81
- package/dist/utils/monaco-decorators.js.map +0 -1
- package/dist/utils/monaco-formatters.d.ts +0 -16
- package/dist/utils/monaco-formatters.d.ts.map +0 -1
- package/dist/utils/monaco-formatters.js +0 -139
- package/dist/utils/monaco-formatters.js.map +0 -1
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts +0 -13
- package/dist/utils/monaco-intellisense-flow-extractor.d.ts.map +0 -1
- package/dist/utils/monaco-intellisense-flow-extractor.js +0 -161
- package/dist/utils/monaco-intellisense-flow-extractor.js.map +0 -1
- package/dist/utils/monaco-json-schema.d.ts +0 -45
- package/dist/utils/monaco-json-schema.d.ts.map +0 -1
- package/dist/utils/monaco-json-schema.js +0 -90
- package/dist/utils/monaco-json-schema.js.map +0 -1
- package/dist/utils/monaco-schema-contract.d.ts +0 -8
- package/dist/utils/monaco-schema-contract.d.ts.map +0 -1
- package/dist/utils/monaco-schema-contract.js +0 -73
- package/dist/utils/monaco-schema-contract.js.map +0 -1
- package/dist/utils/monaco-schema-enrichment.d.ts +0 -26
- package/dist/utils/monaco-schema-enrichment.d.ts.map +0 -1
- package/dist/utils/monaco-schema-enrichment.js +0 -31
- package/dist/utils/monaco-schema-enrichment.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 +0 -201
- package/dist/utils/monaco-schema-flow-setup.js.map +0 -1
- package/dist/utils/monaco-schema-variables.d.ts +0 -4
- package/dist/utils/monaco-schema-variables.d.ts.map +0 -1
- package/dist/utils/monaco-schema-variables.js +0 -26
- package/dist/utils/monaco-schema-variables.js.map +0 -1
- package/dist/utils/monaco-types.d.ts +0 -174
- package/dist/utils/monaco-types.d.ts.map +0 -1
- package/dist/utils/monaco-types.js +0 -378
- package/dist/utils/monaco-types.js.map +0 -1
- package/dist/utils/monaco-walkeros-completions.d.ts +0 -15
- package/dist/utils/monaco-walkeros-completions.d.ts.map +0 -1
- package/dist/utils/monaco-walkeros-completions.js +0 -65
- package/dist/utils/monaco-walkeros-completions.js.map +0 -1
- package/dist/utils/monaco-walkeros-decorations.d.ts +0 -29
- package/dist/utils/monaco-walkeros-decorations.d.ts.map +0 -1
- package/dist/utils/monaco-walkeros-decorations.js +0 -87
- package/dist/utils/monaco-walkeros-decorations.js.map +0 -1
- package/dist/utils/monaco-walkeros-markers.d.ts +0 -13
- package/dist/utils/monaco-walkeros-markers.d.ts.map +0 -1
- package/dist/utils/monaco-walkeros-markers.js +0 -69
- package/dist/utils/monaco-walkeros-markers.js.map +0 -1
- package/dist/utils/monaco-walkeros-providers.d.ts +0 -19
- package/dist/utils/monaco-walkeros-providers.d.ts.map +0 -1
- package/dist/utils/monaco-walkeros-providers.js +0 -229
- package/dist/utils/monaco-walkeros-providers.js.map +0 -1
- package/dist/utils/path-analyzer.d.ts +0 -88
- package/dist/utils/path-analyzer.d.ts.map +0 -1
- package/dist/utils/path-analyzer.js +0 -215
- package/dist/utils/path-analyzer.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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-form-card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/config-form-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ConfigFormCard } from './config-form-card';
|
|
2
|
-
const meta = {
|
|
3
|
-
title: 'Molecules/ConfigFormCard',
|
|
4
|
-
component: ConfigFormCard,
|
|
5
|
-
tags: ['autodocs'],
|
|
6
|
-
};
|
|
7
|
-
export default meta;
|
|
8
|
-
export const Default = {
|
|
9
|
-
args: {
|
|
10
|
-
config: '{\n "key": "value"\n}',
|
|
11
|
-
onConfigChange: () => { },
|
|
12
|
-
onSubmit: (e) => e.preventDefault(),
|
|
13
|
-
loading: false,
|
|
14
|
-
error: null,
|
|
15
|
-
title: 'Bundle Configuration',
|
|
16
|
-
label: 'Flow Configuration (JSON)',
|
|
17
|
-
submitText: 'Bundle',
|
|
18
|
-
loadingText: 'Bundling...',
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=config-form-card.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-form-card.stories.js","sourceRoot":"","sources":["../../../src/components/molecules/config-form-card.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,IAAI,GAAgC;IACxC,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC;AACF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,MAAM,EAAE,wBAAwB;QAChC,cAAc,EAAE,GAAG,EAAE,GAAE,CAAC;QACxB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,EAAE;QACnC,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,IAAI;QACX,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,2BAA2B;QAClC,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,aAAa;KAC3B;CACF,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
2
|
-
import type { ConfigStructureDef } from '../../schemas/config-structures/types';
|
|
3
|
-
import type { RJSFSchema } from '@rjsf/utils';
|
|
4
|
-
/**
|
|
5
|
-
* Generic Config Overview Pane
|
|
6
|
-
*
|
|
7
|
-
* Shows all available properties from a structure definition as tiles.
|
|
8
|
-
* Works at any depth with any config type (DestinationConfig, Rule, etc.).
|
|
9
|
-
*
|
|
10
|
-
* Features:
|
|
11
|
-
* - Shows configured properties (with values)
|
|
12
|
-
* - Shows available properties (not yet set)
|
|
13
|
-
* - Uses structure definition for metadata (titles, descriptions)
|
|
14
|
-
* - Generic - works with any ConfigStructureDef
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* // Full DestinationConfig
|
|
18
|
-
* <ConfigOverviewPane
|
|
19
|
-
* config={destinationConfig}
|
|
20
|
-
* structure={DESTINATION_CONFIG_STRUCTURE}
|
|
21
|
-
* navigation={navigation}
|
|
22
|
-
* />
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* // Single Rule
|
|
26
|
-
* <ConfigOverviewPane
|
|
27
|
-
* config={ruleConfig}
|
|
28
|
-
* structure={MAPPING_RULE_STRUCTURE}
|
|
29
|
-
* navigation={navigation}
|
|
30
|
-
* />
|
|
31
|
-
*/
|
|
32
|
-
export interface ConfigOverviewPaneProps<T extends Record<string, unknown>> {
|
|
33
|
-
config: T;
|
|
34
|
-
structure: ConfigStructureDef;
|
|
35
|
-
navigation: UseMappingNavigationReturn;
|
|
36
|
-
schemas?: Record<string, RJSFSchema>;
|
|
37
|
-
className?: string;
|
|
38
|
-
/** Base path to prepend when navigating (e.g., ['mapping', 'page', 'view']) */
|
|
39
|
-
basePath?: string[];
|
|
40
|
-
/** Root structure for detectNodeType (defaults to structure if not provided) */
|
|
41
|
-
rootStructure?: ConfigStructureDef;
|
|
42
|
-
}
|
|
43
|
-
export declare function ConfigOverviewPane<T extends Record<string, unknown>>({ config, structure, navigation, schemas, className, basePath, rootStructure, }: ConfigOverviewPaneProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
//# sourceMappingURL=config-overview-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-overview-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/config-overview-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE,MAAM,EAAE,CAAC,CAAC;IACV,SAAS,EAAE,kBAAkB,CAAC;IAC9B,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,gFAAgF;IAChF,aAAa,CAAC,EAAE,kBAAkB,CAAC;CACpC;AA0CD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACpE,MAAM,EACN,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAc,EACd,QAAa,EACb,aAAa,GACd,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CAkH5B"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
3
|
-
import { RuleTile } from '../atoms/config-tile';
|
|
4
|
-
import { detectNodeType } from '../../utils/type-detector';
|
|
5
|
-
/**
|
|
6
|
-
* Get status badge for a property value
|
|
7
|
-
*/
|
|
8
|
-
function getPropertyStatus(value) {
|
|
9
|
-
if (value === undefined || value === null) {
|
|
10
|
-
return { enabled: false, text: 'Not set' };
|
|
11
|
-
}
|
|
12
|
-
if (typeof value === 'boolean') {
|
|
13
|
-
return value
|
|
14
|
-
? { enabled: true, text: 'Enabled', variant: 'success' }
|
|
15
|
-
: { enabled: false, text: 'Disabled' };
|
|
16
|
-
}
|
|
17
|
-
if (typeof value === 'string' || typeof value === 'number') {
|
|
18
|
-
return { enabled: true, text: String(value) };
|
|
19
|
-
}
|
|
20
|
-
if (typeof value === 'object') {
|
|
21
|
-
if (Array.isArray(value)) {
|
|
22
|
-
return { enabled: true, text: `${value.length} items` };
|
|
23
|
-
}
|
|
24
|
-
const keys = Object.keys(value);
|
|
25
|
-
return { enabled: true, text: `${keys.length} properties` };
|
|
26
|
-
}
|
|
27
|
-
return { enabled: true, text: 'Set' };
|
|
28
|
-
}
|
|
29
|
-
export function ConfigOverviewPane({ config, structure, navigation, schemas, className = '', basePath = [], rootStructure, }) {
|
|
30
|
-
if (!structure.properties) {
|
|
31
|
-
return (_jsx(BaseMappingPane, { title: structure.title || 'Configuration', description: structure.description, navigation: navigation, className: className, children: _jsx("div", { className: "elb-mapping-rule-section", children: _jsx("p", { children: "No properties defined in structure." }) }) }));
|
|
32
|
-
}
|
|
33
|
-
// Get all property keys from structure
|
|
34
|
-
const propertyKeys = Object.keys(structure.properties);
|
|
35
|
-
// Separate configured vs available
|
|
36
|
-
const configuredProperties = [];
|
|
37
|
-
const availableProperties = [];
|
|
38
|
-
propertyKeys.forEach((key) => {
|
|
39
|
-
const propertyDef = structure.properties[key];
|
|
40
|
-
const value = config[key];
|
|
41
|
-
const propertyInfo = {
|
|
42
|
-
key,
|
|
43
|
-
title: propertyDef.title || capitalize(key),
|
|
44
|
-
description: propertyDef.description,
|
|
45
|
-
value,
|
|
46
|
-
};
|
|
47
|
-
if (value !== undefined) {
|
|
48
|
-
configuredProperties.push(propertyInfo);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
availableProperties.push(propertyInfo);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
const handlePropertyClick = (property) => {
|
|
55
|
-
const fullPath = [...basePath, property.key];
|
|
56
|
-
const detectionStructure = rootStructure || structure;
|
|
57
|
-
const nodeType = detectNodeType(property.value, fullPath, detectionStructure, schemas);
|
|
58
|
-
navigation.openTab(fullPath, nodeType);
|
|
59
|
-
};
|
|
60
|
-
return (_jsxs(BaseMappingPane, { title: structure.title || 'Configuration', description: structure.description, navigation: navigation, className: className, children: [configuredProperties.length > 0 && (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: "Configured" }), _jsx("div", { className: "elb-mapping-rule-section-grid", children: configuredProperties.map((property) => (_jsx(RuleTile, { label: property.title, description: property.description, status: getPropertyStatus(property.value), onClick: () => handlePropertyClick(property) }, property.key))) })] })), availableProperties.length > 0 && (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: "Available" }), _jsx("div", { className: "elb-mapping-rule-section-grid", children: availableProperties.map((property) => (_jsx(RuleTile, { label: property.title, description: property.description, status: { enabled: false, text: 'Not set' }, onClick: () => handlePropertyClick(property) }, property.key))) })] })), configuredProperties.length === 0 &&
|
|
61
|
-
availableProperties.length === 0 && (_jsx("div", { className: "elb-mapping-rule-section", children: _jsxs("div", { style: {
|
|
62
|
-
padding: '40px 20px',
|
|
63
|
-
textAlign: 'center',
|
|
64
|
-
color: 'var(--color-text-muted)',
|
|
65
|
-
}, children: [_jsx("div", { style: { fontSize: '48px', marginBottom: '16px' }, children: "\uD83D\uDCE6" }), _jsx("div", { style: { fontSize: '16px', fontWeight: 500 }, children: "No properties available" }), _jsx("div", { style: { fontSize: '14px', marginTop: '8px' }, children: "This configuration has no properties defined." })] }) }))] }));
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Capitalize first letter
|
|
69
|
-
*/
|
|
70
|
-
function capitalize(str) {
|
|
71
|
-
if (!str)
|
|
72
|
-
return str;
|
|
73
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=config-overview-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-overview-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/config-overview-pane.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAiD3D;;GAEG;AACH,SAAS,iBAAiB,CAAC,KAAc;IAKvC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAC1C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC7C,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,KAAK;YACV,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE;YACxD,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAC3C,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IAChD,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,QAAQ,EAAE,CAAC;QAC1D,CAAC;QACD,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChC,OAA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';
|
|
2
|
-
/**
|
|
3
|
-
* Config Tree Sidebar - Shows full destination config structure
|
|
4
|
-
*
|
|
5
|
-
* Displays hierarchical structure of destination configuration:
|
|
6
|
-
* - Settings
|
|
7
|
-
* - Mapping (entities → actions)
|
|
8
|
-
* - Data
|
|
9
|
-
* - Policy
|
|
10
|
-
* - Consent
|
|
11
|
-
* - Options
|
|
12
|
-
*
|
|
13
|
-
* This is a pure presentation component - all state management
|
|
14
|
-
* should be handled by the parent component.
|
|
15
|
-
*
|
|
16
|
-
* Features:
|
|
17
|
-
* - Hierarchical tree display
|
|
18
|
-
* - Expand/collapse controls
|
|
19
|
-
* - Click to navigate with proper NodeType
|
|
20
|
-
* - Visual indication of current path
|
|
21
|
-
* - Add action buttons for entities
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* <ConfigTreeSidebar
|
|
25
|
-
* tree={buildConfigTree(config, schemas, sections)}
|
|
26
|
-
* currentPath={['settings']}
|
|
27
|
-
* expandedPaths={expandedPathsSet}
|
|
28
|
-
* visible={true}
|
|
29
|
-
* onToggle={(path) => togglePath(path)}
|
|
30
|
-
* onNavigate={(path) => navigate(path)}
|
|
31
|
-
* />
|
|
32
|
-
*/
|
|
33
|
-
export interface ConfigTreeSidebarProps {
|
|
34
|
-
tree: ConfigTreeNode[];
|
|
35
|
-
currentPath: string[];
|
|
36
|
-
expandedPaths: Set<string>;
|
|
37
|
-
visible: boolean;
|
|
38
|
-
onToggle: (path: string[]) => void;
|
|
39
|
-
onNavigate: (path: string[]) => void;
|
|
40
|
-
onAddAction?: (entity: string, action: string) => void;
|
|
41
|
-
onAddEntity?: (entity: string) => void;
|
|
42
|
-
onClose?: () => void;
|
|
43
|
-
className?: string;
|
|
44
|
-
}
|
|
45
|
-
export declare function ConfigTreeSidebar({ tree, currentPath, expandedPaths, visible, onToggle, onNavigate, onAddAction, onAddEntity, onClose, className, }: ConfigTreeSidebarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
46
|
-
//# sourceMappingURL=config-tree-sidebar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-tree-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/config-tree-sidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AA4OvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,WAAW,EACX,aAAa,EACb,OAAO,EACP,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAc,GACf,EAAE,sBAAsB,kDAkKxB"}
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { MappingInputWithButton } from '../atoms/mapping-input-with-button';
|
|
4
|
-
function ConfigTreeNodeComponent({ node, expandedPaths, selectedPath, onToggle, onSelect, onAddAction, level, }) {
|
|
5
|
-
const pathKey = node.path.join('.');
|
|
6
|
-
const isExpanded = expandedPaths.has(pathKey);
|
|
7
|
-
const isSelected = node.path.length > 0 && node.path.join('.') === selectedPath.join('.');
|
|
8
|
-
// Check if this node is an ancestor of the selected path
|
|
9
|
-
const isAncestor = node.path.length > 0 &&
|
|
10
|
-
selectedPath.length > node.path.length &&
|
|
11
|
-
node.path.every((segment, i) => segment === selectedPath[i]);
|
|
12
|
-
const hasChildren = node.children && node.children.length > 0;
|
|
13
|
-
const showToggle = (hasChildren && node.isExpandable) ||
|
|
14
|
-
node.type === 'entity' ||
|
|
15
|
-
(node.key === 'mapping' && node.path.length === 1);
|
|
16
|
-
const showChildren = hasChildren && isExpanded;
|
|
17
|
-
// State for adding new action (only for entities under mapping)
|
|
18
|
-
const [isAddingAction, setIsAddingAction] = useState(false);
|
|
19
|
-
const [newActionName, setNewActionName] = useState('');
|
|
20
|
-
const [actionExists, setActionExists] = useState(false);
|
|
21
|
-
const inputRef = useRef(null);
|
|
22
|
-
// Check if this is an entity node (path like ['mapping', 'product'])
|
|
23
|
-
const isEntityNode = node.type === 'entity' &&
|
|
24
|
-
node.path.length === 2 &&
|
|
25
|
-
node.path[0] === 'mapping';
|
|
26
|
-
// Focus input when adding action
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (isAddingAction && inputRef.current) {
|
|
29
|
-
inputRef.current.focus();
|
|
30
|
-
}
|
|
31
|
-
}, [isAddingAction]);
|
|
32
|
-
// Check if action exists in children
|
|
33
|
-
useEffect(() => {
|
|
34
|
-
if (isEntityNode && newActionName) {
|
|
35
|
-
const exists = node.children?.some((child) => child.label === newActionName) ?? false;
|
|
36
|
-
setActionExists(exists);
|
|
37
|
-
}
|
|
38
|
-
}, [newActionName, node, isEntityNode]);
|
|
39
|
-
// Handle add action button click
|
|
40
|
-
const handleAddClick = (e) => {
|
|
41
|
-
e.stopPropagation();
|
|
42
|
-
if (!isExpanded) {
|
|
43
|
-
onToggle(node.path);
|
|
44
|
-
}
|
|
45
|
-
setIsAddingAction(true);
|
|
46
|
-
};
|
|
47
|
-
// Handle action input submit
|
|
48
|
-
const handleActionSubmit = () => {
|
|
49
|
-
if (!newActionName.trim()) {
|
|
50
|
-
setIsAddingAction(false);
|
|
51
|
-
setNewActionName('');
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (actionExists) {
|
|
55
|
-
// Navigate to existing action
|
|
56
|
-
const existingChild = node.children?.find((child) => child.label === newActionName);
|
|
57
|
-
if (existingChild) {
|
|
58
|
-
onSelect(existingChild.path);
|
|
59
|
-
}
|
|
60
|
-
setIsAddingAction(false);
|
|
61
|
-
setNewActionName('');
|
|
62
|
-
setActionExists(false);
|
|
63
|
-
}
|
|
64
|
-
else if (onAddAction && isEntityNode) {
|
|
65
|
-
// Create new action
|
|
66
|
-
onAddAction(node.path[1], newActionName.trim());
|
|
67
|
-
setIsAddingAction(false);
|
|
68
|
-
setNewActionName('');
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
// Handle action input key down
|
|
72
|
-
const handleActionKeyDown = (e) => {
|
|
73
|
-
if (e.key === 'Escape') {
|
|
74
|
-
e.preventDefault();
|
|
75
|
-
setIsAddingAction(false);
|
|
76
|
-
setNewActionName('');
|
|
77
|
-
setActionExists(false);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
// Handle row click
|
|
81
|
-
const handleRowClick = (e) => {
|
|
82
|
-
const target = e.target;
|
|
83
|
-
const isToggleClick = target.classList.contains('elb-mapping-tree-toggle');
|
|
84
|
-
const isAddButtonClick = target.classList.contains('elb-mapping-tree-add-button');
|
|
85
|
-
if (isAddButtonClick) {
|
|
86
|
-
return; // Already handled by button
|
|
87
|
-
}
|
|
88
|
-
if (isToggleClick && showToggle) {
|
|
89
|
-
// Clicked on toggle arrow - always toggle
|
|
90
|
-
onToggle(node.path);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
// Clicked on row - select and navigate
|
|
94
|
-
onSelect(node.path);
|
|
95
|
-
// Also expand if has children and not already expanded
|
|
96
|
-
if (hasChildren && !isExpanded) {
|
|
97
|
-
onToggle(node.path);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
const displayLabel = node.label;
|
|
102
|
-
return (_jsxs("div", { className: `elb-mapping-tree-node elb-mapping-tree-node--level-${level}`, children: [_jsxs("div", { className: `elb-mapping-tree-node-content ${isSelected ? 'is-selected' : ''} ${isAncestor ? 'is-ancestor' : ''} ${isEntityNode ? 'is-entity' : ''} ${!node.hasValue ? 'is-empty' : ''}`, onClick: handleRowClick, role: "button", tabIndex: 0, onKeyDown: (e) => {
|
|
103
|
-
if (e.key === 'Enter' || e.key === ' ') {
|
|
104
|
-
e.preventDefault();
|
|
105
|
-
handleRowClick(e);
|
|
106
|
-
}
|
|
107
|
-
}, children: [showToggle ? (_jsx("span", { className: `elb-mapping-tree-toggle ${isExpanded ? 'is-expanded' : ''}`, children: "\u203A" })) : (_jsx("span", { className: "elb-mapping-tree-spacer" })), _jsx("span", { className: `elb-mapping-tree-label elb-mapping-tree-label--${node.type}`, children: displayLabel }), isEntityNode && onAddAction && (_jsx("button", { type: "button", className: "elb-mapping-tree-add-button", onClick: handleAddClick, "aria-label": "Add action", title: "Add action", children: "+" }))] }), showChildren && (_jsxs("div", { className: "elb-mapping-tree-children", children: [node.children?.map((child) => (_jsx(ConfigTreeNodeComponent, { node: child, expandedPaths: expandedPaths, selectedPath: selectedPath, onToggle: onToggle, onSelect: onSelect, onAddAction: onAddAction, level: level + 1 }, child.path.join('.')))), isAddingAction && isEntityNode && (_jsxs("div", { className: "elb-mapping-tree-add-action", children: [_jsx("span", { className: "elb-mapping-tree-spacer" }), _jsx("div", { ref: inputRef, className: "elb-mapping-tree-add-input-wrapper", children: _jsx(MappingInputWithButton, { value: newActionName, onChange: (val) => setNewActionName(val), onSubmit: handleActionSubmit, onKeyDown: handleActionKeyDown, buttonLabel: actionExists ? 'Open' : 'Create', showButton: true, placeholder: "action", className: `elb-mapping-tree-add-input ${actionExists ? 'is-existing' : ''}`, autoFocus: true }) })] }))] }))] }));
|
|
108
|
-
}
|
|
109
|
-
export function ConfigTreeSidebar({ tree, currentPath, expandedPaths, visible, onToggle, onNavigate, onAddAction, onAddEntity, onClose, className = '', }) {
|
|
110
|
-
const [isAddingEntity, setIsAddingEntity] = useState(false);
|
|
111
|
-
const [newEntityName, setNewEntityName] = useState('');
|
|
112
|
-
const [entityExists, setEntityExists] = useState(false);
|
|
113
|
-
const entityInputRef = useRef(null);
|
|
114
|
-
// Focus input when adding entity
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
if (isAddingEntity && entityInputRef.current) {
|
|
117
|
-
entityInputRef.current.focus();
|
|
118
|
-
}
|
|
119
|
-
}, [isAddingEntity]);
|
|
120
|
-
// Check if entity exists in mapping section
|
|
121
|
-
useEffect(() => {
|
|
122
|
-
if (newEntityName) {
|
|
123
|
-
const mappingNode = tree.find((node) => node.key === 'mapping');
|
|
124
|
-
const exists = mappingNode?.children?.some((child) => child.label === newEntityName) ??
|
|
125
|
-
false;
|
|
126
|
-
setEntityExists(exists);
|
|
127
|
-
}
|
|
128
|
-
}, [newEntityName, tree]);
|
|
129
|
-
if (!visible) {
|
|
130
|
-
return null;
|
|
131
|
-
}
|
|
132
|
-
const handleAddEntityClick = () => {
|
|
133
|
-
setIsAddingEntity(true);
|
|
134
|
-
};
|
|
135
|
-
const handleEntityInput = (e) => {
|
|
136
|
-
setNewEntityName(e.target.value);
|
|
137
|
-
};
|
|
138
|
-
const handleEntitySubmit = () => {
|
|
139
|
-
if (!newEntityName.trim()) {
|
|
140
|
-
setIsAddingEntity(false);
|
|
141
|
-
setNewEntityName('');
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
if (entityExists) {
|
|
145
|
-
// Navigate to existing entity - find and navigate to it
|
|
146
|
-
const mappingNode = tree.find((node) => node.key === 'mapping');
|
|
147
|
-
const existingEntity = mappingNode?.children?.find((child) => child.label === newEntityName);
|
|
148
|
-
if (existingEntity) {
|
|
149
|
-
onNavigate(existingEntity.path);
|
|
150
|
-
onToggle(existingEntity.path);
|
|
151
|
-
}
|
|
152
|
-
setIsAddingEntity(false);
|
|
153
|
-
setNewEntityName('');
|
|
154
|
-
setEntityExists(false);
|
|
155
|
-
}
|
|
156
|
-
else if (onAddEntity) {
|
|
157
|
-
// Create new entity
|
|
158
|
-
onAddEntity(newEntityName.trim());
|
|
159
|
-
setIsAddingEntity(false);
|
|
160
|
-
setNewEntityName('');
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
const handleEntityKeyDown = (e) => {
|
|
164
|
-
if (e.key === 'Enter') {
|
|
165
|
-
e.preventDefault();
|
|
166
|
-
handleEntitySubmit();
|
|
167
|
-
}
|
|
168
|
-
else if (e.key === 'Escape') {
|
|
169
|
-
e.preventDefault();
|
|
170
|
-
setIsAddingEntity(false);
|
|
171
|
-
setNewEntityName('');
|
|
172
|
-
setEntityExists(false);
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
const handleEntityBlur = () => {
|
|
176
|
-
// Small delay to allow click events to fire, then submit
|
|
177
|
-
setTimeout(() => {
|
|
178
|
-
handleEntitySubmit();
|
|
179
|
-
}, 150);
|
|
180
|
-
};
|
|
181
|
-
return (_jsxs("aside", { className: `elb-mapping-tree-sidebar ${className}`, "aria-label": "Config structure", children: [_jsxs("div", { className: "elb-mapping-tree-content", children: [tree.map((node) => (_jsx(ConfigTreeNodeComponent, { node: node, expandedPaths: expandedPaths, selectedPath: currentPath, onToggle: onToggle, onSelect: onNavigate, onAddAction: onAddAction, level: 0 }, node.path.join('.')))), _jsxs("div", { className: "elb-mapping-tree-add-entity-section", children: [!isAddingEntity && onAddEntity && (_jsxs("button", { type: "button", className: "elb-mapping-tree-add-entity-button", onClick: handleAddEntityClick, children: [_jsx("span", { children: "+" }), " Add Entity"] })), isAddingEntity && (_jsx("div", { className: "elb-mapping-tree-add-entity", children: _jsx("input", { ref: entityInputRef, type: "text", className: `elb-mapping-tree-add-entity-input ${entityExists ? 'is-error' : ''}`, value: newEntityName, onChange: handleEntityInput, onKeyDown: handleEntityKeyDown, onBlur: handleEntityBlur, placeholder: "entity" }) }))] }), _jsx("div", { className: "elb-mapping-tree-bottom-padding" })] }), onClose && (_jsx("button", { type: "button", className: "elb-mapping-tree-close-button", onClick: onClose, "aria-label": "Close tree sidebar", title: "Close sidebar", children: _jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15 18L9 12L15 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }) }))] }));
|
|
182
|
-
}
|
|
183
|
-
//# sourceMappingURL=config-tree-sidebar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-tree-sidebar.js","sourceRoot":"","sources":["../../../src/components/molecules/config-tree-sidebar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAgB5E,SAAS,uBAAuB,CAAC,EAC/B,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,KAAK,GACwB;IAC7B,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,UAAU,GAAG,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC9C,MAAM,UAAU,GACd,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEzE,yDAAyD;IACzD,MAAM,UAAU,GACd,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG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C/C,EAGL,OAAO,IAAI,CACV,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,OAAO,gBACL,oBAAoB,EAC/B,KAAK,EAAC,eAAe,YAErB,cACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,YAElC,eACE,CAAC,EAAC,kBAAkB,EACpB,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,GACE,GACC,CACV,IACK,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
import type { DestinationSchemas } from '../../types/schemas';
|
|
4
|
-
/**
|
|
5
|
-
* Destination Config Overview Pane - Shows root-level config properties as tiles
|
|
6
|
-
*
|
|
7
|
-
* Displays the top-level structure of a DestinationConfig, showing both
|
|
8
|
-
* configured and available properties based on the destinationConfigStructureSchema.
|
|
9
|
-
*
|
|
10
|
-
* Features:
|
|
11
|
-
* - Displays configured properties with status/value preview
|
|
12
|
-
* - Shows available properties from schema (if not yet configured)
|
|
13
|
-
* - Click tile to navigate to detailed editor
|
|
14
|
-
* - Schema-driven type detection for correct editor pane
|
|
15
|
-
*
|
|
16
|
-
* Similar to SettingsOverviewPane but for root-level config structure
|
|
17
|
-
* (settings, mapping, data, policy, consent, id, loadScript, queue, verbose)
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* <DestinationConfigOverviewPane
|
|
21
|
-
* mappingState={configState}
|
|
22
|
-
* navigation={navigation}
|
|
23
|
-
* schemas={metaPixelSchemas}
|
|
24
|
-
* />
|
|
25
|
-
*/
|
|
26
|
-
export interface DestinationConfigOverviewPaneProps {
|
|
27
|
-
mappingState: UseMappingStateReturn;
|
|
28
|
-
navigation: UseMappingNavigationReturn;
|
|
29
|
-
schemas?: DestinationSchemas;
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
32
|
-
export declare function DestinationConfigOverviewPane({ mappingState, navigation, schemas, className, }: DestinationConfigOverviewPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
//# sourceMappingURL=destination-config-overview-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"destination-config-overview-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/destination-config-overview-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AASnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAG9D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,kCAAkC;IACjD,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiHD,wBAAgB,6BAA6B,CAAC,EAC5C,YAAY,EACZ,UAAU,EACV,OAAO,EACP,SAAc,GACf,EAAE,kCAAkC,2CAuHpC"}
|
|
@@ -1,153 +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
|
-
import { destinationConfigStructureSchema, getRootPropertyNodeType, } from '../../schemas/config-structures/destination-config';
|
|
5
|
-
import { detectNodeTypeFromSchema } from '../../utils/type-detector';
|
|
6
|
-
function getPropertyStatus(key, value) {
|
|
7
|
-
// Property not configured
|
|
8
|
-
if (value === undefined || value === null) {
|
|
9
|
-
return { enabled: false, text: 'Not set' };
|
|
10
|
-
}
|
|
11
|
-
switch (key) {
|
|
12
|
-
case 'settings': {
|
|
13
|
-
if (typeof value !== 'object' || Array.isArray(value)) {
|
|
14
|
-
return { enabled: false, text: 'Not set' };
|
|
15
|
-
}
|
|
16
|
-
const count = Object.keys(value).length;
|
|
17
|
-
return count > 0
|
|
18
|
-
? {
|
|
19
|
-
enabled: true,
|
|
20
|
-
text: `${count} ${count === 1 ? 'setting' : 'settings'}`,
|
|
21
|
-
}
|
|
22
|
-
: { enabled: false, text: 'Not set' };
|
|
23
|
-
}
|
|
24
|
-
case 'mapping': {
|
|
25
|
-
if (typeof value !== 'object' || Array.isArray(value)) {
|
|
26
|
-
return { enabled: false, text: 'Not set' };
|
|
27
|
-
}
|
|
28
|
-
// Count entity-action pairs
|
|
29
|
-
const mappingObj = value;
|
|
30
|
-
let ruleCount = 0;
|
|
31
|
-
Object.values(mappingObj).forEach((entityConfig) => {
|
|
32
|
-
if (typeof entityConfig === 'object' && entityConfig !== null) {
|
|
33
|
-
ruleCount += Object.keys(entityConfig).length;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
return ruleCount > 0
|
|
37
|
-
? {
|
|
38
|
-
enabled: true,
|
|
39
|
-
text: `${ruleCount} ${ruleCount === 1 ? 'rule' : 'rules'}`,
|
|
40
|
-
}
|
|
41
|
-
: { enabled: false, text: 'Not set' };
|
|
42
|
-
}
|
|
43
|
-
case 'policy': {
|
|
44
|
-
if (typeof value !== 'object' || Array.isArray(value)) {
|
|
45
|
-
return { enabled: false, text: 'Not set' };
|
|
46
|
-
}
|
|
47
|
-
const count = Object.keys(value).length;
|
|
48
|
-
return count > 0
|
|
49
|
-
? {
|
|
50
|
-
enabled: true,
|
|
51
|
-
text: `${count} ${count === 1 ? 'condition' : 'conditions'}`,
|
|
52
|
-
}
|
|
53
|
-
: { enabled: false, text: 'Not set' };
|
|
54
|
-
}
|
|
55
|
-
case 'consent': {
|
|
56
|
-
if (typeof value !== 'object' || Array.isArray(value)) {
|
|
57
|
-
return { enabled: false, text: 'Not set' };
|
|
58
|
-
}
|
|
59
|
-
const count = Object.keys(value).length;
|
|
60
|
-
return count > 0
|
|
61
|
-
? {
|
|
62
|
-
enabled: true,
|
|
63
|
-
text: `${count} ${count === 1 ? 'state' : 'states'}`,
|
|
64
|
-
}
|
|
65
|
-
: { enabled: false, text: 'Not set' };
|
|
66
|
-
}
|
|
67
|
-
case 'data': {
|
|
68
|
-
return { enabled: true, text: 'Configured' };
|
|
69
|
-
}
|
|
70
|
-
case 'id': {
|
|
71
|
-
if (typeof value === 'string' && value.trim()) {
|
|
72
|
-
return { enabled: true, text: value };
|
|
73
|
-
}
|
|
74
|
-
return { enabled: false, text: 'Not set' };
|
|
75
|
-
}
|
|
76
|
-
case 'loadScript':
|
|
77
|
-
case 'queue':
|
|
78
|
-
case 'verbose': {
|
|
79
|
-
if (typeof value === 'boolean') {
|
|
80
|
-
return { enabled: true, text: value ? 'Enabled' : 'Disabled' };
|
|
81
|
-
}
|
|
82
|
-
return { enabled: false, text: 'Not set' };
|
|
83
|
-
}
|
|
84
|
-
default: {
|
|
85
|
-
// Generic handling for unknown properties
|
|
86
|
-
if (typeof value === 'string') {
|
|
87
|
-
return { enabled: true, text: value };
|
|
88
|
-
}
|
|
89
|
-
if (typeof value === 'number') {
|
|
90
|
-
return { enabled: true, text: String(value) };
|
|
91
|
-
}
|
|
92
|
-
if (typeof value === 'boolean') {
|
|
93
|
-
return { enabled: true, text: value ? 'Enabled' : 'Disabled' };
|
|
94
|
-
}
|
|
95
|
-
if (Array.isArray(value)) {
|
|
96
|
-
return { enabled: true, text: `${value.length} items` };
|
|
97
|
-
}
|
|
98
|
-
if (typeof value === 'object') {
|
|
99
|
-
const keys = Object.keys(value);
|
|
100
|
-
return { enabled: true, text: `${keys.length} properties` };
|
|
101
|
-
}
|
|
102
|
-
return { enabled: true, text: 'Configured' };
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
export function DestinationConfigOverviewPane({ mappingState, navigation, schemas, className = '', }) {
|
|
107
|
-
const config = mappingState.config;
|
|
108
|
-
// Gather all property keys (from value + schema)
|
|
109
|
-
const configuredKeys = Object.keys(config).filter((key) => config[key] !== undefined);
|
|
110
|
-
const schemaKeys = destinationConfigStructureSchema.properties
|
|
111
|
-
? Object.keys(destinationConfigStructureSchema.properties)
|
|
112
|
-
: [];
|
|
113
|
-
const allKeys = Array.from(new Set([...configuredKeys, ...schemaKeys])).sort();
|
|
114
|
-
// Separate configured vs available
|
|
115
|
-
const configuredProperties = [];
|
|
116
|
-
const availableProperties = [];
|
|
117
|
-
allKeys.forEach((key) => {
|
|
118
|
-
const propSchema = destinationConfigStructureSchema.properties?.[key];
|
|
119
|
-
const title = propSchema?.title || key.charAt(0).toUpperCase() + key.slice(1);
|
|
120
|
-
const description = propSchema?.description;
|
|
121
|
-
// Determine NodeType using schema-driven approach
|
|
122
|
-
const definedType = getRootPropertyNodeType(key);
|
|
123
|
-
const nodeType = definedType
|
|
124
|
-
? definedType
|
|
125
|
-
: propSchema
|
|
126
|
-
? detectNodeTypeFromSchema(propSchema)
|
|
127
|
-
: 'valueConfig';
|
|
128
|
-
if (key in config && config[key] !== undefined) {
|
|
129
|
-
configuredProperties.push({
|
|
130
|
-
key,
|
|
131
|
-
title,
|
|
132
|
-
description,
|
|
133
|
-
nodeType,
|
|
134
|
-
value: config[key],
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
availableProperties.push({
|
|
139
|
-
key,
|
|
140
|
-
title,
|
|
141
|
-
description,
|
|
142
|
-
nodeType,
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
const handlePropertyClick = (key, nodeType) => {
|
|
147
|
-
navigation.openTab([key], nodeType);
|
|
148
|
-
};
|
|
149
|
-
return (_jsxs(BaseMappingPane, { title: "Destination Configuration", description: configuredProperties.length === 0
|
|
150
|
-
? 'No configuration yet. Click a tile to start configuring.'
|
|
151
|
-
: `${configuredProperties.length} ${configuredProperties.length === 1 ? 'property' : 'properties'} configured`, navigation: navigation, hideNavigation: true, className: className, children: [_jsx("div", { className: "elb-mapping-rule-section-grid", children: configuredProperties.map((property) => (_jsx(RuleTile, { label: property.title, description: property.description || '', status: getPropertyStatus(property.key, property.value), onClick: () => handlePropertyClick(property.key, property.nodeType) }, property.key))) }), availableProperties.length > 0 && (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: "Available Configuration Options" }), _jsx("p", { className: "elb-mapping-rule-section-description", children: "Click to configure additional destination options" }), _jsx("div", { className: "elb-mapping-rule-section-grid", children: availableProperties.map((property) => (_jsx(RuleTile, { label: property.title, description: property.description || '', status: { enabled: false, text: 'Not set' }, onClick: () => handlePropertyClick(property.key, property.nodeType) }, property.key))) })] }))] }));
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=destination-config-overview-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"destination-config-overview-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/destination-config-overview-pane.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,QAAQ,EAAuB,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EACL,gCAAgC,EAChC,uBAAuB,GACxB,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AA+BrE,SAAS,iBAAiB,CAAC,GAAW,EAAE,KAAc;IACpD,0BAA0B;IAC1B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAC1C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC7C,CAAC;I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