@code0-tech/pictor 1.1.0 → 1.1.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/dist/_virtual/rolldown_runtime.js +3 -12
- package/dist/assets/Button.style.css +1 -1
- package/dist/assets/ContextMenu.style.css +1 -1
- package/dist/assets/DateInput.style.css +1 -1
- package/dist/assets/Editor.styles.css +1 -1
- package/dist/assets/Input.style.css +1 -1
- package/dist/assets/InputWrapper.style.css +1 -1
- package/dist/assets/Menu.style.css +1 -1
- package/dist/assets/SegmentedControl.style.css +1 -1
- package/dist/assets/SelectInput.style.css +1 -1
- package/dist/components/alert/Alert.js +19 -20
- package/dist/components/aurora/Aurora.js +15 -16
- package/dist/components/avatar/Avatar.js +44 -44
- package/dist/components/badge/Badge.js +36 -37
- package/dist/components/button/Button.js +16 -16
- package/dist/components/button-group/ButtonGroup.js +15 -16
- package/dist/components/card/Card.js +21 -22
- package/dist/components/card/CardSection.js +15 -15
- package/dist/components/chart/Chart.js +82 -82
- package/dist/components/chart/LineChart.js +50 -51
- package/dist/components/col/Col.js +9 -10
- package/dist/components/command/Command.js +32 -33
- package/dist/components/container/Container.js +9 -10
- package/dist/components/context-menu/ContextMenu.js +76 -77
- package/dist/components/data-table/DataTableColumn.js +9 -10
- package/dist/components/data-table/DataTableFilterInput.js +83 -83
- package/dist/components/data-table/DataTableFilterSuggestionMenu.js +26 -27
- package/dist/components/data-table/DataTableHeader.js +20 -21
- package/dist/components/data-table/DataTablePagination.js +27 -28
- package/dist/components/dialog/Dialog.js +61 -62
- package/dist/components/file-tabs/FileTabs.js +51 -52
- package/dist/components/flex/Flex.js +9 -10
- package/dist/components/form/CheckboxInput.js +50 -51
- package/dist/components/form/ColorInput.js +242 -242
- package/dist/components/form/DateInput.js +55 -55
- package/dist/components/form/EditorInput.d.ts +7 -0
- package/dist/components/form/EditorInput.js +278 -273
- package/dist/components/form/FileInput.js +67 -68
- package/dist/components/form/InputDescription.js +3 -4
- package/dist/components/form/InputLabel.js +9 -10
- package/dist/components/form/InputMessage.js +6 -7
- package/dist/components/form/InputWrapper.js +37 -38
- package/dist/components/form/PasswordInput.js +2 -2
- package/dist/components/form/PinInput.js +30 -31
- package/dist/components/form/RadioGroup.js +22 -23
- package/dist/components/form/RadioInput.js +19 -20
- package/dist/components/form/SelectInput.js +55 -56
- package/dist/components/form/TagInput.js +46 -45
- package/dist/components/fullscreen/FullScreen.js +14 -15
- package/dist/components/gantt/Gantt.js +63 -64
- package/dist/components/gantt/GanttGroup.js +2 -2
- package/dist/components/gantt/GanttHeader.js +40 -41
- package/dist/components/gantt/GanttItem.js +11 -12
- package/dist/components/icon/Icon.js +22 -22
- package/dist/components/json-view/JsonView.js +37 -38
- package/dist/components/layout/Layout.js +64 -65
- package/dist/components/menu/Menu.js +91 -92
- package/dist/components/quote/Quote.js +29 -30
- package/dist/components/resizable/Resizable.js +22 -23
- package/dist/components/row/Row.js +9 -10
- package/dist/components/scroll-area/ScrollArea.js +46 -47
- package/dist/components/segmented-control/SegmentedControl.js +35 -35
- package/dist/components/spacing/Spacing.js +8 -9
- package/dist/components/tab/Tab.js +53 -53
- package/dist/components/text/Text.js +9 -10
- package/dist/components/toast/Toast.js +47 -47
- package/dist/components/tooltip/Tooltip.js +35 -36
- package/dist/node_modules/@lezer/common/dist/index.js +4 -4
- package/dist/utils/contextStore.js +31 -32
- package/dist/utils/motion.js +39 -40
- package/package.json +8 -8
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -51
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -58
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -57
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -136
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -68
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -56
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -5
- package/dist/node_modules/motion/dist/es/react.js +0 -196
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -105
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -127
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -82
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -164
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -43
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -59
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -580
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -201
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -50
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -90
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -50
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -62
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -16
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -24
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -6
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -21
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -18
- package/dist/node_modules/react/compiler-runtime.js +0 -8
|
@@ -1,71 +1,70 @@
|
|
|
1
|
-
import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
|
|
2
1
|
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
2
|
import "../../utils/index.js";
|
|
4
3
|
import { Text } from "../text/Text.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { IconChevronLeft, IconChevronRight } from "@tabler/icons-react";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
h = o, d = s, f = c, _ = l;
|
|
14
|
-
let y;
|
|
15
|
-
a[8] === i ? y = a[9] : (y = getTimelineLabel(i), a[8] = i, a[9] = y), m = y;
|
|
8
|
+
const GanttHeader = (a) => {
|
|
9
|
+
let d = c(33), f, p, m, h, g, _, v;
|
|
10
|
+
if (d[0] !== a) {
|
|
11
|
+
let { avgDuration: r, stepWidth: i, canScrollLeft: o, canScrollRight: s, ticks: l, interval: u, ...y } = a;
|
|
12
|
+
g = i, f = o, p = s, v = l;
|
|
16
13
|
let b;
|
|
17
|
-
|
|
14
|
+
d[8] === r ? b = d[9] : (b = getTimelineLabel(r), d[8] = r, d[9] = b), h = b;
|
|
15
|
+
let x;
|
|
16
|
+
d[10] === u ? x = d[11] : (x = (e) => {
|
|
18
17
|
let { value: r, unit: i } = getTimelineLabel(e), a = Math.max(0, Math.ceil(-Math.log10(u / unitFactor(i))));
|
|
19
18
|
return `${parseFloat(r.toFixed(a))}${i}`;
|
|
20
|
-
},
|
|
21
|
-
} else
|
|
22
|
-
let
|
|
23
|
-
|
|
19
|
+
}, d[10] = u, d[11] = x), m = x, _ = mergeComponentProps("gantt__header", y), d[0] = a, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = g, d[6] = _, d[7] = v;
|
|
20
|
+
} else f = d[1], p = d[2], m = d[3], h = d[4], g = d[5], _ = d[6], v = d[7];
|
|
21
|
+
let y;
|
|
22
|
+
d[12] === f ? y = d[13] : (y = f && /* @__PURE__ */ jsx("div", {
|
|
24
23
|
className: "gantt__header-scroll gantt__header-scroll--left",
|
|
25
24
|
children: /* @__PURE__ */ jsx(IconChevronLeft, { size: 16 })
|
|
26
|
-
}),
|
|
27
|
-
let
|
|
28
|
-
|
|
25
|
+
}), d[12] = f, d[13] = y);
|
|
26
|
+
let b;
|
|
27
|
+
d[14] === h.unit ? b = d[15] : (b = /* @__PURE__ */ jsx("div", {
|
|
29
28
|
className: "gantt__header-label-column",
|
|
30
29
|
children: /* @__PURE__ */ jsxs(Text, {
|
|
31
30
|
className: "gantt__header-label",
|
|
32
|
-
children: ["Range in ",
|
|
31
|
+
children: ["Range in ", h.unit]
|
|
33
32
|
})
|
|
34
|
-
}),
|
|
35
|
-
let b;
|
|
36
|
-
a[16] !== v || a[17] !== y ? (b = /* @__PURE__ */ jsxs("div", {
|
|
37
|
-
className: "gantt__header-start",
|
|
38
|
-
children: [v, y]
|
|
39
|
-
}), a[16] = v, a[17] = y, a[18] = b) : b = a[18];
|
|
33
|
+
}), d[14] = h.unit, d[15] = b);
|
|
40
34
|
let x;
|
|
41
|
-
|
|
35
|
+
d[16] !== y || d[17] !== b ? (x = /* @__PURE__ */ jsxs("div", {
|
|
36
|
+
className: "gantt__header-start",
|
|
37
|
+
children: [y, b]
|
|
38
|
+
}), d[16] = y, d[17] = b, d[18] = x) : x = d[18];
|
|
39
|
+
let S;
|
|
40
|
+
if (d[19] !== m || d[20] !== g || d[21] !== v) {
|
|
42
41
|
let e;
|
|
43
|
-
|
|
44
|
-
let { time:
|
|
42
|
+
d[23] !== m || d[24] !== g ? (e = (e) => {
|
|
43
|
+
let { time: i, left: a } = e;
|
|
45
44
|
return /* @__PURE__ */ jsx("div", {
|
|
46
45
|
className: "gantt__header-column",
|
|
47
46
|
style: {
|
|
48
47
|
left: a,
|
|
49
|
-
width:
|
|
48
|
+
width: g
|
|
50
49
|
},
|
|
51
|
-
children: /* @__PURE__ */ jsx(Text, { children:
|
|
52
|
-
}, `header-${
|
|
53
|
-
},
|
|
54
|
-
} else
|
|
55
|
-
let
|
|
56
|
-
|
|
50
|
+
children: /* @__PURE__ */ jsx(Text, { children: m(i) })
|
|
51
|
+
}, `header-${i}`);
|
|
52
|
+
}, d[23] = m, d[24] = g, d[25] = e) : e = d[25], S = v.map(e), d[19] = m, d[20] = g, d[21] = v, d[22] = S;
|
|
53
|
+
} else S = d[22];
|
|
54
|
+
let C;
|
|
55
|
+
d[26] === p ? C = d[27] : (C = p && /* @__PURE__ */ jsx("div", {
|
|
57
56
|
className: "gantt__header-scroll gantt__header-scroll--right",
|
|
58
57
|
children: /* @__PURE__ */ jsx(IconChevronRight, { size: 16 })
|
|
59
|
-
}),
|
|
60
|
-
let
|
|
61
|
-
return
|
|
62
|
-
...
|
|
58
|
+
}), d[26] = p, d[27] = C);
|
|
59
|
+
let w;
|
|
60
|
+
return d[28] !== _ || d[29] !== x || d[30] !== S || d[31] !== C ? (w = /* @__PURE__ */ jsxs("div", {
|
|
61
|
+
..._,
|
|
63
62
|
children: [
|
|
64
|
-
b,
|
|
65
63
|
x,
|
|
66
|
-
S
|
|
64
|
+
S,
|
|
65
|
+
C
|
|
67
66
|
]
|
|
68
|
-
}),
|
|
67
|
+
}), d[28] = _, d[29] = x, d[30] = S, d[31] = C, d[32] = w) : w = d[32], w;
|
|
69
68
|
};
|
|
70
69
|
var getTimelineLabel = (e) => e > 5e5 ? {
|
|
71
70
|
value: e / 1e6,
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
|
|
2
1
|
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
2
|
import "../../utils/index.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return n[5] !== a || n[6] !== o || n[7] !== s || n[8] !== c ? (l = /* @__PURE__ */ jsx("div", {
|
|
6
|
+
const GanttItem = (n) => {
|
|
7
|
+
let i = c(10), a, o, s, l;
|
|
8
|
+
if (i[0] !== n) {
|
|
9
|
+
let { children: t, ...r } = n;
|
|
10
|
+
a = t, o = r.id, s = r.id, l = mergeComponentProps("gantt__item", r), i[0] = n, i[1] = a, i[2] = o, i[3] = s, i[4] = l;
|
|
11
|
+
} else a = i[1], o = i[2], s = i[3], l = i[4];
|
|
12
|
+
let u;
|
|
13
|
+
return i[5] !== a || i[6] !== o || i[7] !== s || i[8] !== l ? (u = /* @__PURE__ */ jsx("div", {
|
|
15
14
|
"data-gantt-id": s,
|
|
16
|
-
...
|
|
15
|
+
...l,
|
|
17
16
|
children: a
|
|
18
|
-
}, o),
|
|
17
|
+
}, o), i[5] = a, i[6] = o, i[7] = s, i[8] = l, i[9] = u) : u = i[9], u;
|
|
19
18
|
};
|
|
20
19
|
export { GanttItem };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
|
|
2
1
|
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
2
|
import "../../utils/index.js";
|
|
4
3
|
import { codezero_exports } from "./codezero/index.js";
|
|
5
4
|
import '../../assets/Icon.style.css';/* empty css */
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import * as TablerIcons from "@tabler/icons-react";
|
|
9
9
|
import * as SimpleIcons from "@icons-pack/react-simple-icons";
|
|
10
10
|
import * as TheSvgIcons from "@thesvg/react";
|
|
11
|
-
var
|
|
11
|
+
var theSvgIconCache = /* @__PURE__ */ new Map(), theSvgIcon = (e, n) => {
|
|
12
12
|
let r = n ? `${e}/${n}` : e, i = theSvgIconCache.get(r);
|
|
13
13
|
if (i) return i;
|
|
14
14
|
let o = TheSvgIcons[e], s = function({ size: e = 24, color: r, stroke: i, ...s }) {
|
|
@@ -23,33 +23,33 @@ var import_compiler_runtime = require_compiler_runtime(), theSvgIconCache = /* @
|
|
|
23
23
|
return theSvgIconCache.set(r, s), s;
|
|
24
24
|
};
|
|
25
25
|
const resolveIcon = (e) => {
|
|
26
|
-
let
|
|
26
|
+
let r = TablerIcons.IconNote;
|
|
27
27
|
if (e?.startsWith("codezero:")) {
|
|
28
28
|
let i = e.replace("codezero:", "").trim().toLowerCase(), a = Object.keys(codezero_exports).find((e) => e.toLowerCase() === i);
|
|
29
|
-
return a ? codezero_exports[a] :
|
|
29
|
+
return a ? codezero_exports[a] : r;
|
|
30
30
|
}
|
|
31
31
|
if (e?.startsWith("thesvg:")) {
|
|
32
|
-
let [
|
|
33
|
-
return o in TheSvgIcons ? theSvgIcon(o, i) :
|
|
32
|
+
let [n, i] = e.replace("thesvg:", "").trim().split("/"), a = n.split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(""), o = /^[0-9]/.test(a) ? `I${a}` : a;
|
|
33
|
+
return o in TheSvgIcons ? theSvgIcon(o, i) : r;
|
|
34
34
|
}
|
|
35
35
|
if (e?.startsWith("simple:")) {
|
|
36
|
-
let
|
|
37
|
-
return i in SimpleIcons ? SimpleIcons[i] :
|
|
36
|
+
let n = e.replace("simple:", "").trim(), i = `Si${n.charAt(0).toUpperCase() + n.slice(1)}`;
|
|
37
|
+
return i in SimpleIcons ? SimpleIcons[i] : r;
|
|
38
38
|
}
|
|
39
39
|
let i = `Icon${(e?.replace("tabler:", "") ?? "Note").trim().replace(/^icon/i, "").split(/[\s_-]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("")}`;
|
|
40
|
-
return i in TablerIcons ? TablerIcons[i] :
|
|
41
|
-
}, Icon = (
|
|
42
|
-
let
|
|
43
|
-
if (
|
|
44
|
-
let { icon:
|
|
45
|
-
|
|
46
|
-
} else
|
|
47
|
-
let
|
|
48
|
-
return
|
|
49
|
-
size:
|
|
50
|
-
color:
|
|
51
|
-
stroke:
|
|
52
|
-
...
|
|
53
|
-
}),
|
|
40
|
+
return i in TablerIcons ? TablerIcons[i] : r;
|
|
41
|
+
}, Icon = (n) => {
|
|
42
|
+
let i = c(14), o, s, l, u, d;
|
|
43
|
+
if (i[0] !== n) {
|
|
44
|
+
let { icon: r, size: a, color: f, stroke: p, ...m } = n, h = a === void 0 ? 24 : a, g;
|
|
45
|
+
i[6] === r ? g = i[7] : (g = resolveIcon(r), i[6] = r, i[7] = g), o = g, s = h, l = f, u = p, d = mergeComponentProps("icon", m), i[0] = n, i[1] = o, i[2] = s, i[3] = l, i[4] = u, i[5] = d;
|
|
46
|
+
} else o = i[1], s = i[2], l = i[3], u = i[4], d = i[5];
|
|
47
|
+
let f;
|
|
48
|
+
return i[8] !== o || i[9] !== s || i[10] !== l || i[11] !== u || i[12] !== d ? (f = /* @__PURE__ */ jsx(o, {
|
|
49
|
+
size: s,
|
|
50
|
+
color: l,
|
|
51
|
+
stroke: u,
|
|
52
|
+
...d
|
|
53
|
+
}), i[8] = o, i[9] = s, i[10] = l, i[11] = u, i[12] = d, i[13] = f) : f = i[13], f;
|
|
54
54
|
};
|
|
55
55
|
export { Icon, resolveIcon };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
|
|
2
1
|
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
|
-
import { AnimatePresence } from "../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
|
|
4
|
-
import { motion } from "../../node_modules/motion/dist/es/react.js";
|
|
5
2
|
import { hashToColor } from "../../utils/color.js";
|
|
6
3
|
import "../../utils/index.js";
|
|
7
4
|
import { Text } from "../text/Text.js";
|
|
8
5
|
import '../../assets/JsonView.style.css';/* empty css */
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
9
7
|
import React from "react";
|
|
10
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { AnimatePresence, motion } from "motion/react";
|
|
11
10
|
import { IconCheck, IconChevronRight, IconCopy } from "@tabler/icons-react";
|
|
12
11
|
import ReactJsonView from "@uiw/react-json-view";
|
|
13
|
-
var
|
|
12
|
+
var JSON_VIEW_THEME = {
|
|
14
13
|
"--w-rjv-font-family": "\"Inter\", sans-serif",
|
|
15
14
|
"--w-rjv-font-size": "0.8rem",
|
|
16
15
|
"--w-rjv-color": "rgba(255, 255, 255, 0.75)",
|
|
@@ -38,42 +37,42 @@ var import_compiler_runtime = require_compiler_runtime(), JSON_VIEW_THEME = {
|
|
|
38
37
|
"--w-rjv-type-nan-color": hashToColor("Number"),
|
|
39
38
|
"--w-rjv-type-undefined-color": hashToColor("Null")
|
|
40
39
|
};
|
|
41
|
-
const JsonView = (
|
|
42
|
-
let
|
|
43
|
-
if (
|
|
44
|
-
let { displayObjectSize:
|
|
45
|
-
|
|
46
|
-
} else
|
|
47
|
-
let
|
|
48
|
-
if (typeof
|
|
40
|
+
const JsonView = (s) => {
|
|
41
|
+
let d = c(24), f, p, m, h, _, v;
|
|
42
|
+
if (d[0] !== s) {
|
|
43
|
+
let { displayObjectSize: i, displayDataTypes: a, enableClipboard: o, indentWidth: l, value: u, ...g } = s;
|
|
44
|
+
v = u, p = i === void 0 ? !1 : i, f = a === void 0 ? !1 : a, m = o === void 0 ? !0 : o, h = l === void 0 ? 12.8 : l, _ = mergeComponentProps("json-view", g), d[0] = s, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = _, d[6] = v;
|
|
45
|
+
} else f = d[1], p = d[2], m = d[3], h = d[4], _ = d[5], v = d[6];
|
|
46
|
+
let y = _;
|
|
47
|
+
if (typeof v != "object" || !v) {
|
|
49
48
|
let e;
|
|
50
|
-
|
|
51
|
-
let
|
|
52
|
-
return
|
|
49
|
+
d[7] === Symbol.for("react.memo_cache_sentinel") ? (e = hashToColor("Text"), d[7] = e) : e = d[7];
|
|
50
|
+
let o = String(v), s;
|
|
51
|
+
return d[8] === o ? s = d[9] : (s = /* @__PURE__ */ jsx(Text, {
|
|
53
52
|
c: e,
|
|
54
|
-
children:
|
|
55
|
-
}),
|
|
53
|
+
children: o
|
|
54
|
+
}), d[8] = o, d[9] = s), s;
|
|
56
55
|
}
|
|
57
|
-
let y;
|
|
58
|
-
a[10] === v.style ? y = a[11] : (y = v.style ?? {}, a[10] = v.style, a[11] = y);
|
|
59
56
|
let b;
|
|
60
|
-
|
|
57
|
+
d[10] === y.style ? b = d[11] : (b = y.style ?? {}, d[10] = y.style, d[11] = b);
|
|
58
|
+
let x;
|
|
59
|
+
d[12] === b ? x = d[13] : (x = {
|
|
61
60
|
...JSON_VIEW_THEME,
|
|
62
|
-
...
|
|
63
|
-
},
|
|
64
|
-
let
|
|
65
|
-
|
|
66
|
-
let
|
|
67
|
-
return
|
|
68
|
-
displayObjectSize:
|
|
69
|
-
displayDataTypes:
|
|
70
|
-
enableClipboard:
|
|
71
|
-
indentWidth:
|
|
72
|
-
...
|
|
73
|
-
value:
|
|
74
|
-
style:
|
|
75
|
-
children: [
|
|
76
|
-
}),
|
|
61
|
+
...b
|
|
62
|
+
}, d[12] = b, d[13] = x);
|
|
63
|
+
let S, C;
|
|
64
|
+
d[14] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ jsx(ReactJsonView.Arrow, { render: _temp }), C = /* @__PURE__ */ jsx(ReactJsonView.Copied, { render: _temp2 }), d[14] = S, d[15] = C) : (S = d[14], C = d[15]);
|
|
65
|
+
let w;
|
|
66
|
+
return d[16] !== f || d[17] !== p || d[18] !== m || d[19] !== h || d[20] !== y || d[21] !== x || d[22] !== v ? (w = /* @__PURE__ */ jsxs(ReactJsonView, {
|
|
67
|
+
displayObjectSize: p,
|
|
68
|
+
displayDataTypes: f,
|
|
69
|
+
enableClipboard: m,
|
|
70
|
+
indentWidth: h,
|
|
71
|
+
...y,
|
|
72
|
+
value: v,
|
|
73
|
+
style: x,
|
|
74
|
+
children: [S, C]
|
|
75
|
+
}), d[16] = f, d[17] = p, d[18] = m, d[19] = h, d[20] = y, d[21] = x, d[22] = v, d[23] = w) : w = d[23], w;
|
|
77
76
|
};
|
|
78
77
|
function _temp(e) {
|
|
79
78
|
let { "data-expanded": i, ...a } = e;
|
|
@@ -85,10 +84,10 @@ function _temp(e) {
|
|
|
85
84
|
});
|
|
86
85
|
}
|
|
87
86
|
function _temp2(e) {
|
|
88
|
-
let { "data-copied": i, onClick:
|
|
87
|
+
let { "data-copied": i, onClick: a, ...o } = e;
|
|
89
88
|
return /* @__PURE__ */ jsx("span", {
|
|
90
|
-
...
|
|
91
|
-
onClick:
|
|
89
|
+
...o,
|
|
90
|
+
onClick: a,
|
|
92
91
|
className: "json-view__copy",
|
|
93
92
|
"data-copied": i,
|
|
94
93
|
children: /* @__PURE__ */ jsx(AnimatePresence, {
|
|
@@ -1,102 +1,101 @@
|
|
|
1
|
-
import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
|
|
2
1
|
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
2
|
import { getSize } from "../../utils/size.js";
|
|
4
3
|
import "../../utils/index.js";
|
|
5
4
|
import { Flex } from "../flex/Flex.js";
|
|
6
5
|
import '../../assets/Layout.style.css';/* empty css */
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} else c = i[1], l = i[2], u = i[3], d = i[4], f = i[5], p = i[6], m = i[7], h = i[8];
|
|
16
|
-
let g;
|
|
17
|
-
i[9] === u ? g = i[10] : (g = getSize(u), i[9] = u, i[10] = g);
|
|
9
|
+
const Layout = (i) => {
|
|
10
|
+
let s = c(56), l, u, d, f, p, m, h, g;
|
|
11
|
+
if (s[0] !== i) {
|
|
12
|
+
let { children: t, topContent: n, bottomContent: r, leftContent: a, rightContent: o, showLayoutSplitter: _, layoutGap: v, ...y } = i;
|
|
13
|
+
u = t, g = n, l = r, f = a, p = o, m = _ === void 0 ? !0 : _, d = v === void 0 ? "xl" : v, h = mergeComponentProps("d-layout", y), s[0] = i, s[1] = l, s[2] = u, s[3] = d, s[4] = f, s[5] = p, s[6] = m, s[7] = h, s[8] = g;
|
|
14
|
+
} else l = s[1], u = s[2], d = s[3], f = s[4], p = s[5], m = s[6], h = s[7], g = s[8];
|
|
18
15
|
let _;
|
|
19
|
-
|
|
20
|
-
flexDirection: "column",
|
|
21
|
-
gap: g
|
|
22
|
-
}, i[11] = g, i[12] = _);
|
|
16
|
+
s[9] === d ? _ = s[10] : (_ = getSize(d), s[9] = d, s[10] = _);
|
|
23
17
|
let v;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
18
|
+
s[11] === _ ? v = s[12] : (v = {
|
|
19
|
+
flexDirection: "column",
|
|
20
|
+
gap: _
|
|
21
|
+
}, s[11] = _, s[12] = v);
|
|
28
22
|
let y;
|
|
29
|
-
|
|
23
|
+
s[13] === g ? y = s[14] : (y = g && /* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: "d-layout__top",
|
|
25
|
+
children: g
|
|
26
|
+
}), s[13] = g, s[14] = y);
|
|
27
|
+
let b;
|
|
28
|
+
s[15] !== m || s[16] !== g ? (b = g && m && /* @__PURE__ */ jsx("div", {
|
|
30
29
|
className: "d-layout__splitter",
|
|
31
30
|
"aria-orientation": "horizontal"
|
|
32
|
-
}),
|
|
33
|
-
let b;
|
|
34
|
-
i[18] === u ? b = i[19] : (b = getSize(u), i[18] = u, i[19] = b);
|
|
31
|
+
}), s[15] = m, s[16] = g, s[17] = b) : b = s[17];
|
|
35
32
|
let x;
|
|
36
|
-
|
|
33
|
+
s[18] === d ? x = s[19] : (x = getSize(d), s[18] = d, s[19] = x);
|
|
37
34
|
let S;
|
|
38
|
-
|
|
39
|
-
className: "d-layout__left",
|
|
40
|
-
children: d
|
|
41
|
-
}), i[22] = d, i[23] = S);
|
|
35
|
+
s[20] === x ? S = s[21] : (S = { gap: x }, s[20] = x, s[21] = S);
|
|
42
36
|
let C;
|
|
43
|
-
|
|
37
|
+
s[22] === f ? C = s[23] : (C = f && /* @__PURE__ */ jsx("div", {
|
|
38
|
+
className: "d-layout__left",
|
|
39
|
+
children: f
|
|
40
|
+
}), s[22] = f, s[23] = C);
|
|
41
|
+
let w;
|
|
42
|
+
s[24] !== f || s[25] !== m ? (w = f && m && /* @__PURE__ */ jsx("div", {
|
|
44
43
|
className: "d-layout__splitter",
|
|
45
44
|
"aria-orientation": "vertical"
|
|
46
|
-
}),
|
|
47
|
-
let w;
|
|
48
|
-
i[27] === l ? w = i[28] : (w = /* @__PURE__ */ jsx("div", {
|
|
49
|
-
className: "d-layout__content",
|
|
50
|
-
children: l
|
|
51
|
-
}), i[27] = l, i[28] = w);
|
|
45
|
+
}), s[24] = f, s[25] = m, s[26] = w) : w = s[26];
|
|
52
46
|
let T;
|
|
53
|
-
|
|
47
|
+
s[27] === u ? T = s[28] : (T = /* @__PURE__ */ jsx("div", {
|
|
48
|
+
className: "d-layout__content",
|
|
49
|
+
children: u
|
|
50
|
+
}), s[27] = u, s[28] = T);
|
|
51
|
+
let E;
|
|
52
|
+
s[29] !== p || s[30] !== m ? (E = p && m && /* @__PURE__ */ jsx("div", {
|
|
54
53
|
className: "d-layout__splitter",
|
|
55
54
|
"aria-orientation": "vertical"
|
|
56
|
-
}),
|
|
57
|
-
let E;
|
|
58
|
-
i[32] === f ? E = i[33] : (E = f && /* @__PURE__ */ jsx("div", {
|
|
59
|
-
className: "d-layout__right",
|
|
60
|
-
children: f
|
|
61
|
-
}), i[32] = f, i[33] = E);
|
|
55
|
+
}), s[29] = p, s[30] = m, s[31] = E) : E = s[31];
|
|
62
56
|
let D;
|
|
63
|
-
|
|
57
|
+
s[32] === p ? D = s[33] : (D = p && /* @__PURE__ */ jsx("div", {
|
|
58
|
+
className: "d-layout__right",
|
|
59
|
+
children: p
|
|
60
|
+
}), s[32] = p, s[33] = D);
|
|
61
|
+
let O;
|
|
62
|
+
s[34] !== E || s[35] !== D || s[36] !== S || s[37] !== C || s[38] !== w || s[39] !== T ? (O = /* @__PURE__ */ jsxs(Flex, {
|
|
64
63
|
className: "d-layout__middle",
|
|
65
|
-
style:
|
|
64
|
+
style: S,
|
|
66
65
|
children: [
|
|
67
|
-
S,
|
|
68
66
|
C,
|
|
69
67
|
w,
|
|
70
68
|
T,
|
|
71
|
-
E
|
|
69
|
+
E,
|
|
70
|
+
D
|
|
72
71
|
]
|
|
73
|
-
}),
|
|
74
|
-
let
|
|
75
|
-
|
|
72
|
+
}), s[34] = E, s[35] = D, s[36] = S, s[37] = C, s[38] = w, s[39] = T, s[40] = O) : O = s[40];
|
|
73
|
+
let k;
|
|
74
|
+
s[41] !== l || s[42] !== m ? (k = l && m && /* @__PURE__ */ jsx("div", {
|
|
76
75
|
className: "d-layout__splitter",
|
|
77
76
|
"aria-orientation": "horizontal"
|
|
78
|
-
}),
|
|
79
|
-
let k;
|
|
80
|
-
i[44] === c ? k = i[45] : (k = c && /* @__PURE__ */ jsx("div", {
|
|
81
|
-
className: "d-layout__bottom",
|
|
82
|
-
children: c
|
|
83
|
-
}), i[44] = c, i[45] = k);
|
|
77
|
+
}), s[41] = l, s[42] = m, s[43] = k) : k = s[43];
|
|
84
78
|
let A;
|
|
85
|
-
|
|
79
|
+
s[44] === l ? A = s[45] : (A = l && /* @__PURE__ */ jsx("div", {
|
|
80
|
+
className: "d-layout__bottom",
|
|
81
|
+
children: l
|
|
82
|
+
}), s[44] = l, s[45] = A);
|
|
83
|
+
let j;
|
|
84
|
+
s[46] !== O || s[47] !== k || s[48] !== A || s[49] !== v || s[50] !== y || s[51] !== b ? (j = /* @__PURE__ */ jsxs(Flex, {
|
|
86
85
|
className: "d-layout__inner",
|
|
87
|
-
style:
|
|
86
|
+
style: v,
|
|
88
87
|
children: [
|
|
89
|
-
v,
|
|
90
88
|
y,
|
|
91
|
-
|
|
89
|
+
b,
|
|
92
90
|
O,
|
|
93
|
-
k
|
|
91
|
+
k,
|
|
92
|
+
A
|
|
94
93
|
]
|
|
95
|
-
}),
|
|
96
|
-
let
|
|
97
|
-
return
|
|
98
|
-
...
|
|
99
|
-
children:
|
|
100
|
-
}),
|
|
94
|
+
}), s[46] = O, s[47] = k, s[48] = A, s[49] = v, s[50] = y, s[51] = b, s[52] = j) : j = s[52];
|
|
95
|
+
let M;
|
|
96
|
+
return s[53] !== h || s[54] !== j ? (M = /* @__PURE__ */ jsx("div", {
|
|
97
|
+
...h,
|
|
98
|
+
children: j
|
|
99
|
+
}), s[53] = h, s[54] = j, s[55] = M) : M = s[55], M;
|
|
101
100
|
};
|
|
102
101
|
export { Layout };
|