@superblocksteam/library 2.0.34-next.9 → 2.0.34
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/package.json +2 -2
- package/dist-types/app-internal.d.ts +0 -4
- package/dist-types/docs-utils/generate-docs-utils.d.ts +0 -42
- package/dist-types/docs-utils/generate-docs.d.ts +0 -2
- package/dist-types/docs-utils/generate-docs.test.d.ts +0 -1
- package/dist-types/edit-mode/base-editor-bridge.d.ts +0 -60
- package/dist-types/edit-mode/collisions-layer.d.ts +0 -3
- package/dist-types/edit-mode/create-component.d.ts +0 -11
- package/dist-types/edit-mode/create-component.test.d.ts +0 -1
- package/dist-types/edit-mode/debug-tools.d.ts +0 -11
- package/dist-types/edit-mode/dnd/collision-detection.d.ts +0 -3
- package/dist-types/edit-mode/dnd/dnd-provider.d.ts +0 -4
- package/dist-types/edit-mode/dnd/draggable-widget.d.ts +0 -7
- package/dist-types/edit-mode/dnd/drop-layer.d.ts +0 -5
- package/dist-types/edit-mode/dnd/droppable-widget.d.ts +0 -10
- package/dist-types/edit-mode/dnd/get-allowed-children.d.ts +0 -2
- package/dist-types/edit-mode/dnd/grid-drop.d.ts +0 -4
- package/dist-types/edit-mode/dnd/grid-store.d.ts +0 -58
- package/dist-types/edit-mode/dnd/grid-utils.d.ts +0 -8
- package/dist-types/edit-mode/dnd/handle-grid-drop.d.ts +0 -9
- package/dist-types/edit-mode/dnd/handle-stack-drop.d.ts +0 -9
- package/dist-types/edit-mode/dnd/hooks/use-component-draggable.d.ts +0 -5
- package/dist-types/edit-mode/dnd/hooks/use-component-droppable.d.ts +0 -6
- package/dist-types/edit-mode/dnd/hooks/use-handle-dnd-events.d.ts +0 -1
- package/dist-types/edit-mode/dnd/hooks/use-widget-node-ref.d.ts +0 -2
- package/dist-types/edit-mode/dnd/new-components-drag-layer.d.ts +0 -6
- package/dist-types/edit-mode/dnd/stack-drop.d.ts +0 -4
- package/dist-types/edit-mode/dnd/stack-store.d.ts +0 -10
- package/dist-types/edit-mode/dnd/stack-utils.d.ts +0 -13
- package/dist-types/edit-mode/dnd/types.d.ts +0 -45
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -42
- package/dist-types/edit-mode/dnd/utils.test.d.ts +0 -1
- package/dist-types/edit-mode/duplicated-name-popover.d.ts +0 -7
- package/dist-types/edit-mode/edit-store.d.ts +0 -47
- package/dist-types/edit-mode/edit-wrapper.d.ts +0 -18
- package/dist-types/edit-mode/editor-hotkeys.d.ts +0 -3
- package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
- package/dist-types/edit-mode/features/ai-store.d.ts +0 -34
- package/dist-types/edit-mode/features/connection-manager.d.ts +0 -9
- package/dist-types/edit-mode/features/drag-and-drop-store.d.ts +0 -67
- package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +0 -23
- package/dist-types/edit-mode/features/operation-store.d.ts +0 -64
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +0 -45
- package/dist-types/edit-mode/features/resizing-store.d.ts +0 -54
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +0 -95
- package/dist-types/edit-mode/features/runtime-widgets-manager.d.ts +0 -59
- package/dist-types/edit-mode/features/ui-store.d.ts +0 -49
- package/dist-types/edit-mode/get-edit-store.d.ts +0 -6
- package/dist-types/edit-mode/hooks/use-register-source-element.d.ts +0 -2
- package/dist-types/edit-mode/identifier-context.d.ts +0 -6
- package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -5
- package/dist-types/edit-mode/import-error-notification.d.ts +0 -1
- package/dist-types/edit-mode/interaction-layer/interaction-add-section-button.d.ts +0 -4
- package/dist-types/edit-mode/interaction-layer/interaction-layer.d.ts +0 -11
- package/dist-types/edit-mode/interaction-layer/interaction-rect-actions.d.ts +0 -9
- package/dist-types/edit-mode/interaction-layer/interaction-rect-handles.d.ts +0 -7
- package/dist-types/edit-mode/interaction-layer/interaction-rect-name-pill.d.ts +0 -13
- package/dist-types/edit-mode/interaction-layer/interaction-rect.d.ts +0 -49
- package/dist-types/edit-mode/interaction-utils.d.ts +0 -8
- package/dist-types/edit-mode/mobx-sync/create-patch.d.ts +0 -2
- package/dist-types/edit-mode/mobx-sync/create-patch.test.d.ts +0 -1
- package/dist-types/edit-mode/mobx-sync/deep-observe.d.ts +0 -24
- package/dist-types/edit-mode/mobx-sync/mobx-editor-sync.d.ts +0 -23
- package/dist-types/edit-mode/mobx-sync/mobx-editor-sync.test.d.ts +0 -1
- package/dist-types/edit-mode/noop-editor-bridge.d.ts +0 -1
- package/dist-types/edit-mode/properties.d.ts +0 -13
- package/dist-types/edit-mode/resize-capabilities.d.ts +0 -5
- package/dist-types/edit-mode/right-click-menu/right-click-menu.d.ts +0 -14
- package/dist-types/edit-mode/roots.d.ts +0 -19
- package/dist-types/edit-mode/runtime-children.d.ts +0 -14
- package/dist-types/edit-mode/sb-component-from-meta.d.ts +0 -2
- package/dist-types/edit-mode/source-update-api.d.ts +0 -19
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +0 -40
- package/dist-types/edit-mode/vite.d.ts +0 -4
- package/dist-types/internal-testing/components/api.d.ts +0 -3
- package/dist-types/internal-testing/components/broken-app.d.ts +0 -3
- package/dist-types/internal-testing/components/button.d.ts +0 -1
- package/dist-types/internal-testing/components/checkbox.d.ts +0 -1
- package/dist-types/internal-testing/components/container.d.ts +0 -1
- package/dist-types/internal-testing/components/date-picker.d.ts +0 -1
- package/dist-types/internal-testing/components/dropdown.d.ts +0 -1
- package/dist-types/internal-testing/components/form.d.ts +0 -1
- package/dist-types/internal-testing/components/icon.d.ts +0 -1
- package/dist-types/internal-testing/components/image.d.ts +0 -1
- package/dist-types/internal-testing/components/import-error.d.ts +0 -1
- package/dist-types/internal-testing/components/input.d.ts +0 -1
- package/dist-types/internal-testing/components/key-value.d.ts +0 -1
- package/dist-types/internal-testing/components/modal.d.ts +0 -3
- package/dist-types/internal-testing/components/section-column.d.ts +0 -1
- package/dist-types/internal-testing/components/slideout.d.ts +0 -3
- package/dist-types/internal-testing/components/switch.d.ts +0 -1
- package/dist-types/internal-testing/components/table.d.ts +0 -3
- package/dist-types/internal-testing/components/timer.d.ts +0 -3
- package/dist-types/internal-testing/components/variable.d.ts +0 -3
- package/dist-types/internal-testing/utils.d.ts +0 -5
- package/dist-types/internal-testing/widgets.d.ts +0 -2
- package/dist-types/lib/hooks/use-alignment-styles.d.ts +0 -9
- package/dist-types/lib/hooks/use-cached-value.d.ts +0 -11
- package/dist-types/lib/hooks/use-callback-as-ref.d.ts +0 -1
- package/dist-types/lib/hooks/use-component-min-size.d.ts +0 -29
- package/dist-types/lib/hooks/use-deep-memo.d.ts +0 -9
- package/dist-types/lib/hooks/use-editor-hotkeys.d.ts +0 -3
- package/dist-types/lib/hooks/use-element-rect.d.ts +0 -7
- package/dist-types/lib/hooks/use-key-pressed.d.ts +0 -1
- package/dist-types/lib/hooks/use-observer-memo.d.ts +0 -14
- package/dist-types/lib/hooks/use-observer-memo.test.d.ts +0 -1
- package/dist-types/lib/hooks/use-pointer-down-outside.d.ts +0 -15
- package/dist-types/lib/hooks/use-stable-effect.d.ts +0 -22
- package/dist-types/lib/hooks/use-stable-effect.test.d.ts +0 -1
- package/dist-types/lib/index.d.ts +0 -44
- package/dist-types/lib/internal-details/actions-context.d.ts +0 -9
- package/dist-types/lib/internal-details/app-wrappers.d.ts +0 -5
- package/dist-types/lib/internal-details/component-info-context.d.ts +0 -10
- package/dist-types/lib/internal-details/component-suspense-style-context.d.ts +0 -10
- package/dist-types/lib/internal-details/css-constants.d.ts +0 -4
- package/dist-types/lib/internal-details/entities-state.d.ts +0 -11
- package/dist-types/lib/internal-details/entities.d.ts +0 -5
- package/dist-types/lib/internal-details/env.d.ts +0 -1
- package/dist-types/lib/internal-details/external-stack-child.d.ts +0 -13
- package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -8
- package/dist-types/lib/internal-details/internal-components/common.d.ts +0 -13
- package/dist-types/lib/internal-details/internal-components/error-boundary/index.d.ts +0 -18
- package/dist-types/lib/internal-details/internal-components/route-load-error.d.ts +0 -1
- package/dist-types/lib/internal-details/is-edit-mode.d.ts +0 -1
- package/dist-types/lib/internal-details/is-sb-component.d.ts +0 -11
- package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
- package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
- package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +0 -91
- package/dist-types/lib/internal-details/lib/evaluator/binding-extraction.d.ts +0 -2
- package/dist-types/lib/internal-details/lib/evaluator/binding-extraction.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +0 -22
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.test.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +0 -7
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +0 -3
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +0 -26
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +0 -96
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-types.d.ts +0 -16
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +0 -8
- package/dist-types/lib/internal-details/lib/evaluator/names.d.ts +0 -7
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +0 -2
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +0 -36
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.test.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/features/api-store.d.ts +0 -51
- package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +0 -79
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -62
- package/dist-types/lib/internal-details/lib/features/injected-features.d.ts +0 -8
- package/dist-types/lib/internal-details/lib/features/name-manager.d.ts +0 -38
- package/dist-types/lib/internal-details/lib/features/type-defs-utils.d.ts +0 -3
- package/dist-types/lib/internal-details/lib/iframe.d.ts +0 -44
- package/dist-types/lib/internal-details/lib/mobx-cached-getter.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/resolve-id-singleton.d.ts +0 -4
- package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -35
- package/dist-types/lib/internal-details/lib/suspense/suspense-fallback.d.ts +0 -11
- package/dist-types/lib/internal-details/lib/throttle.d.ts +0 -4
- package/dist-types/lib/internal-details/lib/types.d.ts +0 -298
- package/dist-types/lib/internal-details/location-store.d.ts +0 -13
- package/dist-types/lib/internal-details/reactive-component.d.ts +0 -11
- package/dist-types/lib/internal-details/remove-bindings.d.ts +0 -1
- package/dist-types/lib/internal-details/routing.d.ts +0 -2
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -98
- package/dist-types/lib/internal-details/sb-wrapper.test.d.ts +0 -1
- package/dist-types/lib/internal-details/scope/global.d.ts +0 -11
- package/dist-types/lib/internal-details/scope/scope-context.d.ts +0 -8
- package/dist-types/lib/internal-details/scope/scope.d.ts +0 -12
- package/dist-types/lib/internal-details/scope/types.d.ts +0 -48
- package/dist-types/lib/internal-details/size.d.ts +0 -1
- package/dist-types/lib/internal-details/theme-context.d.ts +0 -8
- package/dist-types/lib/internal-details/use-track-runtime-widget.d.ts +0 -15
- package/dist-types/lib/internal-details/utils/is-local-link.d.ts +0 -1
- package/dist-types/lib/internal-details/utils/navigation.d.ts +0 -20
- package/dist-types/lib/tracing/context-utils.d.ts +0 -4
- package/dist-types/lib/tracing/early-console-buffer.d.ts +0 -21
- package/dist-types/lib/tracing/logs.d.ts +0 -11
- package/dist-types/lib/triggers/base.d.ts +0 -16
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +0 -12
- package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +0 -3
- package/dist-types/lib/triggers/implementations/call-function.d.ts +0 -15
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +0 -14
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +0 -14
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +0 -16
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +0 -18
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +0 -16
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +0 -12
- package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +0 -17
- package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +0 -14
- package/dist-types/lib/triggers/implementations/navigate/utils.d.ts +0 -2
- package/dist-types/lib/triggers/implementations/run-js.d.ts +0 -11
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +0 -13
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +0 -18
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +0 -10
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +0 -14
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +0 -13
- package/dist-types/lib/triggers/implementations/trigger-event.d.ts +0 -13
- package/dist-types/lib/triggers/registry.d.ts +0 -5
- package/dist-types/lib/triggers/run-event-handlers.d.ts +0 -10
- package/dist-types/lib/user-facing/component-base/components/autolinked-text.d.ts +0 -8
- package/dist-types/lib/user-facing/component-base/components/button.d.ts +0 -47
- package/dist-types/lib/user-facing/component-base/components/checkbox.d.ts +0 -12
- package/dist-types/lib/user-facing/component-base/components/dropdown-select.d.ts +0 -4
- package/dist-types/lib/user-facing/component-base/components/dynamic-svg.d.ts +0 -10
- package/dist-types/lib/user-facing/component-base/components/expand-button.d.ts +0 -8
- package/dist-types/lib/user-facing/component-base/components/loading-animator.d.ts +0 -4
- package/dist-types/lib/user-facing/component-base/components/plain-link.d.ts +0 -1
- package/dist-types/lib/user-facing/component-base/components/popper.d.ts +0 -20
- package/dist-types/lib/user-facing/component-base/components/search-component.d.ts +0 -19
- package/dist-types/lib/user-facing/component-base/components/span-trunc-middle.d.ts +0 -9
- package/dist-types/lib/user-facing/component-base/components/switch.d.ts +0 -6
- package/dist-types/lib/user-facing/component-base/components/video.d.ts +0 -19
- package/dist-types/lib/user-facing/component-base/constants.d.ts +0 -18
- package/dist-types/lib/user-facing/component-base/error/error-inline-message.d.ts +0 -36
- package/dist-types/lib/user-facing/component-base/error/error-tooltip.d.ts +0 -11
- package/dist-types/lib/user-facing/component-base/error/error-utils.d.ts +0 -13
- package/dist-types/lib/user-facing/component-base/error/widget-errors-wrapper.d.ts +0 -15
- package/dist-types/lib/user-facing/component-base/error-boundary.d.ts +0 -18
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +0 -21
- package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +0 -8
- package/dist-types/lib/user-facing/component-base/styles/hover-styles.d.ts +0 -10
- package/dist-types/lib/user-facing/component-base/styles/input-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/component-base/use-passthrough-props.d.ts +0 -6
- package/dist-types/lib/user-facing/component-base/utils/format-utils.d.ts +0 -37
- package/dist-types/lib/user-facing/component-base/utils/format-utils.test.d.ts +0 -1
- package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +0 -20
- package/dist-types/lib/user-facing/component-base/utils/input-validation.test.d.ts +0 -1
- package/dist-types/lib/user-facing/components/button/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/button/index.d.ts +0 -81
- package/dist-types/lib/user-facing/components/button/props.d.ts +0 -46
- package/dist-types/lib/user-facing/components/checkbox/checkbox-component.d.ts +0 -9
- package/dist-types/lib/user-facing/components/checkbox/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +0 -93
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +0 -49
- package/dist-types/lib/user-facing/components/checkbox/types.d.ts +0 -19
- package/dist-types/lib/user-facing/components/column/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/column/index.d.ts +0 -73
- package/dist-types/lib/user-facing/components/column/props.d.ts +0 -36
- package/dist-types/lib/user-facing/components/container/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/container/index.d.ts +0 -88
- package/dist-types/lib/user-facing/components/container/props.d.ts +0 -46
- package/dist-types/lib/user-facing/components/custom/context.d.ts +0 -11
- package/dist-types/lib/user-facing/components/custom/index.d.ts +0 -1
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +0 -45
- package/dist-types/lib/user-facing/components/date-picker/constants.d.ts +0 -8
- package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +0 -36
- package/dist-types/lib/user-facing/components/date-picker/date-picker.d.ts +0 -2
- package/dist-types/lib/user-facing/components/date-picker/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +0 -141
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +0 -74
- package/dist-types/lib/user-facing/components/date-picker/props.test-d.d.ts +0 -1
- package/dist-types/lib/user-facing/components/date-picker/side-effects.d.ts +0 -3
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +0 -43
- package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +0 -35
- package/dist-types/lib/user-facing/components/dropdown/constants.d.ts +0 -5
- package/dist-types/lib/user-facing/components/dropdown/dropdown-component.d.ts +0 -106
- package/dist-types/lib/user-facing/components/dropdown/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +0 -150
- package/dist-types/lib/user-facing/components/dropdown/multi-dropdown.d.ts +0 -18
- package/dist-types/lib/user-facing/components/dropdown/normalize-values.d.ts +0 -2
- package/dist-types/lib/user-facing/components/dropdown/normalize-values.test.d.ts +0 -1
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +0 -79
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +0 -88
- package/dist-types/lib/user-facing/components/dropdown/utils.d.ts +0 -8
- package/dist-types/lib/user-facing/components/grid/calculations/calculate-constraints.d.ts +0 -26
- package/dist-types/lib/user-facing/components/grid/calculations/calculate-row-positions.d.ts +0 -2
- package/dist-types/lib/user-facing/components/grid/calculations/calculate-row-positions.test.d.ts +0 -1
- package/dist-types/lib/user-facing/components/grid/calculations/order-constraints.d.ts +0 -2
- package/dist-types/lib/user-facing/components/grid/index.d.ts +0 -43
- package/dist-types/lib/user-facing/components/grid/use-height-observer.d.ts +0 -5
- package/dist-types/lib/user-facing/components/icon/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/icon/index.d.ts +0 -47
- package/dist-types/lib/user-facing/components/icon/props.d.ts +0 -28
- package/dist-types/lib/user-facing/components/image/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/image/image-component.d.ts +0 -40
- package/dist-types/lib/user-facing/components/image/index.d.ts +0 -65
- package/dist-types/lib/user-facing/components/image/props.d.ts +0 -43
- package/dist-types/lib/user-facing/components/input/constants.d.ts +0 -24
- package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +0 -4
- package/dist-types/lib/user-facing/components/input/derived.test.d.ts +0 -1
- package/dist-types/lib/user-facing/components/input/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/input/index.d.ts +0 -187
- package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -58
- package/dist-types/lib/user-facing/components/input/props.d.ts +0 -98
- package/dist-types/lib/user-facing/components/input/styles.d.ts +0 -6
- package/dist-types/lib/user-facing/components/input/types.d.ts +0 -45
- package/dist-types/lib/user-facing/components/input/utils.d.ts +0 -15
- package/dist-types/lib/user-facing/components/input/utils.test.d.ts +0 -1
- package/dist-types/lib/user-facing/components/key-value/components/key-styles.d.ts +0 -3
- package/dist-types/lib/user-facing/components/key-value/components/property-key.d.ts +0 -7
- package/dist-types/lib/user-facing/components/key-value/components/property-value.d.ts +0 -12
- package/dist-types/lib/user-facing/components/key-value/components/value-styles.d.ts +0 -6
- package/dist-types/lib/user-facing/components/key-value/constants.d.ts +0 -7
- package/dist-types/lib/user-facing/components/key-value/derived-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/components/key-value/editor.d.ts +0 -3
- package/dist-types/lib/user-facing/components/key-value/index.d.ts +0 -6
- package/dist-types/lib/user-facing/components/key-value/key-value-component.d.ts +0 -2
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +0 -45
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +0 -38
- package/dist-types/lib/user-facing/components/key-value/styles.d.ts +0 -22
- package/dist-types/lib/user-facing/components/key-value/types.d.ts +0 -106
- package/dist-types/lib/user-facing/components/key-value/utils.d.ts +0 -11
- package/dist-types/lib/user-facing/components/modal/constants.d.ts +0 -8
- package/dist-types/lib/user-facing/components/modal/editor-config.d.ts +0 -2
- package/dist-types/lib/user-facing/components/modal/editor-template.d.ts +0 -3
- package/dist-types/lib/user-facing/components/modal/index.d.ts +0 -85
- package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +0 -37
- package/dist-types/lib/user-facing/components/modal/props.d.ts +0 -45
- package/dist-types/lib/user-facing/components/page/editor.d.ts +0 -2
- package/dist-types/lib/user-facing/components/page/index.d.ts +0 -39
- package/dist-types/lib/user-facing/components/page/props.d.ts +0 -22
- package/dist-types/lib/user-facing/components/page/register-page.d.ts +0 -3
- package/dist-types/lib/user-facing/components/pixel-input/index.d.ts +0 -7
- package/dist-types/lib/user-facing/components/section/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/section/index.d.ts +0 -49
- package/dist-types/lib/user-facing/components/section/props.d.ts +0 -28
- package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
- package/dist-types/lib/user-facing/components/slideout/editor-config.d.ts +0 -2
- package/dist-types/lib/user-facing/components/slideout/editor-template.d.ts +0 -3
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +0 -85
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +0 -46
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
- package/dist-types/lib/user-facing/components/stack/index.d.ts +0 -69
- package/dist-types/lib/user-facing/components/stack/styles.d.ts +0 -11
- package/dist-types/lib/user-facing/components/switch/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/switch/index.d.ts +0 -95
- package/dist-types/lib/user-facing/components/switch/props.d.ts +0 -50
- package/dist-types/lib/user-facing/components/switch/switch-component.d.ts +0 -5
- package/dist-types/lib/user-facing/components/switch/types.d.ts +0 -19
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +0 -278
- package/dist-types/lib/user-facing/components/table/components/autotooltip-component.d.ts +0 -17
- package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +0 -16
- package/dist-types/lib/user-facing/components/table/components/column-settings.d.ts +0 -11
- package/dist-types/lib/user-facing/components/table/components/edit-cell.d.ts +0 -15
- package/dist-types/lib/user-facing/components/table/components/edit-checkbox-cell.d.ts +0 -11
- package/dist-types/lib/user-facing/components/table/components/edit-date-cell.d.ts +0 -12
- package/dist-types/lib/user-facing/components/table/components/edit-input-cell.d.ts +0 -14
- package/dist-types/lib/user-facing/components/table/components/edit-multi-select-cell.d.ts +0 -13
- package/dist-types/lib/user-facing/components/table/components/edit-single-select-cell.d.ts +0 -13
- package/dist-types/lib/user-facing/components/table/components/edit-utils.d.ts +0 -28
- package/dist-types/lib/user-facing/components/table/components/editable-link-cell.d.ts +0 -20
- package/dist-types/lib/user-facing/components/table/components/filter-popover-content.d.ts +0 -37
- package/dist-types/lib/user-facing/components/table/components/popover-video.d.ts +0 -5
- package/dist-types/lib/user-facing/components/table/components/table-action-icon.d.ts +0 -13
- package/dist-types/lib/user-facing/components/table/components/table-column-header-button.d.ts +0 -19
- package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +0 -15
- package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +0 -40
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +0 -63
- package/dist-types/lib/user-facing/components/table/components/table-loading-state.d.ts +0 -11
- package/dist-types/lib/user-facing/components/table/components/table-pagination-input.d.ts +0 -10
- package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +0 -18
- package/dist-types/lib/user-facing/components/table/components/table-row-context-menu.d.ts +0 -17
- package/dist-types/lib/user-facing/components/table/components/table-tag.d.ts +0 -25
- package/dist-types/lib/user-facing/components/table/constants.d.ts +0 -91
- package/dist-types/lib/user-facing/components/table/default-table-data.d.ts +0 -71
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -20
- package/dist-types/lib/user-facing/components/table/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/table/index.d.ts +0 -721
- package/dist-types/lib/user-facing/components/table/props.d.ts +0 -364
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +0 -101
- package/dist-types/lib/user-facing/components/table/table-manager.d.ts +0 -23
- package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -73
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +0 -148
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +0 -149
- package/dist-types/lib/user-facing/components/table/types.d.ts +0 -447
- package/dist-types/lib/user-facing/components/table/use-sticky.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/utils.d.ts +0 -2
- package/dist-types/lib/user-facing/components/text/editor.d.ts +0 -5
- package/dist-types/lib/user-facing/components/text/index.d.ts +0 -111
- package/dist-types/lib/user-facing/components/text/long-text-button.d.ts +0 -8
- package/dist-types/lib/user-facing/components/text/props.d.ts +0 -67
- package/dist-types/lib/user-facing/components/text/styles.d.ts +0 -2
- package/dist-types/lib/user-facing/components/text/utils.d.ts +0 -26
- package/dist-types/lib/user-facing/constants.d.ts +0 -2
- package/dist-types/lib/user-facing/entities/api/index.d.ts +0 -14
- package/dist-types/lib/user-facing/entities/api/props.d.ts +0 -29
- package/dist-types/lib/user-facing/entities/api/props.test.d.ts +0 -1
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -21
- package/dist-types/lib/user-facing/entities/timer/index.d.ts +0 -16
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +0 -19
- package/dist-types/lib/user-facing/entities/variable/index.d.ts +0 -14
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +0 -13
- package/dist-types/lib/user-facing/error-pages/constants.d.ts +0 -10
- package/dist-types/lib/user-facing/error-pages/error-component.d.ts +0 -17
- package/dist-types/lib/user-facing/error-pages/page-not-found.d.ts +0 -10
- package/dist-types/lib/user-facing/event-flow.d.ts +0 -107
- package/dist-types/lib/user-facing/event-flow.test.d.ts +0 -1
- package/dist-types/lib/user-facing/global-functions.d.ts +0 -25
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
- package/dist-types/lib/user-facing/hooks/use-editor.d.ts +0 -42
- package/dist-types/lib/user-facing/hooks/use-theme.d.ts +0 -3
- package/dist-types/lib/user-facing/hooks/use-update-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/icons/constants.d.ts +0 -8
- package/dist-types/lib/user-facing/icons/encoded.d.ts +0 -1
- package/dist-types/lib/user-facing/icons/helpers.d.ts +0 -21
- package/dist-types/lib/user-facing/icons/index.d.ts +0 -2
- package/dist-types/lib/user-facing/internal-index.d.ts +0 -4
- package/dist-types/lib/user-facing/layers.d.ts +0 -42
- package/dist-types/lib/user-facing/properties-panel/constants.d.ts +0 -1
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -9
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.test.d.ts +0 -1
- package/dist-types/lib/user-facing/properties-panel/helpers.test.d.ts +0 -1
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +0 -24
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +0 -8
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +0 -44
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +0 -129
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +0 -2
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +0 -5
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +0 -308
- package/dist-types/lib/user-facing/properties-panel/props-builder.test-d.d.ts +0 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.test.d.ts +0 -1
- package/dist-types/lib/user-facing/properties-panel/props-panel-utils.d.ts +0 -3
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +0 -34
- package/dist-types/lib/user-facing/sb-provider.d.ts +0 -11
- package/dist-types/lib/user-facing/state/computed.d.ts +0 -2
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +0 -4
- package/dist-types/lib/user-facing/state/create-scope.d.ts +0 -17
- package/dist-types/lib/user-facing/state/types.d.ts +0 -10
- package/dist-types/lib/user-facing/styling/color-utils.d.ts +0 -13
- package/dist-types/lib/user-facing/styling/colors.d.ts +0 -67
- package/dist-types/lib/user-facing/styling/style-as-class.d.ts +0 -1
- package/dist-types/lib/user-facing/styling/styles.d.ts +0 -4
- package/dist-types/lib/user-facing/styling/widget-label-styles.d.ts +0 -11
- package/dist-types/lib/user-facing/themes/classnames.d.ts +0 -72
- package/dist-types/lib/user-facing/themes/constants.d.ts +0 -87
- package/dist-types/lib/user-facing/themes/default-theme.d.ts +0 -8
- package/dist-types/lib/user-facing/themes/generate-border-css.d.ts +0 -25
- package/dist-types/lib/user-facing/themes/generate-border-styles.d.ts +0 -15
- package/dist-types/lib/user-facing/themes/generate-class-name.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generate-colors.d.ts +0 -45
- package/dist-types/lib/user-facing/themes/generate-colors.test.d.ts +0 -1
- package/dist-types/lib/user-facing/themes/generate-theme.d.ts +0 -3
- package/dist-types/lib/user-facing/themes/generate-typographies.d.ts +0 -5
- package/dist-types/lib/user-facing/themes/generatedStyles/button-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/container-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/datepicker-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/dropdown-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/editor-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/generate-component-styles.d.ts +0 -16
- package/dist-types/lib/user-facing/themes/generatedStyles/generate-padding-style.d.ts +0 -19
- package/dist-types/lib/user-facing/themes/generatedStyles/icon-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/input-styles.d.ts +0 -3
- package/dist-types/lib/user-facing/themes/generatedStyles/paginator-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/popper-styles.d.ts +0 -2
- package/dist-types/lib/user-facing/themes/generatedStyles/styles-utils.d.ts +0 -1
- package/dist-types/lib/user-facing/themes/generatedStyles/text-styles.d.ts +0 -3
- package/dist-types/lib/user-facing/themes/generatedStyles/theme-styles.d.ts +0 -5
- package/dist-types/lib/user-facing/themes/generatedStyles/utils.d.ts +0 -23
- package/dist-types/lib/user-facing/themes/index.d.ts +0 -5
- package/dist-types/lib/user-facing/themes/layers.d.ts +0 -6
- package/dist-types/lib/user-facing/themes/padding-constants.d.ts +0 -10
- package/dist-types/lib/user-facing/themes/typeface-constants.d.ts +0 -3
- package/dist-types/lib/user-facing/themes/typefaces/utils.d.ts +0 -28
- package/dist-types/lib/user-facing/themes/typefaces/utils.test.d.ts +0 -1
- package/dist-types/lib/user-facing/themes/typeography/typography-utils.d.ts +0 -33
- package/dist-types/lib/user-facing/themes/typeography/typography-utils.test.d.ts +0 -1
- package/dist-types/lib/user-facing/themes/typeography/use-typography-styling.d.ts +0 -15
- package/dist-types/lib/user-facing/themes/typography-constants.d.ts +0 -34
- package/dist-types/lib/user-facing/themes/utils.d.ts +0 -15
- package/dist-types/lib/user-facing/types.d.ts +0 -17
- package/dist-types/lib/user-facing/utils/create-svg-data-uri.d.ts +0 -9
- package/dist-types/lib/user-facing/utils/form.d.ts +0 -10
- package/dist-types/lib/user-facing/utils/notification.d.ts +0 -16
- package/dist-types/lib/utils/children.d.ts +0 -3
- package/dist-types/lib/utils/clean-object.d.ts +0 -5
- package/dist-types/lib/utils/clean-object.test.d.ts +0 -1
- package/dist-types/lib/utils/fast-clone.d.ts +0 -1
- package/dist-types/lib/utils/generate-id.d.ts +0 -1
- package/dist-types/lib/utils/get-component-layout.d.ts +0 -3
- package/dist-types/lib/utils/is-component-grid.d.ts +0 -2
- package/dist-types/lib/utils/is-component-stacklike.d.ts +0 -2
- package/dist-types/lib/utils/is-component-type-detached.d.ts +0 -1
- package/dist-types/lib/utils/is-component-vstack.d.ts +0 -2
- package/dist-types/lib/utils/keyboard-shortcuts.d.ts +0 -3
- package/dist-types/lib/utils/shallow-equal.d.ts +0 -1
- package/dist-types/lib/utils/widget-wrapper-naming.d.ts +0 -6
- package/dist-types/lib/utils.d.ts +0 -4
- package/dist-types/main.d.ts +0 -1
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
import type { IconPosition } from "../../icons/constants";
|
|
2
|
-
import type { Dim, DimModes } from "@superblocksteam/library-shared";
|
|
3
|
-
import type { TextStyleWithVariant, UserAccessibleTheme, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
4
|
-
export type PaginationType = "none" | "client-side" | "server-side";
|
|
5
|
-
export interface TableFilters {
|
|
6
|
-
byColumn?: {
|
|
7
|
-
[column: string]: ColumnFilter;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface ColumnFilter {
|
|
11
|
-
byValue?: FilterByValue;
|
|
12
|
-
condition?: Condition;
|
|
13
|
-
}
|
|
14
|
-
interface FilterByValue {
|
|
15
|
-
excluded?: any[];
|
|
16
|
-
}
|
|
17
|
-
type Condition = Condition0 | Condition1 | Condition2;
|
|
18
|
-
export type ConditionType = Condition["type"];
|
|
19
|
-
export declare enum Condition0Type {
|
|
20
|
-
all = "all",
|
|
21
|
-
isEmpty = "isEmpty",
|
|
22
|
-
isNotEmpty = "isNotEmpty",
|
|
23
|
-
isTrue = "isTrue",
|
|
24
|
-
isFalse = "isFalse"
|
|
25
|
-
}
|
|
26
|
-
export declare enum Condition1Type {
|
|
27
|
-
textIs = "textIs",
|
|
28
|
-
textContains = "textContains",
|
|
29
|
-
textDoesNotContain = "textDoesNotContain",
|
|
30
|
-
textStartsWith = "textStartsWith",
|
|
31
|
-
textEndsWith = "textEndsWith",
|
|
32
|
-
isEqualTo = "isEqualTo",
|
|
33
|
-
isNotEqualTo = "isNotEqualTo",
|
|
34
|
-
isLessThan = "isLessThan",
|
|
35
|
-
isLessThanOrEqualTo = "isLessThanOrEqualTo",
|
|
36
|
-
isGreaterThan = "isGreaterThan",
|
|
37
|
-
isGreaterThanOrEqualTo = "isGreaterThanOrEqualTo",
|
|
38
|
-
dateIs = "dateIs",
|
|
39
|
-
dateIsBefore = "dateIsBefore",
|
|
40
|
-
dateIsAfter = "dateIsAfter"
|
|
41
|
-
}
|
|
42
|
-
export declare enum Condition2Type {
|
|
43
|
-
isBetween = "isBetween",
|
|
44
|
-
dateIsBetween = "dateIsBetween"
|
|
45
|
-
}
|
|
46
|
-
interface Condition0 {
|
|
47
|
-
type: Condition0Type;
|
|
48
|
-
}
|
|
49
|
-
interface Condition1 {
|
|
50
|
-
type: Condition1Type;
|
|
51
|
-
param: any;
|
|
52
|
-
}
|
|
53
|
-
interface Condition2 {
|
|
54
|
-
type: Condition2Type;
|
|
55
|
-
param1: any;
|
|
56
|
-
param2: any;
|
|
57
|
-
}
|
|
58
|
-
export declare const RowDensity: {
|
|
59
|
-
readonly "extra-small": "extra-small";
|
|
60
|
-
readonly small: "small";
|
|
61
|
-
readonly medium: "medium";
|
|
62
|
-
readonly large: "large";
|
|
63
|
-
};
|
|
64
|
-
export type RowDensity = (typeof RowDensity)[keyof typeof RowDensity];
|
|
65
|
-
export declare const HorizontalAlignment: {
|
|
66
|
-
readonly left: "left";
|
|
67
|
-
readonly right: "right";
|
|
68
|
-
readonly center: "center";
|
|
69
|
-
};
|
|
70
|
-
export type HorizontalAlignment = (typeof HorizontalAlignment)[keyof typeof HorizontalAlignment];
|
|
71
|
-
export declare const VerticalAlignment: {
|
|
72
|
-
readonly top: "top";
|
|
73
|
-
readonly bottom: "bottom";
|
|
74
|
-
readonly center: "center";
|
|
75
|
-
};
|
|
76
|
-
export type VerticalAlignment = (typeof VerticalAlignment)[keyof typeof VerticalAlignment];
|
|
77
|
-
export declare enum EditInputType {
|
|
78
|
-
Text = "TEXT",
|
|
79
|
-
Number = "NUMBER",
|
|
80
|
-
Email = "EMAIL",
|
|
81
|
-
Dropdown = "DROPDOWN",
|
|
82
|
-
Checkbox = "CHECKBOX",
|
|
83
|
-
Date = "DATE"
|
|
84
|
-
}
|
|
85
|
-
export type BooleanStyleFalse = "empty" | "close" | "minus" | "empty_checkbox";
|
|
86
|
-
export declare enum ImageSize {
|
|
87
|
-
Fixed = "FIXED",
|
|
88
|
-
Fit = "FIT",
|
|
89
|
-
Cover = "COVER",
|
|
90
|
-
Grow = "GROW"
|
|
91
|
-
}
|
|
92
|
-
export declare enum IconSize {
|
|
93
|
-
XXS = "extraExtraSmall",
|
|
94
|
-
XS = "extraSmall",
|
|
95
|
-
SMALL = "small",
|
|
96
|
-
MEDIUM = "medium",
|
|
97
|
-
LARGE = "large",
|
|
98
|
-
XL = "extraLarge",
|
|
99
|
-
XXL = "extraExtraLarge",
|
|
100
|
-
XXXL = "extraExtraExtraLarge"
|
|
101
|
-
}
|
|
102
|
-
export type TableInserts = {
|
|
103
|
-
insertedRowsById?: Record<number, Record<string, unknown>>;
|
|
104
|
-
insertedRowIdsByIndex?: Record<number, Array<number>>;
|
|
105
|
-
insertedRowValidations?: Record<number, Record<string, undefined | string[]>>;
|
|
106
|
-
};
|
|
107
|
-
export type RowContext = {
|
|
108
|
-
row: undefined | Record<string, unknown>;
|
|
109
|
-
rowIndex: undefined | number;
|
|
110
|
-
};
|
|
111
|
-
export type ColumnContext = {
|
|
112
|
-
value: any;
|
|
113
|
-
currentRowIndex: number;
|
|
114
|
-
currentRow: undefined | Record<string, unknown>;
|
|
115
|
-
};
|
|
116
|
-
interface TableFunctions {
|
|
117
|
-
setSelectedRowData: (data: {
|
|
118
|
-
selectedRowIndex: number;
|
|
119
|
-
selectedRow?: Record<string, unknown>;
|
|
120
|
-
selectedRowIndices?: number[];
|
|
121
|
-
selectedRows?: Array<Record<string, unknown>>;
|
|
122
|
-
}, rowContext: RowContext, triggerEventHandlers: boolean) => void;
|
|
123
|
-
setPageNo: (value: number, triggerEventHandlers?: boolean) => void;
|
|
124
|
-
setTableFilters: (columnId: string, filter: ColumnFilter, rowContext: RowContext) => void;
|
|
125
|
-
setColumnOrder: (value: string[]) => void;
|
|
126
|
-
setSortedColumn: (value: undefined | TableSortColumn) => void;
|
|
127
|
-
setColumnSizeMap: (value: {
|
|
128
|
-
[key: string]: number;
|
|
129
|
-
}) => void;
|
|
130
|
-
setSearchText: (value: string) => void;
|
|
131
|
-
onRowClicked: (context: RowContext, onComplete?: () => void) => void;
|
|
132
|
-
selectAllRows: (rowIndices: number[], rows: Array<Record<string, unknown>>, rowContext: RowContext) => void;
|
|
133
|
-
deselectAllRows: (rowContext: RowContext) => void;
|
|
134
|
-
setCurrentCellFocus: (focus: undefined | {
|
|
135
|
-
row: number;
|
|
136
|
-
columnId: string;
|
|
137
|
-
}[]) => void;
|
|
138
|
-
setCurrentEditFocus: (focus: undefined | {
|
|
139
|
-
row: number;
|
|
140
|
-
columnId: string;
|
|
141
|
-
}, editValue?: string) => void;
|
|
142
|
-
cancelChanges: () => void;
|
|
143
|
-
saveChanges: (onComplete: () => void) => void;
|
|
144
|
-
updateProperties: (updates: Record<string, any>) => void;
|
|
145
|
-
onRowsDeleted: (rowIndices: number[]) => void;
|
|
146
|
-
onRowInserted: (rowContext: RowContext) => void;
|
|
147
|
-
}
|
|
148
|
-
export declare const ColumnType: {
|
|
149
|
-
readonly DATE: "date";
|
|
150
|
-
readonly VIDEO: "video";
|
|
151
|
-
readonly IMAGE: "image";
|
|
152
|
-
readonly TEXT: "text";
|
|
153
|
-
readonly NUMBER: "number";
|
|
154
|
-
readonly CURRENCY: "currency";
|
|
155
|
-
readonly PERCENTAGE: "percentage";
|
|
156
|
-
readonly BOOLEAN: "boolean";
|
|
157
|
-
readonly TAGS: "tags";
|
|
158
|
-
readonly BUTTON: "button";
|
|
159
|
-
readonly EMAIL: "email";
|
|
160
|
-
readonly LINK: "link";
|
|
161
|
-
};
|
|
162
|
-
export type ColumnType = (typeof ColumnType)[keyof typeof ColumnType];
|
|
163
|
-
export interface TableStyles {
|
|
164
|
-
cellBackground?: string;
|
|
165
|
-
horizontalAlign?: HorizontalAlignment;
|
|
166
|
-
verticalAlign?: VerticalAlignment;
|
|
167
|
-
}
|
|
168
|
-
export type SingleCellProperties = ColumnPropertiesForEditing & {
|
|
169
|
-
horizontalAlign?: HorizontalAlignment;
|
|
170
|
-
verticalAlign?: VerticalAlignment;
|
|
171
|
-
cellTextStyle?: TextStyleWithVariant;
|
|
172
|
-
cellBackground?: string;
|
|
173
|
-
buttonBackgroundColor?: string;
|
|
174
|
-
buttonBorder?: PerSideBorder;
|
|
175
|
-
buttonVariant?: string;
|
|
176
|
-
buttonTextStyle?: TextStyleWithVariant;
|
|
177
|
-
buttonLabel?: string;
|
|
178
|
-
cellIcon?: string;
|
|
179
|
-
cellIconPosition?: IconPosition;
|
|
180
|
-
linkUrl?: string;
|
|
181
|
-
linkLabel?: string;
|
|
182
|
-
openInNewTab?: boolean;
|
|
183
|
-
isDisabled?: boolean;
|
|
184
|
-
displayedValue?: string;
|
|
185
|
-
textWrap?: boolean;
|
|
186
|
-
tagsWrap?: boolean;
|
|
187
|
-
dropdownIcon?: string;
|
|
188
|
-
imageBorderRadius?: PerCornerBorderRadius;
|
|
189
|
-
imageSize?: ImageSize;
|
|
190
|
-
openImageUrl?: boolean;
|
|
191
|
-
inputFormat?: string;
|
|
192
|
-
outputFormat?: string;
|
|
193
|
-
manageTimezone?: boolean;
|
|
194
|
-
timezone?: string;
|
|
195
|
-
displayTimezone?: string;
|
|
196
|
-
};
|
|
197
|
-
interface TableColumnMetaProps {
|
|
198
|
-
isHidden: boolean;
|
|
199
|
-
type: string;
|
|
200
|
-
}
|
|
201
|
-
export interface ReactTableColumnProps {
|
|
202
|
-
id: string;
|
|
203
|
-
Header: string;
|
|
204
|
-
accessor: (data: any) => any;
|
|
205
|
-
width?: number;
|
|
206
|
-
actualFlexWidth?: number;
|
|
207
|
-
minWidth: number;
|
|
208
|
-
draggable: boolean;
|
|
209
|
-
isHidden?: boolean;
|
|
210
|
-
isAscOrder?: boolean;
|
|
211
|
-
metaProperties?: TableColumnMetaProps;
|
|
212
|
-
isDerived?: boolean;
|
|
213
|
-
columnProperties: ColumnProperties;
|
|
214
|
-
Cell: (props: any) => JSX.Element;
|
|
215
|
-
sticky?: string;
|
|
216
|
-
}
|
|
217
|
-
interface ColumnPropertiesForEditing {
|
|
218
|
-
manageTimezone?: boolean;
|
|
219
|
-
timezone?: string;
|
|
220
|
-
displayTimezone?: string;
|
|
221
|
-
dropdownOptions?: string;
|
|
222
|
-
notation?: Intl.NumberFormatOptions["notation"] | "unformatted";
|
|
223
|
-
currency?: string;
|
|
224
|
-
minimumFractionDigits?: number;
|
|
225
|
-
maximumFractionDigits?: number;
|
|
226
|
-
}
|
|
227
|
-
export type TagDisplayConfig = {
|
|
228
|
-
color: string;
|
|
229
|
-
};
|
|
230
|
-
export type ColumnPropertyFunctions = {
|
|
231
|
-
onClick?: (args: RowContext) => Promise<void>;
|
|
232
|
-
onDropdownSearchTextChanged?: () => void;
|
|
233
|
-
onOptionChange?: () => void;
|
|
234
|
-
onFocusOut?: () => void;
|
|
235
|
-
onDateSelected?: () => void;
|
|
236
|
-
onCheckChange?: () => void;
|
|
237
|
-
};
|
|
238
|
-
export type ContextualColumnProperty<T> = T | ((params: {
|
|
239
|
-
currentRow: UnknownRow;
|
|
240
|
-
}) => T);
|
|
241
|
-
export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesForEditing, ColumnPropertyFunctions {
|
|
242
|
-
id: string;
|
|
243
|
-
label: string;
|
|
244
|
-
columnType: string;
|
|
245
|
-
headerIcon?: string;
|
|
246
|
-
headerIconPosition?: IconPosition;
|
|
247
|
-
isVisible: boolean;
|
|
248
|
-
index: number;
|
|
249
|
-
width: number;
|
|
250
|
-
cellBackground?: ContextualColumnProperty<string>;
|
|
251
|
-
horizontalAlign?: ContextualColumnProperty<HorizontalAlignment>;
|
|
252
|
-
verticalAlign?: ContextualColumnProperty<VerticalAlignment>;
|
|
253
|
-
cellProps?: ContextualColumnProperty<{
|
|
254
|
-
textStyle: TextStyleWithVariant;
|
|
255
|
-
}>;
|
|
256
|
-
enableFilter?: boolean;
|
|
257
|
-
enableSort?: boolean;
|
|
258
|
-
isDerived: boolean;
|
|
259
|
-
computedValue: ContextualColumnProperty<string>;
|
|
260
|
-
displayedValue?: ContextualColumnProperty<string>;
|
|
261
|
-
buttonLabel?: ContextualColumnProperty<string>;
|
|
262
|
-
buttonBackgroundColor?: ContextualColumnProperty<string>;
|
|
263
|
-
buttonBorder?: ContextualColumnProperty<PerSideBorder>;
|
|
264
|
-
buttonVariant?: ContextualColumnProperty<string>;
|
|
265
|
-
buttonTextStyle?: ContextualColumnProperty<TextStyleWithVariant>;
|
|
266
|
-
cellIcon?: ContextualColumnProperty<string>;
|
|
267
|
-
cellIconPosition?: ContextualColumnProperty<IconPosition>;
|
|
268
|
-
buttonIcon?: ContextualColumnProperty<string>;
|
|
269
|
-
buttonIconPosition?: ContextualColumnProperty<IconPosition>;
|
|
270
|
-
isDisabled?: ContextualColumnProperty<boolean>;
|
|
271
|
-
linkUrl?: ContextualColumnProperty<string>;
|
|
272
|
-
linkLabel?: ContextualColumnProperty<string>;
|
|
273
|
-
openInNewTab?: ContextualColumnProperty<boolean>;
|
|
274
|
-
booleanStyleFalse?: BooleanStyleFalse;
|
|
275
|
-
isEditable?: ContextualColumnProperty<boolean>;
|
|
276
|
-
isFrozen?: boolean;
|
|
277
|
-
textWrap?: ContextualColumnProperty<boolean>;
|
|
278
|
-
tagsWrap?: ContextualColumnProperty<boolean>;
|
|
279
|
-
tagDisplayConfig: Record<string, TagDisplayConfig>;
|
|
280
|
-
imageSize?: ContextualColumnProperty<ImageSize>;
|
|
281
|
-
imageBorderRadius?: ContextualColumnProperty<PerCornerBorderRadius>;
|
|
282
|
-
openImageUrl?: ContextualColumnProperty<boolean>;
|
|
283
|
-
outputFormat?: ContextualColumnProperty<string>;
|
|
284
|
-
inputFormat?: ContextualColumnProperty<string>;
|
|
285
|
-
}
|
|
286
|
-
export type EditProps = ColumnEditConfigs & {
|
|
287
|
-
handleEditStart: () => void;
|
|
288
|
-
handleEditChange: (value: any, dropdownOptions?: Array<{
|
|
289
|
-
label: string;
|
|
290
|
-
value: string;
|
|
291
|
-
}>) => void;
|
|
292
|
-
handleEditStop: (props: {
|
|
293
|
-
shouldSave: boolean;
|
|
294
|
-
value?: any;
|
|
295
|
-
validationErrors?: Array<string>;
|
|
296
|
-
moveFocus?: "UP" | "DOWN" | "LEFT" | "RIGHT";
|
|
297
|
-
overrideEditFocus?: {
|
|
298
|
-
row: number;
|
|
299
|
-
columnId: string;
|
|
300
|
-
};
|
|
301
|
-
dropdownOption?: {
|
|
302
|
-
label: string;
|
|
303
|
-
value: string;
|
|
304
|
-
};
|
|
305
|
-
}) => void;
|
|
306
|
-
handleOneClickEdit: (value: any) => void;
|
|
307
|
-
isEditFocused: boolean;
|
|
308
|
-
isEdited: boolean;
|
|
309
|
-
onDropdownSearchTextChanged?: (value: string) => void;
|
|
310
|
-
onDropdownIconChange?: (iconName: string) => void;
|
|
311
|
-
currentEditDropdownSearchText?: string;
|
|
312
|
-
dropdownOptionsLoading?: boolean;
|
|
313
|
-
validationErrors: Array<string>;
|
|
314
|
-
currentEditValue: any;
|
|
315
|
-
};
|
|
316
|
-
type ColumnEditConfigs = {
|
|
317
|
-
editInputType?: string;
|
|
318
|
-
editCustomValidationRule?: string;
|
|
319
|
-
editCustomErrorMessage?: string;
|
|
320
|
-
editMaxLength?: number;
|
|
321
|
-
editMinLength?: number;
|
|
322
|
-
editIsRequired?: boolean;
|
|
323
|
-
editMultiSelect?: boolean;
|
|
324
|
-
allowClearing?: boolean;
|
|
325
|
-
editDropdownClientSideFiltering?: boolean;
|
|
326
|
-
editOptions?: string | Array<string | {
|
|
327
|
-
label: string;
|
|
328
|
-
value: string;
|
|
329
|
-
}>;
|
|
330
|
-
useLabelAsDisplayValue?: boolean;
|
|
331
|
-
transformation?: undefined | {
|
|
332
|
-
label: string;
|
|
333
|
-
value: string;
|
|
334
|
-
};
|
|
335
|
-
editMinDate?: string;
|
|
336
|
-
editMaxDate?: string;
|
|
337
|
-
editTwentyFourHourTime?: boolean;
|
|
338
|
-
defaultValue?: any;
|
|
339
|
-
isEditableOnInsertion?: boolean;
|
|
340
|
-
requiredOnInsertion?: boolean;
|
|
341
|
-
};
|
|
342
|
-
export type UnknownRow = Record<string, unknown>;
|
|
343
|
-
export type UnknownRows = Array<UnknownRow>;
|
|
344
|
-
export interface TableSortColumn {
|
|
345
|
-
column?: string;
|
|
346
|
-
asc: boolean;
|
|
347
|
-
}
|
|
348
|
-
export interface TagsColorAssignment {
|
|
349
|
-
uniqueTagsCount: number;
|
|
350
|
-
mapping: Record<string, number>;
|
|
351
|
-
}
|
|
352
|
-
export interface TableWidgetProps extends TableFunctions {
|
|
353
|
-
sourceId: string;
|
|
354
|
-
widgetName: string;
|
|
355
|
-
isLoading: boolean;
|
|
356
|
-
searchPlaceholder: string;
|
|
357
|
-
pageSize: number;
|
|
358
|
-
configuredPageSize?: number;
|
|
359
|
-
paginationType: PaginationType;
|
|
360
|
-
multiRowSelection?: boolean;
|
|
361
|
-
columnOrder?: string[];
|
|
362
|
-
columnSizeMap?: {
|
|
363
|
-
[key: string]: number;
|
|
364
|
-
};
|
|
365
|
-
columns: Record<string, ColumnProperties>;
|
|
366
|
-
sortedColumn?: TableSortColumn;
|
|
367
|
-
defaultSort?: TableSortColumn;
|
|
368
|
-
isDownloadable: boolean;
|
|
369
|
-
isFilterable: boolean;
|
|
370
|
-
showColumnBorders: boolean;
|
|
371
|
-
isSearchable: boolean;
|
|
372
|
-
header: string;
|
|
373
|
-
rowDensity: RowDensity;
|
|
374
|
-
enableRowDeletion: boolean;
|
|
375
|
-
enableRowInsertion: boolean;
|
|
376
|
-
maxLinesPerRow?: number;
|
|
377
|
-
cellProps?: {
|
|
378
|
-
textStyle: TextStyleWithVariant;
|
|
379
|
-
};
|
|
380
|
-
headerProps?: {
|
|
381
|
-
textStyle: TextStyleWithVariant;
|
|
382
|
-
};
|
|
383
|
-
columnHeaderProps?: {
|
|
384
|
-
textStyle: TextStyleWithVariant;
|
|
385
|
-
};
|
|
386
|
-
columnHeaderTextWrap?: boolean;
|
|
387
|
-
searchProps?: {
|
|
388
|
-
textStyle?: TextStyleWithVariant;
|
|
389
|
-
border?: PerSideBorder;
|
|
390
|
-
borderRadius?: PerCornerBorderRadius;
|
|
391
|
-
backgroundColor?: string;
|
|
392
|
-
};
|
|
393
|
-
selectedRowBackgroundColor?: string;
|
|
394
|
-
backgroundColor?: string;
|
|
395
|
-
borderRadius?: PerCornerBorderRadius;
|
|
396
|
-
tableData: UnknownRows;
|
|
397
|
-
tableDataWithInserts: UnknownRows;
|
|
398
|
-
tableDataWithInsertsOrderMap: Array<number>;
|
|
399
|
-
defaultSelectedRow?: number | number[];
|
|
400
|
-
canvasScaleFactor: number;
|
|
401
|
-
tagsColorAssignment?: TagsColorAssignment;
|
|
402
|
-
theme: UserAccessibleTheme;
|
|
403
|
-
border: PerSideBorder;
|
|
404
|
-
disableNudge: (disable: boolean) => void;
|
|
405
|
-
disableDrag: (disable: boolean) => void;
|
|
406
|
-
filteredTableData?: UnknownRows;
|
|
407
|
-
filteredOrderMap?: Array<number>;
|
|
408
|
-
editedRows?: {
|
|
409
|
-
originalRows: UnknownRows;
|
|
410
|
-
updatedRows: UnknownRows;
|
|
411
|
-
deletedRows: UnknownRows;
|
|
412
|
-
insertedRows: UnknownRows;
|
|
413
|
-
};
|
|
414
|
-
editedRowIndices?: {
|
|
415
|
-
deleted?: {
|
|
416
|
-
absolute: number[];
|
|
417
|
-
relative: number[];
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
allEdits?: UnknownRows;
|
|
421
|
-
validationErrors?: Array<string>;
|
|
422
|
-
searchText: string;
|
|
423
|
-
currentEditDropdownSearchText: string;
|
|
424
|
-
filters?: TableFilters;
|
|
425
|
-
hiddenColumns?: string[];
|
|
426
|
-
columnFreezes?: Record<string, boolean>;
|
|
427
|
-
selectedRowIndex?: number;
|
|
428
|
-
selectedRowIndices: number[];
|
|
429
|
-
selectedRowSchema?: Record<string, unknown>;
|
|
430
|
-
selectedRows: Record<string, unknown>[];
|
|
431
|
-
pageNo: number;
|
|
432
|
-
editOverrides?: Record<number, Record<string, {
|
|
433
|
-
value: unknown;
|
|
434
|
-
validationErrors?: string[];
|
|
435
|
-
}>>;
|
|
436
|
-
currentEditValue?: any;
|
|
437
|
-
currentEditFocus?: {
|
|
438
|
-
row: number;
|
|
439
|
-
columnId: string;
|
|
440
|
-
};
|
|
441
|
-
deletedRowIndices?: Record<number, boolean>;
|
|
442
|
-
inserts?: TableInserts;
|
|
443
|
-
updatedRows?: Record<number, Record<string, unknown>>;
|
|
444
|
-
height?: Dim<DimModes>;
|
|
445
|
-
width?: Dim<DimModes>;
|
|
446
|
-
}
|
|
447
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useSticky: (hooks: any) => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { propertiesDefinition } from "./props.js";
|
|
2
|
-
import type { EditorTemplate } from "../../../internal-details/sb-wrapper.jsx";
|
|
3
|
-
import type { EditorConfig } from "@superblocksteam/library-shared/types";
|
|
4
|
-
export declare const editorTemplate: EditorTemplate<typeof propertiesDefinition>;
|
|
5
|
-
export declare const editorConfig: EditorConfig;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export declare const Text: import("../../../internal-details/sb-wrapper.jsx").ChainableComponent<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
|
-
text: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
4
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true, undefined>;
|
|
5
|
-
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ({
|
|
7
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
8
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true, undefined>;
|
|
9
|
-
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true, undefined>;
|
|
10
|
-
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
11
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
12
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
13
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
14
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
|
|
15
|
-
} & (Omit<{
|
|
16
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false, undefined>;
|
|
17
|
-
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
18
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
19
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
20
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true, undefined>;
|
|
21
|
-
currency: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
22
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
23
|
-
dateInputFormat?: undefined;
|
|
24
|
-
dateOutputFormat?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
27
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
28
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number", true, undefined>;
|
|
29
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
30
|
-
dateInputFormat?: undefined;
|
|
31
|
-
dateOutputFormat?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"date", true, undefined>;
|
|
34
|
-
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
35
|
-
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
36
|
-
})))>;
|
|
37
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
38
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
39
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
40
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
41
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
42
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
43
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
44
|
-
} & {
|
|
45
|
-
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
46
|
-
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
47
|
-
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
48
|
-
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
49
|
-
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
50
|
-
} | undefined, true, undefined>;
|
|
51
|
-
} & {
|
|
52
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
53
|
-
} & {
|
|
54
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
55
|
-
}>;
|
|
56
|
-
}, import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
57
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
58
|
-
text: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
59
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true, undefined>;
|
|
60
|
-
}>;
|
|
61
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ({
|
|
62
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
63
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true, undefined>;
|
|
64
|
-
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true, undefined>;
|
|
65
|
-
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
66
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
67
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
68
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
69
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
|
|
70
|
-
} & (Omit<{
|
|
71
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false, undefined>;
|
|
72
|
-
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
73
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
74
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
75
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true, undefined>;
|
|
76
|
-
currency: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
77
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
78
|
-
dateInputFormat?: undefined;
|
|
79
|
-
dateOutputFormat?: undefined;
|
|
80
|
-
} | {
|
|
81
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
82
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false, undefined>;
|
|
83
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number", true, undefined>;
|
|
84
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
85
|
-
dateInputFormat?: undefined;
|
|
86
|
-
dateOutputFormat?: undefined;
|
|
87
|
-
} | {
|
|
88
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"date", true, undefined>;
|
|
89
|
-
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
90
|
-
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
91
|
-
})))>;
|
|
92
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
93
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
94
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
95
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
96
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
97
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
98
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
99
|
-
} & {
|
|
100
|
-
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
101
|
-
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
102
|
-
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
103
|
-
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
104
|
-
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
105
|
-
} | undefined, true, undefined>;
|
|
106
|
-
} & {
|
|
107
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
108
|
-
} & {
|
|
109
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
110
|
-
}>;
|
|
111
|
-
}>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ButtonProps as AntButtonProps } from "antd/lib/button";
|
|
3
|
-
interface ButtonProps extends AntButtonProps {
|
|
4
|
-
width?: string;
|
|
5
|
-
bordered?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const Button: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>>;
|
|
8
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Dim } from "@superblocksteam/library-shared";
|
|
2
|
-
import { Prop, Section } from "../../properties-panel/props-builder.js";
|
|
3
|
-
import type { IconPosition } from "../../icons/constants.js";
|
|
4
|
-
import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
|
|
5
|
-
import type { Typographies } from "@superblocksteam/library-shared/types";
|
|
6
|
-
/**
|
|
7
|
-
* TODO:
|
|
8
|
-
* - When updateHook is ported, we should check `textStyle` prop. Search for `textStyleUpdateVariantHook`
|
|
9
|
-
*/
|
|
10
|
-
export declare const DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT: keyof Typographies;
|
|
11
|
-
export type VerticalAlign = "top" | "center" | "bottom";
|
|
12
|
-
export declare const propertiesDefinition: {
|
|
13
|
-
general: Section<Record<string, Prop<any, any, undefined>> & {
|
|
14
|
-
text: Prop<string, false, undefined>;
|
|
15
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", true, undefined>;
|
|
16
|
-
}>;
|
|
17
|
-
appearance: Section<Record<string, Prop<any, any, undefined>> & ({
|
|
18
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
19
|
-
horizontalAlign: Prop<HorizontalAlign, true, undefined>;
|
|
20
|
-
verticalAlign: Prop<VerticalAlign, true, undefined>;
|
|
21
|
-
wrapText: Prop<boolean, true, undefined>;
|
|
22
|
-
loading: Prop<boolean, true, undefined>;
|
|
23
|
-
shouldScroll: Prop<boolean, false, undefined>;
|
|
24
|
-
icon: Prop<string, false, undefined>;
|
|
25
|
-
iconPosition: Prop<IconPosition, true, undefined>;
|
|
26
|
-
} & (Omit<{
|
|
27
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", false, undefined>;
|
|
28
|
-
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
29
|
-
minDecimals: Prop<number, false, undefined>;
|
|
30
|
-
maxDecimals: Prop<number, false, undefined>;
|
|
31
|
-
textType: Prop<"currency", true, undefined>;
|
|
32
|
-
currency: Prop<string, true, undefined>;
|
|
33
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
34
|
-
dateInputFormat?: undefined;
|
|
35
|
-
dateOutputFormat?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
minDecimals: Prop<number, false, undefined>;
|
|
38
|
-
maxDecimals: Prop<number, false, undefined>;
|
|
39
|
-
textType: Prop<"number", true, undefined>;
|
|
40
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true, undefined>;
|
|
41
|
-
dateInputFormat?: undefined;
|
|
42
|
-
dateOutputFormat?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
textType: Prop<"date", true, undefined>;
|
|
45
|
-
dateInputFormat: Prop<string, false, undefined>;
|
|
46
|
-
dateOutputFormat: Prop<string, false, undefined>;
|
|
47
|
-
})))>;
|
|
48
|
-
layout: Section<Record<string, Prop<any, any, undefined>> & {
|
|
49
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
50
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
51
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
52
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
53
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
54
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
55
|
-
} & {
|
|
56
|
-
margin: Prop<{
|
|
57
|
-
top: Dim<"px">;
|
|
58
|
-
bottom: Dim<"px">;
|
|
59
|
-
left: Dim<"px">;
|
|
60
|
-
right: Dim<"px">;
|
|
61
|
-
} | undefined, true, undefined>;
|
|
62
|
-
} & {
|
|
63
|
-
isVisible: Prop<boolean, true, undefined>;
|
|
64
|
-
} & {
|
|
65
|
-
shouldScroll: Prop<boolean, false, undefined>;
|
|
66
|
-
}>;
|
|
67
|
-
};
|