@walkeros/explorer 2.1.4 → 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-5B2ONDO3.mjs +0 -573
- package/dist/chunk-5B2ONDO3.mjs.map +0 -1
- package/dist/components/atoms/alert.d.ts +0 -29
- package/dist/components/atoms/alert.d.ts.map +0 -1
- package/dist/components/atoms/alert.js +0 -19
- package/dist/components/atoms/alert.js.map +0 -1
- package/dist/components/atoms/alert.stories.d.ts +0 -7
- package/dist/components/atoms/alert.stories.d.ts.map +0 -1
- package/dist/components/atoms/alert.stories.js +0 -14
- package/dist/components/atoms/alert.stories.js.map +0 -1
- package/dist/components/atoms/base-mapping-pane.d.ts +0 -85
- package/dist/components/atoms/base-mapping-pane.d.ts.map +0 -1
- package/dist/components/atoms/base-mapping-pane.js +0 -53
- package/dist/components/atoms/base-mapping-pane.js.map +0 -1
- package/dist/components/atoms/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-QVKK6UKF.mjs +0 -34
- package/dist/monaco-types-QVKK6UKF.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,85 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { RuleTile } from '../atoms/config-tile';
|
|
3
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
4
|
-
function getSettingStatus(value) {
|
|
5
|
-
if (value === undefined || value === null) {
|
|
6
|
-
return { enabled: false, text: 'Not set' };
|
|
7
|
-
}
|
|
8
|
-
// Display value preview
|
|
9
|
-
if (typeof value === 'string') {
|
|
10
|
-
return { enabled: true, text: value };
|
|
11
|
-
}
|
|
12
|
-
if (typeof value === 'number') {
|
|
13
|
-
return { enabled: true, text: String(value) };
|
|
14
|
-
}
|
|
15
|
-
if (typeof value === 'boolean') {
|
|
16
|
-
return { enabled: true, text: value ? 'Enabled' : 'Disabled' };
|
|
17
|
-
}
|
|
18
|
-
if (Array.isArray(value)) {
|
|
19
|
-
return { enabled: true, text: `${value.length} items` };
|
|
20
|
-
}
|
|
21
|
-
if (typeof value === 'object') {
|
|
22
|
-
const keys = Object.keys(value);
|
|
23
|
-
return { enabled: true, text: `${keys.length} properties` };
|
|
24
|
-
}
|
|
25
|
-
return { enabled: true, text: 'Configured' };
|
|
26
|
-
}
|
|
27
|
-
export function SettingsOverviewPane({ path, mappingState, navigation, schema, className = '', }) {
|
|
28
|
-
const settings = mappingState.actions.getValue(path);
|
|
29
|
-
// Gather all setting keys (from value + schema)
|
|
30
|
-
const configuredKeys = settings ? Object.keys(settings) : [];
|
|
31
|
-
const schemaKeys = schema?.properties ? Object.keys(schema.properties) : [];
|
|
32
|
-
const allKeys = Array.from(new Set([...configuredKeys, ...schemaKeys])).sort();
|
|
33
|
-
// Separate configured vs available
|
|
34
|
-
const configuredSettings = [];
|
|
35
|
-
const availableSettings = [];
|
|
36
|
-
allKeys.forEach((key) => {
|
|
37
|
-
const propSchema = schema?.properties?.[key];
|
|
38
|
-
const title = propSchema?.title || key.charAt(0).toUpperCase() + key.slice(1);
|
|
39
|
-
const description = propSchema?.description;
|
|
40
|
-
let nodeType = 'valueConfig';
|
|
41
|
-
if (propSchema) {
|
|
42
|
-
if (propSchema.enum && Array.isArray(propSchema.enum) && propSchema.enum.length > 0) {
|
|
43
|
-
nodeType = 'enum';
|
|
44
|
-
}
|
|
45
|
-
else if (propSchema.type === 'boolean') {
|
|
46
|
-
nodeType = 'boolean';
|
|
47
|
-
}
|
|
48
|
-
else if (propSchema.type === 'object') {
|
|
49
|
-
nodeType = 'map';
|
|
50
|
-
}
|
|
51
|
-
else if (propSchema.type === 'array') {
|
|
52
|
-
nodeType = propSchema.minItems === 2 && propSchema.maxItems === 2 ? 'loop' : 'set';
|
|
53
|
-
}
|
|
54
|
-
else if (propSchema.type === 'string' || propSchema.type === 'number') {
|
|
55
|
-
nodeType = 'primitive';
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
const currentValue = mappingState.actions.getValue([...path, key]);
|
|
59
|
-
const hasValue = currentValue !== undefined;
|
|
60
|
-
if (hasValue) {
|
|
61
|
-
configuredSettings.push({
|
|
62
|
-
key,
|
|
63
|
-
title,
|
|
64
|
-
description,
|
|
65
|
-
nodeType,
|
|
66
|
-
value: currentValue,
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
availableSettings.push({
|
|
71
|
-
key,
|
|
72
|
-
title,
|
|
73
|
-
description,
|
|
74
|
-
nodeType,
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
const handleSettingClick = (key, nodeType) => {
|
|
79
|
-
navigation.openTab([...path, key], nodeType);
|
|
80
|
-
};
|
|
81
|
-
return (_jsxs(BaseMappingPane, { title: "Settings", description: configuredSettings.length === 0
|
|
82
|
-
? 'No settings configured. Click a tile to add settings.'
|
|
83
|
-
: `${configuredSettings.length} ${configuredSettings.length === 1 ? 'setting' : 'settings'} configured`, navigation: navigation, className: className, children: [_jsx("div", { className: "elb-mapping-rule-section-grid", children: configuredSettings.map((setting) => (_jsx(RuleTile, { label: setting.title, description: setting.description || '', status: getSettingStatus(setting.value), onClick: () => handleSettingClick(setting.key, setting.nodeType) }, setting.key))) }), availableSettings.length > 0 && (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: "Available Settings" }), _jsx("p", { className: "elb-mapping-rule-section-description", children: "Click to configure additional destination settings" }), _jsx("div", { className: "elb-mapping-rule-section-grid", children: availableSettings.map((setting) => (_jsx(RuleTile, { label: setting.title, description: setting.description || '', status: { enabled: false, text: 'Not set' }, onClick: () => handleSettingClick(setting.key, setting.nodeType) }, setting.key))) })] }))] }));
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=settings-overview-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-overview-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/settings-overview-pane.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,QAAQ,EAAuB,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AA+B7D,SAAS,gBAAgB,CAAC,KAAc;IACtC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AC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SplitButtonAction {
|
|
3
|
-
key: string;
|
|
4
|
-
label: string;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface SplitButtonProps {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
actions?: SplitButtonAction[];
|
|
12
|
-
variant?: 'primary' | 'default' | 'danger';
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
loadingText?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* SplitButton - Primary button with dropdown actions
|
|
20
|
-
*
|
|
21
|
-
* Generic molecule: primary button + dropdown arrow.
|
|
22
|
-
* Click-outside and Escape to close.
|
|
23
|
-
*/
|
|
24
|
-
export declare function SplitButton({ children, onClick, actions, variant, loading, loadingText, disabled, className, }: SplitButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
//# sourceMappingURL=split-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/split-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,OAAO,EACP,OAAY,EACZ,OAAmB,EACnB,OAAe,EACf,WAAW,EACX,QAAgB,EAChB,SAAc,GACf,EAAE,gBAAgB,2CAyFlB"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* SplitButton - Primary button with dropdown actions
|
|
5
|
-
*
|
|
6
|
-
* Generic molecule: primary button + dropdown arrow.
|
|
7
|
-
* Click-outside and Escape to close.
|
|
8
|
-
*/
|
|
9
|
-
export function SplitButton({ children, onClick, actions = [], variant = 'primary', loading = false, loadingText, disabled = false, className = '', }) {
|
|
10
|
-
const [open, setOpen] = useState(false);
|
|
11
|
-
const ref = useRef(null);
|
|
12
|
-
const isDisabled = disabled || loading;
|
|
13
|
-
const handleClickOutside = useCallback((e) => {
|
|
14
|
-
if (ref.current && !ref.current.contains(e.target)) {
|
|
15
|
-
setOpen(false);
|
|
16
|
-
}
|
|
17
|
-
}, []);
|
|
18
|
-
const handleKeyDown = useCallback((e) => {
|
|
19
|
-
if (e.key === 'Escape')
|
|
20
|
-
setOpen(false);
|
|
21
|
-
}, []);
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
if (open) {
|
|
24
|
-
document.addEventListener('mousedown', handleClickOutside);
|
|
25
|
-
document.addEventListener('keydown', handleKeyDown);
|
|
26
|
-
return () => {
|
|
27
|
-
document.removeEventListener('mousedown', handleClickOutside);
|
|
28
|
-
document.removeEventListener('keydown', handleKeyDown);
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
}, [open, handleClickOutside, handleKeyDown]);
|
|
32
|
-
return (_jsxs("div", { ref: ref, className: `elb-split-button elb-split-button--${variant} ${className}`, children: [_jsx("button", { type: "button", className: "elb-split-button__primary", onClick: onClick, disabled: isDisabled, children: loading ? (loadingText ?? children) : children }), actions.length > 0 && (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", className: "elb-split-button__toggle", onClick: () => setOpen(!open), disabled: isDisabled, "aria-label": "More actions", "aria-expanded": open, children: _jsx("svg", { className: "elb-split-button__arrow", width: "10", height: "6", viewBox: "0 0 10 6", fill: "currentColor", children: _jsx("path", { d: "M1 1l4 4 4-4", stroke: "currentColor", strokeWidth: "1.5", fill: "none" }) }) }), open && (_jsx("div", { className: "elb-split-button__dropdown", children: actions.map((action) => (_jsx("button", { type: "button", className: "elb-split-button__action", disabled: action.disabled, onClick: () => {
|
|
33
|
-
setOpen(false);
|
|
34
|
-
action.onClick();
|
|
35
|
-
}, children: action.label }, action.key))) }))] }))] }));
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=split-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.js","sourceRoot":"","sources":["../../../src/components/molecules/split-button.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAoBxE;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,EAC1B,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,EAAE,EACZ,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,KAAK,EACf,WAAW,EACX,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,EAAE,GACG;IACjB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEzC,MAAM,UA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MAAM,GAAG,CAAC,IAAI,CACrB,8BACE,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,0BAA0B,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,EAC7B,QAAQ,EAAE,UAAU,gBACT,cAAc,mBACV,IAAI,YAEnB,cACE,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,cAAc,YAEnB,eACE,CAAC,EAAC,cAAc,EAChB,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,EACjB,IAAI,EAAC,MAAM,GACX,GACE,GACC,EAER,IAAI,IAAI,CACP,cAAK,SAAS,EAAC,4BAA4B,YACxC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvB,iBAEE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,0BAA0B,EACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,OAAO,EAAE,GAAG,EAAE;gCACZ,OAAO,CAAC,KAAK,CAAC,CAAC;gCACf,MAAM,CAAC,OAAO,EAAE,CAAC;4BACnB,CAAC,YAEA,MAAM,CAAC,KAAK,IATR,MAAM,CAAC,GAAG,CAUR,CACV,CAAC,GACE,CACP,IACA,CACJ,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { SplitButton } from './split-button';
|
|
3
|
-
/**
|
|
4
|
-
* SplitButton - Primary button with dropdown actions
|
|
5
|
-
*
|
|
6
|
-
* Generic molecule combining a primary button with a dropdown arrow
|
|
7
|
-
* that reveals secondary actions. Supports loading and disabled states.
|
|
8
|
-
*/
|
|
9
|
-
declare const meta: Meta<typeof SplitButton>;
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof SplitButton>;
|
|
12
|
-
/**
|
|
13
|
-
* Default SplitButton without actions
|
|
14
|
-
*/
|
|
15
|
-
export declare const Default: Story;
|
|
16
|
-
/**
|
|
17
|
-
* SplitButton with dropdown actions
|
|
18
|
-
*/
|
|
19
|
-
export declare const WithActions: Story;
|
|
20
|
-
/**
|
|
21
|
-
* Loading state
|
|
22
|
-
*/
|
|
23
|
-
export declare const Loading: Story;
|
|
24
|
-
/**
|
|
25
|
-
* Disabled state
|
|
26
|
-
*/
|
|
27
|
-
export declare const Disabled: Story;
|
|
28
|
-
/**
|
|
29
|
-
* Danger variant
|
|
30
|
-
*/
|
|
31
|
-
export declare const DangerVariant: Story;
|
|
32
|
-
//# sourceMappingURL=split-button.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/split-button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAIlC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAC"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { SplitButton } from './split-button';
|
|
2
|
-
/**
|
|
3
|
-
* SplitButton - Primary button with dropdown actions
|
|
4
|
-
*
|
|
5
|
-
* Generic molecule combining a primary button with a dropdown arrow
|
|
6
|
-
* that reveals secondary actions. Supports loading and disabled states.
|
|
7
|
-
*/
|
|
8
|
-
const meta = {
|
|
9
|
-
component: SplitButton,
|
|
10
|
-
title: 'Molecules/SplitButton',
|
|
11
|
-
tags: ['autodocs'],
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
/**
|
|
15
|
-
* Default SplitButton without actions
|
|
16
|
-
*/
|
|
17
|
-
export const Default = {
|
|
18
|
-
args: {
|
|
19
|
-
children: 'Deploy',
|
|
20
|
-
onClick: () => { },
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* SplitButton with dropdown actions
|
|
25
|
-
*/
|
|
26
|
-
export const WithActions = {
|
|
27
|
-
args: {
|
|
28
|
-
children: 'Deploy',
|
|
29
|
-
onClick: () => { },
|
|
30
|
-
actions: [
|
|
31
|
-
{
|
|
32
|
-
key: 'download',
|
|
33
|
-
label: 'Download Flow (.json)',
|
|
34
|
-
onClick: () => { },
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
key: 'bundle',
|
|
38
|
-
label: 'Bundle (.js)',
|
|
39
|
-
onClick: () => { },
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Loading state
|
|
46
|
-
*/
|
|
47
|
-
export const Loading = {
|
|
48
|
-
args: {
|
|
49
|
-
children: 'Deploy',
|
|
50
|
-
onClick: () => { },
|
|
51
|
-
loading: true,
|
|
52
|
-
loadingText: 'Deploying...',
|
|
53
|
-
actions: [
|
|
54
|
-
{ key: 'download', label: 'Download Flow (.json)', onClick: () => { } },
|
|
55
|
-
],
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Disabled state
|
|
60
|
-
*/
|
|
61
|
-
export const Disabled = {
|
|
62
|
-
args: {
|
|
63
|
-
children: 'Deploy',
|
|
64
|
-
onClick: () => { },
|
|
65
|
-
disabled: true,
|
|
66
|
-
actions: [
|
|
67
|
-
{ key: 'download', label: 'Download Flow (.json)', onClick: () => { } },
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Danger variant
|
|
73
|
-
*/
|
|
74
|
-
export const DangerVariant = {
|
|
75
|
-
args: {
|
|
76
|
-
children: 'Delete Deployment',
|
|
77
|
-
onClick: () => { },
|
|
78
|
-
variant: 'danger',
|
|
79
|
-
actions: [
|
|
80
|
-
{
|
|
81
|
-
key: 'download',
|
|
82
|
-
label: 'Download Backup (.json)',
|
|
83
|
-
onClick: () => { },
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=split-button.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.stories.js","sourceRoot":"","sources":["../../../src/components/molecules/split-button.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,IAAI,GAA6B;IACrC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,uBAAuB;IAC9B,IAAI,EAAE,CAAC,UAAU,CAAC;CACnB,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;QACjB,OAAO,EAAE;YACP;gBACE,GAAG,EAAE,UAAU;gBACf,KAAK,EAAE,uBAAuB;gBAC9B,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;aAClB;YACD;gBACE,GAAG,EAAE,QAAQ;gBACb,KAAK,EAAE,cAAc;gBACrB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;aAClB;SACF;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;QACjB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,cAAc;QAC3B,OAAO,EAAE;YACP,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE;SACvE;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;QACjB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE;SACvE;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;QACjB,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE;YACP;gBACE,GAAG,EAAE,UAAU;gBACf,KAAK,EAAE,yBAAyB;gBAChC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;aAClB;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { UseMappingNavigationReturn } from '../../hooks/useMappingNavigation';
|
|
2
|
-
import type { ValidationError } from '../../utils/config-validator';
|
|
3
|
-
import type { ConfigStructureDef } from '../../schemas/config-structures/types';
|
|
4
|
-
import type { RJSFSchema } from '@rjsf/utils';
|
|
5
|
-
/**
|
|
6
|
-
* Validation Overview Pane - Shows all validation errors in the config
|
|
7
|
-
*
|
|
8
|
-
* Displays a list of all fields that have validation errors, grouped by section.
|
|
9
|
-
* Each error shows the path, current value, and error message.
|
|
10
|
-
* Clicking an error navigates to that field for editing.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* <ValidationOverviewPane
|
|
14
|
-
* errors={validationErrors}
|
|
15
|
-
* navigation={navigation}
|
|
16
|
-
* />
|
|
17
|
-
*/
|
|
18
|
-
export interface ValidationOverviewPaneProps {
|
|
19
|
-
errors: ValidationError[];
|
|
20
|
-
navigation: UseMappingNavigationReturn;
|
|
21
|
-
config: unknown;
|
|
22
|
-
structure: ConfigStructureDef;
|
|
23
|
-
schemas?: Record<string, RJSFSchema>;
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function ValidationOverviewPane({ errors, navigation, config, structure, schemas, className, }: ValidationOverviewPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
//# sourceMappingURL=validation-overview-pane.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation-overview-pane.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/validation-overview-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAIpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,0BAA0B,CAAC;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkCD,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,UAAU,EACV,MAAM,EACN,SAAS,EACT,OAAO,EACP,SAAc,GACf,EAAE,2BAA2B,2CAyE7B"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { formatPath, groupErrorsBySection } from '../../utils/config-validator';
|
|
3
|
-
import { BaseMappingPane } from '../atoms/base-mapping-pane';
|
|
4
|
-
import { detectNodeType } from '../../utils/type-detector';
|
|
5
|
-
import { getValueAtPath } from '../../utils/mapping-path';
|
|
6
|
-
/**
|
|
7
|
-
* Format value for display (truncate if too long)
|
|
8
|
-
*/
|
|
9
|
-
function formatValue(value) {
|
|
10
|
-
if (value === null)
|
|
11
|
-
return 'null';
|
|
12
|
-
if (value === undefined)
|
|
13
|
-
return 'undefined';
|
|
14
|
-
const str = typeof value === 'string' ? value : JSON.stringify(value);
|
|
15
|
-
const maxLength = 50;
|
|
16
|
-
if (str.length > maxLength) {
|
|
17
|
-
return str.substring(0, maxLength) + '...';
|
|
18
|
-
}
|
|
19
|
-
return str;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Get a nice section title from section key
|
|
23
|
-
*/
|
|
24
|
-
function getSectionTitle(section) {
|
|
25
|
-
const titles = {
|
|
26
|
-
settings: 'Settings',
|
|
27
|
-
mapping: 'Mapping Rules',
|
|
28
|
-
policy: 'Policy',
|
|
29
|
-
consent: 'Consent',
|
|
30
|
-
data: 'Data',
|
|
31
|
-
};
|
|
32
|
-
return titles[section] || section.charAt(0).toUpperCase() + section.slice(1);
|
|
33
|
-
}
|
|
34
|
-
export function ValidationOverviewPane({ errors, navigation, config, structure, schemas, className = '', }) {
|
|
35
|
-
const groupedErrors = groupErrorsBySection(errors);
|
|
36
|
-
const sections = Object.keys(groupedErrors).sort();
|
|
37
|
-
const handleErrorClick = (error) => {
|
|
38
|
-
const value = getValueAtPath(config, error.path);
|
|
39
|
-
const nodeType = detectNodeType(value, error.path, structure, schemas);
|
|
40
|
-
navigation.openTab(error.path, nodeType);
|
|
41
|
-
};
|
|
42
|
-
return (_jsx(BaseMappingPane, { title: "Validation Errors", description: errors.length === 0
|
|
43
|
-
? 'No validation errors found. All fields are valid.'
|
|
44
|
-
: `${errors.length} validation ${errors.length === 1 ? 'error' : 'errors'} found in your configuration.`, navigation: navigation, className: className, children: errors.length === 0 ? (_jsx("div", { className: "elb-mapping-rule-section", children: _jsxs("div", { style: {
|
|
45
|
-
padding: '40px 20px',
|
|
46
|
-
textAlign: 'center',
|
|
47
|
-
color: 'var(--color-text-muted)',
|
|
48
|
-
}, children: [_jsx("div", { style: { fontSize: '48px', marginBottom: '16px' }, children: "\u2713" }), _jsx("div", { style: { fontSize: '16px', fontWeight: 500 }, children: "All fields are valid" }), _jsx("div", { style: { fontSize: '14px', marginTop: '8px' }, children: "Your configuration has no validation errors." })] }) })) : (sections.map((section) => (_jsxs("div", { className: "elb-mapping-rule-section", children: [_jsx("h3", { className: "elb-mapping-rule-section-title", children: getSectionTitle(section) }), _jsx("div", { className: "elb-validation-errors-list", children: groupedErrors[section].map((error, index) => (_jsxs("div", { className: "elb-validation-error-item", onClick: () => handleErrorClick(error), children: [_jsx("div", { className: "elb-validation-error-icon", children: "\u26A0" }), _jsxs("div", { className: "elb-validation-error-content", children: [_jsx("div", { className: "elb-validation-error-path", children: formatPath(error.path) }), _jsx("div", { className: "elb-validation-error-message", children: error.error }), _jsxs("div", { className: "elb-validation-error-value", children: ["Current value: ", _jsx("code", { children: formatValue(error.value) })] })] }), _jsx("div", { className: "elb-validation-error-action", children: "\u2192" })] }, `${formatPath(error.path)}-${index}`))) })] }, section)))) }));
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=validation-overview-pane.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation-overview-pane.js","sourceRoot":"","sources":["../../../src/components/molecules/validation-overview-pane.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAwB1D;;GAEG;AACH,SAAS,WAAW,CAAC,KAAc;IACjC,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,MAAM,CAAC;IAClC,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,WAAW,CAAC;IAE5C,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACtE,MAAM,SAAS,GAAG,EAAE,CAAC;IAErB,IAAI,GAAG,CAAC,MAAM,GAAG,SAAS,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC;IAC7C,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CAAC,OAAe;IACtC,MAAM,MAAM,GAA2B;QACrC,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,eAAe;QACxB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,MAAM;KACb,CAAC;IAEF,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC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lChange?: (value: string) => void;
|
|
6
|
-
onCssChange?: (value: string) => void;
|
|
7
|
-
onJsChange?: (value: string) => void;
|
|
8
|
-
showPreview?: boolean;
|
|
9
|
-
label?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
initialTab?: 'preview' | 'html' | 'css' | 'js';
|
|
12
|
-
lineNumbers?: boolean;
|
|
13
|
-
wordWrap?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* BrowserBox - Code editor with HTML/CSS/JS toggle
|
|
17
|
-
*
|
|
18
|
-
* Displays code editor with button group to switch between HTML, CSS, and JavaScript.
|
|
19
|
-
* Only shows tabs for content that is provided.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* <BrowserBox
|
|
23
|
-
* html={htmlCode}
|
|
24
|
-
* css={cssCode}
|
|
25
|
-
* onHtmlChange={setHtml}
|
|
26
|
-
* onCssChange={setCss}
|
|
27
|
-
* label="Code"
|
|
28
|
-
* />
|
|
29
|
-
*/
|
|
30
|
-
export declare function BrowserBox({ html, css, js, onHtmlChange, onCssChange, onJsChange, showPreview, label, className, initialTab, lineNumbers, wordWrap, }: BrowserBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
//# sourceMappingURL=browser-box.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser-box.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/browser-box.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,GAAG,EACH,EAAE,EACF,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAkB,EAClB,KAAc,EACd,SAAc,EACd,UAAU,EACV,WAAmB,EACnB,QAAgB,GACjB,EAAE,eAAe,2CAqFjB"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useMemo } from 'react';
|
|
3
|
-
import { Box } from '../atoms/box';
|
|
4
|
-
import { ButtonGroup } from '../atoms/button-group';
|
|
5
|
-
import { Preview } from '../molecules/preview';
|
|
6
|
-
import { Code } from '../atoms/code';
|
|
7
|
-
/**
|
|
8
|
-
* BrowserBox - Code editor with HTML/CSS/JS toggle
|
|
9
|
-
*
|
|
10
|
-
* Displays code editor with button group to switch between HTML, CSS, and JavaScript.
|
|
11
|
-
* Only shows tabs for content that is provided.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* <BrowserBox
|
|
15
|
-
* html={htmlCode}
|
|
16
|
-
* css={cssCode}
|
|
17
|
-
* onHtmlChange={setHtml}
|
|
18
|
-
* onCssChange={setCss}
|
|
19
|
-
* label="Code"
|
|
20
|
-
* />
|
|
21
|
-
*/
|
|
22
|
-
export function BrowserBox({ html, css, js, onHtmlChange, onCssChange, onJsChange, showPreview = true, label = 'Code', className = '', initialTab, lineNumbers = false, wordWrap = false, }) {
|
|
23
|
-
// Determine available tabs
|
|
24
|
-
const availableTabs = useMemo(() => {
|
|
25
|
-
const tabs = [];
|
|
26
|
-
if (showPreview && html !== undefined)
|
|
27
|
-
tabs.push({ label: 'Preview', value: 'preview' });
|
|
28
|
-
if (html !== undefined)
|
|
29
|
-
tabs.push({ label: 'HTML', value: 'html' });
|
|
30
|
-
if (css !== undefined)
|
|
31
|
-
tabs.push({ label: 'CSS', value: 'css' });
|
|
32
|
-
if (js !== undefined)
|
|
33
|
-
tabs.push({ label: 'JS', value: 'js' });
|
|
34
|
-
return tabs;
|
|
35
|
-
}, [html, css, js, showPreview]);
|
|
36
|
-
// Set initial active tab
|
|
37
|
-
const [activeTab, setActiveTab] = useState(() => {
|
|
38
|
-
if (initialTab && availableTabs.some((t) => t.value === initialTab)) {
|
|
39
|
-
return initialTab;
|
|
40
|
-
}
|
|
41
|
-
return availableTabs[0]?.value || 'preview';
|
|
42
|
-
});
|
|
43
|
-
// Get current content and language
|
|
44
|
-
const { content, language, onChange } = useMemo(() => {
|
|
45
|
-
switch (activeTab) {
|
|
46
|
-
case 'html':
|
|
47
|
-
return {
|
|
48
|
-
content: html || '',
|
|
49
|
-
language: 'html',
|
|
50
|
-
onChange: onHtmlChange,
|
|
51
|
-
};
|
|
52
|
-
case 'css':
|
|
53
|
-
return {
|
|
54
|
-
content: css || '',
|
|
55
|
-
language: 'css',
|
|
56
|
-
onChange: onCssChange,
|
|
57
|
-
};
|
|
58
|
-
case 'js':
|
|
59
|
-
return {
|
|
60
|
-
content: js || '',
|
|
61
|
-
language: 'javascript',
|
|
62
|
-
onChange: onJsChange,
|
|
63
|
-
};
|
|
64
|
-
default:
|
|
65
|
-
return {
|
|
66
|
-
content: '',
|
|
67
|
-
language: 'text',
|
|
68
|
-
onChange: undefined,
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
}, [activeTab, html, css, js, onHtmlChange, onCssChange, onJsChange]);
|
|
72
|
-
// Build button group data
|
|
73
|
-
const buttons = useMemo(() => availableTabs.map((tab) => ({
|
|
74
|
-
label: tab.label,
|
|
75
|
-
value: tab.value,
|
|
76
|
-
active: activeTab === tab.value,
|
|
77
|
-
})), [availableTabs, activeTab]);
|
|
78
|
-
return (_jsx(Box, { header: label, headerActions: availableTabs.length > 1 ? (_jsx(ButtonGroup, { buttons: buttons, onButtonClick: setActiveTab })) : null, className: className, children: activeTab === 'preview' ? (_jsx(Preview, { html: html || '', css: css || '' })) : (_jsx(Code, { code: content, language: language, onChange: onChange, disabled: !onChange, lineNumbers: lineNumbers, wordWrap: wordWrap })) }));
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=browser-box.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser-box.js","sourceRoot":"","sources":["../../../src/components/organisms/browser-box.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAiBrC;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EACJ,GAAG,EACH,EAAE,EACF,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAW,GAAG,IAAI,EAClB,KAAK,GAAG,MAAM,EACd,SAAS,GAAG,EAAE,EACd,UAAU,EACV,WAAW,GAAG,KAAK,EACnB,QAAQ,GAAG,KAAK,GACA;IAChB,2BAA2B;IAC3B,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE;QACjC,MAAM,IAAI,GAA4C,EAAE,CAAC;QACzD,IAAI,WAAW,IAAI,IAAI,KAAK,SAAS;YACnC,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;Q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WAAW,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,GACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { BrowserBox } from './browser-box';
|
|
3
|
-
/**
|
|
4
|
-
* BrowserBox - Multi-tab HTML/CSS/JS editor with live preview
|
|
5
|
-
*
|
|
6
|
-
* Tabbed code editor that shows:
|
|
7
|
-
* - Live preview of HTML
|
|
8
|
-
* - HTML editor
|
|
9
|
-
* - CSS editor
|
|
10
|
-
* - JavaScript editor (when provided)
|
|
11
|
-
*
|
|
12
|
-
* Tabs are automatically hidden if content isn't provided.
|
|
13
|
-
*/
|
|
14
|
-
declare const meta: Meta<typeof BrowserBox>;
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof BrowserBox>;
|
|
17
|
-
/**
|
|
18
|
-
* Default browser box with HTML and CSS
|
|
19
|
-
*
|
|
20
|
-
* Shows a product card with:
|
|
21
|
-
* - Preview tab (live render)
|
|
22
|
-
* - HTML tab (editable source)
|
|
23
|
-
* - CSS tab (editable styles)
|
|
24
|
-
*/
|
|
25
|
-
export declare const Default: Story;
|
|
26
|
-
//# sourceMappingURL=browser-box.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser-box.stories.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/browser-box.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAOjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAmEzC;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
|