@pixpilot/shadcn-ui 0.1.0 → 0.4.1
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/AbsoluteFill.cjs +24 -1
- package/dist/AbsoluteFill.d.ts +2 -2
- package/dist/AbsoluteFill.js +21 -1
- package/dist/Alert.cjs +81 -1
- package/dist/Alert.js +77 -1
- package/dist/Button.cjs +84 -1
- package/dist/Button.js +79 -1
- package/dist/CloseButtonAbsolute.cjs +20 -1
- package/dist/CloseButtonAbsolute.js +16 -1
- package/dist/CloseButtonRounded.cjs +22 -1
- package/dist/CloseButtonRounded.js +17 -1
- package/dist/Combobox.cjs +53 -1
- package/dist/Combobox.js +48 -1
- package/dist/CommandOptionList.cjs +29 -1
- package/dist/CommandOptionList.js +25 -1
- package/dist/ContentCard.cjs +27 -1
- package/dist/ContentCard.js +23 -1
- package/dist/DatePicker.cjs +38 -1
- package/dist/DatePicker.d.ts +2 -2
- package/dist/DatePicker.js +33 -1
- package/dist/LoadingOverlay.cjs +65 -1
- package/dist/LoadingOverlay.js +60 -1
- package/dist/Select.cjs +27 -1
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.ts +2 -2
- package/dist/Select.js +23 -1
- package/dist/Slider.cjs +19 -1
- package/dist/Slider.js +15 -1
- package/dist/ThemeToggle.cjs +98 -1
- package/dist/ThemeToggle.d.cts +2 -2
- package/dist/ThemeToggle.d.ts +2 -2
- package/dist/ThemeToggle.js +94 -1
- package/dist/_virtual/rolldown_runtime.cjs +44 -1
- package/dist/_virtual/rolldown_runtime.js +43 -0
- package/dist/confirmation-dialog/ConfirmationDialog.cjs +47 -1
- package/dist/confirmation-dialog/ConfirmationDialog.d.cts +1 -0
- package/dist/confirmation-dialog/ConfirmationDialog.js +43 -1
- package/dist/confirmation-dialog/DialogProvider.cjs +16 -1
- package/dist/confirmation-dialog/DialogProvider.js +12 -1
- package/dist/confirmation-dialog/confirmation-dialogs.cjs +14 -1
- package/dist/confirmation-dialog/confirmation-dialogs.js +12 -1
- package/dist/confirmation-dialog/index.cjs +7 -1
- package/dist/confirmation-dialog/index.js +6 -1
- package/dist/file-upload/FileUpload.cjs +68 -0
- package/dist/file-upload/FileUpload.d.cts +7 -0
- package/dist/file-upload/FileUpload.d.ts +7 -0
- package/dist/file-upload/FileUpload.js +63 -0
- package/dist/file-upload/FileUploadItems.cjs +36 -0
- package/dist/file-upload/FileUploadItems.js +32 -0
- package/dist/file-upload/FileUploadListItem.cjs +89 -0
- package/dist/file-upload/FileUploadListItem.js +83 -0
- package/dist/file-upload/hooks/index.cjs +4 -0
- package/dist/file-upload/hooks/index.d.cts +2 -0
- package/dist/file-upload/hooks/index.d.ts +2 -0
- package/dist/file-upload/hooks/index.js +3 -0
- package/dist/file-upload/hooks/use-file-error.cjs +15 -0
- package/dist/file-upload/hooks/use-file-error.js +14 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +34 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +1 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.ts +1 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +32 -0
- package/dist/file-upload/hooks/use-file-upload-store.cjs +77 -0
- package/dist/file-upload/hooks/use-file-upload-store.d.cts +2 -0
- package/dist/file-upload/hooks/use-file-upload-store.d.ts +2 -0
- package/dist/file-upload/hooks/use-file-upload-store.js +75 -0
- package/dist/file-upload/index.cjs +6 -0
- package/dist/file-upload/index.d.cts +3 -0
- package/dist/file-upload/index.d.ts +3 -0
- package/dist/file-upload/index.js +5 -0
- package/dist/file-upload/types/index.d.cts +40 -0
- package/dist/file-upload/types/index.d.ts +40 -0
- package/dist/file-upload/utils/create-placeholder-file.cjs +12 -0
- package/dist/file-upload/utils/create-placeholder-file.js +10 -0
- package/dist/file-upload/utils/get-file-key.cjs +9 -0
- package/dist/file-upload/utils/get-file-key.d.cts +1 -0
- package/dist/file-upload/utils/get-file-key.d.ts +1 -0
- package/dist/file-upload/utils/get-file-key.js +7 -0
- package/dist/file-upload/utils/get-file-meta.cjs +24 -0
- package/dist/file-upload/utils/get-file-meta.d.cts +1 -0
- package/dist/file-upload/utils/get-file-meta.d.ts +1 -0
- package/dist/file-upload/utils/get-file-meta.js +21 -0
- package/dist/file-upload/utils/index.d.cts +4 -0
- package/dist/file-upload/utils/index.d.ts +4 -0
- package/dist/file-upload/utils/is-file-equal.cjs +10 -0
- package/dist/file-upload/utils/is-file-equal.d.cts +1 -0
- package/dist/file-upload/utils/is-file-equal.d.ts +1 -0
- package/dist/file-upload/utils/is-file-equal.js +8 -0
- package/dist/file-upload/utils/merge-file-metadata.cjs +27 -0
- package/dist/file-upload/utils/merge-file-metadata.d.cts +1 -0
- package/dist/file-upload/utils/merge-file-metadata.d.ts +1 -0
- package/dist/file-upload/utils/merge-file-metadata.js +26 -0
- package/dist/file-upload-inline/FileUploadInline.cjs +71 -0
- package/dist/file-upload-inline/FileUploadInline.d.cts +10 -0
- package/dist/file-upload-inline/FileUploadInline.d.ts +10 -0
- package/dist/file-upload-inline/FileUploadInline.js +66 -0
- package/dist/file-upload-inline/FileUploadInlineItem.cjs +96 -0
- package/dist/file-upload-inline/FileUploadInlineItem.js +90 -0
- package/dist/file-upload-inline/defaults.cjs +12 -0
- package/dist/file-upload-inline/defaults.js +10 -0
- package/dist/file-upload-inline/index.cjs +2 -0
- package/dist/file-upload-inline/index.d.cts +2 -0
- package/dist/file-upload-inline/index.d.ts +2 -0
- package/dist/file-upload-inline/index.js +1 -0
- package/dist/file-upload-inline/types.d.cts +16 -0
- package/dist/file-upload-inline/types.d.ts +16 -0
- package/dist/file-upload-inline/utils.cjs +37 -0
- package/dist/file-upload-inline/utils.js +34 -0
- package/dist/hooks/index.cjs +2 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-media-query.cjs +9 -1
- package/dist/hooks/use-media-query.js +7 -1
- package/dist/icon-selector/IconPicker.cjs +93 -1
- package/dist/icon-selector/IconPicker.d.cts +3 -2
- package/dist/icon-selector/IconPicker.d.ts +3 -2
- package/dist/icon-selector/IconPicker.js +88 -1
- package/dist/icon-selector/constants.cjs +7 -1
- package/dist/icon-selector/constants.js +5 -0
- package/dist/icon-selector/icon-picker-container.cjs +35 -1
- package/dist/icon-selector/icon-picker-container.js +32 -1
- package/dist/icon-selector/icon-picker-content.cjs +146 -1
- package/dist/icon-selector/icon-picker-content.js +141 -1
- package/dist/icon-selector/index.cjs +2 -1
- package/dist/icon-selector/index.d.cts +1 -2
- package/dist/icon-selector/index.d.ts +1 -2
- package/dist/icon-selector/index.js +1 -1
- package/dist/icon-selector/types.d.cts +4 -2
- package/dist/icon-selector/types.d.ts +4 -2
- package/dist/icon-selector/use-async-providers.cjs +69 -1
- package/dist/icon-selector/use-async-providers.js +67 -1
- package/dist/icon-selector/utils/is-valid-provider.cjs +12 -1
- package/dist/icon-selector/utils/is-valid-provider.js +10 -1
- package/dist/icon-selector/virtualized-icon-grid.cjs +137 -1
- package/dist/icon-selector/virtualized-icon-grid.js +132 -1
- package/dist/index.cjs +76 -1
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +37 -1
- package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.cjs +558 -0
- package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js +555 -0
- package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.cjs +566 -0
- package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.js +565 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +695 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +679 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +521 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +503 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +282 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +266 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.cjs +3767 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js +3747 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +426 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +379 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +165 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +175 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +151 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +138 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +11 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +33 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +92 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.js +88 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.cjs +310 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.js +299 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +190 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +187 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +34 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.js +32 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +203 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.js +200 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +18 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.js +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.cjs +29 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.js +25 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.cjs +110 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.js +108 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.cjs +52 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.js +47 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +92 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +89 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +103 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +100 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +15 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +64 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +62 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +9 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +108 -0
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +155 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +19 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +14 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +9 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +22 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js +46 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +12 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +37 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/component.cjs +61 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/constants.cjs +23 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/index.cjs +57 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/utils.cjs +49 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +17 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +163 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +64 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +85 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +7 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +9 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/Combination.cjs +29 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/SideEffect.cjs +179 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/UI.cjs +79 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.cjs +27 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/handleScroll.cjs +98 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/index.cjs +19 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/medium.cjs +18 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/sidecar.cjs +21 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js +21 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.js +27 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.js +43 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/component.cjs +33 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/hook.cjs +40 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/index.cjs +39 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/singleton.cjs +55 -0
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +347 -0
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +268 -0
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1895 -0
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1893 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +557 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +31 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js +22 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +47 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/assignRef.cjs +34 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/createRef.cjs +39 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/index.cjs +85 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/mergeRef.cjs +40 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/refToCallback.cjs +59 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/transformRef.cjs +34 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useMergeRef.cjs +61 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useRef.cjs +53 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useTransformRef.cjs +38 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.js +84 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/config.cjs +22 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/env.cjs +21 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/exports.cjs +31 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hoc.cjs +31 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hook.cjs +60 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/index.cjs +69 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/medium.cjs +101 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/renderProp.cjs +58 -0
- package/dist/packages/shadcn/src/components/index.cjs +6 -0
- package/dist/packages/shadcn/src/components/index.js +5 -0
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +6 -0
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +3 -0
- package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/alert-dialog.js +6 -0
- package/dist/packages/shadcn/src/components/ui/alert.cjs +44 -0
- package/dist/packages/shadcn/src/components/ui/alert.js +38 -0
- package/dist/packages/shadcn/src/components/ui/avatar.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/avatar.js +2 -0
- package/dist/packages/shadcn/src/components/ui/badge.cjs +20 -0
- package/dist/packages/shadcn/src/components/ui/badge.js +16 -0
- package/dist/packages/shadcn/src/components/ui/button.cjs +50 -0
- package/dist/packages/shadcn/src/components/ui/button.js +45 -0
- package/dist/packages/shadcn/src/components/ui/calendar.cjs +8 -0
- package/dist/packages/shadcn/src/components/ui/calendar.js +4 -0
- package/dist/packages/shadcn/src/components/ui/card.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/card.js +2 -0
- package/dist/packages/shadcn/src/components/ui/checkbox.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/checkbox.js +6 -0
- package/dist/packages/shadcn/src/components/ui/command.cjs +11 -0
- package/dist/packages/shadcn/src/components/ui/command.js +7 -0
- package/dist/packages/shadcn/src/components/ui/dialog.cjs +93 -0
- package/dist/packages/shadcn/src/components/ui/dialog.js +81 -0
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +3 -0
- package/dist/packages/shadcn/src/components/ui/file-upload.cjs +49 -0
- package/dist/packages/shadcn/src/components/ui/file-upload.js +45 -0
- package/dist/packages/shadcn/src/components/ui/form.cjs +12 -0
- package/dist/packages/shadcn/src/components/ui/form.js +9 -0
- package/dist/packages/shadcn/src/components/ui/index.cjs +30 -0
- package/dist/packages/shadcn/src/components/ui/index.js +29 -0
- package/dist/packages/shadcn/src/components/ui/input.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/input.js +2 -0
- package/dist/packages/shadcn/src/components/ui/label.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/label.js +2 -0
- package/dist/packages/shadcn/src/components/ui/pagination.cjs +9 -0
- package/dist/packages/shadcn/src/components/ui/pagination.js +4 -0
- package/dist/packages/shadcn/src/components/ui/popover.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/popover.js +2 -0
- package/dist/packages/shadcn/src/components/ui/radio-group.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/radio-group.js +3 -0
- package/dist/packages/shadcn/src/components/ui/select.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/select.js +6 -0
- package/dist/packages/shadcn/src/components/ui/separator.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/separator.js +2 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +26 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +22 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +6 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +3 -0
- package/dist/packages/shadcn/src/components/ui/sheet.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/sheet.js +3 -0
- package/dist/packages/shadcn/src/components/ui/slider.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/slider.js +2 -0
- package/dist/packages/shadcn/src/components/ui/switch.cjs +8 -0
- package/dist/packages/shadcn/src/components/ui/switch.js +5 -0
- package/dist/packages/shadcn/src/components/ui/tabs.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/tabs.js +2 -0
- package/dist/packages/shadcn/src/components/ui/textarea.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/textarea.js +2 -0
- package/dist/packages/shadcn/src/components/ui/tooltip.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/tooltip.js +2 -0
- package/dist/packages/shadcn/src/lib/utils.cjs +11 -0
- package/dist/packages/shadcn/src/lib/utils.js +10 -0
- package/dist/pagination/Pagination.cjs +156 -0
- package/dist/{Pagination → pagination}/Pagination.d.cts +1 -1
- package/dist/{Pagination → pagination}/Pagination.d.ts +1 -1
- package/dist/pagination/Pagination.js +151 -0
- package/dist/pagination/index.cjs +2 -0
- package/dist/pagination/index.js +1 -0
- package/dist/rich-text-editor/RichTextEditor.cjs +132 -0
- package/dist/rich-text-editor/RichTextEditor.d.cts +55 -0
- package/dist/rich-text-editor/RichTextEditor.d.ts +55 -0
- package/dist/rich-text-editor/RichTextEditor.js +126 -0
- package/dist/rich-text-editor/index.cjs +2 -0
- package/dist/rich-text-editor/index.d.cts +1 -0
- package/dist/rich-text-editor/index.d.ts +1 -0
- package/dist/rich-text-editor/index.js +1 -0
- package/dist/rich-text-editor/predefined-toolbar-options.cjs +84 -0
- package/dist/rich-text-editor/predefined-toolbar-options.js +81 -0
- package/dist/spinner/index.cjs +2 -1
- package/dist/spinner/index.js +1 -1
- package/dist/spinner/spinner.cjs +73 -6
- package/dist/spinner/spinner.js +70 -6
- package/dist/spinner/styles.cjs +25 -12
- package/dist/spinner/styles.js +23 -12
- package/dist/tags-input.cjs +226 -1
- package/dist/tags-input.d.cts +2 -2
- package/dist/tags-input.d.ts +2 -2
- package/dist/tags-input.js +222 -1
- package/dist/theme-provider/ThemeProvider.cjs +27 -1
- package/dist/theme-provider/ThemeProvider.js +23 -1
- package/dist/theme-provider/index.cjs +4 -1
- package/dist/theme-provider/index.js +4 -1
- package/dist/toast/AlertToast.cjs +36 -1
- package/dist/toast/AlertToast.js +31 -1
- package/dist/toast/index.cjs +2 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast/toast.cjs +75 -1
- package/dist/toast/toast.js +66 -1
- package/package.json +11 -4
- package/dist/FileUploadInline.cjs +0 -1
- package/dist/FileUploadInline.d.cts +0 -75
- package/dist/FileUploadInline.d.ts +0 -75
- package/dist/FileUploadInline.js +0 -1
- package/dist/Pagination/Pagination.cjs +0 -1
- package/dist/Pagination/Pagination.js +0 -1
- package/dist/Pagination/index.cjs +0 -1
- package/dist/Pagination/index.js +0 -1
- package/dist/PopoverContent.cjs +0 -1
- package/dist/PopoverContent.d.cts +0 -8
- package/dist/PopoverContent.d.ts +0 -8
- package/dist/PopoverContent.js +0 -1
- package/dist/icon-selector/use-async-providers.d.cts +0 -14
- package/dist/icon-selector/use-async-providers.d.ts +0 -14
- package/dist/shadcn/src/components/ui/alert.cjs +0 -1
- package/dist/shadcn/src/components/ui/alert.js +0 -1
- package/dist/shadcn/src/components/ui/dialog.cjs +0 -1
- package/dist/shadcn/src/components/ui/dialog.js +0 -1
- package/dist/shadcn/src/lib/index.cjs +0 -1
- package/dist/shadcn/src/lib/index.js +0 -1
- package/dist/shadcn/src/lib/utils.cjs +0 -1
- package/dist/shadcn/src/lib/utils.js +0 -1
- /package/dist/{Pagination → pagination}/index.d.cts +0 -0
- /package/dist/{Pagination → pagination}/index.d.ts +0 -0
|
@@ -0,0 +1,557 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
4
|
+
var tslib_es6_exports = /* @__PURE__ */ require_rolldown_runtime.__export({
|
|
5
|
+
__addDisposableResource: () => __addDisposableResource,
|
|
6
|
+
__assign: () => __assign,
|
|
7
|
+
__asyncDelegator: () => __asyncDelegator,
|
|
8
|
+
__asyncGenerator: () => __asyncGenerator,
|
|
9
|
+
__asyncValues: () => __asyncValues,
|
|
10
|
+
__await: () => __await,
|
|
11
|
+
__awaiter: () => __awaiter,
|
|
12
|
+
__classPrivateFieldGet: () => __classPrivateFieldGet,
|
|
13
|
+
__classPrivateFieldIn: () => __classPrivateFieldIn,
|
|
14
|
+
__classPrivateFieldSet: () => __classPrivateFieldSet,
|
|
15
|
+
__createBinding: () => __createBinding,
|
|
16
|
+
__decorate: () => __decorate,
|
|
17
|
+
__disposeResources: () => __disposeResources,
|
|
18
|
+
__esDecorate: () => __esDecorate,
|
|
19
|
+
__exportStar: () => __exportStar,
|
|
20
|
+
__extends: () => __extends,
|
|
21
|
+
__generator: () => __generator,
|
|
22
|
+
__importDefault: () => __importDefault,
|
|
23
|
+
__importStar: () => __importStar,
|
|
24
|
+
__makeTemplateObject: () => __makeTemplateObject,
|
|
25
|
+
__metadata: () => __metadata,
|
|
26
|
+
__param: () => __param,
|
|
27
|
+
__propKey: () => __propKey,
|
|
28
|
+
__read: () => __read,
|
|
29
|
+
__rest: () => __rest,
|
|
30
|
+
__rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
|
|
31
|
+
__runInitializers: () => __runInitializers,
|
|
32
|
+
__setFunctionName: () => __setFunctionName,
|
|
33
|
+
__spread: () => __spread,
|
|
34
|
+
__spreadArray: () => __spreadArray,
|
|
35
|
+
__spreadArrays: () => __spreadArrays,
|
|
36
|
+
__values: () => __values,
|
|
37
|
+
default: () => tslib_es6_default
|
|
38
|
+
});
|
|
39
|
+
function __extends(d, b) {
|
|
40
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
41
|
+
extendStatics(d, b);
|
|
42
|
+
function __() {
|
|
43
|
+
this.constructor = d;
|
|
44
|
+
}
|
|
45
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
46
|
+
}
|
|
47
|
+
function __rest(s, e) {
|
|
48
|
+
var t = {};
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
50
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
51
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
52
|
+
}
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
function __decorate(decorators, target, key, desc) {
|
|
56
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
57
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
58
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
59
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
60
|
+
}
|
|
61
|
+
function __param(paramIndex, decorator) {
|
|
62
|
+
return function(target, key) {
|
|
63
|
+
decorator(target, key, paramIndex);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
67
|
+
function accept(f) {
|
|
68
|
+
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
|
|
69
|
+
return f;
|
|
70
|
+
}
|
|
71
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
72
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
73
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
74
|
+
var _, done = false;
|
|
75
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
76
|
+
var context = {};
|
|
77
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
78
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
79
|
+
context.addInitializer = function(f) {
|
|
80
|
+
if (done) throw new TypeError("Cannot add initializers after decoration has completed");
|
|
81
|
+
extraInitializers.push(accept(f || null));
|
|
82
|
+
};
|
|
83
|
+
var result = (0, decorators[i])(kind === "accessor" ? {
|
|
84
|
+
get: descriptor.get,
|
|
85
|
+
set: descriptor.set
|
|
86
|
+
} : descriptor[key], context);
|
|
87
|
+
if (kind === "accessor") {
|
|
88
|
+
if (result === void 0) continue;
|
|
89
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
90
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
91
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
92
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
93
|
+
} else if (_ = accept(result)) if (kind === "field") initializers.unshift(_);
|
|
94
|
+
else descriptor[key] = _;
|
|
95
|
+
}
|
|
96
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
97
|
+
done = true;
|
|
98
|
+
}
|
|
99
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
100
|
+
var useValue = arguments.length > 2;
|
|
101
|
+
for (var i = 0; i < initializers.length; i++) value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
102
|
+
return useValue ? value : void 0;
|
|
103
|
+
}
|
|
104
|
+
function __propKey(x) {
|
|
105
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
106
|
+
}
|
|
107
|
+
function __setFunctionName(f, name, prefix) {
|
|
108
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
109
|
+
return Object.defineProperty(f, "name", {
|
|
110
|
+
configurable: true,
|
|
111
|
+
value: prefix ? "".concat(prefix, " ", name) : name
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
function __metadata(metadataKey, metadataValue) {
|
|
115
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
116
|
+
}
|
|
117
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
118
|
+
function adopt(value) {
|
|
119
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
120
|
+
resolve(value);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
124
|
+
function fulfilled(value) {
|
|
125
|
+
try {
|
|
126
|
+
step(generator.next(value));
|
|
127
|
+
} catch (e) {
|
|
128
|
+
reject(e);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function rejected(value) {
|
|
132
|
+
try {
|
|
133
|
+
step(generator["throw"](value));
|
|
134
|
+
} catch (e) {
|
|
135
|
+
reject(e);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function step(result) {
|
|
139
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
140
|
+
}
|
|
141
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function __generator(thisArg, body) {
|
|
145
|
+
var _ = {
|
|
146
|
+
label: 0,
|
|
147
|
+
sent: function() {
|
|
148
|
+
if (t[0] & 1) throw t[1];
|
|
149
|
+
return t[1];
|
|
150
|
+
},
|
|
151
|
+
trys: [],
|
|
152
|
+
ops: []
|
|
153
|
+
}, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
154
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
155
|
+
return this;
|
|
156
|
+
}), g;
|
|
157
|
+
function verb(n) {
|
|
158
|
+
return function(v) {
|
|
159
|
+
return step([n, v]);
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
function step(op) {
|
|
163
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
164
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
165
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
166
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
167
|
+
switch (op[0]) {
|
|
168
|
+
case 0:
|
|
169
|
+
case 1:
|
|
170
|
+
t = op;
|
|
171
|
+
break;
|
|
172
|
+
case 4:
|
|
173
|
+
_.label++;
|
|
174
|
+
return {
|
|
175
|
+
value: op[1],
|
|
176
|
+
done: false
|
|
177
|
+
};
|
|
178
|
+
case 5:
|
|
179
|
+
_.label++;
|
|
180
|
+
y = op[1];
|
|
181
|
+
op = [0];
|
|
182
|
+
continue;
|
|
183
|
+
case 7:
|
|
184
|
+
op = _.ops.pop();
|
|
185
|
+
_.trys.pop();
|
|
186
|
+
continue;
|
|
187
|
+
default:
|
|
188
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
189
|
+
_ = 0;
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
193
|
+
_.label = op[1];
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
197
|
+
_.label = t[1];
|
|
198
|
+
t = op;
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
if (t && _.label < t[2]) {
|
|
202
|
+
_.label = t[2];
|
|
203
|
+
_.ops.push(op);
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
if (t[2]) _.ops.pop();
|
|
207
|
+
_.trys.pop();
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
op = body.call(thisArg, _);
|
|
211
|
+
} catch (e) {
|
|
212
|
+
op = [6, e];
|
|
213
|
+
y = 0;
|
|
214
|
+
} finally {
|
|
215
|
+
f = t = 0;
|
|
216
|
+
}
|
|
217
|
+
if (op[0] & 5) throw op[1];
|
|
218
|
+
return {
|
|
219
|
+
value: op[0] ? op[1] : void 0,
|
|
220
|
+
done: true
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
function __exportStar(m, o) {
|
|
225
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
226
|
+
}
|
|
227
|
+
function __values(o) {
|
|
228
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
229
|
+
if (m) return m.call(o);
|
|
230
|
+
if (o && typeof o.length === "number") return { next: function() {
|
|
231
|
+
if (o && i >= o.length) o = void 0;
|
|
232
|
+
return {
|
|
233
|
+
value: o && o[i++],
|
|
234
|
+
done: !o
|
|
235
|
+
};
|
|
236
|
+
} };
|
|
237
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
238
|
+
}
|
|
239
|
+
function __read(o, n) {
|
|
240
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
241
|
+
if (!m) return o;
|
|
242
|
+
var i = m.call(o), r, ar = [], e;
|
|
243
|
+
try {
|
|
244
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
245
|
+
} catch (error) {
|
|
246
|
+
e = { error };
|
|
247
|
+
} finally {
|
|
248
|
+
try {
|
|
249
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
250
|
+
} finally {
|
|
251
|
+
if (e) throw e.error;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return ar;
|
|
255
|
+
}
|
|
256
|
+
/** @deprecated */
|
|
257
|
+
function __spread() {
|
|
258
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
259
|
+
return ar;
|
|
260
|
+
}
|
|
261
|
+
/** @deprecated */
|
|
262
|
+
function __spreadArrays() {
|
|
263
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
264
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];
|
|
265
|
+
return r;
|
|
266
|
+
}
|
|
267
|
+
function __spreadArray(to, from, pack) {
|
|
268
|
+
if (pack || arguments.length === 2) {
|
|
269
|
+
for (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {
|
|
270
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
271
|
+
ar[i] = from[i];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
275
|
+
}
|
|
276
|
+
function __await(v) {
|
|
277
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
278
|
+
}
|
|
279
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
280
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
281
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
282
|
+
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
|
|
283
|
+
return this;
|
|
284
|
+
}, i;
|
|
285
|
+
function awaitReturn(f) {
|
|
286
|
+
return function(v) {
|
|
287
|
+
return Promise.resolve(v).then(f, reject);
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
function verb(n, f) {
|
|
291
|
+
if (g[n]) {
|
|
292
|
+
i[n] = function(v) {
|
|
293
|
+
return new Promise(function(a, b) {
|
|
294
|
+
q.push([
|
|
295
|
+
n,
|
|
296
|
+
v,
|
|
297
|
+
a,
|
|
298
|
+
b
|
|
299
|
+
]) > 1 || resume(n, v);
|
|
300
|
+
});
|
|
301
|
+
};
|
|
302
|
+
if (f) i[n] = f(i[n]);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
function resume(n, v) {
|
|
306
|
+
try {
|
|
307
|
+
step(g[n](v));
|
|
308
|
+
} catch (e) {
|
|
309
|
+
settle(q[0][3], e);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
function step(r) {
|
|
313
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
314
|
+
}
|
|
315
|
+
function fulfill(value) {
|
|
316
|
+
resume("next", value);
|
|
317
|
+
}
|
|
318
|
+
function reject(value) {
|
|
319
|
+
resume("throw", value);
|
|
320
|
+
}
|
|
321
|
+
function settle(f, v) {
|
|
322
|
+
if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
function __asyncDelegator(o) {
|
|
326
|
+
var i, p;
|
|
327
|
+
return i = {}, verb("next"), verb("throw", function(e) {
|
|
328
|
+
throw e;
|
|
329
|
+
}), verb("return"), i[Symbol.iterator] = function() {
|
|
330
|
+
return this;
|
|
331
|
+
}, i;
|
|
332
|
+
function verb(n, f) {
|
|
333
|
+
i[n] = o[n] ? function(v) {
|
|
334
|
+
return (p = !p) ? {
|
|
335
|
+
value: __await(o[n](v)),
|
|
336
|
+
done: false
|
|
337
|
+
} : f ? f(v) : v;
|
|
338
|
+
} : f;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
function __asyncValues(o) {
|
|
342
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
343
|
+
var m = o[Symbol.asyncIterator], i;
|
|
344
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
345
|
+
return this;
|
|
346
|
+
}, i);
|
|
347
|
+
function verb(n) {
|
|
348
|
+
i[n] = o[n] && function(v) {
|
|
349
|
+
return new Promise(function(resolve, reject) {
|
|
350
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
351
|
+
});
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
function settle(resolve, reject, d, v) {
|
|
355
|
+
Promise.resolve(v).then(function(v$1) {
|
|
356
|
+
resolve({
|
|
357
|
+
value: v$1,
|
|
358
|
+
done: d
|
|
359
|
+
});
|
|
360
|
+
}, reject);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function __makeTemplateObject(cooked, raw) {
|
|
364
|
+
if (Object.defineProperty) Object.defineProperty(cooked, "raw", { value: raw });
|
|
365
|
+
else cooked.raw = raw;
|
|
366
|
+
return cooked;
|
|
367
|
+
}
|
|
368
|
+
function __importStar(mod) {
|
|
369
|
+
if (mod && mod.__esModule) return mod;
|
|
370
|
+
var result = {};
|
|
371
|
+
if (mod != null) {
|
|
372
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
373
|
+
}
|
|
374
|
+
__setModuleDefault(result, mod);
|
|
375
|
+
return result;
|
|
376
|
+
}
|
|
377
|
+
function __importDefault(mod) {
|
|
378
|
+
return mod && mod.__esModule ? mod : { default: mod };
|
|
379
|
+
}
|
|
380
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
381
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
382
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
383
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
384
|
+
}
|
|
385
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
386
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
387
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
388
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
389
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
390
|
+
}
|
|
391
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
392
|
+
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
|
|
393
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
394
|
+
}
|
|
395
|
+
function __addDisposableResource(env, value, async) {
|
|
396
|
+
if (value !== null && value !== void 0) {
|
|
397
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
398
|
+
var dispose, inner;
|
|
399
|
+
if (async) {
|
|
400
|
+
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
401
|
+
dispose = value[Symbol.asyncDispose];
|
|
402
|
+
}
|
|
403
|
+
if (dispose === void 0) {
|
|
404
|
+
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
405
|
+
dispose = value[Symbol.dispose];
|
|
406
|
+
if (async) inner = dispose;
|
|
407
|
+
}
|
|
408
|
+
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
|
409
|
+
if (inner) dispose = function() {
|
|
410
|
+
try {
|
|
411
|
+
inner.call(this);
|
|
412
|
+
} catch (e) {
|
|
413
|
+
return Promise.reject(e);
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
env.stack.push({
|
|
417
|
+
value,
|
|
418
|
+
dispose,
|
|
419
|
+
async
|
|
420
|
+
});
|
|
421
|
+
} else if (async) env.stack.push({ async: true });
|
|
422
|
+
return value;
|
|
423
|
+
}
|
|
424
|
+
function __disposeResources(env) {
|
|
425
|
+
function fail(e) {
|
|
426
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
427
|
+
env.hasError = true;
|
|
428
|
+
}
|
|
429
|
+
var r, s = 0;
|
|
430
|
+
function next() {
|
|
431
|
+
while (r = env.stack.pop()) try {
|
|
432
|
+
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
|
|
433
|
+
if (r.dispose) {
|
|
434
|
+
var result = r.dispose.call(r.value);
|
|
435
|
+
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) {
|
|
436
|
+
fail(e);
|
|
437
|
+
return next();
|
|
438
|
+
});
|
|
439
|
+
} else s |= 1;
|
|
440
|
+
} catch (e) {
|
|
441
|
+
fail(e);
|
|
442
|
+
}
|
|
443
|
+
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
|
|
444
|
+
if (env.hasError) throw env.error;
|
|
445
|
+
}
|
|
446
|
+
return next();
|
|
447
|
+
}
|
|
448
|
+
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
449
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
|
|
450
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
|
|
451
|
+
});
|
|
452
|
+
return path;
|
|
453
|
+
}
|
|
454
|
+
var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
|
|
455
|
+
var init_tslib_es6 = require_rolldown_runtime.__esm({ "../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs": (() => {
|
|
456
|
+
extendStatics = function(d, b) {
|
|
457
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d$1, b$1) {
|
|
458
|
+
d$1.__proto__ = b$1;
|
|
459
|
+
} || function(d$1, b$1) {
|
|
460
|
+
for (var p in b$1) if (Object.prototype.hasOwnProperty.call(b$1, p)) d$1[p] = b$1[p];
|
|
461
|
+
};
|
|
462
|
+
return extendStatics(d, b);
|
|
463
|
+
};
|
|
464
|
+
__assign = function() {
|
|
465
|
+
__assign = Object.assign || function __assign$1(t) {
|
|
466
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
467
|
+
s = arguments[i];
|
|
468
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
469
|
+
}
|
|
470
|
+
return t;
|
|
471
|
+
};
|
|
472
|
+
return __assign.apply(this, arguments);
|
|
473
|
+
};
|
|
474
|
+
__createBinding = Object.create ? (function(o, m, k, k2) {
|
|
475
|
+
if (k2 === void 0) k2 = k;
|
|
476
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
477
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
|
|
478
|
+
enumerable: true,
|
|
479
|
+
get: function() {
|
|
480
|
+
return m[k];
|
|
481
|
+
}
|
|
482
|
+
};
|
|
483
|
+
Object.defineProperty(o, k2, desc);
|
|
484
|
+
}) : (function(o, m, k, k2) {
|
|
485
|
+
if (k2 === void 0) k2 = k;
|
|
486
|
+
o[k2] = m[k];
|
|
487
|
+
});
|
|
488
|
+
__setModuleDefault = Object.create ? (function(o, v) {
|
|
489
|
+
Object.defineProperty(o, "default", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
value: v
|
|
492
|
+
});
|
|
493
|
+
}) : function(o, v) {
|
|
494
|
+
o["default"] = v;
|
|
495
|
+
};
|
|
496
|
+
ownKeys = function(o) {
|
|
497
|
+
ownKeys = Object.getOwnPropertyNames || function(o$1) {
|
|
498
|
+
var ar = [];
|
|
499
|
+
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
|
|
500
|
+
return ar;
|
|
501
|
+
};
|
|
502
|
+
return ownKeys(o);
|
|
503
|
+
};
|
|
504
|
+
_SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
505
|
+
var e = new Error(message);
|
|
506
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
507
|
+
};
|
|
508
|
+
tslib_es6_default = {
|
|
509
|
+
__extends,
|
|
510
|
+
__assign,
|
|
511
|
+
__rest,
|
|
512
|
+
__decorate,
|
|
513
|
+
__param,
|
|
514
|
+
__esDecorate,
|
|
515
|
+
__runInitializers,
|
|
516
|
+
__propKey,
|
|
517
|
+
__setFunctionName,
|
|
518
|
+
__metadata,
|
|
519
|
+
__awaiter,
|
|
520
|
+
__generator,
|
|
521
|
+
__createBinding,
|
|
522
|
+
__exportStar,
|
|
523
|
+
__values,
|
|
524
|
+
__read,
|
|
525
|
+
__spread,
|
|
526
|
+
__spreadArrays,
|
|
527
|
+
__spreadArray,
|
|
528
|
+
__await,
|
|
529
|
+
__asyncGenerator,
|
|
530
|
+
__asyncDelegator,
|
|
531
|
+
__asyncValues,
|
|
532
|
+
__makeTemplateObject,
|
|
533
|
+
__importStar,
|
|
534
|
+
__importDefault,
|
|
535
|
+
__classPrivateFieldGet,
|
|
536
|
+
__classPrivateFieldSet,
|
|
537
|
+
__classPrivateFieldIn,
|
|
538
|
+
__addDisposableResource,
|
|
539
|
+
__disposeResources,
|
|
540
|
+
__rewriteRelativeImportExtension
|
|
541
|
+
};
|
|
542
|
+
}) });
|
|
543
|
+
|
|
544
|
+
//#endregion
|
|
545
|
+
init_tslib_es6();
|
|
546
|
+
Object.defineProperty(exports, 'init_tslib_es6', {
|
|
547
|
+
enumerable: true,
|
|
548
|
+
get: function () {
|
|
549
|
+
return init_tslib_es6;
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
Object.defineProperty(exports, 'tslib_es6_exports', {
|
|
553
|
+
enumerable: true,
|
|
554
|
+
get: function () {
|
|
555
|
+
return tslib_es6_exports;
|
|
556
|
+
}
|
|
557
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
2
|
+
var __assign = function() {
|
|
3
|
+
__assign = Object.assign || function __assign$1(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
function __rest(s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
17
|
+
}
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
20
|
+
function __spreadArray(to, from, pack) {
|
|
21
|
+
if (pack || arguments.length === 2) {
|
|
22
|
+
for (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {
|
|
23
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
24
|
+
ar[i] = from[i];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { __assign, __rest, __spreadArray };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
2
|
+
/**
|
|
3
|
+
* Assigns a value for a given ref, no matter of the ref format
|
|
4
|
+
* @param {RefObject} ref - a callback function or ref object
|
|
5
|
+
* @param value - a new value
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/theKashey/use-callback-ref#assignref
|
|
8
|
+
* @example
|
|
9
|
+
* const refObject = useRef();
|
|
10
|
+
* const refFn = (ref) => {....}
|
|
11
|
+
*
|
|
12
|
+
* assignRef(refObject, "refValue");
|
|
13
|
+
* assignRef(refFn, "refValue");
|
|
14
|
+
*/
|
|
15
|
+
function assignRef(ref, value) {
|
|
16
|
+
if (typeof ref === "function") ref(value);
|
|
17
|
+
else if (ref) ref.current = value;
|
|
18
|
+
return ref;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { assignRef };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { assignRef } from "./assignRef.js";
|
|
2
|
+
import { useCallbackRef } from "./useRef.js";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
6
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React$1.useLayoutEffect : React$1.useEffect;
|
|
7
|
+
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
8
|
+
/**
|
|
9
|
+
* Merges two or more refs together providing a single interface to set their value
|
|
10
|
+
* @param {RefObject|Ref} refs
|
|
11
|
+
* @returns {MutableRefObject} - a new ref, which translates all changes to {refs}
|
|
12
|
+
*
|
|
13
|
+
* @see {@link mergeRefs} a version without buit-in memoization
|
|
14
|
+
* @see https://github.com/theKashey/use-callback-ref#usemergerefs
|
|
15
|
+
* @example
|
|
16
|
+
* const Component = React.forwardRef((props, ref) => {
|
|
17
|
+
* const ownRef = useRef();
|
|
18
|
+
* const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together
|
|
19
|
+
* return <div ref={domRef}>...</div>
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
function useMergeRefs(refs, defaultValue) {
|
|
23
|
+
var callbackRef = useCallbackRef(defaultValue || null, function(newValue) {
|
|
24
|
+
return refs.forEach(function(ref) {
|
|
25
|
+
return assignRef(ref, newValue);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
useIsomorphicLayoutEffect(function() {
|
|
29
|
+
var oldValue = currentValues.get(callbackRef);
|
|
30
|
+
if (oldValue) {
|
|
31
|
+
var prevRefs_1 = new Set(oldValue);
|
|
32
|
+
var nextRefs_1 = new Set(refs);
|
|
33
|
+
var current_1 = callbackRef.current;
|
|
34
|
+
prevRefs_1.forEach(function(ref) {
|
|
35
|
+
if (!nextRefs_1.has(ref)) assignRef(ref, null);
|
|
36
|
+
});
|
|
37
|
+
nextRefs_1.forEach(function(ref) {
|
|
38
|
+
if (!prevRefs_1.has(ref)) assignRef(ref, current_1);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
currentValues.set(callbackRef, refs);
|
|
42
|
+
}, [refs]);
|
|
43
|
+
return callbackRef;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { useMergeRefs };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
4
|
+
/**
|
|
5
|
+
* creates a MutableRef with ref change callback
|
|
6
|
+
* @param initialValue - initial ref value
|
|
7
|
+
* @param {Function} callback - a callback to run when value changes
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);
|
|
11
|
+
* ref.current = 1;
|
|
12
|
+
* // prints 0 -> 1
|
|
13
|
+
*
|
|
14
|
+
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
|
15
|
+
* @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref
|
|
16
|
+
* @returns {MutableRefObject}
|
|
17
|
+
*/
|
|
18
|
+
function useCallbackRef(initialValue, callback) {
|
|
19
|
+
var ref = useState(function() {
|
|
20
|
+
return {
|
|
21
|
+
value: initialValue,
|
|
22
|
+
callback,
|
|
23
|
+
facade: {
|
|
24
|
+
get current() {
|
|
25
|
+
return ref.value;
|
|
26
|
+
},
|
|
27
|
+
set current(value) {
|
|
28
|
+
var last = ref.value;
|
|
29
|
+
if (last !== value) {
|
|
30
|
+
ref.value = value;
|
|
31
|
+
ref.callback(value, last);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
})[0];
|
|
37
|
+
ref.callback = callback;
|
|
38
|
+
return ref.facade;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { useCallbackRef };
|