@superblocksteam/library 1.99.99-next.2
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/LICENSE.txt +87 -0
- package/README.md +108 -0
- package/dist/allPaths-CCZMME3l.js +17 -0
- package/dist/allPaths-CCZMME3l.js.map +1 -0
- package/dist/allPaths-CHXNxDVP.js +17 -0
- package/dist/allPaths-CHXNxDVP.js.map +1 -0
- package/dist/allPathsLoader-DTWFaGcd.js +22 -0
- package/dist/allPathsLoader-DTWFaGcd.js.map +1 -0
- package/dist/allPathsLoader-Fr8EhLGp.js +22 -0
- package/dist/allPathsLoader-Fr8EhLGp.js.map +1 -0
- package/dist/icons-BrNMuu_I.js +40 -0
- package/dist/icons-BrNMuu_I.js.map +1 -0
- package/dist/index-BxzKdlqH.js +1353 -0
- package/dist/index-BxzKdlqH.js.map +1 -0
- package/dist/index-DIJYif9G.js +1341 -0
- package/dist/index-DIJYif9G.js.map +1 -0
- package/dist/index-DIn-fanT.js +1353 -0
- package/dist/index-DIn-fanT.js.map +1 -0
- package/dist/index-LHtbj0-V.js +1341 -0
- package/dist/index-LHtbj0-V.js.map +1 -0
- package/dist/index-U0oPeutu.js +189889 -0
- package/dist/index-U0oPeutu.js.map +1 -0
- package/dist/index.css +34239 -0
- package/dist/index.js +164 -0
- package/dist/index.js.map +1 -0
- package/dist/splitPathsBySizeLoader-DHk6oFvg.js +34 -0
- package/dist/splitPathsBySizeLoader-DHk6oFvg.js.map +1 -0
- package/dist/splitPathsBySizeLoader-PcZVWYaJ.js +34 -0
- package/dist/splitPathsBySizeLoader-PcZVWYaJ.js.map +1 -0
- package/dist-types/app-internal.d.ts +4 -0
- package/dist-types/docs-utils/generate-docs.d.ts +2 -0
- package/dist-types/edit-mode/collisions-layer.d.ts +3 -0
- package/dist-types/edit-mode/create-component.d.ts +8 -0
- package/dist-types/edit-mode/debug-tools.d.ts +11 -0
- package/dist-types/edit-mode/dnd/collision-detection.d.ts +3 -0
- package/dist-types/edit-mode/dnd/dnd-provider.d.ts +4 -0
- package/dist-types/edit-mode/dnd/draggable-widget.d.ts +7 -0
- package/dist-types/edit-mode/dnd/drop-layer.d.ts +5 -0
- package/dist-types/edit-mode/dnd/droppable-widget.d.ts +10 -0
- package/dist-types/edit-mode/dnd/grid-drop.d.ts +4 -0
- package/dist-types/edit-mode/dnd/grid-store.d.ts +33 -0
- package/dist-types/edit-mode/dnd/grid-utils.d.ts +8 -0
- package/dist-types/edit-mode/dnd/handle-grid-drop.d.ts +9 -0
- package/dist-types/edit-mode/dnd/handle-stack-drop.d.ts +9 -0
- package/dist-types/edit-mode/dnd/hooks/use-component-draggable.d.ts +5 -0
- package/dist-types/edit-mode/dnd/hooks/use-component-droppable.d.ts +6 -0
- package/dist-types/edit-mode/dnd/hooks/use-handle-dnd-events.d.ts +1 -0
- package/dist-types/edit-mode/dnd/hooks/use-widget-node-ref.d.ts +2 -0
- package/dist-types/edit-mode/dnd/new-components-drag-layer.d.ts +6 -0
- package/dist-types/edit-mode/dnd/stack-drop.d.ts +4 -0
- package/dist-types/edit-mode/dnd/stack-store.d.ts +10 -0
- package/dist-types/edit-mode/dnd/stack-utils.d.ts +13 -0
- package/dist-types/edit-mode/dnd/types.d.ts +45 -0
- package/dist-types/edit-mode/dnd/utils.d.ts +13 -0
- package/dist-types/edit-mode/duplicated-name-popover.d.ts +7 -0
- package/dist-types/edit-mode/edit-store.d.ts +28 -0
- package/dist-types/edit-mode/edit-wrapper.d.ts +18 -0
- package/dist-types/edit-mode/editor-hotkeys.d.ts +3 -0
- package/dist-types/edit-mode/features/connection-manager.d.ts +10 -0
- package/dist-types/edit-mode/features/drag-and-drop-store.d.ts +69 -0
- package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +17 -0
- package/dist-types/edit-mode/features/operation-store.d.ts +49 -0
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +31 -0
- package/dist-types/edit-mode/features/resizing-store.d.ts +53 -0
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +94 -0
- package/dist-types/edit-mode/features/runtime-widgets-manager.d.ts +55 -0
- package/dist-types/edit-mode/features/ui-store.d.ts +41 -0
- package/dist-types/edit-mode/hooks/use-register-source-element.d.ts +2 -0
- package/dist-types/edit-mode/iframe-wrappers.d.ts +4 -0
- package/dist-types/edit-mode/interaction-add-section-button.d.ts +4 -0
- package/dist-types/edit-mode/interaction-layer.d.ts +11 -0
- package/dist-types/edit-mode/interaction-rect-handles.d.ts +7 -0
- package/dist-types/edit-mode/interaction-rect-name-pill.d.ts +13 -0
- package/dist-types/edit-mode/interaction-rect.d.ts +44 -0
- package/dist-types/edit-mode/interaction-utils.d.ts +4 -0
- package/dist-types/edit-mode/mobx-sync/create-patch.d.ts +2 -0
- package/dist-types/edit-mode/mobx-sync/deep-observe.d.ts +24 -0
- package/dist-types/edit-mode/mobx-sync/mobx-editor-sync.d.ts +23 -0
- package/dist-types/edit-mode/properties.d.ts +13 -0
- package/dist-types/edit-mode/resize-capabilities.d.ts +5 -0
- package/dist-types/edit-mode/right-click-menu/right-click-menu.d.ts +14 -0
- package/dist-types/edit-mode/roots.d.ts +9 -0
- package/dist-types/edit-mode/runtime-children.d.ts +14 -0
- package/dist-types/edit-mode/sb-component-from-meta.d.ts +2 -0
- package/dist-types/edit-mode/source-update-api.d.ts +26 -0
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +34 -0
- package/dist-types/internal-testing/components/api.d.ts +3 -0
- package/dist-types/internal-testing/components/button.d.ts +1 -0
- package/dist-types/internal-testing/components/checkbox.d.ts +1 -0
- package/dist-types/internal-testing/components/container.d.ts +1 -0
- package/dist-types/internal-testing/components/date-picker.d.ts +1 -0
- package/dist-types/internal-testing/components/dropdown.d.ts +1 -0
- package/dist-types/internal-testing/components/icon.d.ts +1 -0
- package/dist-types/internal-testing/components/image.d.ts +1 -0
- package/dist-types/internal-testing/components/input.d.ts +1 -0
- package/dist-types/internal-testing/components/key-value.d.ts +1 -0
- package/dist-types/internal-testing/components/modal.d.ts +1 -0
- package/dist-types/internal-testing/components/section-column.d.ts +1 -0
- package/dist-types/internal-testing/components/switch.d.ts +1 -0
- package/dist-types/internal-testing/components/table.d.ts +1 -0
- package/dist-types/internal-testing/components/timer.d.ts +3 -0
- package/dist-types/internal-testing/components/variable.d.ts +3 -0
- package/dist-types/internal-testing/utils.d.ts +5 -0
- package/dist-types/internal-testing/widgets.d.ts +2 -0
- package/dist-types/lib/hooks/use-alignment-styles.d.ts +9 -0
- package/dist-types/lib/hooks/use-cached-value.d.ts +11 -0
- package/dist-types/lib/hooks/use-callback-as-ref.d.ts +1 -0
- package/dist-types/lib/hooks/use-deep-memo.d.ts +9 -0
- package/dist-types/lib/hooks/use-editor-hotkeys.d.ts +3 -0
- package/dist-types/lib/hooks/use-element-rect.d.ts +7 -0
- package/dist-types/lib/hooks/use-observer-memo.d.ts +14 -0
- package/dist-types/lib/hooks/use-observer-memo.test.d.ts +1 -0
- package/dist-types/lib/hooks/use-pointer-down-outside.d.ts +15 -0
- package/dist-types/lib/hooks/use-stable-effect.d.ts +22 -0
- package/dist-types/lib/hooks/use-stable-effect.test.d.ts +1 -0
- package/dist-types/lib/index.d.ts +40 -0
- package/dist-types/lib/internal-details/actions-context.d.ts +9 -0
- package/dist-types/lib/internal-details/component-info-context.d.ts +10 -0
- package/dist-types/lib/internal-details/entities-state.d.ts +10 -0
- package/dist-types/lib/internal-details/entities.d.ts +5 -0
- package/dist-types/lib/internal-details/env.d.ts +1 -0
- package/dist-types/lib/internal-details/identifier-normalizer.d.ts +9 -0
- package/dist-types/lib/internal-details/is-sb-component.d.ts +7 -0
- package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +97 -0
- package/dist-types/lib/internal-details/lib/evaluator/binding-extraction.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +6 -0
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +20 -0
- package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +7 -0
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +27 -0
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +83 -0
- package/dist-types/lib/internal-details/lib/evaluator/entity-types.d.ts +16 -0
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +7 -0
- package/dist-types/lib/internal-details/lib/evaluator/names.d.ts +7 -0
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +32 -0
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.test.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/features/api-store.d.ts +36 -0
- package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +77 -0
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +27 -0
- package/dist-types/lib/internal-details/lib/features/injected-features.d.ts +8 -0
- package/dist-types/lib/internal-details/lib/features/name-manager.d.ts +36 -0
- package/dist-types/lib/internal-details/lib/iframe.d.ts +44 -0
- package/dist-types/lib/internal-details/lib/mobx-cached-getter.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/resolve-id-singleton.d.ts +4 -0
- package/dist-types/lib/internal-details/lib/root-store.d.ts +30 -0
- package/dist-types/lib/internal-details/lib/throttle.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/types.d.ts +226 -0
- package/dist-types/lib/internal-details/reactive-component.d.ts +10 -0
- package/dist-types/lib/internal-details/sb-wrapper-notes.d.ts +1 -0
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +14 -0
- package/dist-types/lib/internal-details/scope/global.d.ts +9 -0
- package/dist-types/lib/internal-details/scope/scope-context.d.ts +8 -0
- package/dist-types/lib/internal-details/scope/scope.d.ts +12 -0
- package/dist-types/lib/internal-details/size.d.ts +1 -0
- package/dist-types/lib/internal-details/theme-context.d.ts +8 -0
- package/dist-types/lib/internal-details/use-track-runtime-widget.d.ts +15 -0
- package/dist-types/lib/sb-trigger.d.ts +53 -0
- package/dist-types/lib/triggers/base.d.ts +17 -0
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +19 -0
- package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +21 -0
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +17 -0
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +17 -0
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +20 -0
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +20 -0
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +28 -0
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +23 -0
- package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +26 -0
- package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +18 -0
- package/dist-types/lib/triggers/implementations/run-js.d.ts +18 -0
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +17 -0
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +22 -0
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +15 -0
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +18 -0
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +17 -0
- package/dist-types/lib/triggers/implementations/trigger-event.d.ts +17 -0
- package/dist-types/lib/triggers/registry.d.ts +174 -0
- package/dist-types/lib/triggers/run-event-handlers.d.ts +10 -0
- package/dist-types/lib/user-facing/component-base/components/autolinked-text.d.ts +8 -0
- package/dist-types/lib/user-facing/component-base/components/button.d.ts +46 -0
- package/dist-types/lib/user-facing/component-base/components/checkbox.d.ts +12 -0
- package/dist-types/lib/user-facing/component-base/components/dropdown-select.d.ts +4 -0
- package/dist-types/lib/user-facing/component-base/components/dynamic-svg.d.ts +10 -0
- package/dist-types/lib/user-facing/component-base/components/expand-button.d.ts +8 -0
- package/dist-types/lib/user-facing/component-base/components/loading-animator.d.ts +4 -0
- package/dist-types/lib/user-facing/component-base/components/plain-link.d.ts +1 -0
- package/dist-types/lib/user-facing/component-base/components/popper.d.ts +20 -0
- package/dist-types/lib/user-facing/component-base/components/search-component.d.ts +19 -0
- package/dist-types/lib/user-facing/component-base/components/span-trunc-middle.d.ts +9 -0
- package/dist-types/lib/user-facing/component-base/components/switch.d.ts +6 -0
- package/dist-types/lib/user-facing/component-base/constants.d.ts +18 -0
- package/dist-types/lib/user-facing/component-base/error/error-inline-message.d.ts +36 -0
- package/dist-types/lib/user-facing/component-base/error/error-tooltip.d.ts +11 -0
- package/dist-types/lib/user-facing/component-base/error/error-utils.d.ts +13 -0
- package/dist-types/lib/user-facing/component-base/error/widget-errors-wrapper.d.ts +15 -0
- package/dist-types/lib/user-facing/component-base/error-boundary.d.ts +18 -0
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +18 -0
- package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +16 -0
- package/dist-types/lib/user-facing/component-base/styles/hover-styles.d.ts +10 -0
- package/dist-types/lib/user-facing/component-base/styles/input-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/component-base/use-passthrough-props.d.ts +6 -0
- package/dist-types/lib/user-facing/component-base/utils/format-utils.d.ts +37 -0
- package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +17 -0
- package/dist-types/lib/user-facing/components/button/index.d.ts +37 -0
- package/dist-types/lib/user-facing/components/button/props.d.ts +48 -0
- package/dist-types/lib/user-facing/components/checkbox/checkbox-component.d.ts +9 -0
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +43 -0
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +44 -0
- package/dist-types/lib/user-facing/components/checkbox/types.d.ts +19 -0
- package/dist-types/lib/user-facing/components/column/index.d.ts +51 -0
- package/dist-types/lib/user-facing/components/column/props.d.ts +45 -0
- package/dist-types/lib/user-facing/components/container/index.d.ts +63 -0
- package/dist-types/lib/user-facing/components/container/props.d.ts +58 -0
- package/dist-types/lib/user-facing/components/custom/context.d.ts +11 -0
- package/dist-types/lib/user-facing/components/custom/index.d.ts +2 -0
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +27 -0
- package/dist-types/lib/user-facing/components/date-picker/constants.d.ts +8 -0
- package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +29 -0
- package/dist-types/lib/user-facing/components/date-picker/date-picker.d.ts +2 -0
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +63 -0
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +65 -0
- package/dist-types/lib/user-facing/components/date-picker/props.test-d.d.ts +1 -0
- package/dist-types/lib/user-facing/components/date-picker/side-effects.d.ts +3 -0
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +40 -0
- package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +24 -0
- package/dist-types/lib/user-facing/components/dropdown/constants.d.ts +5 -0
- package/dist-types/lib/user-facing/components/dropdown/dropdown-component.d.ts +106 -0
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +73 -0
- package/dist-types/lib/user-facing/components/dropdown/multi-dropdown.d.ts +18 -0
- package/dist-types/lib/user-facing/components/dropdown/normalize-values.d.ts +2 -0
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +76 -0
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +89 -0
- package/dist-types/lib/user-facing/components/dropdown/utils.d.ts +8 -0
- package/dist-types/lib/user-facing/components/grid/calculations/calculate-constraints.d.ts +26 -0
- package/dist-types/lib/user-facing/components/grid/calculations/calculate-row-positions.d.ts +2 -0
- package/dist-types/lib/user-facing/components/grid/calculations/order-constraints.d.ts +2 -0
- package/dist-types/lib/user-facing/components/grid/index.d.ts +36 -0
- package/dist-types/lib/user-facing/components/grid/use-height-observer.d.ts +5 -0
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +1 -0
- package/dist-types/lib/user-facing/components/icon/index.d.ts +22 -0
- package/dist-types/lib/user-facing/components/icon/props.d.ts +24 -0
- package/dist-types/lib/user-facing/components/image/image-component.d.ts +38 -0
- package/dist-types/lib/user-facing/components/image/index.d.ts +29 -0
- package/dist-types/lib/user-facing/components/image/props.d.ts +39 -0
- package/dist-types/lib/user-facing/components/input/constants.d.ts +24 -0
- package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +5 -0
- package/dist-types/lib/user-facing/components/input/index.d.ts +96 -0
- package/dist-types/lib/user-facing/components/input/input-component.d.ts +57 -0
- package/dist-types/lib/user-facing/components/input/props.d.ts +100 -0
- package/dist-types/lib/user-facing/components/input/styles.d.ts +6 -0
- package/dist-types/lib/user-facing/components/input/types.d.ts +45 -0
- package/dist-types/lib/user-facing/components/input/utils.d.ts +15 -0
- package/dist-types/lib/user-facing/components/key-value/components/key-styles.d.ts +3 -0
- package/dist-types/lib/user-facing/components/key-value/components/property-key.d.ts +7 -0
- package/dist-types/lib/user-facing/components/key-value/components/property-value.d.ts +12 -0
- package/dist-types/lib/user-facing/components/key-value/components/value-styles.d.ts +6 -0
- package/dist-types/lib/user-facing/components/key-value/constants.d.ts +7 -0
- package/dist-types/lib/user-facing/components/key-value/derived-properties.d.ts +1 -0
- package/dist-types/lib/user-facing/components/key-value/index.d.ts +6 -0
- package/dist-types/lib/user-facing/components/key-value/key-value-component.d.ts +2 -0
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +45 -0
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +38 -0
- package/dist-types/lib/user-facing/components/key-value/styles.d.ts +22 -0
- package/dist-types/lib/user-facing/components/key-value/types.d.ts +106 -0
- package/dist-types/lib/user-facing/components/key-value/utils.d.ts +11 -0
- package/dist-types/lib/user-facing/components/modal/constants.d.ts +8 -0
- package/dist-types/lib/user-facing/components/modal/index.d.ts +49 -0
- package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +37 -0
- package/dist-types/lib/user-facing/components/modal/props.d.ts +46 -0
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -0
- package/dist-types/lib/user-facing/components/page/props.d.ts +15 -0
- package/dist-types/lib/user-facing/components/page/register-page.d.ts +2 -0
- package/dist-types/lib/user-facing/components/section/index.d.ts +22 -0
- package/dist-types/lib/user-facing/components/section/props.d.ts +25 -0
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -0
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +15 -0
- package/dist-types/lib/user-facing/components/stack/index.d.ts +60 -0
- package/dist-types/lib/user-facing/components/switch/index.d.ts +44 -0
- package/dist-types/lib/user-facing/components/switch/props.d.ts +45 -0
- package/dist-types/lib/user-facing/components/switch/switch-component.d.ts +5 -0
- package/dist-types/lib/user-facing/components/switch/types.d.ts +19 -0
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +178 -0
- package/dist-types/lib/user-facing/components/table/components/autotooltip-component.d.ts +17 -0
- package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +16 -0
- package/dist-types/lib/user-facing/components/table/components/column-settings.d.ts +11 -0
- package/dist-types/lib/user-facing/components/table/components/edit-cell.d.ts +15 -0
- package/dist-types/lib/user-facing/components/table/components/edit-checkbox-cell.d.ts +11 -0
- package/dist-types/lib/user-facing/components/table/components/edit-date-cell.d.ts +12 -0
- package/dist-types/lib/user-facing/components/table/components/edit-input-cell.d.ts +14 -0
- package/dist-types/lib/user-facing/components/table/components/edit-multi-select-cell.d.ts +13 -0
- package/dist-types/lib/user-facing/components/table/components/edit-single-select-cell.d.ts +13 -0
- package/dist-types/lib/user-facing/components/table/components/edit-utils.d.ts +28 -0
- package/dist-types/lib/user-facing/components/table/components/editable-link-cell.d.ts +20 -0
- package/dist-types/lib/user-facing/components/table/components/filter-popover-content.d.ts +37 -0
- package/dist-types/lib/user-facing/components/table/components/popover-video.d.ts +5 -0
- package/dist-types/lib/user-facing/components/table/components/table-action-icon.d.ts +13 -0
- package/dist-types/lib/user-facing/components/table/components/table-column-header-button.d.ts +19 -0
- package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +15 -0
- package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +40 -0
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +62 -0
- package/dist-types/lib/user-facing/components/table/components/table-loading-state.d.ts +11 -0
- package/dist-types/lib/user-facing/components/table/components/table-pagination-input.d.ts +10 -0
- package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +18 -0
- package/dist-types/lib/user-facing/components/table/components/table-row-context-menu.d.ts +17 -0
- package/dist-types/lib/user-facing/components/table/components/table-tag.d.ts +25 -0
- package/dist-types/lib/user-facing/components/table/constants.d.ts +111 -0
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +20 -0
- package/dist-types/lib/user-facing/components/table/index.d.ts +255 -0
- package/dist-types/lib/user-facing/components/table/props.d.ts +259 -0
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +100 -0
- package/dist-types/lib/user-facing/components/table/table-manager.d.ts +23 -0
- package/dist-types/lib/user-facing/components/table/table-styles.d.ts +78 -0
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +147 -0
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +148 -0
- package/dist-types/lib/user-facing/components/table/types.d.ts +471 -0
- package/dist-types/lib/user-facing/components/table/use-sticky.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/utils.d.ts +2 -0
- package/dist-types/lib/user-facing/components/text/index.d.ts +51 -0
- package/dist-types/lib/user-facing/components/text/long-text-button.d.ts +8 -0
- package/dist-types/lib/user-facing/components/text/props.d.ts +60 -0
- package/dist-types/lib/user-facing/components/text/styles.d.ts +2 -0
- package/dist-types/lib/user-facing/components/text/utils.d.ts +25 -0
- package/dist-types/lib/user-facing/constants.d.ts +2 -0
- package/dist-types/lib/user-facing/entities/api/index.d.ts +14 -0
- package/dist-types/lib/user-facing/entities/api/props.d.ts +20 -0
- package/dist-types/lib/user-facing/entities/timer/index.d.ts +16 -0
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +19 -0
- package/dist-types/lib/user-facing/entities/variable/index.d.ts +14 -0
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +13 -0
- package/dist-types/lib/user-facing/global-functions.d.ts +23 -0
- package/dist-types/lib/user-facing/hooks/use-editor.d.ts +42 -0
- package/dist-types/lib/user-facing/hooks/use-update-properties.d.ts +1 -0
- package/dist-types/lib/user-facing/icons/constants.d.ts +8 -0
- package/dist-types/lib/user-facing/icons/encoded.d.ts +1 -0
- package/dist-types/lib/user-facing/icons/helpers.d.ts +21 -0
- package/dist-types/lib/user-facing/icons/index.d.ts +2 -0
- package/dist-types/lib/user-facing/internal-index.d.ts +4 -0
- package/dist-types/lib/user-facing/layers.d.ts +43 -0
- package/dist-types/lib/user-facing/properties-panel/constants.d.ts +1 -0
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +5 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +22 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +12 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +44 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +114 -0
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +6 -0
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +253 -0
- package/dist-types/lib/user-facing/properties-panel/props-builder.test-d.d.ts +1 -0
- package/dist-types/lib/user-facing/properties-panel/props-panel-utils.d.ts +3 -0
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +33 -0
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +52 -0
- package/dist-types/lib/user-facing/sb-provider.d.ts +12 -0
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +6 -0
- package/dist-types/lib/user-facing/state/create-scope.d.ts +17 -0
- package/dist-types/lib/user-facing/state/sb-computed.d.ts +2 -0
- package/dist-types/lib/user-facing/state/types.d.ts +17 -0
- package/dist-types/lib/user-facing/styling/color-utils.d.ts +13 -0
- package/dist-types/lib/user-facing/styling/colors.d.ts +67 -0
- package/dist-types/lib/user-facing/styling/style-as-class.d.ts +1 -0
- package/dist-types/lib/user-facing/styling/styles.d.ts +4 -0
- package/dist-types/lib/user-facing/styling/widget-label-styles.d.ts +11 -0
- package/dist-types/lib/user-facing/themes/classnames.d.ts +72 -0
- package/dist-types/lib/user-facing/themes/constants.d.ts +80 -0
- package/dist-types/lib/user-facing/themes/default-theme.d.ts +8 -0
- package/dist-types/lib/user-facing/themes/generate-border-css.d.ts +25 -0
- package/dist-types/lib/user-facing/themes/generate-border-styles.d.ts +15 -0
- package/dist-types/lib/user-facing/themes/generate-class-name.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generate-colors.d.ts +45 -0
- package/dist-types/lib/user-facing/themes/generate-theme.d.ts +3 -0
- package/dist-types/lib/user-facing/themes/generate-typographies.d.ts +5 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/button-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/container-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/datepicker-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/dropdown-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/editor-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/generate-component-styles.d.ts +16 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/generate-padding-style.d.ts +19 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/icon-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/input-styles.d.ts +3 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/paginator-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/popper-styles.d.ts +2 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/styles-utils.d.ts +1 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/text-styles.d.ts +3 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/theme-styles.d.ts +5 -0
- package/dist-types/lib/user-facing/themes/generatedStyles/utils.d.ts +23 -0
- package/dist-types/lib/user-facing/themes/index.d.ts +5 -0
- package/dist-types/lib/user-facing/themes/layers.d.ts +6 -0
- package/dist-types/lib/user-facing/themes/padding-constants.d.ts +10 -0
- package/dist-types/lib/user-facing/themes/typeface-constants.d.ts +3 -0
- package/dist-types/lib/user-facing/themes/typefaces/utils.d.ts +28 -0
- package/dist-types/lib/user-facing/themes/typeography/typography-utils.d.ts +33 -0
- package/dist-types/lib/user-facing/themes/typeography/use-typography-styling.d.ts +15 -0
- package/dist-types/lib/user-facing/themes/typography-constants.d.ts +34 -0
- package/dist-types/lib/user-facing/themes/utils.d.ts +16 -0
- package/dist-types/lib/user-facing/types.d.ts +22 -0
- package/dist-types/lib/user-facing/utils/form.d.ts +10 -0
- package/dist-types/lib/utils/clean-object.d.ts +5 -0
- package/dist-types/lib/utils/fast-clone.d.ts +1 -0
- package/dist-types/lib/utils/generate-id.d.ts +1 -0
- package/dist-types/lib/utils/is-user-on-mac.d.ts +1 -0
- package/dist-types/lib/utils/is-widget-grid.d.ts +2 -0
- package/dist-types/lib/utils/is-widget-vstack.d.ts +2 -0
- package/dist-types/lib/utils/shallow-equal.d.ts +1 -0
- package/dist-types/lib/utils/widget-wrapper-naming.d.ts +6 -0
- package/dist-types/main.d.ts +1 -0
- package/package.json +151 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { V as clientExports } from "./index-U0oPeutu.js";
|
|
2
|
+
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, N, bH } from "./index-U0oPeutu.js";
|
|
3
|
+
const createRoot = clientExports.createRoot;
|
|
4
|
+
export {
|
|
5
|
+
W as Await,
|
|
6
|
+
X as BrowserRouter,
|
|
7
|
+
Q as Dim,
|
|
8
|
+
K as Embed,
|
|
9
|
+
L as Env,
|
|
10
|
+
Y as Form,
|
|
11
|
+
J as Global,
|
|
12
|
+
Z as HashRouter,
|
|
13
|
+
$ as IDLE_BLOCKER,
|
|
14
|
+
a0 as IDLE_FETCHER,
|
|
15
|
+
a1 as IDLE_NAVIGATION,
|
|
16
|
+
a2 as Link,
|
|
17
|
+
a3 as Links,
|
|
18
|
+
w as MakeEditableWithSuperblocks,
|
|
19
|
+
a4 as MemoryRouter,
|
|
20
|
+
a5 as Meta,
|
|
21
|
+
a6 as NavLink,
|
|
22
|
+
a7 as Navigate,
|
|
23
|
+
a8 as NavigationType,
|
|
24
|
+
U as Outlet,
|
|
25
|
+
a9 as PrefetchPageLinks,
|
|
26
|
+
P as Prop,
|
|
27
|
+
aa as Route,
|
|
28
|
+
ab as Router,
|
|
29
|
+
ac as RouterProvider,
|
|
30
|
+
ad as Routes,
|
|
31
|
+
R as SB,
|
|
32
|
+
v as SbApi,
|
|
33
|
+
S as SbButton,
|
|
34
|
+
m as SbCheckbox,
|
|
35
|
+
d as SbColumn,
|
|
36
|
+
e as SbContainer,
|
|
37
|
+
l as SbCustom,
|
|
38
|
+
n as SbDatePicker,
|
|
39
|
+
k as SbDropdown,
|
|
40
|
+
M as SbEvent,
|
|
41
|
+
x as SbEventFlow,
|
|
42
|
+
q as SbIcon,
|
|
43
|
+
s as SbImage,
|
|
44
|
+
f as SbInput,
|
|
45
|
+
i as SbModal,
|
|
46
|
+
g as SbPage,
|
|
47
|
+
w2 as SbProvider,
|
|
48
|
+
c as SbSection,
|
|
49
|
+
o as SbSwitch,
|
|
50
|
+
j as SbTable,
|
|
51
|
+
h as SbText,
|
|
52
|
+
u as SbTimer,
|
|
53
|
+
t as SbVariable,
|
|
54
|
+
A as SbVariablePersistence,
|
|
55
|
+
ae as Scripts,
|
|
56
|
+
af as ScrollRestoration,
|
|
57
|
+
ag as ServerRouter,
|
|
58
|
+
ah as StaticRouter,
|
|
59
|
+
ai as StaticRouterProvider,
|
|
60
|
+
T as Theme,
|
|
61
|
+
aj as UNSAFE_DataRouterContext,
|
|
62
|
+
ak as UNSAFE_DataRouterStateContext,
|
|
63
|
+
al as UNSAFE_ErrorResponseImpl,
|
|
64
|
+
am as UNSAFE_FetchersContext,
|
|
65
|
+
an as UNSAFE_FrameworkContext,
|
|
66
|
+
ao as UNSAFE_LocationContext,
|
|
67
|
+
ap as UNSAFE_NavigationContext,
|
|
68
|
+
aq as UNSAFE_RemixErrorBoundary,
|
|
69
|
+
ar as UNSAFE_RouteContext,
|
|
70
|
+
as as UNSAFE_ServerMode,
|
|
71
|
+
at as UNSAFE_SingleFetchRedirectSymbol,
|
|
72
|
+
au as UNSAFE_ViewTransitionContext,
|
|
73
|
+
av as UNSAFE_createBrowserHistory,
|
|
74
|
+
aw as UNSAFE_createClientRoutes,
|
|
75
|
+
ax as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
|
|
76
|
+
ay as UNSAFE_createRouter,
|
|
77
|
+
az as UNSAFE_decodeViaTurboStream,
|
|
78
|
+
aA as UNSAFE_deserializeErrors,
|
|
79
|
+
aB as UNSAFE_getPatchRoutesOnNavigationFunction,
|
|
80
|
+
aC as UNSAFE_getSingleFetchDataStrategy,
|
|
81
|
+
aD as UNSAFE_invariant,
|
|
82
|
+
aE as UNSAFE_mapRouteProperties,
|
|
83
|
+
aF as UNSAFE_shouldHydrateRouteLoader,
|
|
84
|
+
aG as UNSAFE_useFogOFWarDiscovery,
|
|
85
|
+
aH as UNSAFE_useScrollRestoration,
|
|
86
|
+
y as copyToClipboard,
|
|
87
|
+
aI as createBrowserRouter,
|
|
88
|
+
aJ as createCookie,
|
|
89
|
+
aK as createCookieSessionStorage,
|
|
90
|
+
aL as createHashRouter,
|
|
91
|
+
aM as createMemoryRouter,
|
|
92
|
+
aN as createMemorySessionStorage,
|
|
93
|
+
aO as createPath,
|
|
94
|
+
aP as createRequestHandler,
|
|
95
|
+
createRoot,
|
|
96
|
+
aQ as createRoutesFromChildren,
|
|
97
|
+
aR as createRoutesFromElements,
|
|
98
|
+
aS as createRoutesStub,
|
|
99
|
+
H as createSbScope,
|
|
100
|
+
aT as createSearchParams,
|
|
101
|
+
aU as createSession,
|
|
102
|
+
aV as createSessionStorage,
|
|
103
|
+
aW as createStaticHandler,
|
|
104
|
+
aX as createStaticRouter,
|
|
105
|
+
aY as data,
|
|
106
|
+
C as download,
|
|
107
|
+
aZ as generatePath,
|
|
108
|
+
a_ as href,
|
|
109
|
+
a$ as isCookie,
|
|
110
|
+
b0 as isRouteErrorResponse,
|
|
111
|
+
b1 as isSession,
|
|
112
|
+
E as logoutIntegrations,
|
|
113
|
+
b2 as matchPath,
|
|
114
|
+
b3 as matchRoutes,
|
|
115
|
+
z as navigateTo,
|
|
116
|
+
b4 as parsePath,
|
|
117
|
+
b5 as redirect,
|
|
118
|
+
b6 as redirectDocument,
|
|
119
|
+
r as registerComponent,
|
|
120
|
+
G as registerPage,
|
|
121
|
+
F as registerScope,
|
|
122
|
+
b7 as renderMatches,
|
|
123
|
+
b8 as replace,
|
|
124
|
+
b9 as resolvePath,
|
|
125
|
+
O as sbComputed,
|
|
126
|
+
B as setQueryParams,
|
|
127
|
+
D as showAlert,
|
|
128
|
+
ba as unstable_HistoryRouter,
|
|
129
|
+
bb as unstable_RouterContextProvider,
|
|
130
|
+
bc as unstable_createContext,
|
|
131
|
+
bd as unstable_setDevServerHooks,
|
|
132
|
+
be as unstable_usePrompt,
|
|
133
|
+
bf as useActionData,
|
|
134
|
+
bg as useAsyncError,
|
|
135
|
+
bh as useAsyncValue,
|
|
136
|
+
bi as useBeforeUnload,
|
|
137
|
+
bj as useBlocker,
|
|
138
|
+
bk as useFetcher,
|
|
139
|
+
bl as useFetchers,
|
|
140
|
+
bm as useFormAction,
|
|
141
|
+
bn as useHref,
|
|
142
|
+
bo as useInRouterContext,
|
|
143
|
+
bp as useLinkClickHandler,
|
|
144
|
+
bq as useLoaderData,
|
|
145
|
+
br as useLocation,
|
|
146
|
+
bs as useMatch,
|
|
147
|
+
bt as useMatches,
|
|
148
|
+
bu as useNavigate,
|
|
149
|
+
bv as useNavigation,
|
|
150
|
+
bw as useNavigationType,
|
|
151
|
+
bx as useOutlet,
|
|
152
|
+
by as useOutletContext,
|
|
153
|
+
bz as useParams,
|
|
154
|
+
bA as useResolvedPath,
|
|
155
|
+
bB as useRevalidator,
|
|
156
|
+
bC as useRouteError,
|
|
157
|
+
bD as useRouteLoaderData,
|
|
158
|
+
bE as useRoutes,
|
|
159
|
+
bF as useSearchParams,
|
|
160
|
+
bG as useSubmit,
|
|
161
|
+
N as useUpdateProperties,
|
|
162
|
+
bH as useViewTransitionState
|
|
163
|
+
};
|
|
164
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-U0oPeutu.js";
|
|
2
|
+
var splitPathsBySizeLoader = function(name, size) {
|
|
3
|
+
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
|
+
var key, pathsRecord;
|
|
5
|
+
return __generator(this, function(_a) {
|
|
6
|
+
switch (_a.label) {
|
|
7
|
+
case 0:
|
|
8
|
+
key = pascalCase(name);
|
|
9
|
+
if (!(size === IconSize.STANDARD)) return [3, 2];
|
|
10
|
+
return [4, import(
|
|
11
|
+
/* webpackChunkName: "blueprint-icons-16px-paths" */
|
|
12
|
+
"./index-BxzKdlqH.js"
|
|
13
|
+
).then((n) => n.I)];
|
|
14
|
+
case 1:
|
|
15
|
+
pathsRecord = _a.sent();
|
|
16
|
+
return [3, 4];
|
|
17
|
+
case 2:
|
|
18
|
+
return [4, import(
|
|
19
|
+
/* webpackChunkName: "blueprint-icons-20px-paths" */
|
|
20
|
+
"./index-DIn-fanT.js"
|
|
21
|
+
).then((n) => n.I)];
|
|
22
|
+
case 3:
|
|
23
|
+
pathsRecord = _a.sent();
|
|
24
|
+
_a.label = 4;
|
|
25
|
+
case 4:
|
|
26
|
+
return [2, pathsRecord[key]];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
splitPathsBySizeLoader
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-DHk6oFvg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-DHk6oFvg.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-U0oPeutu.js";
|
|
2
|
+
var splitPathsBySizeLoader = function(name, size) {
|
|
3
|
+
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
|
+
var key, pathsRecord;
|
|
5
|
+
return __generator(this, function(_a) {
|
|
6
|
+
switch (_a.label) {
|
|
7
|
+
case 0:
|
|
8
|
+
key = pascalCase(name);
|
|
9
|
+
if (!(size === IconSize.STANDARD)) return [3, 2];
|
|
10
|
+
return [4, import(
|
|
11
|
+
/* webpackChunkName: "blueprint-icons-16px-paths" */
|
|
12
|
+
"./index-DIJYif9G.js"
|
|
13
|
+
).then((n) => n.I)];
|
|
14
|
+
case 1:
|
|
15
|
+
pathsRecord = _a.sent();
|
|
16
|
+
return [3, 4];
|
|
17
|
+
case 2:
|
|
18
|
+
return [4, import(
|
|
19
|
+
/* webpackChunkName: "blueprint-icons-20px-paths" */
|
|
20
|
+
"./index-LHtbj0-V.js"
|
|
21
|
+
).then((n) => n.I)];
|
|
22
|
+
case 3:
|
|
23
|
+
pathsRecord = _a.sent();
|
|
24
|
+
_a.label = 4;
|
|
25
|
+
case 4:
|
|
26
|
+
return [2, pathsRecord[key]];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
splitPathsBySizeLoader
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-PcZVWYaJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-PcZVWYaJ.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PropertyInfo, SbElement, SourceLocation } from "@superblocksteam/library-shared/types";
|
|
2
|
+
export declare const getUniqueName: (componentType: string) => string;
|
|
3
|
+
export default function createComponent({ componentType, parent, scopeName, baseProperties, }: {
|
|
4
|
+
componentType: string;
|
|
5
|
+
parent: SourceLocation;
|
|
6
|
+
scopeName: string;
|
|
7
|
+
baseProperties?: Record<string, PropertyInfo>;
|
|
8
|
+
}): Promise<SbElement | undefined>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const debugLogId: (id: string) => {
|
|
2
|
+
id: string;
|
|
3
|
+
idType: string;
|
|
4
|
+
meta: import("./features/runtime-widgets-manager.js").RuntimeWidgetMeta;
|
|
5
|
+
anyInstanceId?: undefined;
|
|
6
|
+
} | {
|
|
7
|
+
id: string;
|
|
8
|
+
idType: string;
|
|
9
|
+
anyInstanceId: `I-${string}`;
|
|
10
|
+
meta: import("./features/runtime-widgets-manager.js").RuntimeWidgetMeta | undefined;
|
|
11
|
+
} | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
+
declare const DroppableWidget: ((props: {
|
|
4
|
+
instanceId: SbInstance;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
dropTargetRef?: React.RefObject<HTMLElement | null>;
|
|
7
|
+
}) => React.JSX.Element) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export default DroppableWidget;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { GridDropInfo } from "./types.js";
|
|
2
|
+
import type { RootStore } from "../../lib/internal-details/lib/root-store.js";
|
|
3
|
+
import type { DragAndDropManager } from "../features/drag-and-drop-store.js";
|
|
4
|
+
import type { ClientRect } from "@dnd-kit/core";
|
|
5
|
+
export declare class GridManager {
|
|
6
|
+
private root;
|
|
7
|
+
private dnd;
|
|
8
|
+
constructor(root: RootStore, dnd: DragAndDropManager);
|
|
9
|
+
private get draggedInstanceId();
|
|
10
|
+
refreshPositionsAndGetDropConstraints(): GridDropInfo;
|
|
11
|
+
private get lazyTargetGridInfo();
|
|
12
|
+
private getGridPositionInfo;
|
|
13
|
+
get lazyChildGridPositionsGU(): Record<`I-${string}`, {
|
|
14
|
+
xGU: number;
|
|
15
|
+
yGU: number;
|
|
16
|
+
widthGU: number;
|
|
17
|
+
heightGU: number;
|
|
18
|
+
tileWidth: number;
|
|
19
|
+
tileHeight: number;
|
|
20
|
+
targetPadding: any;
|
|
21
|
+
} | null>;
|
|
22
|
+
get lazyActiveRectGU(): {
|
|
23
|
+
xGU: number;
|
|
24
|
+
yGU: number;
|
|
25
|
+
widthGU: number;
|
|
26
|
+
heightGU: number;
|
|
27
|
+
tileWidth: number;
|
|
28
|
+
tileHeight: number;
|
|
29
|
+
targetPadding: any;
|
|
30
|
+
} | null;
|
|
31
|
+
get lazyIsFreePos(): boolean;
|
|
32
|
+
adjustDragRectForCollisions(collidingRect: ClientRect | null): ClientRect | null;
|
|
33
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { GURectLike } from "./types.js";
|
|
2
|
+
export declare const isRectIntersecting: (rect1: GURectLike, rect2: GURectLike) => boolean;
|
|
3
|
+
export declare const isCollidingByCoordinate: (rect1: GURectLike, rect2: GURectLike) => {
|
|
4
|
+
left: boolean;
|
|
5
|
+
right: boolean;
|
|
6
|
+
top: boolean;
|
|
7
|
+
bottom: boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { GridDropInfo } from "./types.js";
|
|
2
|
+
import type { SbElement, SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
+
export declare const handleGridDrop: ({ gridDropInfo, draggedId, dropTargetId, isDraggingNewComponent, newComponentType, }: {
|
|
4
|
+
gridDropInfo: GridDropInfo;
|
|
5
|
+
draggedId: SbInstance | undefined | null;
|
|
6
|
+
dropTargetId: SbInstance;
|
|
7
|
+
isDraggingNewComponent: boolean;
|
|
8
|
+
newComponentType: string | null | undefined;
|
|
9
|
+
}) => Promise<SbElement | undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StackDropInfo } from "./types.js";
|
|
2
|
+
import type { SbElement, SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
+
export declare const handleStackDrop: ({ dropInfo, draggedId, dropTargetId, isDraggingNewComponent, newComponentType, }: {
|
|
4
|
+
dropInfo: StackDropInfo;
|
|
5
|
+
draggedId: SbInstance | undefined | null;
|
|
6
|
+
dropTargetId: SbInstance;
|
|
7
|
+
isDraggingNewComponent: boolean;
|
|
8
|
+
newComponentType: string | null | undefined;
|
|
9
|
+
}) => Promise<SbElement | undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useDroppable } from "@dnd-kit/core";
|
|
2
|
+
import type { ComponentDroppableData } from "../types";
|
|
3
|
+
import "react";
|
|
4
|
+
export declare function useComponentDroppable({ instanceId, rootInstanceId, depth, disabled, }: ComponentDroppableData & {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}): ReturnType<typeof useDroppable>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useHandleDnDEvents: () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StackDropInfo } from "./types.js";
|
|
2
|
+
import type { RootStore } from "../../lib/internal-details/lib/root-store.js";
|
|
3
|
+
import type { DragAndDropManager } from "../features/drag-and-drop-store.js";
|
|
4
|
+
export declare class StackManager {
|
|
5
|
+
private root;
|
|
6
|
+
private dnd;
|
|
7
|
+
constructor(root: RootStore, dnd: DragAndDropManager);
|
|
8
|
+
refreshPositionsAndGetDropIndex(): StackDropInfo;
|
|
9
|
+
get lazyDropInfo(): StackDropInfo;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RectLike, StackDropInfo } from "./types.js";
|
|
2
|
+
import type { SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
+
export declare const computeDragInfo: (params: {
|
|
4
|
+
isVertical: boolean;
|
|
5
|
+
childrenNodes: Array<[id: SbInstance, child: RectLike<number>]>;
|
|
6
|
+
baseRect: RectLike<number>;
|
|
7
|
+
draggedItemPos: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
};
|
|
11
|
+
draggedInstance: SbInstance;
|
|
12
|
+
selectedInstances: SbInstance[];
|
|
13
|
+
}) => undefined | StackDropInfo;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { OutputItem } from "../../lib/user-facing/components/grid/calculations/calculate-constraints.js";
|
|
2
|
+
import type { SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
+
export type ComponentDraggableData = {
|
|
4
|
+
instanceId: SbInstance;
|
|
5
|
+
};
|
|
6
|
+
export type ComponentDroppableData = {
|
|
7
|
+
instanceId: SbInstance;
|
|
8
|
+
rootInstanceId?: SbInstance;
|
|
9
|
+
depth: number;
|
|
10
|
+
};
|
|
11
|
+
export type RectLike<T> = {
|
|
12
|
+
top: T;
|
|
13
|
+
left: T;
|
|
14
|
+
bottom: T;
|
|
15
|
+
right: T;
|
|
16
|
+
width: T;
|
|
17
|
+
height: T;
|
|
18
|
+
};
|
|
19
|
+
export type StackDropInfo = {
|
|
20
|
+
insertionIndex: undefined;
|
|
21
|
+
placeholders: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
insertionIndex: number;
|
|
24
|
+
placeholders: StackPlaceholderPos[];
|
|
25
|
+
noopDrop: boolean;
|
|
26
|
+
};
|
|
27
|
+
export type StackPlaceholderPos = {
|
|
28
|
+
isActive?: boolean;
|
|
29
|
+
left: number;
|
|
30
|
+
top: number;
|
|
31
|
+
width?: number | string;
|
|
32
|
+
height?: number | string;
|
|
33
|
+
};
|
|
34
|
+
export type GURectLike = {
|
|
35
|
+
xGU: number;
|
|
36
|
+
yGU: number;
|
|
37
|
+
widthGU: number;
|
|
38
|
+
heightGU: number;
|
|
39
|
+
};
|
|
40
|
+
export type GridDropInfo = {
|
|
41
|
+
constraintsByInstanceId: Record<SbInstance, OutputItem>;
|
|
42
|
+
isValid: true;
|
|
43
|
+
} | {
|
|
44
|
+
isValid: false;
|
|
45
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const WithLayoutContainerTypes: Set<string>;
|
|
2
|
+
export declare const VStackLikeContainerTypes: Set<string>;
|
|
3
|
+
export declare const HStackLikeContainerTypes: Set<string>;
|
|
4
|
+
export declare const StackLikeContainerTypes: Set<string>;
|
|
5
|
+
export declare const isDragAndDropTypeValid: ({ draggedType, dropTargetType, dropTargetEmpty, isDraggingNewComponent, }: {
|
|
6
|
+
draggedType: string;
|
|
7
|
+
dropTargetType: string;
|
|
8
|
+
dropTargetEmpty: boolean;
|
|
9
|
+
isDraggingNewComponent: boolean;
|
|
10
|
+
}) => boolean;
|
|
11
|
+
export declare const isTypeDroppable: (type: string) => boolean;
|
|
12
|
+
export declare const isTypeDraggable: (type: string) => boolean;
|
|
13
|
+
export declare function shouldWrapInSectionAndColumn(type: string, parentType: string | undefined): boolean;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import ConnectionManager from "./features/connection-manager.js";
|
|
2
|
+
import InteractionLayerManager from "./features/interaction-layer-manager.js";
|
|
3
|
+
import OperationManager from "./features/operation-store.js";
|
|
4
|
+
import PropertiesPanelManager from "./features/properties-panel-manager.js";
|
|
5
|
+
import RuntimeEntitiesManager from "./features/runtime-entities-manager.js";
|
|
6
|
+
import UIStore from "./features/ui-store.js";
|
|
7
|
+
import type { RootStore } from "../lib/internal-details/lib/root-store.js";
|
|
8
|
+
export declare class EditStore {
|
|
9
|
+
ui: UIStore;
|
|
10
|
+
operationManager: OperationManager;
|
|
11
|
+
propertiesPanelManager: PropertiesPanelManager;
|
|
12
|
+
runtimeEntitiesManager: RuntimeEntitiesManager;
|
|
13
|
+
interactionLayerManager: InteractionLayerManager;
|
|
14
|
+
connectionManager: ConnectionManager;
|
|
15
|
+
isInitialized: boolean;
|
|
16
|
+
constructor(rootStore: RootStore);
|
|
17
|
+
setIsInitialized(isInitialized: boolean): void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the global EditStore instance
|
|
21
|
+
* @returns The EditStore instance
|
|
22
|
+
*/
|
|
23
|
+
export declare function getEditStore(): EditStore;
|
|
24
|
+
/**
|
|
25
|
+
* Set the global EditStore instance
|
|
26
|
+
* @param instance The EditStore instance to set
|
|
27
|
+
*/
|
|
28
|
+
export declare function setEditStore(instance: EditStore | null): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ChildFunction } from "./features/runtime-widgets-manager.js";
|
|
3
|
+
import type { IdentifierInfo } from "../lib/internal-details/lib/features/name-manager.js";
|
|
4
|
+
import type { SbInstance } from "@superblocksteam/library-shared/types";
|
|
5
|
+
export declare const createAnchorNameStyle: (props: {
|
|
6
|
+
instanceId: SbInstance;
|
|
7
|
+
}) => React.CSSProperties | undefined;
|
|
8
|
+
declare const EditWrapper: React.FunctionComponent<{
|
|
9
|
+
type: string;
|
|
10
|
+
children: React.ReactNode[] | ChildFunction;
|
|
11
|
+
widgetProps: Record<string, unknown>;
|
|
12
|
+
isCustomComponent: boolean;
|
|
13
|
+
component: React.FC<any>;
|
|
14
|
+
identifier: IdentifierInfo;
|
|
15
|
+
isDroppable: boolean;
|
|
16
|
+
dropTargetRef?: React.RefObject<HTMLElement | null>;
|
|
17
|
+
}>;
|
|
18
|
+
export default EditWrapper;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ConnectionStatus = "disconnected" | "connecting" | "connected";
|
|
2
|
+
declare class ConnectionManager {
|
|
3
|
+
socketInitialized: boolean;
|
|
4
|
+
connectionStatus: ConnectionStatus;
|
|
5
|
+
constructor();
|
|
6
|
+
initializeSocket(): void;
|
|
7
|
+
connect(): void;
|
|
8
|
+
disconnect(): void;
|
|
9
|
+
}
|
|
10
|
+
export default ConnectionManager;
|