@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":"mapping-condition-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-condition-pane-view.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,uBAAuB,GAExB,MAAM,8BAA8B,CAAC;AAiBtC,MAAM,iBAAiB,GAAG;;;;;;;EAOxB,CAAC;AAEH,MAAM,aAAa,GAAkB;IACnC;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,wBAAwB;aACtC;SACF;KACF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,yBAAyB;aACvC;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,wBAAwB;aACtC;SACF;KACF;IACD;QACE,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,6BAA6B;gBACpC,IAAI,EAAE,mEAA6C;aACpD;YACD;gBACE,KAAK,EAAE,iCAAiC;gBACxC,IAAI,EAAE,6EAAoD;aAC3D;YACD;gBACE,KAAK,EAAE,6BAA6B;gBACpC,IAAI,EAAE,CACJ,+FAGG,CACJ;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,KAAoC;IAC3E,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,oBAAoB,EAC1B,WAAW,EAAC,wDAAwD,EACpE,WAAW,EAAE,iBAAiB,EAC9B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAC,WAAW,KACpB,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Mapping Consent Pane View
|
|
5
|
-
*
|
|
6
|
-
* Dedicated pane for configuring required consent states.
|
|
7
|
-
* Shows discovered consent states as toggleable tiles plus input to add new ones.
|
|
8
|
-
*/
|
|
9
|
-
export interface MappingConsentPaneViewProps {
|
|
10
|
-
path: string[];
|
|
11
|
-
mappingState: UseMappingStateReturn;
|
|
12
|
-
navigation: UseMappingNavigationReturn;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare function MappingConsentPaneView({ path, mappingState, navigation, className, }: MappingConsentPaneViewProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
//# sourceMappingURL=mapping-consent-pane-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-consent-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-pane-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAOnF;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,2BAA2B,2CAsH7B"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useMemo } from 'react';
|
|
3
|
-
import { ConsentStateTile } from '../atoms/consent-state-tile';
|
|
4
|
-
import { scanMappingForConsentStates } from '../../utils/consent-scanner';
|
|
5
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
6
|
-
import { getPathDescription } from '../../utils/path-analyzer';
|
|
7
|
-
import { MappingInputWithButton } from '../atoms/mapping-input-with-button';
|
|
8
|
-
export function MappingConsentPaneView({ path, mappingState, navigation, className = '', }) {
|
|
9
|
-
const [newStateName, setNewStateName] = useState('');
|
|
10
|
-
// Get current consent value at this path
|
|
11
|
-
const value = mappingState.actions.getValue(path);
|
|
12
|
-
const currentConsent = value && typeof value === 'object'
|
|
13
|
-
? value
|
|
14
|
-
: {};
|
|
15
|
-
// Scan entire mapping for all consent states
|
|
16
|
-
const discoveredStates = useMemo(() => scanMappingForConsentStates(mappingState.config), [mappingState.config]);
|
|
17
|
-
const handleToggleState = (stateName) => {
|
|
18
|
-
const isCurrentlyChecked = currentConsent[stateName] === true;
|
|
19
|
-
if (isCurrentlyChecked) {
|
|
20
|
-
// Uncheck: remove from consent object
|
|
21
|
-
const newConsent = { ...currentConsent };
|
|
22
|
-
delete newConsent[stateName];
|
|
23
|
-
// If empty, delete the entire consent property
|
|
24
|
-
if (Object.keys(newConsent).length === 0) {
|
|
25
|
-
mappingState.actions.deleteValue(path);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
mappingState.actions.setValue(path, newConsent);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
// Check: add to consent object with value true
|
|
33
|
-
const newConsent = { ...currentConsent, [stateName]: true };
|
|
34
|
-
mappingState.actions.setValue(path, newConsent);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const handleInputChange = (value) => {
|
|
38
|
-
setNewStateName(value);
|
|
39
|
-
};
|
|
40
|
-
const handleAddNewState = () => {
|
|
41
|
-
const trimmed = newStateName.trim();
|
|
42
|
-
if (!trimmed)
|
|
43
|
-
return;
|
|
44
|
-
// Don't add if it already exists
|
|
45
|
-
if (discoveredStates.includes(trimmed)) {
|
|
46
|
-
setNewStateName('');
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
// Add new state as checked
|
|
50
|
-
const newConsent = { ...currentConsent, [trimmed]: true };
|
|
51
|
-
mappingState.actions.setValue(path, newConsent);
|
|
52
|
-
// Clear input
|
|
53
|
-
setNewStateName('');
|
|
54
|
-
};
|
|
55
|
-
const handleKeyDown = (e) => {
|
|
56
|
-
if (e.key === 'Escape') {
|
|
57
|
-
e.preventDefault();
|
|
58
|
-
setNewStateName('');
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
// Get context-aware title and description
|
|
62
|
-
const { title, description } = useMemo(() => getPathDescription(path, mappingState.config), [path, mappingState.config]);
|
|
63
|
-
return (_jsx(BaseMappingPane, { title: title, description: description, navigation: navigation, className: className, children: _jsxs("div", { className: "elb-mapping-consent-pane", children: [_jsxs("div", { className: "elb-mapping-consent-grid", children: [discoveredStates.map((stateName) => (_jsx(ConsentStateTile, { label: stateName, checked: currentConsent[stateName] === true, onClick: () => handleToggleState(stateName) }, stateName))), _jsx(MappingInputWithButton, { value: newStateName, onChange: handleInputChange, onSubmit: handleAddNewState, onKeyDown: handleKeyDown, buttonLabel: "Add", showButton: true, placeholder: "Add new consent state" })] }), _jsxs("div", { className: "elb-mapping-consent-help", children: [_jsx("h4", { className: "elb-mapping-consent-help-title", children: "How it works" }), _jsxs("ul", { className: "elb-mapping-consent-help-list", children: [_jsx("li", { children: "Checked states are required for processing" }), _jsx("li", { children: "Events queue until required consent is granted" }), _jsx("li", { children: "Consent states are discovered from your entire mapping configuration" })] })] })] }) }));
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=mapping-consent-pane-view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-consent-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-pane-view.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAe5E,MAAM,UAAU,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAS,GAAG,EAAE,GACc;IAC5B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAErD,yCAAyC;IACzC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,cAAc,GAClB,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAChC,CAAC,CAAE,KAAiC;QACpC,CAAC,CAAC,EAAE,CAAC;IAET,6CAA6C;IAC7C,MAAM,gBAAgB,GAAG,OAAO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3B,SAAS,EAAE,aAAa,EACxB,WAAW,EAAC,KAAK,EACjB,UAAU,EAAE,IAAI,EAChB,WAAW,EAAC,uBAAuB,GACnC,IACE,EAGN,eAAK,SAAS,EAAC,0BAA0B,aACvC,aAAI,SAAS,EAAC,gCAAgC,6BAAkB,EAChE,cAAI,SAAS,EAAC,+BAA+B,aAC3C,sEAAmD,EACnD,0EAAuD,EACvD,gGAGK,IACF,IACD,IACF,GACU,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface ConsentRowProps {
|
|
2
|
-
consentType: string;
|
|
3
|
-
granted: boolean;
|
|
4
|
-
onConsentTypeChange: (value: string) => void;
|
|
5
|
-
onGrantedChange: (value: boolean) => void;
|
|
6
|
-
onRemove: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* ConsentRow - Single consent requirement row
|
|
10
|
-
*
|
|
11
|
-
* Displays a row for configuring a consent requirement with:
|
|
12
|
-
* - Input field for consent type name (e.g., "functional", "marketing")
|
|
13
|
-
* - Checkbox for granted/denied state (checked = true/granted required)
|
|
14
|
-
* - "Granted" label next to checkbox
|
|
15
|
-
* - Trash button to remove the row
|
|
16
|
-
*
|
|
17
|
-
* Layout: [Input 200px] [Checkbox] [Label "Granted"] [Trash Button]
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* <ConsentRow
|
|
21
|
-
* consentType="functional"
|
|
22
|
-
* granted={true}
|
|
23
|
-
* onConsentTypeChange={setType}
|
|
24
|
-
* onGrantedChange={setGranted}
|
|
25
|
-
* onRemove={handleRemove}
|
|
26
|
-
* />
|
|
27
|
-
*/
|
|
28
|
-
export declare function ConsentRow({ consentType, granted, onConsentTypeChange, onGrantedChange, onRemove, }: ConsentRowProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
//# sourceMappingURL=mapping-consent-row.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-consent-row.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-row.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,QAAQ,GACT,EAAE,eAAe,2CA2BjB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { IconButton } from '../atoms/icon-button';
|
|
3
|
-
/**
|
|
4
|
-
* ConsentRow - Single consent requirement row
|
|
5
|
-
*
|
|
6
|
-
* Displays a row for configuring a consent requirement with:
|
|
7
|
-
* - Input field for consent type name (e.g., "functional", "marketing")
|
|
8
|
-
* - Checkbox for granted/denied state (checked = true/granted required)
|
|
9
|
-
* - "Granted" label next to checkbox
|
|
10
|
-
* - Trash button to remove the row
|
|
11
|
-
*
|
|
12
|
-
* Layout: [Input 200px] [Checkbox] [Label "Granted"] [Trash Button]
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* <ConsentRow
|
|
16
|
-
* consentType="functional"
|
|
17
|
-
* granted={true}
|
|
18
|
-
* onConsentTypeChange={setType}
|
|
19
|
-
* onGrantedChange={setGranted}
|
|
20
|
-
* onRemove={handleRemove}
|
|
21
|
-
* />
|
|
22
|
-
*/
|
|
23
|
-
export function ConsentRow({ consentType, granted, onConsentTypeChange, onGrantedChange, onRemove, }) {
|
|
24
|
-
return (_jsxs("div", { className: "elb-consent-row", children: [_jsx("input", { type: "text", className: "elb-consent-input", value: consentType, onChange: (e) => onConsentTypeChange(e.target.value), placeholder: "e.g., functional" }), _jsxs("div", { className: "elb-consent-checkbox-wrapper", children: [_jsx("input", { type: "checkbox", className: "elb-rjsf-checkbox", checked: granted, onChange: (e) => onGrantedChange(e.target.checked) }), _jsx("span", { className: "elb-consent-label", children: "Required" })] }), _jsx(IconButton, { icon: "delete", variant: "danger", onClick: onRemove, title: "Remove consent requirement" })] }));
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=mapping-consent-row.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-consent-row.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-consent-row.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAUlD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,UAAU,CAAC,EACzB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,QAAQ,GACQ;IAChB,OAAO,CACL,eAAK,SAAS,EAAC,iBAAiB,aAC9B,gBACE,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,mBAAmB,EAC7B,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACpD,WAAW,EAAC,kBAAkB,GAC9B,EACF,eAAK,SAAS,EAAC,8BAA8B,aAC3C,gBACE,IAAI,EAAC,UAAU,EACf,SAAS,EAAC,mBAAmB,EAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAClD,EACF,eAAM,SAAS,EAAC,mBAAmB,yBAAgB,IAC/C,EACN,KAAC,UAAU,IACT,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAC,4BAA4B,GAClC,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Entity Pane - Shows actions for an entity
|
|
5
|
-
*
|
|
6
|
-
* Displays:
|
|
7
|
-
* - List of existing actions for the entity
|
|
8
|
-
* - Input field to create new actions
|
|
9
|
-
*/
|
|
10
|
-
export interface MappingEntityPaneProps {
|
|
11
|
-
path: string[];
|
|
12
|
-
mappingState: UseMappingStateReturn;
|
|
13
|
-
navigation: UseMappingNavigationReturn;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function MappingEntityPane({ path, mappingState, navigation, className, }: MappingEntityPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=mapping-entity-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-entity-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-entity-pane.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,sBAAsB,2CAiIxB"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect } from 'react';
|
|
3
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
4
|
-
import { MappingInputWithButton } from '../atoms/mapping-input-with-button';
|
|
5
|
-
export function MappingEntityPane({ path, mappingState, navigation, className = '', }) {
|
|
6
|
-
const [newActionName, setNewActionName] = useState('');
|
|
7
|
-
const [actionExists, setActionExists] = useState(false);
|
|
8
|
-
const entity = path[0];
|
|
9
|
-
const entityConfig = mappingState.actions.getValue([entity]);
|
|
10
|
-
const actions = entityConfig && typeof entityConfig === 'object'
|
|
11
|
-
? Object.keys(entityConfig).sort()
|
|
12
|
-
: [];
|
|
13
|
-
// Check if action exists
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
if (newActionName) {
|
|
16
|
-
const exists = actions.includes(newActionName);
|
|
17
|
-
setActionExists(exists);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
setActionExists(false);
|
|
21
|
-
}
|
|
22
|
-
}, [newActionName, actions]);
|
|
23
|
-
const handleActionInput = (value) => {
|
|
24
|
-
setNewActionName(value);
|
|
25
|
-
};
|
|
26
|
-
const handleActionKeyDown = (e) => {
|
|
27
|
-
if (e.key === 'Escape') {
|
|
28
|
-
e.preventDefault();
|
|
29
|
-
setNewActionName('');
|
|
30
|
-
setActionExists(false);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const handleActionSubmit = () => {
|
|
34
|
-
if (!newActionName.trim()) {
|
|
35
|
-
setNewActionName('');
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (actionExists) {
|
|
39
|
-
// Navigate to existing action
|
|
40
|
-
navigation.openTab([entity, newActionName], 'rule');
|
|
41
|
-
setNewActionName('');
|
|
42
|
-
setActionExists(false);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
// Create new action
|
|
46
|
-
mappingState.actions.createRule(entity, newActionName.trim(), {});
|
|
47
|
-
navigation.openTab([entity, newActionName.trim()], 'rule');
|
|
48
|
-
setNewActionName('');
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const handleActionClick = (action) => {
|
|
52
|
-
navigation.openTab([entity, action], 'rule');
|
|
53
|
-
};
|
|
54
|
-
// Get the preview text for an action (the name value from the rule or fallback)
|
|
55
|
-
const getActionPreview = (action) => {
|
|
56
|
-
const rule = mappingState.actions.getValue([entity, action]);
|
|
57
|
-
if (rule && typeof rule.name === 'string' && rule.name) {
|
|
58
|
-
return rule.name;
|
|
59
|
-
}
|
|
60
|
-
return `${entity} ${action}`;
|
|
61
|
-
};
|
|
62
|
-
return (_jsx(BaseMappingPane, { title: entity, description: "Select an action or create a new one", navigation: navigation, className: className, children: _jsxs("div", { className: "elb-mapping-entity-pane-body", children: [_jsx("div", { className: "elb-mapping-entity-pane-new-action", children: _jsx(MappingInputWithButton, { value: newActionName, onChange: handleActionInput, onSubmit: handleActionSubmit, onKeyDown: handleActionKeyDown, buttonLabel: actionExists ? 'Open' : 'Create', showButton: true, placeholder: "Type action name to create or select...", className: actionExists ? 'is-existing' : '' }) }), actions.length > 0 && (_jsxs("div", { className: "elb-mapping-tile-section", children: [_jsx("h3", { className: "elb-mapping-tile-title", children: "Existing Actions" }), _jsx("div", { className: "elb-mapping-entity-pane-action-list", children: actions.map((action) => {
|
|
63
|
-
const preview = getActionPreview(action);
|
|
64
|
-
const isLongPreview = preview.length > 20;
|
|
65
|
-
return (_jsxs("button", { type: "button", className: "elb-mapping-entity-pane-action-tile", onClick: () => handleActionClick(action), children: [_jsx("div", { className: "elb-mapping-entity-pane-action-tile-action", children: action }), _jsx("div", { className: `elb-mapping-entity-pane-action-tile-preview ${isLongPreview ? 'is-long' : ''}`, children: preview })] }, action));
|
|
66
|
-
}) })] })), actions.length === 0 && !newActionName && (_jsx("div", { className: "elb-mapping-entity-pane-empty", children: _jsx("p", { children: "No actions yet. Type above to create the first action." }) }))] }) }));
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=mapping-entity-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-entity-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-entity-pane.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAgB5E,MAAM,UAAU,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAS,GAAG,EAAE,GACS;IACvB,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACvD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvB,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAE9C,CAAC;IACd,MAAM,OAAO,GACX,YAAY,IAAI,OAAO,YAAY,KAAK,QAAQ;QAC9C,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE;QAClC,CAAC,CAAC,EAAE,CAAC;IAET,yBAAyB;IACzB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;YAC/C,eAAe,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,eAAe,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;IACH,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAE7B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;QA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,CAAC,iBAAiB,CAAC,MAAM,CAAC,aAExC,cAAK,SAAS,EAAC,4CAA4C,YACxD,MAAM,GACH,EACN,cACE,SAAS,EAAE,+CAA+C,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,YAEzF,OAAO,GACJ,KAZD,MAAM,CAaJ,CACV,CAAC;4BACJ,CAAC,CAAC,GACE,IACF,CACP,EAEA,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,aAAa,IAAI,CACzC,cAAK,SAAS,EAAC,+BAA+B,YAC5C,iFAA6D,GACzD,CACP,IACG,GACU,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
import type { DestinationSchemas } from '../../types/schemas';
|
|
4
|
-
import type { ConfigStructureDef } from '../../schemas/config-structures/types';
|
|
5
|
-
/**
|
|
6
|
-
* Enum Pane View - Pure Presentation Component
|
|
7
|
-
*
|
|
8
|
-
* Edits enum fields with predefined options from JSON Schema.
|
|
9
|
-
* Uses schema.enum to populate dropdown options and schema.type to determine
|
|
10
|
-
* if freeform text input should be allowed.
|
|
11
|
-
*
|
|
12
|
-
* Features:
|
|
13
|
-
* - Dropdown selection from schema-defined enum values
|
|
14
|
-
* - Optional freeform text input for 'string' type enums
|
|
15
|
-
* - Keyboard navigation
|
|
16
|
-
* - Schema-driven: extracts enum values from destination schemas
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* // Path: ['order', 'complete', 'settings', 'track']
|
|
20
|
-
* // Schema: { type: 'string', enum: ['PageView', 'Purchase', 'AddToCart'] }
|
|
21
|
-
* <MappingEnumPaneView
|
|
22
|
-
* path={['order', 'complete', 'settings', 'track']}
|
|
23
|
-
* mappingState={mappingState}
|
|
24
|
-
* navigation={navigation}
|
|
25
|
-
* schemas={{
|
|
26
|
-
* mapping: metaPixelMappingSchema,
|
|
27
|
-
* mappingUi: metaPixelMappingUiSchema
|
|
28
|
-
* }}
|
|
29
|
-
* />
|
|
30
|
-
*/
|
|
31
|
-
export interface MappingEnumPaneViewProps {
|
|
32
|
-
path: string[];
|
|
33
|
-
mappingState: UseMappingStateReturn;
|
|
34
|
-
navigation: UseMappingNavigationReturn;
|
|
35
|
-
schemas?: DestinationSchemas;
|
|
36
|
-
structure?: ConfigStructureDef;
|
|
37
|
-
className?: string;
|
|
38
|
-
}
|
|
39
|
-
export declare function MappingEnumPaneView({ path, mappingState, navigation, schemas, structure, className, }: MappingEnumPaneViewProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
//# sourceMappingURL=mapping-enum-pane-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-enum-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-enum-pane-view.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,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAKhF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,OAAO,EACP,SAAS,EACT,SAAc,GACf,EAAE,wBAAwB,2CA4E1B"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
3
|
-
import { MappingEnumSelect } from '../atoms/mapping-enum-select';
|
|
4
|
-
import { getSchemaForPath } from '../../utils/type-detector';
|
|
5
|
-
export function MappingEnumPaneView({ path, mappingState, navigation, schemas, structure, className = '', }) {
|
|
6
|
-
const value = mappingState.actions.getValue(path);
|
|
7
|
-
const currentValue = typeof value === 'string' || typeof value === 'number' ? value : '';
|
|
8
|
-
// Get schema for this path using structure-aware detection
|
|
9
|
-
const schema = structure && schemas
|
|
10
|
-
? getSchemaForPath(value, path, structure, schemas)
|
|
11
|
-
: null;
|
|
12
|
-
const enumOptions = schema?.enum || [];
|
|
13
|
-
const enumType = schema?.type === 'number' ? 'number' : 'string';
|
|
14
|
-
const handleChange = (newValue) => {
|
|
15
|
-
if (newValue === '' ||
|
|
16
|
-
(typeof newValue === 'string' && newValue.trim() === '')) {
|
|
17
|
-
// Delete if empty
|
|
18
|
-
mappingState.actions.deleteValue(path);
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
mappingState.actions.setValue(path, newValue);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
// Get field name from path (last segment)
|
|
25
|
-
const fieldName = path[path.length - 1];
|
|
26
|
-
return (_jsxs(BaseMappingPane, { title: `Enum: ${fieldName}`, description: "Select from dropdown or type custom value", navigation: navigation, className: className, children: [_jsxs("div", { className: "elb-mapping-pane-field", children: [_jsx(MappingEnumSelect, { value: currentValue, onChange: handleChange, options: enumOptions, placeholder: enumOptions.length > 0
|
|
27
|
-
? `Type or select ${fieldName}...`
|
|
28
|
-
: 'Type custom value...', type: enumType, autoFocus: true }), _jsx("div", { className: "elb-mapping-pane-hint", children: enumOptions.length > 0
|
|
29
|
-
? `${enumOptions.length} predefined ${enumOptions.length === 1 ? 'option' : 'options'} available. Type to filter or enter custom value.`
|
|
30
|
-
: 'No predefined options. Enter custom value.' })] }), enumOptions.length > 0 && (_jsxs("div", { className: "elb-mapping-enum-examples", children: [_jsx("div", { className: "elb-mapping-enum-examples-title", children: "Available Options:" }), _jsxs("ul", { className: "elb-mapping-enum-examples-list", children: [enumOptions.slice(0, 10).map((option) => (_jsx("li", { children: _jsx("code", { children: String(option) }) }, String(option)))), enumOptions.length > 10 && (_jsxs("li", { className: "elb-mapping-enum-examples-more", children: ["... and ", enumOptions.length - 10, " more"] }))] })] }))] }));
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=mapping-enum-pane-view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-enum-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-enum-pane-view.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAqC7D,MAAM,UAAU,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,OAAO,EACP,SAAS,EACT,SAAS,GAAG,EAAE,GACW;IACzB,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClD,MAAM,YAAY,GAChB,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IAEtE,2DAA2D;IAC3D,MAAM,MAAM,GAAG,SAAS,IAAI,OAAO;QACjC,CAAC,CAAC,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,OAAqC,CAAC;QACjF,CAAC,CAAC,IAAI,CAAC;IAET,MAAM,WAAW,G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AC,CAAC,SAAS,mDAAmD;4BACxI,CAAC,CAAC,4CAA4C,GAC5C,IACF,EAEL,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,CACzB,eAAK,SAAS,EAAC,2BAA2B,aACxC,cAAK,SAAS,EAAC,iCAAiC,mCAE1C,EACN,cAAI,SAAS,EAAC,gCAAgC,aAC3C,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACxC,uBACE,yBAAO,MAAM,CAAC,MAAM,CAAC,GAAQ,IADtB,MAAM,CAAC,MAAM,CAAC,CAElB,CACN,CAAC,EACD,WAAW,CAAC,MAAM,GAAG,EAAE,IAAI,CAC1B,cAAI,SAAS,EAAC,gCAAgC,yBACnC,WAAW,CAAC,MAAM,GAAG,EAAE,aAC7B,CACN,IACE,IACD,CACP,IACe,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Mapping Fn Pane View
|
|
5
|
-
*
|
|
6
|
-
* Dedicated pane for the 'fn' property - a transformation function that
|
|
7
|
-
* processes event data and returns a transformed value.
|
|
8
|
-
*
|
|
9
|
-
* Function signature: (value, mapping, options) => any
|
|
10
|
-
*/
|
|
11
|
-
export interface MappingFnPaneViewProps {
|
|
12
|
-
path: string[];
|
|
13
|
-
mappingState: UseMappingStateReturn;
|
|
14
|
-
navigation: UseMappingNavigationReturn;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare function MappingFnPaneView(props: MappingFnPaneViewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
//# sourceMappingURL=mapping-fn-pane-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-fn-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-fn-pane-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAMnF;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA2GD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAW9D"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { MappingFunctionPaneBase, } from './mapping-function-pane-base';
|
|
3
|
-
const DEFAULT_FN = `(
|
|
4
|
-
value: WalkerOS.DeepPartialEvent | unknown,
|
|
5
|
-
mapping: Mapping.Value,
|
|
6
|
-
options: Mapping.Options
|
|
7
|
-
): WalkerOS.Property | unknown => {
|
|
8
|
-
// Transform and return the value
|
|
9
|
-
// Access event data: value.data, value.user, value.globals
|
|
10
|
-
// Access collector: options.collector
|
|
11
|
-
return value.data;
|
|
12
|
-
}`;
|
|
13
|
-
const HELP_SECTIONS = [
|
|
14
|
-
{
|
|
15
|
-
title: 'Parameters',
|
|
16
|
-
items: [
|
|
17
|
-
{
|
|
18
|
-
code: 'value',
|
|
19
|
-
description: 'The event or current value being processed',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
code: 'mapping',
|
|
23
|
-
description: 'The mapping configuration for this property',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
code: 'options',
|
|
27
|
-
description: 'Additional options',
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
title: 'Return Value',
|
|
33
|
-
items: [
|
|
34
|
-
{
|
|
35
|
-
code: 'any',
|
|
36
|
-
description: 'Return the transformed value (string, number, object, array)',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
code: 'undefined',
|
|
40
|
-
description: 'Return undefined to skip this property',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
code: 'Promise',
|
|
44
|
-
description: 'Can be async (return Promise)',
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
title: 'Examples',
|
|
50
|
-
examples: [
|
|
51
|
-
{
|
|
52
|
-
label: 'Extract nested property:',
|
|
53
|
-
code: _jsx(_Fragment, { children: "(value) => value.data?.product?.id" }),
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
label: 'Format currency:',
|
|
57
|
-
code: (_jsxs(_Fragment, { children: ["(value) => {", '\n', ' ', "const price = value.data?.price || 0;", '\n', ' ', "return price.toFixed(2);", '\n', "}"] })),
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: 'Combine multiple fields:',
|
|
61
|
-
code: (_jsx(_Fragment, { children: "(value) => `${value.data?.firstName} ${value.data?.lastName}`" })),
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
label: 'Conditional transformation with consent:',
|
|
65
|
-
code: (_jsxs(_Fragment, { children: ["(value, mapping, options) => {", '\n', ' ', "if (options.consent?.marketing) {", '\n', ' ', "return value.user?.email;", '\n', ' ', "}", '\n', ' ', "return undefined;", '\n', "}"] })),
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: 'Use collector for context:',
|
|
69
|
-
code: (_jsxs(_Fragment, { children: ["(value, mapping, options) => {", '\n', ' ', "const sessionId = options.collector?.session?.id;", '\n', ' ', "return {", '\n', ' ', "eventId: value.id,", '\n', ' ', "sessionId: sessionId,", '\n', ' ', "};", '\n', "}"] })),
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
];
|
|
74
|
-
export function MappingFnPaneView(props) {
|
|
75
|
-
return (_jsx(MappingFunctionPaneBase, { title: "Transformation Function", description: "Transform event data before sending to destination", defaultCode: DEFAULT_FN, helpSections: HELP_SECTIONS, functionType: "fn", ...props }));
|
|
76
|
-
}
|
|
77
|
-
//# sourceMappingURL=mapping-fn-pane-view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-fn-pane-view.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-fn-pane-view.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,uBAAuB,GAExB,MAAM,8BAA8B,CAAC;AAiBtC,MAAM,UAAU,GAAG;;;;;;;;;EASjB,CAAC;AAEH,MAAM,aAAa,GAAkB;IACnC;QACE,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,4CAA4C;aAC1D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,6CAA6C;aAC3D;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,oBAAoB;aAClC;SACF;KACF;IACD;QACE,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,KAAK;gBACX,WAAW,EACT,8DAA8D;aACjE;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,wCAAwC;aACtD;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,+BAA+B;aAC7C;SACF;KACF;IACD;QACE,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,0BAA0B;gBACjC,IAAI,EAAE,mEAA0C;aACjD;YACD;gBACE,KAAK,EAAE,kBAAkB;gBACzB,IAAI,EAAE,CACJ,8CACuB,IAAI,EACxB,IAAI,2CAAuC,IAAI,EAC/C,IAAI,8BAA0B,IAAI,SAElC,CACJ;aACF;YACD;gBACE,KAAK,EAAE,0BAA0B;gBACjC,IAAI,EAAE,CACJ,8FAGG,CACJ;aACF;YACD;gBACE,KAAK,EAAE,0CAA0C;gBACjD,IAAI,EAAE,CACJ,gEACyC,IAAI,EAC1C,IAAI,uCAAwC,IAAI,EAChD,MAAM,+BAA2B,IAAI,EACrC,IAAI,OAAQ,IAAI,EAChB,IAAI,uBAAmB,IAAI,SAE3B,CACJ;aACF;YACD;gBACE,KAAK,EAAE,4BAA4B;gBACnC,IAAI,EAAE,CACJ,gEACyC,IAAI,EAC1C,IAAI,uDAAmD,IAAI,EAC3D,IAAI,cAAe,IAAI,EACvB,MAAM,wBAAoB,IAAI,EAC9B,MAAM,2BAAuB,IAAI,EACjC,IAAI,QAAS,IAAI,SAEjB,CACJ;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC7D,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,yBAAyB,EAC/B,WAAW,EAAC,oDAAoD,EAChE,WAAW,EAAE,UAAU,EACvB,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAC,IAAI,KACb,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
3
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
4
|
-
import { type FunctionType } from '../../utils/monaco-types';
|
|
5
|
-
/**
|
|
6
|
-
* Help Item - represents a single parameter, return value item, etc.
|
|
7
|
-
*/
|
|
8
|
-
export interface HelpItem {
|
|
9
|
-
code: string;
|
|
10
|
-
description: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Help Example - code example with label
|
|
14
|
-
*/
|
|
15
|
-
export interface HelpExample {
|
|
16
|
-
label: string;
|
|
17
|
-
code: string | ReactNode;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Help Section - a titled section with either items or examples
|
|
21
|
-
*/
|
|
22
|
-
export interface HelpSection {
|
|
23
|
-
title: string;
|
|
24
|
-
items?: HelpItem[];
|
|
25
|
-
examples?: HelpExample[];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Base Props for Function Pane Component
|
|
29
|
-
*/
|
|
30
|
-
export interface MappingFunctionPaneBaseProps {
|
|
31
|
-
title: string;
|
|
32
|
-
description: string;
|
|
33
|
-
defaultCode: string;
|
|
34
|
-
helpSections: HelpSection[];
|
|
35
|
-
functionType: FunctionType;
|
|
36
|
-
path: string[];
|
|
37
|
-
mappingState: UseMappingStateReturn;
|
|
38
|
-
navigation: UseMappingNavigationReturn;
|
|
39
|
-
className?: string;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Mapping Function Pane Base
|
|
43
|
-
*
|
|
44
|
-
* Base component for function editing panes (condition, fn, validate).
|
|
45
|
-
* Consolidates shared logic for state management, code editing, and help display.
|
|
46
|
-
*
|
|
47
|
-
* Used by:
|
|
48
|
-
* - MappingConditionPaneView
|
|
49
|
-
* - MappingFnPaneView
|
|
50
|
-
* - MappingValidatePaneView
|
|
51
|
-
*/
|
|
52
|
-
export declare function MappingFunctionPaneBase({ title, description, defaultCode, helpSections, functionType, path, mappingState, navigation, className, }: MappingFunctionPaneBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
//# sourceMappingURL=mapping-function-pane-base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-function-pane-base.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-function-pane-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,0BAA0B,CAAC;AAGlC;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,4BAA4B,2CAkH9B"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect } from 'react';
|
|
3
|
-
import { CodeBox } from '../molecules/code-box';
|
|
4
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
5
|
-
import { normalizeCode } from '../../utils/code-normalizer';
|
|
6
|
-
import { registerWalkerOSTypes, addFunctionContextTypes, } from '../../utils/monaco-types';
|
|
7
|
-
import { registerPalenightTheme } from '../../themes/palenight';
|
|
8
|
-
/**
|
|
9
|
-
* Mapping Function Pane Base
|
|
10
|
-
*
|
|
11
|
-
* Base component for function editing panes (condition, fn, validate).
|
|
12
|
-
* Consolidates shared logic for state management, code editing, and help display.
|
|
13
|
-
*
|
|
14
|
-
* Used by:
|
|
15
|
-
* - MappingConditionPaneView
|
|
16
|
-
* - MappingFnPaneView
|
|
17
|
-
* - MappingValidatePaneView
|
|
18
|
-
*/
|
|
19
|
-
export function MappingFunctionPaneBase({ title, description, defaultCode, helpSections, functionType, path, mappingState, navigation, className = '', }) {
|
|
20
|
-
// Get current value from mapping state
|
|
21
|
-
const value = mappingState.actions.getValue(path);
|
|
22
|
-
const initialCode = typeof value === 'string' ? value : defaultCode;
|
|
23
|
-
const [code, setCode] = useState(initialCode);
|
|
24
|
-
// Update local state if external value changes
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
const currentValue = mappingState.actions.getValue(path);
|
|
27
|
-
const newCode = typeof currentValue === 'string' ? currentValue : defaultCode;
|
|
28
|
-
setCode(newCode);
|
|
29
|
-
}, [path, mappingState, defaultCode]);
|
|
30
|
-
const handleCodeChange = (newCode) => {
|
|
31
|
-
setCode(newCode);
|
|
32
|
-
// Check if code is different from default (normalized comparison)
|
|
33
|
-
const isDefault = normalizeCode(newCode) === normalizeCode(defaultCode);
|
|
34
|
-
if (isDefault) {
|
|
35
|
-
// Remove the property if it's the default
|
|
36
|
-
mappingState.actions.deleteValue(path);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
// Save the modified code
|
|
40
|
-
mappingState.actions.setValue(path, newCode);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const handleReset = () => {
|
|
44
|
-
// Reset to default and remove from mapping
|
|
45
|
-
setCode(defaultCode);
|
|
46
|
-
mappingState.actions.deleteValue(path);
|
|
47
|
-
};
|
|
48
|
-
// Monaco editor beforeMount handler to register types
|
|
49
|
-
const handleBeforeMount = (monaco) => {
|
|
50
|
-
registerPalenightTheme(monaco);
|
|
51
|
-
registerWalkerOSTypes(monaco);
|
|
52
|
-
addFunctionContextTypes(monaco, { type: functionType });
|
|
53
|
-
};
|
|
54
|
-
return (_jsx(BaseMappingPane, { title: title, description: description, navigation: navigation, headerAction: {
|
|
55
|
-
label: 'Reset',
|
|
56
|
-
onClick: handleReset,
|
|
57
|
-
title: 'Reset to default',
|
|
58
|
-
}, className: className, children: _jsxs("div", { className: "elb-mapping-function-pane", children: [_jsx("div", { className: "elb-mapping-function-editor", children: _jsx(CodeBox, { code: code, language: "typescript", onChange: handleCodeChange, showHeader: false, label: "", beforeMount: handleBeforeMount }) }), _jsx("div", { className: "elb-mapping-function-help", children: helpSections.map((section, sectionIndex) => (_jsxs("div", { className: "elb-mapping-function-help-section", children: [_jsx("h4", { className: "elb-mapping-function-help-title", children: section.title }), section.items && section.items.length > 0 && (_jsx("ul", { className: "elb-mapping-function-help-list", children: section.items.map((item, itemIndex) => (_jsxs("li", { children: [_jsx("code", { children: item.code }), " - ", item.description] }, itemIndex))) })), section.examples && section.examples.length > 0 && (_jsx("div", { className: "elb-mapping-function-examples", children: section.examples.map((example, exampleIndex) => (_jsxs("div", { className: "elb-mapping-function-example", children: [_jsx("div", { className: "elb-mapping-function-example-label", children: example.label }), _jsx("code", { className: "elb-mapping-function-example-code", children: example.code })] }, exampleIndex))) }))] }, sectionIndex))) })] }) }));
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=mapping-function-pane-base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-function-pane-base.js","sourceRoot":"","sources":["../../../src/components/molecules/mapping-function-pane-base.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAkB,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,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J,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,CAC5C,aAAI,SAAS,EAAC,gCAAgC,YAC3C,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,CACtC,yBACE,yBAAO,IAAI,CAAC,IAAI,GAAQ,SAAI,IAAI,CAAC,WAAW,KADrC,SAAS,CAEb,CACN,CAAC,GACC,CACN,EAGA,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAClD,cAAK,SAAS,EAAC,+BAA+B,YAC3C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAC/C,eAEE,SAAS,EAAC,8BAA8B,aAExC,cAAK,SAAS,EAAC,oCAAoC,YAChD,OAAO,CAAC,KAAK,GACV,EACN,eAAM,SAAS,EAAC,mCAAmC,YAChD,OAAO,CAAC,IAAI,GACR,KARF,YAAY,CASb,CACP,CAAC,GACE,CACP,KAnCI,YAAY,CAoCb,CACP,CAAC,GACE,IACF,GACU,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { UseMappingStateReturn } from '../../hooks/useMappingState';
|
|
2
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
3
|
-
/**
|
|
4
|
-
* Key Pane View - Pure Presentation Component
|
|
5
|
-
*
|
|
6
|
-
* Edits the 'key' property - a string path that extracts data from the event.
|
|
7
|
-
* This is used to reference properties like data.id, user.email, globals.currency.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <MappingKeyPaneView
|
|
11
|
-
* path={['page', 'view', 'data', 'map', 'currency', 'key']}
|
|
12
|
-
* mappingState={mappingState}
|
|
13
|
-
* navigation={navigation}
|
|
14
|
-
* />
|
|
15
|
-
*/
|
|
16
|
-
export interface MappingKeyPaneViewProps {
|
|
17
|
-
path: string[];
|
|
18
|
-
mappingState: UseMappingStateReturn;
|
|
19
|
-
navigation: UseMappingNavigationReturn;
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function MappingKeyPaneView({ path, mappingState, navigation, className, }: MappingKeyPaneViewProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
//# sourceMappingURL=mapping-key-pane-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mapping-key-pane-view.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/mapping-key-pane-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,EAAE,0BAA0B,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,SAAc,GACf,EAAE,uBAAuB,2CA4BzB"}
|