@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
package/dist/index.d.ts
CHANGED
|
@@ -1,99 +1,1336 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { Destination, WalkerOS, Mapping, Elb } from '@walkeros/core';
|
|
3
|
+
import React, { ReactNode, FC, PropsWithChildren, RefObject } from 'react';
|
|
4
|
+
import * as monaco_editor from 'monaco-editor';
|
|
5
|
+
import { editor } from 'monaco-editor';
|
|
6
|
+
import { RJSFSchema } from '@rjsf/utils';
|
|
7
|
+
export { Icon } from '@iconify/react';
|
|
8
|
+
import { ClassValue } from 'clsx';
|
|
9
|
+
import { Monaco } from '@monaco-editor/react';
|
|
10
|
+
|
|
11
|
+
interface DestinationDemoProps {
|
|
12
|
+
destination: Destination.Instance;
|
|
13
|
+
event: WalkerOS.PartialEvent;
|
|
14
|
+
mapping?: Mapping.Rule | string;
|
|
15
|
+
settings?: unknown;
|
|
16
|
+
generic?: boolean;
|
|
17
|
+
labelEvent?: string;
|
|
18
|
+
labelMapping?: string;
|
|
19
|
+
labelOutput?: string;
|
|
20
|
+
fn?: (event: WalkerOS.Event, context: Destination.PushContext) => Promise<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* DestinationDemo - Interactive destination testing component
|
|
24
|
+
*
|
|
25
|
+
* Automatically captures destination.push() calls and displays the output.
|
|
26
|
+
* The component auto-detects the destination's env from destination.examples.env.push.
|
|
27
|
+
*
|
|
28
|
+
* Props:
|
|
29
|
+
* - destination: Destination instance with examples.env.push export
|
|
30
|
+
* - event: walkerOS event to process
|
|
31
|
+
* - mapping: Optional mapping rules
|
|
32
|
+
* - settings: Destination-specific settings
|
|
33
|
+
* - generic: If true, wraps mapping in { '*': { '*': mapping } }
|
|
34
|
+
* - labelEvent: Label for event panel (default: 'Event')
|
|
35
|
+
* - labelMapping: Label for mapping panel (default: 'Mapping')
|
|
36
|
+
* - labelOutput: Label for output panel (default: 'Result')
|
|
37
|
+
*
|
|
38
|
+
* Example:
|
|
39
|
+
* ```tsx
|
|
40
|
+
* import destinationPlausible from '@walkeros/web-destination-plausible';
|
|
41
|
+
* import { examples } from '@walkeros/web-destination-plausible';
|
|
42
|
+
* import { getEvent } from '@walkeros/core';
|
|
43
|
+
*
|
|
44
|
+
* const destination = { ...destinationPlausible, examples };
|
|
45
|
+
*
|
|
46
|
+
* <DestinationDemo
|
|
47
|
+
* destination={destination}
|
|
48
|
+
* event={getEvent('order complete')}
|
|
49
|
+
* mapping={examples.mapping.purchase}
|
|
50
|
+
* settings={{ domain: 'elbwalker.com' }}
|
|
51
|
+
* generic={true}
|
|
52
|
+
* />
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare function createCaptureFn(fnName: string, onCapture: (output: string) => void): (...args: unknown[]) => void;
|
|
56
|
+
declare function DestinationDemo({ destination, event: initialEvent, mapping: initialMapping, settings, generic, labelEvent, labelMapping, labelOutput, fn, }: DestinationDemoProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
interface DestinationInitDemoProps {
|
|
59
|
+
destination: Destination.Instance;
|
|
60
|
+
settings?: unknown;
|
|
61
|
+
labelSettings?: string;
|
|
62
|
+
labelOutput?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* DestinationInitDemo - Interactive destination initialization testing component
|
|
66
|
+
*
|
|
67
|
+
* Automatically captures destination.init() calls and displays the output.
|
|
68
|
+
* The component auto-detects the destination's env from destination.examples.env.init.
|
|
69
|
+
*
|
|
70
|
+
* Props:
|
|
71
|
+
* - destination: Destination instance with examples.env.init export
|
|
72
|
+
* - settings: Initial destination-specific settings
|
|
73
|
+
* - labelSettings: Label for settings panel (default: 'Settings')
|
|
74
|
+
* - labelOutput: Label for output panel (default: 'Result')
|
|
75
|
+
*
|
|
76
|
+
* Example:
|
|
77
|
+
* ```tsx
|
|
78
|
+
* import destinationGtag from '@walkeros/web-destination-gtag';
|
|
79
|
+
* import { examples } from '@walkeros/web-destination-gtag';
|
|
80
|
+
*
|
|
81
|
+
* const destination = { ...destinationGtag, examples };
|
|
82
|
+
*
|
|
83
|
+
* <DestinationInitDemo
|
|
84
|
+
* destination={destination}
|
|
85
|
+
* settings={{ ga4: { measurementId: 'G-XXXXXXXXXX' } }}
|
|
86
|
+
* />
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
declare function DestinationInitDemo({ destination, settings: initialSettings, labelSettings, labelOutput, }: DestinationInitDemoProps): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
interface DemoEnv extends Destination.BaseEnv {
|
|
92
|
+
elb: (output: string) => void;
|
|
93
|
+
}
|
|
94
|
+
type DestinationCode = Destination.Instance<Destination.Types<unknown, unknown, DemoEnv>>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates a gtag-style destination for demo purposes.
|
|
97
|
+
* Formats output as: gtag('event', 'event_name', { data })
|
|
98
|
+
*/
|
|
99
|
+
declare function createGtagDestination(): DestinationCode;
|
|
100
|
+
/**
|
|
101
|
+
* Creates a Facebook Pixel-style destination for demo purposes.
|
|
102
|
+
* Formats output as: fbq('track', 'EventName', { data })
|
|
103
|
+
*/
|
|
104
|
+
declare function createFbqDestination(): DestinationCode;
|
|
105
|
+
/**
|
|
106
|
+
* Creates a Plausible-style destination for demo purposes.
|
|
107
|
+
* Formats output as: plausible('event_name', { props: { data } })
|
|
108
|
+
*/
|
|
109
|
+
declare function createPlausibleDestination(): DestinationCode;
|
|
110
|
+
|
|
111
|
+
interface PromotionPlaygroundProps {
|
|
112
|
+
initialHtml?: string;
|
|
113
|
+
initialCss?: string;
|
|
114
|
+
initialJs?: string;
|
|
115
|
+
initialMapping?: string;
|
|
116
|
+
labelCode?: string;
|
|
117
|
+
labelPreview?: string;
|
|
118
|
+
labelEvents?: string;
|
|
119
|
+
labelMapping?: string;
|
|
120
|
+
labelResult?: string;
|
|
121
|
+
destination?: DestinationCode;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* PromotionPlayground - Full walkerOS demonstration with live code editing
|
|
125
|
+
*
|
|
126
|
+
* Shows the complete chain:
|
|
127
|
+
* 1. Code Editor - Edit HTML/CSS/JS with walkerOS data attributes
|
|
128
|
+
* 2. Preview - Live rendered output that captures real events
|
|
129
|
+
* 3. Events - Real events captured from preview interactions
|
|
130
|
+
* 4. Mapping - Apply transformations and see destination output
|
|
131
|
+
* 5. Result - Final destination function calls
|
|
132
|
+
*
|
|
133
|
+
* Uses a single unified collector flow:
|
|
134
|
+
* - PromotionPlayground owns the collector with destinations
|
|
135
|
+
* - Preview initializes browser source using parent's elb
|
|
136
|
+
* - Events flow through one collector to all destinations
|
|
137
|
+
*/
|
|
138
|
+
declare function PromotionPlayground({ initialHtml, initialCss, initialJs, initialMapping, labelCode, labelPreview, labelEvents, labelMapping, labelResult, destination: destinationProp, }: PromotionPlaygroundProps): react_jsx_runtime.JSX.Element;
|
|
139
|
+
|
|
140
|
+
interface LiveCodeProps {
|
|
141
|
+
input: unknown;
|
|
142
|
+
config?: unknown;
|
|
143
|
+
output?: unknown;
|
|
144
|
+
options?: WalkerOS.AnyObject;
|
|
145
|
+
fn?: (input: unknown, config: unknown, log: (...args: unknown[]) => void, options?: WalkerOS.AnyObject) => Promise<void>;
|
|
146
|
+
fnName?: string;
|
|
147
|
+
labelInput?: string;
|
|
148
|
+
labelConfig?: string;
|
|
149
|
+
labelOutput?: string;
|
|
150
|
+
emptyText?: string;
|
|
151
|
+
disableInput?: boolean;
|
|
152
|
+
disableConfig?: boolean;
|
|
153
|
+
showQuotes?: boolean;
|
|
154
|
+
className?: string;
|
|
155
|
+
language?: string;
|
|
156
|
+
format?: boolean;
|
|
157
|
+
rowHeight?: 'auto' | 'equal' | 'synced' | number;
|
|
158
|
+
}
|
|
159
|
+
declare function LiveCode({ input: initInput, config: initConfig, output: initOutput, options, fn, fnName, labelInput, labelConfig, labelOutput, emptyText, disableInput, disableConfig, showQuotes, className, language, format, rowHeight, }: LiveCodeProps): react_jsx_runtime.JSX.Element;
|
|
160
|
+
|
|
161
|
+
interface CollectorBoxProps {
|
|
162
|
+
event: string;
|
|
163
|
+
mapping: string;
|
|
164
|
+
destination: DestinationCode;
|
|
165
|
+
label?: string;
|
|
166
|
+
wordWrap?: boolean;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* CollectorBox - Runs a collector with destination to transform events
|
|
170
|
+
*
|
|
171
|
+
* Takes raw event and mapping config, processes through collector pipeline,
|
|
172
|
+
* and displays the formatted destination output.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* <CollectorBox
|
|
176
|
+
* event={JSON.stringify(event)}
|
|
177
|
+
* mapping={mappingConfig}
|
|
178
|
+
* destination={createGtagDestination()}
|
|
179
|
+
* label="Result"
|
|
180
|
+
* />
|
|
181
|
+
*/
|
|
182
|
+
declare function CollectorBox({ event, mapping, destination, label, wordWrap, }: CollectorBoxProps): react_jsx_runtime.JSX.Element;
|
|
183
|
+
|
|
184
|
+
interface BrowserBoxProps {
|
|
185
|
+
html?: string;
|
|
186
|
+
css?: string;
|
|
187
|
+
js?: string;
|
|
188
|
+
onHtmlChange?: (value: string) => void;
|
|
189
|
+
onCssChange?: (value: string) => void;
|
|
190
|
+
onJsChange?: (value: string) => void;
|
|
191
|
+
showPreview?: boolean;
|
|
192
|
+
label?: string;
|
|
193
|
+
className?: string;
|
|
194
|
+
initialTab?: 'preview' | 'html' | 'css' | 'js';
|
|
195
|
+
lineNumbers?: boolean;
|
|
196
|
+
wordWrap?: boolean;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* BrowserBox - Code editor with HTML/CSS/JS toggle
|
|
200
|
+
*
|
|
201
|
+
* Displays code editor with button group to switch between HTML, CSS, and JavaScript.
|
|
202
|
+
* Only shows tabs for content that is provided.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* <BrowserBox
|
|
206
|
+
* html={htmlCode}
|
|
207
|
+
* css={cssCode}
|
|
208
|
+
* onHtmlChange={setHtml}
|
|
209
|
+
* onCssChange={setCss}
|
|
210
|
+
* label="Code"
|
|
211
|
+
* />
|
|
212
|
+
*/
|
|
213
|
+
declare function BrowserBox({ html, css, js, onHtmlChange, onCssChange, onJsChange, showPreview, label, className, initialTab, lineNumbers, wordWrap, }: BrowserBoxProps): react_jsx_runtime.JSX.Element;
|
|
214
|
+
|
|
215
|
+
interface FlowItem {
|
|
216
|
+
icon: ReactNode;
|
|
217
|
+
label: string;
|
|
218
|
+
}
|
|
219
|
+
interface FlowSection {
|
|
220
|
+
title: string;
|
|
221
|
+
items: FlowItem[];
|
|
222
|
+
}
|
|
223
|
+
interface FlowColumn {
|
|
224
|
+
title: string;
|
|
225
|
+
sections: FlowSection[];
|
|
226
|
+
}
|
|
227
|
+
interface ArchitectureFlowProps {
|
|
228
|
+
sources: FlowColumn;
|
|
229
|
+
center: ReactNode;
|
|
230
|
+
centerTitle?: string;
|
|
231
|
+
destinations: FlowColumn;
|
|
232
|
+
arrowRight?: ReactNode;
|
|
233
|
+
arrowDown?: ReactNode;
|
|
234
|
+
className?: string;
|
|
235
|
+
}
|
|
236
|
+
declare function ArchitectureFlow({ sources, center, centerTitle, destinations, arrowRight, arrowDown, className, }: ArchitectureFlowProps): react_jsx_runtime.JSX.Element;
|
|
237
|
+
|
|
238
|
+
interface PackageInfo {
|
|
239
|
+
package: string;
|
|
240
|
+
shortName: string;
|
|
241
|
+
type: 'source' | 'destination' | 'transformer';
|
|
242
|
+
platform: 'web' | 'server';
|
|
243
|
+
description?: string;
|
|
244
|
+
}
|
|
245
|
+
interface IntelliSenseContext {
|
|
246
|
+
/** Variable names and values from the flow's `variables` section */
|
|
247
|
+
variables?: Record<string, string | number | boolean>;
|
|
248
|
+
/** Definition names from the flow's `definitions` section */
|
|
249
|
+
definitions?: Record<string, unknown>;
|
|
250
|
+
/** Secret names available in the project (values are NOT included) */
|
|
251
|
+
secrets?: string[];
|
|
252
|
+
/** Step names from the current flow config, by type */
|
|
253
|
+
stepNames?: {
|
|
254
|
+
sources?: string[];
|
|
255
|
+
destinations?: string[];
|
|
256
|
+
transformers?: string[];
|
|
257
|
+
};
|
|
258
|
+
/** Contract entities and their actions */
|
|
259
|
+
contract?: Array<{
|
|
260
|
+
entity: string;
|
|
261
|
+
actions: string[];
|
|
262
|
+
}>;
|
|
263
|
+
/** Available packages for autocomplete */
|
|
264
|
+
packages?: PackageInfo[];
|
|
265
|
+
/** Current platform context (web or server) */
|
|
266
|
+
platform?: 'web' | 'server';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface CodeProps {
|
|
270
|
+
code: string;
|
|
271
|
+
language?: string;
|
|
272
|
+
onChange?: (code: string) => void;
|
|
273
|
+
disabled?: boolean;
|
|
274
|
+
lineNumbers?: boolean;
|
|
275
|
+
minimap?: boolean;
|
|
276
|
+
folding?: boolean;
|
|
277
|
+
wordWrap?: boolean;
|
|
278
|
+
className?: string;
|
|
279
|
+
beforeMount?: (monaco: typeof monaco_editor) => void;
|
|
280
|
+
onMount?: (editor: editor.IStandaloneCodeEditor) => void;
|
|
281
|
+
autoHeight?: boolean | {
|
|
282
|
+
min?: number;
|
|
283
|
+
max?: number;
|
|
284
|
+
};
|
|
285
|
+
fontSize?: number;
|
|
286
|
+
packages?: string[];
|
|
287
|
+
sticky?: boolean;
|
|
288
|
+
ide?: boolean;
|
|
289
|
+
/** JSON Schema (Draft 7) for validation and IntelliSense in JSON mode */
|
|
290
|
+
jsonSchema?: Record<string, unknown>;
|
|
291
|
+
/** Context data for dynamic IntelliSense (variable names, secrets, etc.) */
|
|
292
|
+
intellisenseContext?: IntelliSenseContext;
|
|
293
|
+
/** Validation function — called on content change, results rendered as Monaco markers */
|
|
294
|
+
validate?: (code: string) => {
|
|
295
|
+
valid: boolean;
|
|
296
|
+
errors: Array<{
|
|
297
|
+
message: string;
|
|
298
|
+
severity: 'error' | 'warning';
|
|
299
|
+
line: number;
|
|
300
|
+
column: number;
|
|
301
|
+
endLine?: number;
|
|
302
|
+
endColumn?: number;
|
|
303
|
+
}>;
|
|
304
|
+
warnings: Array<{
|
|
305
|
+
message: string;
|
|
306
|
+
severity: 'error' | 'warning';
|
|
307
|
+
line: number;
|
|
308
|
+
column: number;
|
|
309
|
+
endLine?: number;
|
|
310
|
+
endColumn?: number;
|
|
311
|
+
}>;
|
|
312
|
+
};
|
|
313
|
+
/** Callback when Monaco marker counts change */
|
|
314
|
+
onMarkerCounts?: (info: {
|
|
315
|
+
errors: number;
|
|
316
|
+
warnings: number;
|
|
317
|
+
markers: Array<{
|
|
318
|
+
message: string;
|
|
319
|
+
severity: 'error' | 'warning';
|
|
320
|
+
line: number;
|
|
321
|
+
column: number;
|
|
322
|
+
}>;
|
|
323
|
+
}) => void;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Code - Pure Monaco editor atom
|
|
327
|
+
*
|
|
328
|
+
* Height Management:
|
|
329
|
+
* Two modes controlled by `autoHeight` prop:
|
|
330
|
+
*
|
|
331
|
+
* 1. Default (autoHeight=false): height="100%" - fills parent container
|
|
332
|
+
* - Uses flex: 1 + min-height: 0 for proper flex overflow containment
|
|
333
|
+
* - Monaco set to height="100%" to fill container
|
|
334
|
+
* - automaticLayout: true + ResizeObserver for reliable resize detection
|
|
335
|
+
* - Use in Grid (equal heights) and Flex contexts (fill parent)
|
|
336
|
+
*
|
|
337
|
+
* 2. Auto-height (autoHeight=true): Dynamically sizes to content
|
|
338
|
+
* - Uses Monaco's getContentHeight() API for accurate content measurement
|
|
339
|
+
* - Respects min/max boundaries (default: 100-600px)
|
|
340
|
+
* - Updates automatically when content changes
|
|
341
|
+
* - Use in standalone contexts (docs) to eliminate blank space
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* // Grid context - use default height="100%" for equal row heights
|
|
345
|
+
* <Grid columns={3}>
|
|
346
|
+
* <CodeBox code={event} />
|
|
347
|
+
* <CodeBox code={mapping} />
|
|
348
|
+
* </Grid>
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* // Standalone context - use autoHeight to fit content
|
|
352
|
+
* <CodeBox
|
|
353
|
+
* code={shortExample}
|
|
354
|
+
* autoHeight={{ min: 100, max: 600 }}
|
|
355
|
+
* />
|
|
356
|
+
*/
|
|
357
|
+
declare function Code({ code, language, onChange, disabled, lineNumbers, minimap, folding, wordWrap, className, beforeMount, onMount, autoHeight, fontSize, packages, sticky, ide, jsonSchema, intellisenseContext, validate, onMarkerCounts, }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Tab with code content for CodeBox
|
|
361
|
+
*/
|
|
362
|
+
interface CodeBoxTab {
|
|
363
|
+
id: string;
|
|
364
|
+
label: string;
|
|
365
|
+
code: string;
|
|
366
|
+
language?: string;
|
|
367
|
+
}
|
|
368
|
+
interface CodeBoxProps extends Omit<CodeProps, 'code'> {
|
|
369
|
+
code?: string;
|
|
370
|
+
label?: string;
|
|
371
|
+
header?: string;
|
|
372
|
+
showHeader?: boolean;
|
|
373
|
+
tabs?: CodeBoxTab[];
|
|
374
|
+
activeTab?: string;
|
|
375
|
+
onTabChange?: (id: string) => void;
|
|
376
|
+
defaultTab?: string;
|
|
377
|
+
showTrafficLights?: boolean;
|
|
378
|
+
showCopy?: boolean;
|
|
379
|
+
showFormat?: boolean;
|
|
380
|
+
showSettings?: boolean;
|
|
381
|
+
/** Callback when validation issues change. Use to disable Save when errors > 0. */
|
|
382
|
+
onValidationIssues?: (counts: {
|
|
383
|
+
errors: number;
|
|
384
|
+
warnings: number;
|
|
385
|
+
}) => void;
|
|
386
|
+
footer?: React.ReactNode;
|
|
387
|
+
height?: string | number;
|
|
388
|
+
style?: React.CSSProperties;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* CodeBox - Monaco editor wrapped in a Box with header and actions
|
|
392
|
+
*
|
|
393
|
+
* Molecule that combines Box + Code atom + toolbar actions.
|
|
394
|
+
* Use this when you need an editor with header, copy, and format buttons.
|
|
395
|
+
* Use Code atom directly when you need an editor without Box wrapper.
|
|
396
|
+
*
|
|
397
|
+
* Height Behavior:
|
|
398
|
+
*
|
|
399
|
+
* Three height modes:
|
|
400
|
+
* 1. Grid context: Equal row heights (250-450px), fills available space
|
|
401
|
+
* 2. Explicit height prop: Fixed height (e.g., height={600} or height="50vh")
|
|
402
|
+
* 3. Auto-height prop: Dynamically sizes to content (min-max boundaries)
|
|
403
|
+
*
|
|
404
|
+
* @example
|
|
405
|
+
* // Grid context - use default (no autoHeight) for equal row heights
|
|
406
|
+
* <Grid columns={3}>
|
|
407
|
+
* <CodeBox code={event} label="Event" showCopy />
|
|
408
|
+
* <CodeBox code={mapping} label="Mapping" showFormat />
|
|
409
|
+
* <CodeBox code={output} label="Output" disabled />
|
|
410
|
+
* </Grid>
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* // Standalone with auto-height - fits content, no blank space
|
|
414
|
+
* <CodeBox
|
|
415
|
+
* code={setupCode}
|
|
416
|
+
* label="Setup"
|
|
417
|
+
* autoHeight={{ min: 100, max: 600 }}
|
|
418
|
+
* disabled
|
|
419
|
+
* />
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* // Explicit height override
|
|
423
|
+
* <CodeBox
|
|
424
|
+
* code={largeConfig}
|
|
425
|
+
* label="Configuration"
|
|
426
|
+
* height={600}
|
|
427
|
+
* showFormat
|
|
428
|
+
* />
|
|
429
|
+
*/
|
|
430
|
+
declare function CodeBox({ code, language, onChange, disabled, autoHeight, label, header, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, showCopy, showFormat, showSettings, onValidationIssues, footer, height, style, className, ...codeProps }: CodeBoxProps): react_jsx_runtime.JSX.Element;
|
|
431
|
+
|
|
432
|
+
type CodeSnippetProps = Omit<CodeBoxProps, 'label' | 'showHeader'> & {
|
|
433
|
+
format?: boolean;
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* CodeSnippet - Prominent code display for snippets
|
|
437
|
+
*
|
|
438
|
+
* Wraps CodeBox with larger font size and generous padding.
|
|
439
|
+
* Use this for showcasing code examples, one-liners, or small code blocks
|
|
440
|
+
* where you want the code to be more visually prominent than in a standard editor.
|
|
441
|
+
*
|
|
442
|
+
* Always renders without a header. Use CodeBox if you need a header.
|
|
443
|
+
*
|
|
444
|
+
* Default behavior:
|
|
445
|
+
* - Read-only (disabled=true)
|
|
446
|
+
* - Copy button enabled (showCopy=true)
|
|
447
|
+
* - Auto-height with sensible bounds (min: 20px, max: 600px)
|
|
448
|
+
* - Auto-format on mount (format=true) - formats code once on initial load
|
|
449
|
+
*
|
|
450
|
+
* Auto-Formatting:
|
|
451
|
+
* - Enabled by default (format=true)
|
|
452
|
+
* - Runs once on component mount using Monaco's built-in formatters
|
|
453
|
+
* - Supports: JavaScript, TypeScript, JSON, HTML, CSS
|
|
454
|
+
* - Use format={false} to disable for special cases (pre-formatted code)
|
|
455
|
+
*
|
|
456
|
+
* Reuses all CodeBox functionality:
|
|
457
|
+
* - Monaco Editor with syntax highlighting
|
|
458
|
+
* - Grid height management and auto-height modes
|
|
459
|
+
* - Copy button
|
|
460
|
+
* - Theme integration
|
|
461
|
+
*
|
|
462
|
+
* @example
|
|
463
|
+
* // Minimal usage - code auto-formats on load
|
|
464
|
+
* <CodeSnippet
|
|
465
|
+
* code="import { elb } from '@walkeros/core';"
|
|
466
|
+
* language="javascript"
|
|
467
|
+
* />
|
|
468
|
+
*
|
|
469
|
+
* @example
|
|
470
|
+
* // Disable auto-formatting for pre-formatted code
|
|
471
|
+
* <CodeSnippet
|
|
472
|
+
* code={alreadyFormattedCode}
|
|
473
|
+
* language="javascript"
|
|
474
|
+
* format={false}
|
|
475
|
+
* />
|
|
476
|
+
*
|
|
477
|
+
* @example
|
|
478
|
+
* // Override defaults if needed
|
|
479
|
+
* <CodeSnippet
|
|
480
|
+
* code={editableCode}
|
|
481
|
+
* language="javascript"
|
|
482
|
+
* disabled={false}
|
|
483
|
+
* showCopy={false}
|
|
484
|
+
* autoHeight={{ min: 100, max: 800 }}
|
|
485
|
+
* />
|
|
486
|
+
*/
|
|
487
|
+
declare function CodeSnippet(props: CodeSnippetProps): react_jsx_runtime.JSX.Element;
|
|
488
|
+
|
|
489
|
+
type FlowMarkerPosition = 'source' | 'source-left' | 'source-right' | 'collector' | 'collector-left' | 'collector-right' | 'destination' | 'destination-left' | 'destination-right' | `source-${string}` | `source-${string}-left` | `source-${string}-right` | `destination-${string}` | `destination-${string}-left` | `destination-${string}-right` | `pre-${string}` | `pre-${string}-left` | `pre-${string}-right` | `post-${string}` | `post-${string}-left` | `post-${string}-right` | 'stage-before' | 'stage-before-right' | 'stage-after' | 'stage-after-left' | 'incoming' | 'outgoing' | 'source-collector' | 'collector-destination' | `source-${string}-pre` | `source-${string}-collector` | `pre-${string}-next` | 'pre-collector' | 'collector-post' | `post-${string}-next` | `post-destination-${string}` | 'before-source' | 'destination-after';
|
|
490
|
+
interface FlowMarker {
|
|
491
|
+
position: FlowMarkerPosition;
|
|
492
|
+
/** ID displayed inside the marker dot. Default: array index + 1 */
|
|
493
|
+
id?: string;
|
|
494
|
+
/** Legend text. If provided, marker appears in legend below diagram */
|
|
495
|
+
text?: string;
|
|
496
|
+
}
|
|
497
|
+
interface FlowStageConfig {
|
|
498
|
+
/** Iconify icon name to display before the label (e.g., 'simple-icons:google-analytics') */
|
|
499
|
+
icon?: string;
|
|
500
|
+
label?: string;
|
|
501
|
+
text?: React.ReactNode;
|
|
502
|
+
description?: React.ReactNode;
|
|
503
|
+
highlight?: boolean;
|
|
504
|
+
/** Makes box clickable. undefined = default URL, false = not clickable, string = custom URL */
|
|
505
|
+
link?: false | string;
|
|
506
|
+
}
|
|
507
|
+
interface FlowSourceConfig extends FlowStageConfig {
|
|
508
|
+
/** Name of pre-transformer to connect to. Omit to connect directly to collector. */
|
|
509
|
+
next?: string;
|
|
510
|
+
}
|
|
511
|
+
interface FlowTransformerConfig extends FlowStageConfig {
|
|
512
|
+
/** Name of next transformer in chain. Omit to connect to collector (pre) or destination (post). */
|
|
513
|
+
next?: string;
|
|
514
|
+
}
|
|
515
|
+
interface FlowDestinationConfig extends FlowStageConfig {
|
|
516
|
+
/** Name of post-transformer to receive from. Omit to receive directly from collector. */
|
|
517
|
+
before?: string;
|
|
518
|
+
/** Optional: stage after this destination (e.g., external platform). Overrides shared stageAfter. */
|
|
519
|
+
after?: FlowStageConfig;
|
|
520
|
+
}
|
|
521
|
+
interface FlowLayoutConfig {
|
|
522
|
+
labelSize: number;
|
|
523
|
+
labelWeight: string;
|
|
524
|
+
textSize: number;
|
|
525
|
+
textWeight: string;
|
|
526
|
+
boxHeight: number;
|
|
527
|
+
descriptionSize: number;
|
|
528
|
+
}
|
|
529
|
+
interface FlowMapProps {
|
|
530
|
+
/** Optional: stage before source (e.g., "Browser") */
|
|
531
|
+
stageBefore?: FlowStageConfig;
|
|
532
|
+
/** Sources with named keys. Each source can specify `next` to connect to a pre-transformer. */
|
|
533
|
+
sources?: Record<string, FlowSourceConfig>;
|
|
534
|
+
/** Pre-transformers between sources and collector. Chain via `next` property. */
|
|
535
|
+
preTransformers?: Record<string, FlowTransformerConfig>;
|
|
536
|
+
/** Optional: customize collector stage */
|
|
537
|
+
collector?: FlowStageConfig;
|
|
538
|
+
/** Post-transformers between collector and destinations. */
|
|
539
|
+
postTransformers?: Record<string, FlowTransformerConfig>;
|
|
540
|
+
/** Destinations with named keys. Each destination can specify `before` to receive from a post-transformer. */
|
|
541
|
+
destinations?: Record<string, FlowDestinationConfig>;
|
|
542
|
+
/** Optional: stage after destination (e.g., "gtag") */
|
|
543
|
+
stageAfter?: FlowStageConfig;
|
|
544
|
+
/** Optional: title above diagram */
|
|
545
|
+
title?: string;
|
|
546
|
+
/** Optional: layout configuration */
|
|
547
|
+
layout?: FlowLayoutConfig;
|
|
548
|
+
/** Optional: height of stage boxes (default: 50) */
|
|
549
|
+
boxHeight?: number;
|
|
550
|
+
/** Optional: height of description area below boxes (default: 30) */
|
|
551
|
+
descriptionHeight?: number;
|
|
552
|
+
/** Optional: additional CSS class */
|
|
553
|
+
className?: string;
|
|
554
|
+
/** Optional: array of markers to display */
|
|
555
|
+
markers?: FlowMarker[];
|
|
556
|
+
/** Optional: show two arrows per connection (forward → and return ←) with parallel offset */
|
|
557
|
+
withReturn?: boolean;
|
|
558
|
+
}
|
|
559
|
+
declare function FlowMap({ stageBefore, sources, preTransformers, collector, postTransformers, destinations, stageAfter, title, layout, boxHeight: boxHeightProp, descriptionHeight: descriptionHeightProp, markers, className, withReturn, }: FlowMapProps): React.ReactElement;
|
|
560
|
+
|
|
561
|
+
interface PropertyTableProps {
|
|
562
|
+
schema: RJSFSchema;
|
|
563
|
+
className?: string;
|
|
564
|
+
}
|
|
565
|
+
declare function PropertyTable({ schema, className }: PropertyTableProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
|
|
567
|
+
interface DropdownProps {
|
|
568
|
+
/** Trigger element (button, link, etc.) */
|
|
569
|
+
trigger: React.ReactNode;
|
|
570
|
+
/** Whether dropdown is open (controlled) */
|
|
571
|
+
isOpen: boolean;
|
|
572
|
+
/** Toggle handler */
|
|
573
|
+
onToggle: () => void;
|
|
574
|
+
/** Dropdown content */
|
|
575
|
+
children: React.ReactNode;
|
|
576
|
+
/** Alignment of dropdown panel */
|
|
577
|
+
align?: 'left' | 'right';
|
|
578
|
+
/** ARIA label for accessibility */
|
|
579
|
+
ariaLabel?: string;
|
|
580
|
+
/** Additional CSS class */
|
|
581
|
+
className?: string;
|
|
582
|
+
}
|
|
583
|
+
interface DropdownItemProps {
|
|
584
|
+
/** Item content */
|
|
585
|
+
children: React.ReactNode;
|
|
586
|
+
/** Click handler */
|
|
587
|
+
onClick?: () => void;
|
|
588
|
+
/** Disabled state */
|
|
589
|
+
disabled?: boolean;
|
|
590
|
+
/** Visual variant */
|
|
591
|
+
variant?: 'default' | 'danger';
|
|
592
|
+
/** Additional CSS class */
|
|
593
|
+
className?: string;
|
|
594
|
+
}
|
|
595
|
+
interface DropdownDividerProps {
|
|
596
|
+
/** Additional CSS class */
|
|
597
|
+
className?: string;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Dropdown - Generic dropdown container (UI only)
|
|
601
|
+
*
|
|
602
|
+
* Pure UI component for dropdown menus.
|
|
603
|
+
* Click-outside and keyboard handling should be implemented in the parent
|
|
604
|
+
* via hooks like useDropdown.
|
|
605
|
+
*
|
|
606
|
+
* @example
|
|
607
|
+
* <Dropdown
|
|
608
|
+
* trigger={<button>Menu</button>}
|
|
609
|
+
* isOpen={isOpen}
|
|
610
|
+
* onToggle={toggle}
|
|
611
|
+
* align="right"
|
|
612
|
+
* >
|
|
613
|
+
* <DropdownItem onClick={handleAction}>Action</DropdownItem>
|
|
614
|
+
* <DropdownDivider />
|
|
615
|
+
* <DropdownItem onClick={handleLogout} variant="danger">Logout</DropdownItem>
|
|
616
|
+
* </Dropdown>
|
|
617
|
+
*/
|
|
618
|
+
declare function Dropdown({ trigger, isOpen, onToggle, children, align, ariaLabel, className, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
619
|
+
/**
|
|
620
|
+
* DropdownItem - Menu item within a dropdown
|
|
621
|
+
*
|
|
622
|
+
* @example
|
|
623
|
+
* <DropdownItem onClick={handleClick}>Action</DropdownItem>
|
|
624
|
+
*/
|
|
625
|
+
declare function DropdownItem({ children, onClick, disabled, variant, className, }: DropdownItemProps): react_jsx_runtime.JSX.Element;
|
|
626
|
+
/**
|
|
627
|
+
* DropdownDivider - Visual separator between menu items
|
|
628
|
+
*
|
|
629
|
+
* @example
|
|
630
|
+
* <DropdownDivider />
|
|
631
|
+
*/
|
|
632
|
+
declare function DropdownDivider({ className }: DropdownDividerProps): react_jsx_runtime.JSX.Element;
|
|
633
|
+
|
|
634
|
+
interface PreviewProps {
|
|
635
|
+
html: string;
|
|
636
|
+
css?: string;
|
|
637
|
+
elb?: Elb.Fn;
|
|
638
|
+
label?: string;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* Preview - HTML preview wrapped in a Box with highlight buttons
|
|
642
|
+
*
|
|
643
|
+
* Renders HTML in an isolated iframe with highlight buttons footer.
|
|
644
|
+
* When elb is provided, initializes walkerOS browser source in iframe
|
|
645
|
+
* that pushes events to the parent collector.
|
|
646
|
+
*
|
|
647
|
+
* @example
|
|
648
|
+
* // Read-only preview
|
|
649
|
+
* <Preview html={html} css={css} label="Preview" />
|
|
650
|
+
*
|
|
651
|
+
* // Interactive preview with event capture (elb from parent collector)
|
|
652
|
+
* <Preview html={html} css={css} elb={elb} label="Preview" />
|
|
653
|
+
*/
|
|
654
|
+
declare function Preview({ html, css, elb, label, }: PreviewProps): react_jsx_runtime.JSX.Element;
|
|
655
|
+
|
|
656
|
+
interface BoxTab {
|
|
657
|
+
id: string;
|
|
658
|
+
label: string;
|
|
659
|
+
content?: React.ReactNode;
|
|
660
|
+
}
|
|
661
|
+
interface BoxProps {
|
|
662
|
+
header?: string;
|
|
663
|
+
headerActions?: React.ReactNode;
|
|
664
|
+
footer?: React.ReactNode;
|
|
665
|
+
children?: React.ReactNode;
|
|
666
|
+
className?: string;
|
|
667
|
+
style?: React.CSSProperties;
|
|
668
|
+
height?: number | string;
|
|
669
|
+
minHeight?: number | string;
|
|
670
|
+
maxHeight?: number | string;
|
|
671
|
+
tiny?: boolean;
|
|
672
|
+
resizable?: boolean;
|
|
673
|
+
showHeader?: boolean;
|
|
674
|
+
tabs?: BoxTab[];
|
|
675
|
+
activeTab?: string;
|
|
676
|
+
onTabChange?: (id: string) => void;
|
|
677
|
+
defaultTab?: string;
|
|
678
|
+
showTrafficLights?: boolean;
|
|
679
|
+
}
|
|
680
|
+
declare function Box({ header, headerActions, footer, children, className, style, height, minHeight, maxHeight, tiny, resizable, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, }: BoxProps): react_jsx_runtime.JSX.Element;
|
|
681
|
+
|
|
682
|
+
interface GridProps {
|
|
683
|
+
children: React.ReactNode;
|
|
684
|
+
columns?: number;
|
|
685
|
+
minBoxWidth?: number | string;
|
|
686
|
+
gap?: number | string;
|
|
687
|
+
rowHeight?: 'auto' | 'equal' | 'synced' | number;
|
|
688
|
+
maxRowHeight?: number | string | 'none';
|
|
689
|
+
showScrollButtons?: boolean;
|
|
690
|
+
className?: string;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Grid - Horizontal scrolling layout component for arranging boxes
|
|
694
|
+
*
|
|
695
|
+
* Provides consistent grid layout for box components with horizontal
|
|
696
|
+
* scrolling when content exceeds available space. Boxes maintain minimum
|
|
697
|
+
* width and never wrap to new rows.
|
|
698
|
+
*
|
|
699
|
+
* @example
|
|
700
|
+
* // 5 boxes with default 350px minimum width
|
|
701
|
+
* <Grid columns={5}>
|
|
702
|
+
* <CodeBox ... />
|
|
703
|
+
* <CodeBox ... />
|
|
704
|
+
* <CodeBox ... />
|
|
705
|
+
* <CodeBox ... />
|
|
706
|
+
* <CodeBox ... />
|
|
707
|
+
* </Grid>
|
|
708
|
+
*
|
|
709
|
+
* @example
|
|
710
|
+
* // Custom minimum box width
|
|
711
|
+
* <Grid columns={3} minBoxWidth={400}>
|
|
712
|
+
* <BrowserBox ... />
|
|
713
|
+
* <CodeBox ... />
|
|
714
|
+
* <CodeBox ... />
|
|
715
|
+
* </Grid>
|
|
716
|
+
*
|
|
717
|
+
* @example
|
|
718
|
+
* // Custom row height
|
|
719
|
+
* <Grid columns={2} rowHeight={300}>
|
|
720
|
+
* <CodeBox ... />
|
|
721
|
+
* <CodeBox ... />
|
|
722
|
+
* </Grid>
|
|
723
|
+
*
|
|
724
|
+
* @example
|
|
725
|
+
* // Auto row height (no minimum)
|
|
726
|
+
* <Grid columns={3} rowHeight="auto">
|
|
727
|
+
* <CodeBox ... />
|
|
728
|
+
* </Grid>
|
|
729
|
+
*
|
|
730
|
+
* @example
|
|
731
|
+
* // Unlimited row height (no max constraint)
|
|
732
|
+
* <Grid columns={2} maxRowHeight="none">
|
|
733
|
+
* <PropertyTable ... />
|
|
734
|
+
* <CodeBox ... />
|
|
735
|
+
* </Grid>
|
|
736
|
+
*
|
|
737
|
+
* @example
|
|
738
|
+
* // Custom max row height
|
|
739
|
+
* <Grid columns={2} maxRowHeight={800}>
|
|
740
|
+
* <PropertyTable ... />
|
|
741
|
+
* <CodeBox ... />
|
|
742
|
+
* </Grid>
|
|
743
|
+
*/
|
|
744
|
+
declare function Grid({ children, columns, minBoxWidth, gap, rowHeight, maxRowHeight, showScrollButtons, className, }: GridProps): react_jsx_runtime.JSX.Element;
|
|
745
|
+
|
|
746
|
+
interface HeaderProps {
|
|
747
|
+
label: string;
|
|
748
|
+
children?: React.ReactNode;
|
|
749
|
+
}
|
|
750
|
+
declare function Header({ label, children }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
751
|
+
|
|
752
|
+
interface FooterProps {
|
|
753
|
+
children: React.ReactNode;
|
|
754
|
+
className?: string;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Footer - Footer atom component for boxes
|
|
758
|
+
*
|
|
759
|
+
* Provides a fixed-height footer area at the bottom of a box.
|
|
760
|
+
* Pairs with Header component for consistent box structure.
|
|
761
|
+
*
|
|
762
|
+
* @example
|
|
763
|
+
* <Box header="Preview">
|
|
764
|
+
* <Preview ... />
|
|
765
|
+
* <Footer>
|
|
766
|
+
* <ButtonGroup buttons={...} />
|
|
767
|
+
* </Footer>
|
|
768
|
+
* </Box>
|
|
769
|
+
*/
|
|
770
|
+
declare function Footer({ children, className }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
771
|
+
|
|
772
|
+
interface ButtonProps {
|
|
773
|
+
active?: boolean;
|
|
774
|
+
onClick?: () => void;
|
|
775
|
+
children: React.ReactNode;
|
|
776
|
+
className?: string;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* Button - Button component for headers and controls
|
|
780
|
+
*
|
|
781
|
+
* Used in button groups or standalone in headers.
|
|
782
|
+
* Follows atomic design principles as a base atom.
|
|
783
|
+
*/
|
|
784
|
+
declare function Button({ active, onClick, children, className, }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
785
|
+
|
|
786
|
+
interface ButtonGroupProps {
|
|
787
|
+
buttons: Array<{
|
|
788
|
+
label: string;
|
|
789
|
+
value: string;
|
|
790
|
+
active?: boolean;
|
|
791
|
+
}>;
|
|
792
|
+
onButtonClick: (value: string) => void;
|
|
793
|
+
className?: string;
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* ButtonGroup - Segmented control for headers
|
|
797
|
+
*
|
|
798
|
+
* Displays multiple buttons in a grouped segmented control style.
|
|
799
|
+
* Commonly used for tab switching (HTML/CSS/JS, etc.)
|
|
800
|
+
*/
|
|
801
|
+
declare function ButtonGroup({ buttons, onButtonClick, className, }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
802
|
+
|
|
803
|
+
interface ButtonLinkProps {
|
|
804
|
+
variant?: 'default' | 'primary' | 'secondary';
|
|
805
|
+
size?: 'md' | 'lg';
|
|
806
|
+
href?: string;
|
|
807
|
+
onClick?: () => void;
|
|
808
|
+
children: React.ReactNode;
|
|
809
|
+
className?: string;
|
|
810
|
+
disabled?: boolean;
|
|
811
|
+
}
|
|
812
|
+
declare function ButtonLink({ variant, size, href, onClick, children, className, disabled, }: ButtonLinkProps): react_jsx_runtime.JSX.Element;
|
|
813
|
+
|
|
814
|
+
interface SpinnerProps {
|
|
815
|
+
/** Size of the spinner */
|
|
816
|
+
size?: 'sm' | 'md' | 'lg';
|
|
817
|
+
/** Additional CSS class */
|
|
818
|
+
className?: string;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Spinner - Loading indicator
|
|
822
|
+
*
|
|
823
|
+
* Pure UI component for showing loading state.
|
|
824
|
+
* No internal state - controlled via parent.
|
|
825
|
+
*
|
|
826
|
+
* @example
|
|
827
|
+
* <Spinner size="md" />
|
|
828
|
+
*/
|
|
829
|
+
declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* MDXProvider - Makes components available in MDX files without explicit imports
|
|
833
|
+
*
|
|
834
|
+
* This provider wraps MDX content and injects React components for HTML elements.
|
|
835
|
+
* Components are automatically used when rendering markdown/MDX content.
|
|
836
|
+
*
|
|
837
|
+
* Key features:
|
|
838
|
+
* - No imports needed in MDX files
|
|
839
|
+
* - Consistent styling across all documentation
|
|
840
|
+
* - Theme-aware (respects data-theme attribute)
|
|
841
|
+
* - Automatic inline vs block code detection
|
|
842
|
+
*
|
|
843
|
+
* Available components (no import needed):
|
|
844
|
+
* - CodeBox: Monaco editor for code display (also auto-used for ```code blocks)
|
|
845
|
+
* - PropertyTable: Display schema-based property documentation
|
|
846
|
+
* - DestinationInitDemo: Interactive demo for destination initialization
|
|
847
|
+
* - DestinationDemo: Interactive demo for destination event processing
|
|
848
|
+
*
|
|
849
|
+
* @example
|
|
850
|
+
* // Wrap your app
|
|
851
|
+
* <MDXProvider>
|
|
852
|
+
* <App />
|
|
853
|
+
* </MDXProvider>
|
|
854
|
+
*
|
|
855
|
+
* @example
|
|
856
|
+
* // Then in any .mdx file, no imports needed:
|
|
857
|
+
* # Documentation
|
|
858
|
+
*
|
|
859
|
+
* Inline `code` and markdown blocks:
|
|
860
|
+
* ```typescript
|
|
861
|
+
* const example = "Hello";
|
|
862
|
+
* ```
|
|
863
|
+
*
|
|
864
|
+
* Or use components directly:
|
|
865
|
+
* <CodeBox code="const x = 1;" language="javascript" />
|
|
866
|
+
* <PropertyTable schema={mySchema} />
|
|
867
|
+
*/
|
|
868
|
+
declare const MDXProvider: FC<PropsWithChildren>;
|
|
869
|
+
|
|
870
|
+
interface MDXCodeProps {
|
|
871
|
+
className?: string;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* MDXCode - Code component for MDX files
|
|
875
|
+
*
|
|
876
|
+
* Automatically detects and renders inline vs block code:
|
|
877
|
+
* - Inline code: `example` → <code className="elb-code-inline">
|
|
878
|
+
* - Block code: ```language\ncode\n``` → Uses CodeBox with Monaco editor
|
|
879
|
+
*
|
|
880
|
+
* Language detection:
|
|
881
|
+
* - Extracts language from className (e.g., "language-typescript")
|
|
882
|
+
* - Maps common MDX language names to Monaco language IDs
|
|
883
|
+
*
|
|
884
|
+
* Block code features (via CodeBox):
|
|
885
|
+
* - Full Monaco editor with syntax highlighting
|
|
886
|
+
* - Theme-aware (Palenight dark, VS Light)
|
|
887
|
+
* - Copy to clipboard button
|
|
888
|
+
* - Auto-height to fit content
|
|
889
|
+
* - Read-only mode
|
|
890
|
+
*
|
|
891
|
+
* @example
|
|
892
|
+
* // In MDX files (no import needed with MDXProvider):
|
|
893
|
+
* Inline `code` example
|
|
894
|
+
*
|
|
895
|
+
* ```typescript
|
|
896
|
+
* const block = "code";
|
|
897
|
+
* ```
|
|
898
|
+
*/
|
|
899
|
+
declare const MDXCode: FC<PropsWithChildren<MDXCodeProps>>;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Utility function to merge class names with Tailwind CSS classes
|
|
903
|
+
* Uses clsx for conditional classes and tailwind-merge to handle conflicts
|
|
904
|
+
*/
|
|
905
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
906
|
+
|
|
907
|
+
interface UseDropdownReturn {
|
|
908
|
+
/** Whether dropdown is currently open */
|
|
909
|
+
isOpen: boolean;
|
|
910
|
+
/** Toggle dropdown open/closed */
|
|
911
|
+
toggle: () => void;
|
|
912
|
+
/** Open the dropdown */
|
|
913
|
+
open: () => void;
|
|
914
|
+
/** Close the dropdown */
|
|
915
|
+
close: () => void;
|
|
916
|
+
/** Ref to attach to the container element for click-outside detection */
|
|
917
|
+
containerRef: RefObject<HTMLDivElement | null>;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* useDropdown - Manages dropdown open/close state with click-outside and keyboard handling
|
|
921
|
+
*
|
|
922
|
+
* Provides:
|
|
923
|
+
* - Open/close state management
|
|
924
|
+
* - Click-outside detection to close
|
|
925
|
+
* - Escape key handling to close
|
|
926
|
+
*
|
|
927
|
+
* @example
|
|
928
|
+
* const { isOpen, toggle, close, containerRef } = useDropdown();
|
|
929
|
+
*
|
|
930
|
+
* return (
|
|
931
|
+
* <div ref={containerRef}>
|
|
932
|
+
* <Dropdown isOpen={isOpen} onToggle={toggle}>
|
|
933
|
+
* ...
|
|
934
|
+
* </Dropdown>
|
|
935
|
+
* </div>
|
|
936
|
+
* );
|
|
937
|
+
*/
|
|
938
|
+
declare function useDropdown(): UseDropdownReturn;
|
|
939
|
+
|
|
940
|
+
declare const palenightTheme: editor.IStandaloneThemeData;
|
|
941
|
+
/**
|
|
942
|
+
* Register the palenight theme with Monaco Editor
|
|
943
|
+
* Call this function before creating any editor instances
|
|
944
|
+
*/
|
|
945
|
+
declare function registerPalenightTheme(monaco: typeof monaco_editor): void;
|
|
946
|
+
|
|
947
|
+
declare const lighthouseTheme: editor.IStandaloneThemeData;
|
|
948
|
+
/**
|
|
949
|
+
* Register the lighthouse theme with Monaco Editor
|
|
950
|
+
* Call this function before creating any editor instances
|
|
951
|
+
*/
|
|
952
|
+
declare function registerLighthouseTheme(monaco: typeof monaco_editor): void;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* TypeScript type definitions for walkerOS Explorer themes
|
|
956
|
+
*
|
|
957
|
+
* These types provide type-safe access to theme properties and enable
|
|
958
|
+
* programmatic theme customization.
|
|
959
|
+
*/
|
|
960
|
+
interface ExplorerTheme {
|
|
961
|
+
mode: 'light' | 'dark';
|
|
962
|
+
colors: {
|
|
963
|
+
text: string;
|
|
964
|
+
textLabel: string;
|
|
965
|
+
textButton: string;
|
|
966
|
+
textButtonHover: string;
|
|
967
|
+
textButtonActive: string;
|
|
968
|
+
textMuted: string;
|
|
969
|
+
textToggle: string;
|
|
970
|
+
textInput: string;
|
|
971
|
+
textPlaceholder: string;
|
|
972
|
+
bgBox: string;
|
|
973
|
+
bgHeader: string;
|
|
974
|
+
bgFooter: string;
|
|
975
|
+
bgButtonHover: string;
|
|
976
|
+
bgButtonActive: string;
|
|
977
|
+
bgButtonGroup: string;
|
|
978
|
+
bgInput: string;
|
|
979
|
+
bgInputHover: string;
|
|
980
|
+
bgCodeInline: string;
|
|
981
|
+
bgDropdown: string;
|
|
982
|
+
bgDropdownOptionHover: string;
|
|
983
|
+
bgDropdownOptionHighlighted: string;
|
|
984
|
+
borderBox: string;
|
|
985
|
+
borderHeader: string;
|
|
986
|
+
borderFooter: string;
|
|
987
|
+
borderButtonGroup: string;
|
|
988
|
+
borderInput: string;
|
|
989
|
+
borderInputFocus: string;
|
|
990
|
+
buttonPrimary: string;
|
|
991
|
+
buttonPrimaryHover: string;
|
|
992
|
+
buttonPrimaryText: string;
|
|
993
|
+
buttonDanger: string;
|
|
994
|
+
buttonDangerHover: string;
|
|
995
|
+
buttonDangerText: string;
|
|
996
|
+
statusEnabled: string;
|
|
997
|
+
statusDisabled: string;
|
|
998
|
+
statusWarning: string;
|
|
999
|
+
highlightPrimary: string;
|
|
1000
|
+
highlightGlobals: string;
|
|
1001
|
+
highlightContext: string;
|
|
1002
|
+
highlightEntity: string;
|
|
1003
|
+
highlightProperty: string;
|
|
1004
|
+
highlightAction: string;
|
|
1005
|
+
highlightBackground: string;
|
|
1006
|
+
highlightText: string;
|
|
1007
|
+
highlightHover: string;
|
|
1008
|
+
highlightSeparator: string;
|
|
1009
|
+
};
|
|
1010
|
+
typography: {
|
|
1011
|
+
fontFamily: string;
|
|
1012
|
+
fontMono: string;
|
|
1013
|
+
fontSize: {
|
|
1014
|
+
base: string;
|
|
1015
|
+
label: string;
|
|
1016
|
+
toggle: string;
|
|
1017
|
+
highlightButton: string;
|
|
1018
|
+
};
|
|
1019
|
+
fontWeight: {
|
|
1020
|
+
normal: number;
|
|
1021
|
+
semibold: number;
|
|
1022
|
+
};
|
|
1023
|
+
lineHeight: {
|
|
1024
|
+
base: number;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
spacing: {
|
|
1028
|
+
header: string;
|
|
1029
|
+
footer: string;
|
|
1030
|
+
button: string;
|
|
1031
|
+
buttonGroup: string;
|
|
1032
|
+
gridGap: string;
|
|
1033
|
+
};
|
|
1034
|
+
radius: {
|
|
1035
|
+
box: string;
|
|
1036
|
+
button: string;
|
|
1037
|
+
buttonGroup: string;
|
|
1038
|
+
highlightButton: string;
|
|
1039
|
+
};
|
|
1040
|
+
shadows: {
|
|
1041
|
+
buttonActive: string;
|
|
1042
|
+
dropdown: string;
|
|
1043
|
+
};
|
|
1044
|
+
grid: {
|
|
1045
|
+
minBoxWidth: string;
|
|
1046
|
+
rowMinHeight: string;
|
|
1047
|
+
rowMaxHeight: string;
|
|
1048
|
+
boxMaxHeightMobile: string;
|
|
1049
|
+
};
|
|
1050
|
+
monaco: {
|
|
1051
|
+
theme: string;
|
|
1052
|
+
fontSize: string;
|
|
1053
|
+
lineHeight: string;
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Register all Monaco themes
|
|
1059
|
+
* Convenience function for registering both themes at once
|
|
1060
|
+
*
|
|
1061
|
+
* @example
|
|
1062
|
+
* ```typescript
|
|
1063
|
+
* import { registerAllThemes } from '@walkeros/explorer';
|
|
1064
|
+
* import * as monaco from 'monaco-editor';
|
|
1065
|
+
*
|
|
1066
|
+
* registerAllThemes(monaco);
|
|
1067
|
+
* ```
|
|
1068
|
+
*/
|
|
1069
|
+
declare function registerAllThemes(monaco: typeof monaco_editor): void;
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Monaco Editor TypeScript Type Management
|
|
1073
|
+
*
|
|
1074
|
+
* This utility manages TypeScript type definitions in Monaco Editor for:
|
|
1075
|
+
* 1. Static walkerOS core types (bundled at build time via Vite ?raw import)
|
|
1076
|
+
* 2. Dynamic destination types (loaded on-the-fly when destinations are added)
|
|
1077
|
+
* 3. Context-specific function signatures (condition, fn, validate)
|
|
1078
|
+
*
|
|
1079
|
+
* Architecture:
|
|
1080
|
+
* - Uses monaco.languages.typescript.typescriptDefaults.addExtraLib()
|
|
1081
|
+
* - Each type definition gets a unique file path (e.g., 'file:///destinations/gtag.d.ts')
|
|
1082
|
+
* - Types can be added/removed dynamically without page reload
|
|
1083
|
+
* - Core types are bundled for offline support and predictable versioning
|
|
1084
|
+
*/
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Load type definitions from a URL
|
|
1088
|
+
*
|
|
1089
|
+
* @param monaco - Monaco instance
|
|
1090
|
+
* @param url - URL to .d.ts file
|
|
1091
|
+
* @param uri - Optional custom URI (defaults to URL)
|
|
1092
|
+
*/
|
|
1093
|
+
declare function loadTypeLibraryFromURL(monaco: Monaco, url: string, uri?: string): Promise<boolean>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Options for loading package types dynamically
|
|
1096
|
+
*/
|
|
1097
|
+
interface LoadPackageTypesOptions {
|
|
1098
|
+
/** Package name (e.g., '@walkeros/destination-gtag') */
|
|
1099
|
+
package: string;
|
|
1100
|
+
/** Version to load (e.g., '0.1.0', 'latest') */
|
|
1101
|
+
version?: string;
|
|
1102
|
+
/** CDN to use ('unpkg' or 'jsdelivr') */
|
|
1103
|
+
cdn?: 'unpkg' | 'jsdelivr';
|
|
1104
|
+
/** Path to .d.ts file within package (defaults to '/dist/index.d.ts') */
|
|
1105
|
+
typesPath?: string;
|
|
1106
|
+
}
|
|
1107
|
+
interface LoadPackageTypesOptions {
|
|
1108
|
+
package: string;
|
|
1109
|
+
version?: string;
|
|
1110
|
+
}
|
|
1111
|
+
declare function loadPackageTypes(monaco: Monaco, options: LoadPackageTypesOptions): Promise<boolean>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Simple helper to register only walkerOS core types
|
|
1114
|
+
*
|
|
1115
|
+
* Use this for basic scenarios where you just need @walkeros/core types.
|
|
1116
|
+
* For advanced usage (destinations, function contexts), use initializeMonacoTypes.
|
|
1117
|
+
*
|
|
1118
|
+
* @param monaco - Monaco editor instance
|
|
1119
|
+
*
|
|
1120
|
+
* @example
|
|
1121
|
+
* ```typescript
|
|
1122
|
+
* const handleBeforeMount = (monaco: Monaco) => {
|
|
1123
|
+
* registerWalkerOSTypes(monaco);
|
|
1124
|
+
* };
|
|
1125
|
+
* ```
|
|
1126
|
+
*/
|
|
1127
|
+
declare function registerWalkerOSTypes(monaco: Monaco): void;
|
|
1128
|
+
/**
|
|
1129
|
+
* Initialize Monaco with walkerOS types (full setup)
|
|
1130
|
+
*
|
|
1131
|
+
* Call this once in CodeBox's beforeMount handler.
|
|
1132
|
+
* Includes core types, TypeScript config, and default function context.
|
|
1133
|
+
*
|
|
1134
|
+
* @param monaco - Monaco editor instance
|
|
1135
|
+
*
|
|
1136
|
+
* @example
|
|
1137
|
+
* ```typescript
|
|
1138
|
+
* const handleBeforeMount = (monaco: Monaco) => {
|
|
1139
|
+
* initializeMonacoTypes(monaco);
|
|
1140
|
+
* };
|
|
1141
|
+
* ```
|
|
1142
|
+
*/
|
|
1143
|
+
declare function initializeMonacoTypes(monaco: Monaco): void;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Generate a unique model path for a Code instance.
|
|
1147
|
+
* Used as the `path` prop for @monaco-editor/react Editor.
|
|
1148
|
+
*/
|
|
1149
|
+
declare function generateModelPath(): string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Register a JSON schema for a specific model path.
|
|
1152
|
+
* Triggers a global setDiagnosticsOptions update.
|
|
1153
|
+
*/
|
|
1154
|
+
declare function registerJsonSchema(modelPath: string, schema: Record<string, unknown>): void;
|
|
1155
|
+
/**
|
|
1156
|
+
* Unregister a JSON schema when a Code instance unmounts.
|
|
1157
|
+
* Triggers a global setDiagnosticsOptions update.
|
|
1158
|
+
*/
|
|
1159
|
+
declare function unregisterJsonSchema(modelPath: string): void;
|
|
1160
|
+
|
|
1161
|
+
interface MonacoSchemaExtension {
|
|
1162
|
+
defaultSnippets?: Array<{
|
|
1163
|
+
label: string;
|
|
1164
|
+
description?: string;
|
|
1165
|
+
markdownDescription?: string;
|
|
1166
|
+
body?: unknown;
|
|
1167
|
+
bodyText?: string;
|
|
1168
|
+
}>;
|
|
1169
|
+
markdownDescription?: string;
|
|
1170
|
+
enumDescriptions?: string[];
|
|
1171
|
+
markdownEnumDescriptions?: string[];
|
|
1172
|
+
deprecationMessage?: string;
|
|
1173
|
+
errorMessage?: string;
|
|
1174
|
+
patternErrorMessage?: string;
|
|
1175
|
+
doNotSuggest?: boolean;
|
|
1176
|
+
suggestSortText?: string;
|
|
1177
|
+
}
|
|
1178
|
+
type EnrichmentMap = Record<string, MonacoSchemaExtension>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Deep-merges Monaco-specific JSON Schema extensions into a base schema.
|
|
1181
|
+
* Keys in the enrichment map are dot-paths (e.g., 'properties.sources').
|
|
1182
|
+
* Empty string '' targets the root. Does not mutate the original.
|
|
1183
|
+
*/
|
|
1184
|
+
declare function enrichSchema(baseSchema: Record<string, unknown>, enrichments: EnrichmentMap): Record<string, unknown>;
|
|
1185
|
+
|
|
1186
|
+
type AnySchema$2 = Record<string, any>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Takes the base Flow.Setup JSON Schema (from @walkeros/core z.toJSONSchema())
|
|
1189
|
+
* and returns an enriched version with Monaco-specific extensions.
|
|
1190
|
+
*
|
|
1191
|
+
* The actual schema uses anyOf[0] at the top level.
|
|
1192
|
+
*/
|
|
1193
|
+
declare function enrichFlowSetupSchema(baseSchema: AnySchema$2): AnySchema$2;
|
|
1194
|
+
|
|
1195
|
+
type AnySchema$1 = Record<string, any>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Returns an enriched JSON Schema for the walkerOS Contract editor.
|
|
1198
|
+
* Structure: { $tagging: number, entity: { action: JSONSchema } }
|
|
1199
|
+
*/
|
|
1200
|
+
declare function getEnrichedContractSchema(): AnySchema$1;
|
|
1201
|
+
|
|
1202
|
+
type AnySchema = Record<string, any>;
|
|
1203
|
+
declare function getVariablesSchema(): AnySchema;
|
|
1204
|
+
|
|
1205
|
+
type ReferenceType = 'variable' | 'definition' | 'secret' | 'env' | 'code';
|
|
1206
|
+
interface WalkerOSReference {
|
|
1207
|
+
type: ReferenceType;
|
|
1208
|
+
name: string;
|
|
1209
|
+
startIndex: number;
|
|
1210
|
+
endIndex: number;
|
|
1211
|
+
}
|
|
1212
|
+
declare const REFERENCE_PATTERNS: Array<{
|
|
1213
|
+
type: ReferenceType;
|
|
1214
|
+
regex: RegExp;
|
|
1215
|
+
className: string;
|
|
1216
|
+
}>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Find all walkerOS reference patterns in text.
|
|
1219
|
+
* Used for both decorations and validation.
|
|
1220
|
+
*/
|
|
1221
|
+
declare function findWalkerOSReferences(text: string): WalkerOSReference[];
|
|
1222
|
+
/**
|
|
1223
|
+
* Apply walkerOS reference decorations to a Monaco editor.
|
|
1224
|
+
* Returns a cleanup function.
|
|
1225
|
+
*/
|
|
1226
|
+
declare function applyWalkerOSDecorations(editorInstance: editor.IStandaloneCodeEditor): () => void;
|
|
1227
|
+
/**
|
|
1228
|
+
* Register CSS styles for walkerOS reference decorations.
|
|
1229
|
+
* Call once on app init.
|
|
1230
|
+
*/
|
|
1231
|
+
declare function registerWalkerOSDecorationStyles(): void;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Update the IntelliSense context for a specific editor model.
|
|
1235
|
+
*/
|
|
1236
|
+
declare function setIntelliSenseContext(modelPath: string, context: IntelliSenseContext): void;
|
|
1237
|
+
/**
|
|
1238
|
+
* Remove context when editor unmounts.
|
|
1239
|
+
*/
|
|
1240
|
+
declare function removeIntelliSenseContext(modelPath: string): void;
|
|
1241
|
+
/**
|
|
1242
|
+
* Register the walkerOS CompletionItemProvider and HoverProvider for JSON.
|
|
1243
|
+
* Call once on app initialization. Safe to call multiple times (idempotent).
|
|
1244
|
+
*/
|
|
1245
|
+
declare function registerWalkerOSProviders(monaco: typeof monaco_editor): void;
|
|
1246
|
+
/**
|
|
1247
|
+
* Dispose all registered providers. Call on app teardown.
|
|
1248
|
+
*/
|
|
1249
|
+
declare function disposeWalkerOSProviders(): void;
|
|
1250
|
+
|
|
1251
|
+
interface ValidationIssue {
|
|
1252
|
+
message: string;
|
|
1253
|
+
severity: 'error' | 'warning' | 'info';
|
|
1254
|
+
startIndex: number;
|
|
1255
|
+
endIndex: number;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Validate walkerOS references in JSON text against the current context.
|
|
1259
|
+
* Returns issues for dangling references and invalid cross-references.
|
|
1260
|
+
*/
|
|
1261
|
+
declare function validateWalkerOSReferences(text: string, context: Partial<IntelliSenseContext>): ValidationIssue[];
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Extract IntelliSense context from a Flow.Setup JSON string.
|
|
1265
|
+
*
|
|
1266
|
+
* Parses the JSON, walks setup → configs → steps, and collects
|
|
1267
|
+
* all discoverable variables, definitions, step names, packages,
|
|
1268
|
+
* platform, and contract entities.
|
|
1269
|
+
*
|
|
1270
|
+
* Returns `{}` for invalid JSON or non-Flow structures.
|
|
1271
|
+
* Pure function — no side effects, no state.
|
|
1272
|
+
*/
|
|
1273
|
+
declare function extractFlowIntelliSenseContext(json: string): Partial<IntelliSenseContext>;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Formats captured function calls for display
|
|
1277
|
+
*
|
|
1278
|
+
* @param calls - Array of captured calls with path and args
|
|
1279
|
+
* @param defaultMessage - Message to show when no calls captured
|
|
1280
|
+
* @returns Formatted string of function calls
|
|
1281
|
+
*
|
|
1282
|
+
* @example
|
|
1283
|
+
* formatCapturedCalls([
|
|
1284
|
+
* { path: ['window', 'gtag'], args: ['config', 'G-XXX'] }
|
|
1285
|
+
* ])
|
|
1286
|
+
* // Returns: "gtag('config', 'G-XXX');"
|
|
1287
|
+
*/
|
|
1288
|
+
declare function formatCapturedCalls(calls: Array<{
|
|
1289
|
+
path: string[];
|
|
1290
|
+
args: unknown[];
|
|
1291
|
+
}>, defaultMessage?: string): string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Creates a capture function for destination push method
|
|
1294
|
+
* Uses walkerOS core mockEnv to intercept function calls
|
|
1295
|
+
*
|
|
1296
|
+
* @param destination - Destination instance with push method
|
|
1297
|
+
* @param destinationEnv - Destination's exported env (usually examples.env.push)
|
|
1298
|
+
* @returns Async function that executes push and returns formatted output
|
|
1299
|
+
*
|
|
1300
|
+
* @example
|
|
1301
|
+
* import destinationGtag, { examples } from '@walkeros/web-destination-gtag';
|
|
1302
|
+
* import { getEvent } from '@walkeros/core';
|
|
1303
|
+
*
|
|
1304
|
+
* const captureFn = captureDestinationPush(destinationGtag, examples.env.push);
|
|
1305
|
+
*
|
|
1306
|
+
* // Use in DestinationDemo
|
|
1307
|
+
* <DestinationDemo
|
|
1308
|
+
* destination={destinationGtag}
|
|
1309
|
+
* event={getEvent('order complete')}
|
|
1310
|
+
* mapping={examples.mapping.purchase}
|
|
1311
|
+
* fn={captureFn}
|
|
1312
|
+
* />
|
|
1313
|
+
*/
|
|
1314
|
+
declare function captureDestinationPush(destination: Destination.Instance, destinationEnv: unknown): (event: WalkerOS.Event, context: Destination.PushContext) => Promise<string>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Advanced: Creates a raw capture function that returns call data
|
|
1317
|
+
* Use this when you need custom formatting or processing of calls
|
|
1318
|
+
*
|
|
1319
|
+
* @param destinationEnv - Destination's exported env
|
|
1320
|
+
* @returns Function that returns both env and getCalls function
|
|
1321
|
+
*
|
|
1322
|
+
* @example
|
|
1323
|
+
* const { env, getCalls } = createRawCapture(examples.env.push);
|
|
1324
|
+
* await destination.init({ ...context, env });
|
|
1325
|
+
* const calls = getCalls();
|
|
1326
|
+
* // Process calls as needed
|
|
1327
|
+
*/
|
|
1328
|
+
declare function createRawCapture(destinationEnv: unknown): {
|
|
1329
|
+
env: Record<string, unknown>;
|
|
1330
|
+
getCalls: () => {
|
|
1331
|
+
path: string[];
|
|
1332
|
+
args: unknown[];
|
|
1333
|
+
}[];
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders, enrichFlowSetupSchema, enrichSchema, extractFlowIntelliSenseContext, findWalkerOSReferences, formatCapturedCalls, generateModelPath, getEnrichedContractSchema, getVariablesSchema, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerJsonSchema, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSDecorationStyles, registerWalkerOSProviders, registerWalkerOSTypes, removeIntelliSenseContext, setIntelliSenseContext, unregisterJsonSchema, useDropdown, validateWalkerOSReferences };
|