@ikas/core 1.0.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/components/color-picker/color-picker.stories.d.ts +10 -0
- package/dist/components/color-picker/color-picker.stories.d.ts.map +1 -0
- package/dist/components/color-picker/index.d.ts +13 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/copy-to-clipboard-button/index.d.ts +49 -0
- package/dist/components/copy-to-clipboard-button/index.d.ts.map +1 -0
- package/dist/components/custom-select/custom-select.stories.d.ts +17 -0
- package/dist/components/custom-select/custom-select.stories.d.ts.map +1 -0
- package/dist/components/custom-select/index.d.ts +55 -0
- package/dist/components/custom-select/index.d.ts.map +1 -0
- package/dist/components/datatable/cell/swatch.d.ts +14 -0
- package/dist/components/datatable/cell/swatch.d.ts.map +1 -0
- package/dist/components/datatable/cell.d.ts +22 -0
- package/dist/components/datatable/cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/checkbox-cell.d.ts +13 -0
- package/dist/components/datatable/cells/checkbox-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/header-cell.d.ts +11 -0
- package/dist/components/datatable/cells/header-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/image-select-cell.d.ts +11 -0
- package/dist/components/datatable/cells/image-select-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/number-cell.d.ts +11 -0
- package/dist/components/datatable/cells/number-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/price-cell.d.ts +10 -0
- package/dist/components/datatable/cells/price-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/product-cell.d.ts +13 -0
- package/dist/components/datatable/cells/product-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/select-cell.d.ts +11 -0
- package/dist/components/datatable/cells/select-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/summary-cell.d.ts +9 -0
- package/dist/components/datatable/cells/summary-cell.d.ts.map +1 -0
- package/dist/components/datatable/cells/text-cell.d.ts +11 -0
- package/dist/components/datatable/cells/text-cell.d.ts.map +1 -0
- package/dist/components/datatable/datatable.stories.d.ts +74 -0
- package/dist/components/datatable/datatable.stories.d.ts.map +1 -0
- package/dist/components/datatable/filter-search.d.ts +12 -0
- package/dist/components/datatable/filter-search.d.ts.map +1 -0
- package/dist/components/datatable/full-width-wrapper.d.ts +10 -0
- package/dist/components/datatable/full-width-wrapper.d.ts.map +1 -0
- package/dist/components/datatable/index.d.ts +20 -0
- package/dist/components/datatable/index.d.ts.map +1 -0
- package/dist/components/datatable/model.d.ts +202 -0
- package/dist/components/datatable/model.d.ts.map +1 -0
- package/dist/components/datatable/paginator.d.ts +8 -0
- package/dist/components/datatable/paginator.d.ts.map +1 -0
- package/dist/components/datatable/row.d.ts +12 -0
- package/dist/components/datatable/row.d.ts.map +1 -0
- package/dist/components/datatable/sticky-container.d.ts +8 -0
- package/dist/components/datatable/sticky-container.d.ts.map +1 -0
- package/dist/components/datatable/types.d.ts +272 -0
- package/dist/components/datatable/types.d.ts.map +1 -0
- package/dist/components/docs-drawer/docs-drawer.stories.d.ts +9 -0
- package/dist/components/docs-drawer/docs-drawer.stories.d.ts.map +1 -0
- package/dist/components/docs-drawer/index.d.ts +17 -0
- package/dist/components/docs-drawer/index.d.ts.map +1 -0
- package/dist/components/docs-help-trigger/index.d.ts +11 -0
- package/dist/components/docs-help-trigger/index.d.ts.map +1 -0
- package/dist/components/drawer/drawer.stories.d.ts +11 -0
- package/dist/components/drawer/drawer.stories.d.ts.map +1 -0
- package/dist/components/drawer/index.d.ts +41 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/drawer-full-screen/index.d.ts +22 -0
- package/dist/components/drawer-full-screen/index.d.ts.map +1 -0
- package/dist/components/drawer-image/constants.d.ts +11 -0
- package/dist/components/drawer-image/constants.d.ts.map +1 -0
- package/dist/components/drawer-image/drawer-image.stories.d.ts +15 -0
- package/dist/components/drawer-image/drawer-image.stories.d.ts.map +1 -0
- package/dist/components/drawer-image/index.d.ts +4 -0
- package/dist/components/drawer-image/index.d.ts.map +1 -0
- package/dist/components/drawer-image/types.d.ts +61 -0
- package/dist/components/drawer-image/types.d.ts.map +1 -0
- package/dist/components/drawer-image/utils.d.ts +3 -0
- package/dist/components/drawer-image/utils.d.ts.map +1 -0
- package/dist/components/drawer-image-gallery/drawer-image-gallery.stories.d.ts +9 -0
- package/dist/components/drawer-image-gallery/drawer-image-gallery.stories.d.ts.map +1 -0
- package/dist/components/drawer-image-gallery/index.d.ts +11 -0
- package/dist/components/drawer-image-gallery/index.d.ts.map +1 -0
- package/dist/components/drawer-image-select/drawer-image-select.stories.d.ts +13 -0
- package/dist/components/drawer-image-select/drawer-image-select.stories.d.ts.map +1 -0
- package/dist/components/drawer-image-select/index.d.ts +5 -0
- package/dist/components/drawer-image-select/index.d.ts.map +1 -0
- package/dist/components/filter-manager/arrangable-columns-popover-content.d.ts +10 -0
- package/dist/components/filter-manager/arrangable-columns-popover-content.d.ts.map +1 -0
- package/dist/components/filter-manager/delete-filter-popover.d.ts +12 -0
- package/dist/components/filter-manager/delete-filter-popover.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-info-tag.d.ts +15 -0
- package/dist/components/filter-manager/filter-info-tag.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-manager.stories.d.ts +57 -0
- package/dist/components/filter-manager/filter-manager.stories.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-popover-content.d.ts +13 -0
- package/dist/components/filter-manager/filter-popover-content.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-row.d.ts +14 -0
- package/dist/components/filter-manager/filter-row.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-sort-modal.d.ts +12 -0
- package/dist/components/filter-manager/filter-sort-modal.d.ts.map +1 -0
- package/dist/components/filter-manager/filter-string-input.d.ts +13 -0
- package/dist/components/filter-manager/filter-string-input.d.ts.map +1 -0
- package/dist/components/filter-manager/helpers.d.ts +22 -0
- package/dist/components/filter-manager/helpers.d.ts.map +1 -0
- package/dist/components/filter-manager/index.d.ts +29 -0
- package/dist/components/filter-manager/index.d.ts.map +1 -0
- package/dist/components/filter-manager/model.d.ts +88 -0
- package/dist/components/filter-manager/model.d.ts.map +1 -0
- package/dist/components/filter-manager/save-filter-popover.d.ts +13 -0
- package/dist/components/filter-manager/save-filter-popover.d.ts.map +1 -0
- package/dist/components/filter-manager/types.d.ts +86 -0
- package/dist/components/filter-manager/types.d.ts.map +1 -0
- package/dist/components/image-select/box-wrapper.d.ts +7 -0
- package/dist/components/image-select/box-wrapper.d.ts.map +1 -0
- package/dist/components/image-select/image-select.stories.d.ts +20 -0
- package/dist/components/image-select/image-select.stories.d.ts.map +1 -0
- package/dist/components/image-select/index.d.ts +21 -0
- package/dist/components/image-select/index.d.ts.map +1 -0
- package/dist/components/image-select/upload-wrapper.d.ts +15 -0
- package/dist/components/image-select/upload-wrapper.d.ts.map +1 -0
- package/dist/components/image-select/use-image-select.d.ts +22 -0
- package/dist/components/image-select/use-image-select.d.ts.map +1 -0
- package/dist/components/navigation/expanded-overlay.d.ts +29 -0
- package/dist/components/navigation/expanded-overlay.d.ts.map +1 -0
- package/dist/components/navigation/icons.d.ts +19 -0
- package/dist/components/navigation/icons.d.ts.map +1 -0
- package/dist/components/navigation/index.d.ts +29 -0
- package/dist/components/navigation/index.d.ts.map +1 -0
- package/dist/components/navigation/navigation-footer.d.ts +15 -0
- package/dist/components/navigation/navigation-footer.d.ts.map +1 -0
- package/dist/components/navigation/navigation-header.d.ts +32 -0
- package/dist/components/navigation/navigation-header.d.ts.map +1 -0
- package/dist/components/navigation/navigation-menu.d.ts +28 -0
- package/dist/components/navigation/navigation-menu.d.ts.map +1 -0
- package/dist/components/navigation/navigation.stories.d.ts +14 -0
- package/dist/components/navigation/navigation.stories.d.ts.map +1 -0
- package/dist/components/navigation/sales-channel-menu.d.ts +16 -0
- package/dist/components/navigation/sales-channel-menu.d.ts.map +1 -0
- package/dist/components/navigation/types.d.ts +88 -0
- package/dist/components/navigation/types.d.ts.map +1 -0
- package/dist/components/navigation/use-navigation.d.ts +28 -0
- package/dist/components/navigation/use-navigation.d.ts.map +1 -0
- package/dist/components/page-container/index.d.ts +24 -0
- package/dist/components/page-container/index.d.ts.map +1 -0
- package/dist/components/page-container/style.d.ts +16 -0
- package/dist/components/page-container/style.d.ts.map +1 -0
- package/dist/components/rich-text-editor/image-modal/index.d.ts +19 -0
- package/dist/components/rich-text-editor/image-modal/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.d.ts +66 -0
- package/dist/components/rich-text-editor/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/link-modal/index.d.ts +26 -0
- package/dist/components/rich-text-editor/link-modal/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.stories.d.ts +10 -0
- package/dist/components/rich-text-editor/rich-text-editor.stories.d.ts.map +1 -0
- package/dist/components/rich-text-editor/style.d.ts +18 -0
- package/dist/components/rich-text-editor/style.d.ts.map +1 -0
- package/dist/components/rich-text-editor/translations.d.ts +17 -0
- package/dist/components/rich-text-editor/translations.d.ts.map +1 -0
- package/dist/components/rich-text-editor/types.d.ts +9 -0
- package/dist/components/rich-text-editor/types.d.ts.map +1 -0
- package/dist/components/rich-text-editor/video-modal/index.d.ts +17 -0
- package/dist/components/rich-text-editor/video-modal/index.d.ts.map +1 -0
- package/dist/components/search/brand-search-dropdown/brand-search-dropdown.stories.d.ts +11 -0
- package/dist/components/search/brand-search-dropdown/brand-search-dropdown.stories.d.ts.map +1 -0
- package/dist/components/search/brand-search-dropdown/index.d.ts +17 -0
- package/dist/components/search/brand-search-dropdown/index.d.ts.map +1 -0
- package/dist/components/search/category-search/category-search.stories.d.ts +11 -0
- package/dist/components/search/category-search/category-search.stories.d.ts.map +1 -0
- package/dist/components/search/category-search/index.d.ts +21 -0
- package/dist/components/search/category-search/index.d.ts.map +1 -0
- package/dist/components/search/category-select/category-select.stories.d.ts +11 -0
- package/dist/components/search/category-select/category-select.stories.d.ts.map +1 -0
- package/dist/components/search/category-select/index.d.ts +25 -0
- package/dist/components/search/category-select/index.d.ts.map +1 -0
- package/dist/components/search/country-select/country-select.stories.d.ts +11 -0
- package/dist/components/search/country-select/country-select.stories.d.ts.map +1 -0
- package/dist/components/search/country-select/index.d.ts +30 -0
- package/dist/components/search/country-select/index.d.ts.map +1 -0
- package/dist/components/search/product-search-dropdown/index.d.ts +21 -0
- package/dist/components/search/product-search-dropdown/index.d.ts.map +1 -0
- package/dist/components/search/product-search-dropdown/product-search-dropdown.stories.d.ts +11 -0
- package/dist/components/search/product-search-dropdown/product-search-dropdown.stories.d.ts.map +1 -0
- package/dist/components/search/raffle-search-dropdown/index.d.ts +30 -0
- package/dist/components/search/raffle-search-dropdown/index.d.ts.map +1 -0
- package/dist/components/search/raffle-search-dropdown/raffle-search-dropdown.stories.d.ts +10 -0
- package/dist/components/search/raffle-search-dropdown/raffle-search-dropdown.stories.d.ts.map +1 -0
- package/dist/components/search/variant-search-dropdown/index.d.ts +38 -0
- package/dist/components/search/variant-search-dropdown/index.d.ts.map +1 -0
- package/dist/components/search/variant-search-dropdown/variant-search-dropdown.stories.d.ts +10 -0
- package/dist/components/search/variant-search-dropdown/variant-search-dropdown.stories.d.ts.map +1 -0
- package/dist/components/single-image-upload/index.d.ts +8 -0
- package/dist/components/single-image-upload/index.d.ts.map +1 -0
- package/dist/components/single-image-upload/single-image-upload.stories.d.ts +12 -0
- package/dist/components/single-image-upload/single-image-upload.stories.d.ts.map +1 -0
- package/dist/components/swatch-picker/index.d.ts +12 -0
- package/dist/components/swatch-picker/index.d.ts.map +1 -0
- package/dist/components/swatch-picker/swatch-picker.stories.d.ts +9 -0
- package/dist/components/swatch-picker/swatch-picker.stories.d.ts.map +1 -0
- package/dist/components/variable-input/index.d.ts +22 -0
- package/dist/components/variable-input/index.d.ts.map +1 -0
- package/dist/components/variable-input/variable-input.stories.d.ts +12 -0
- package/dist/components/variable-input/variable-input.stories.d.ts.map +1 -0
- package/dist/core.css +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +110 -0
- package/dist/index10.cjs +1 -0
- package/dist/index10.js +29 -0
- package/dist/index100.cjs +470 -0
- package/dist/index100.js +484 -0
- package/dist/index101.cjs +1 -0
- package/dist/index101.js +157 -0
- package/dist/index102.cjs +1 -0
- package/dist/index102.js +157 -0
- package/dist/index103.cjs +1 -0
- package/dist/index103.js +156 -0
- package/dist/index104.cjs +1 -0
- package/dist/index104.js +101 -0
- package/dist/index105.cjs +1 -0
- package/dist/index105.js +165 -0
- package/dist/index106.cjs +1 -0
- package/dist/index106.js +121 -0
- package/dist/index107.cjs +1 -0
- package/dist/index107.js +225 -0
- package/dist/index108.cjs +1 -0
- package/dist/index108.js +167 -0
- package/dist/index109.cjs +1 -0
- package/dist/index109.js +371 -0
- package/dist/index11.cjs +1 -0
- package/dist/index11.js +141 -0
- package/dist/index110.cjs +1 -0
- package/dist/index110.js +207 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.js +77 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +50 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +242 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +85 -0
- package/dist/index115.cjs +6 -0
- package/dist/index115.js +29 -0
- package/dist/index116.cjs +6 -0
- package/dist/index116.js +16 -0
- package/dist/index117.cjs +6 -0
- package/dist/index117.js +16 -0
- package/dist/index118.cjs +6 -0
- package/dist/index118.js +15 -0
- package/dist/index119.cjs +6 -0
- package/dist/index119.js +17 -0
- package/dist/index12.cjs +1 -0
- package/dist/index12.js +53 -0
- package/dist/index120.cjs +6 -0
- package/dist/index120.js +12 -0
- package/dist/index121.cjs +6 -0
- package/dist/index121.js +15 -0
- package/dist/index122.cjs +6 -0
- package/dist/index122.js +19 -0
- package/dist/index123.cjs +6 -0
- package/dist/index123.js +10 -0
- package/dist/index124.cjs +6 -0
- package/dist/index124.js +10 -0
- package/dist/index125.cjs +6 -0
- package/dist/index125.js +14 -0
- package/dist/index126.cjs +6 -0
- package/dist/index126.js +42 -0
- package/dist/index127.cjs +6 -0
- package/dist/index127.js +20 -0
- package/dist/index128.cjs +6 -0
- package/dist/index128.js +15 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.js +6 -0
- package/dist/index13.cjs +1 -0
- package/dist/index13.js +31 -0
- package/dist/index130.cjs +1 -0
- package/dist/index130.js +10 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.js +9 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.js +282 -0
- package/dist/index133.cjs +1 -0
- package/dist/index133.js +4 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.js +33 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.js +4 -0
- package/dist/index136.cjs +1 -0
- package/dist/index136.js +406 -0
- package/dist/index137.cjs +6 -0
- package/dist/index137.js +13 -0
- package/dist/index138.cjs +1 -0
- package/dist/index138.js +6 -0
- package/dist/index139.cjs +1 -0
- package/dist/index139.js +8 -0
- package/dist/index14.cjs +1 -0
- package/dist/index14.js +452 -0
- package/dist/index140.cjs +3 -0
- package/dist/index140.js +148 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.js +33 -0
- package/dist/index142.cjs +1 -0
- package/dist/index142.js +146 -0
- package/dist/index143.cjs +15 -0
- package/dist/index143.js +139 -0
- package/dist/index144.cjs +1 -0
- package/dist/index144.js +89 -0
- package/dist/index145.cjs +11 -0
- package/dist/index145.js +150 -0
- package/dist/index146.cjs +1 -0
- package/dist/index146.js +85 -0
- package/dist/index147.cjs +1 -0
- package/dist/index147.js +52 -0
- package/dist/index148.cjs +1 -0
- package/dist/index148.js +26 -0
- package/dist/index149.cjs +1 -0
- package/dist/index149.js +7 -0
- package/dist/index15.cjs +1 -0
- package/dist/index15.js +5 -0
- package/dist/index150.cjs +1 -0
- package/dist/index150.js +8 -0
- package/dist/index151.cjs +1 -0
- package/dist/index151.js +46 -0
- package/dist/index152.cjs +1 -0
- package/dist/index152.js +52 -0
- package/dist/index153.cjs +1 -0
- package/dist/index153.js +11 -0
- package/dist/index154.cjs +1 -0
- package/dist/index154.js +21 -0
- package/dist/index155.cjs +1 -0
- package/dist/index155.js +60 -0
- package/dist/index156.cjs +1 -0
- package/dist/index156.js +288 -0
- package/dist/index157.cjs +1 -0
- package/dist/index157.js +21 -0
- package/dist/index158.cjs +1 -0
- package/dist/index158.js +20 -0
- package/dist/index159.cjs +1 -0
- package/dist/index159.js +66 -0
- package/dist/index16.cjs +1 -0
- package/dist/index16.js +98 -0
- package/dist/index160.cjs +1 -0
- package/dist/index160.js +115 -0
- package/dist/index161.cjs +1 -0
- package/dist/index161.js +44 -0
- package/dist/index162.cjs +1 -0
- package/dist/index162.js +26 -0
- package/dist/index163.cjs +1 -0
- package/dist/index163.js +169 -0
- package/dist/index164.cjs +1 -0
- package/dist/index164.js +25 -0
- package/dist/index165.cjs +1 -0
- package/dist/index165.js +59 -0
- package/dist/index166.cjs +1 -0
- package/dist/index166.js +35 -0
- package/dist/index167.cjs +1 -0
- package/dist/index167.js +53 -0
- package/dist/index168.cjs +1 -0
- package/dist/index168.js +135 -0
- package/dist/index169.cjs +1 -0
- package/dist/index169.js +83 -0
- package/dist/index17.cjs +1 -0
- package/dist/index17.js +444 -0
- package/dist/index170.cjs +1 -0
- package/dist/index170.js +82 -0
- package/dist/index171.cjs +1 -0
- package/dist/index171.js +21 -0
- package/dist/index172.cjs +1 -0
- package/dist/index172.js +35 -0
- package/dist/index173.cjs +1 -0
- package/dist/index173.js +33 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.js +33 -0
- package/dist/index175.cjs +1 -0
- package/dist/index175.js +177 -0
- package/dist/index176.cjs +1 -0
- package/dist/index176.js +54 -0
- package/dist/index177.cjs +1 -0
- package/dist/index177.js +113 -0
- package/dist/index178.cjs +1 -0
- package/dist/index178.js +17 -0
- package/dist/index179.cjs +1 -0
- package/dist/index179.js +4 -0
- package/dist/index18.cjs +1 -0
- package/dist/index18.js +152 -0
- package/dist/index180.cjs +1 -0
- package/dist/index180.js +10 -0
- package/dist/index181.cjs +2 -0
- package/dist/index181.js +329 -0
- package/dist/index182.cjs +1 -0
- package/dist/index182.js +52 -0
- package/dist/index183.cjs +1 -0
- package/dist/index183.js +29 -0
- package/dist/index184.cjs +1 -0
- package/dist/index184.js +4 -0
- package/dist/index185.cjs +1 -0
- package/dist/index185.js +30 -0
- package/dist/index186.cjs +1 -0
- package/dist/index186.js +34 -0
- package/dist/index187.cjs +1 -0
- package/dist/index187.js +118 -0
- package/dist/index188.cjs +1 -0
- package/dist/index188.js +62 -0
- package/dist/index189.cjs +1 -0
- package/dist/index189.js +62 -0
- package/dist/index19.cjs +1 -0
- package/dist/index19.js +114 -0
- package/dist/index190.cjs +1 -0
- package/dist/index190.js +19 -0
- package/dist/index191.cjs +1 -0
- package/dist/index191.js +20 -0
- package/dist/index192.cjs +1 -0
- package/dist/index192.js +15 -0
- package/dist/index193.cjs +1 -0
- package/dist/index193.js +11 -0
- package/dist/index194.cjs +1 -0
- package/dist/index194.js +8 -0
- package/dist/index195.cjs +1 -0
- package/dist/index195.js +11 -0
- package/dist/index196.cjs +1 -0
- package/dist/index196.js +11 -0
- package/dist/index197.cjs +1 -0
- package/dist/index197.js +4 -0
- package/dist/index198.cjs +1 -0
- package/dist/index198.js +6 -0
- package/dist/index199.cjs +1 -0
- package/dist/index199.js +7 -0
- package/dist/index20.cjs +1 -0
- package/dist/index20.js +94 -0
- package/dist/index200.cjs +1 -0
- package/dist/index200.js +42 -0
- package/dist/index201.cjs +1 -0
- package/dist/index201.js +85 -0
- package/dist/index202.cjs +1 -0
- package/dist/index202.js +7 -0
- package/dist/index203.cjs +1 -0
- package/dist/index203.js +7 -0
- package/dist/index204.cjs +1 -0
- package/dist/index204.js +22 -0
- package/dist/index205.cjs +1 -0
- package/dist/index205.js +4 -0
- package/dist/index206.cjs +1 -0
- package/dist/index206.js +4 -0
- package/dist/index207.cjs +1 -0
- package/dist/index207.js +4 -0
- package/dist/index208.cjs +1 -0
- package/dist/index208.js +4 -0
- package/dist/index209.cjs +1 -0
- package/dist/index209.js +4 -0
- package/dist/index21.cjs +1 -0
- package/dist/index21.js +52 -0
- package/dist/index210.cjs +1 -0
- package/dist/index210.js +4 -0
- package/dist/index211.cjs +1 -0
- package/dist/index211.js +4 -0
- package/dist/index212.cjs +8 -0
- package/dist/index212.js +78 -0
- package/dist/index213.cjs +8 -0
- package/dist/index213.js +95 -0
- package/dist/index214.cjs +5 -0
- package/dist/index214.js +54 -0
- package/dist/index215.cjs +1 -0
- package/dist/index215.js +10 -0
- package/dist/index216.cjs +1 -0
- package/dist/index216.js +7 -0
- package/dist/index217.cjs +1 -0
- package/dist/index217.js +54 -0
- package/dist/index218.cjs +1 -0
- package/dist/index218.js +73 -0
- package/dist/index219.cjs +1 -0
- package/dist/index219.js +21 -0
- package/dist/index22.cjs +1 -0
- package/dist/index22.js +125 -0
- package/dist/index220.cjs +1 -0
- package/dist/index220.js +37 -0
- package/dist/index221.cjs +1 -0
- package/dist/index221.js +52 -0
- package/dist/index222.cjs +1 -0
- package/dist/index222.js +42 -0
- package/dist/index223.cjs +1 -0
- package/dist/index223.js +94 -0
- package/dist/index224.cjs +1 -0
- package/dist/index224.js +62 -0
- package/dist/index225.cjs +1 -0
- package/dist/index225.js +28 -0
- package/dist/index226.cjs +1 -0
- package/dist/index226.js +18 -0
- package/dist/index227.cjs +1 -0
- package/dist/index227.js +44 -0
- package/dist/index228.cjs +1 -0
- package/dist/index228.js +16 -0
- package/dist/index229.cjs +1 -0
- package/dist/index229.js +15 -0
- package/dist/index23.cjs +1 -0
- package/dist/index23.js +41 -0
- package/dist/index230.cjs +1 -0
- package/dist/index230.js +63 -0
- package/dist/index231.cjs +1 -0
- package/dist/index231.js +18 -0
- package/dist/index232.cjs +1 -0
- package/dist/index232.js +8 -0
- package/dist/index233.cjs +1 -0
- package/dist/index233.js +5 -0
- package/dist/index234.cjs +1 -0
- package/dist/index234.js +31 -0
- package/dist/index235.cjs +1 -0
- package/dist/index235.js +9 -0
- package/dist/index236.cjs +1 -0
- package/dist/index236.js +7 -0
- package/dist/index237.cjs +1 -0
- package/dist/index237.js +9 -0
- package/dist/index238.cjs +1 -0
- package/dist/index238.js +13 -0
- package/dist/index239.cjs +1 -0
- package/dist/index239.js +12 -0
- package/dist/index24.cjs +1 -0
- package/dist/index24.js +57 -0
- package/dist/index240.cjs +1 -0
- package/dist/index240.js +17 -0
- package/dist/index241.cjs +1 -0
- package/dist/index241.js +6 -0
- package/dist/index242.cjs +1 -0
- package/dist/index242.js +10 -0
- package/dist/index243.cjs +1 -0
- package/dist/index243.js +6 -0
- package/dist/index244.cjs +1 -0
- package/dist/index244.js +8 -0
- package/dist/index245.cjs +1 -0
- package/dist/index245.js +41 -0
- package/dist/index246.cjs +1 -0
- package/dist/index246.js +4 -0
- package/dist/index247.cjs +1 -0
- package/dist/index247.js +5 -0
- package/dist/index248.cjs +1 -0
- package/dist/index248.js +8 -0
- package/dist/index249.cjs +1 -0
- package/dist/index249.js +9 -0
- package/dist/index25.cjs +1 -0
- package/dist/index25.js +203 -0
- package/dist/index250.cjs +1 -0
- package/dist/index250.js +7 -0
- package/dist/index251.cjs +1 -0
- package/dist/index251.js +4 -0
- package/dist/index252.cjs +1 -0
- package/dist/index252.js +4 -0
- package/dist/index253.cjs +5 -0
- package/dist/index253.js +2964 -0
- package/dist/index254.cjs +1 -0
- package/dist/index254.js +4 -0
- package/dist/index255.cjs +1 -0
- package/dist/index255.js +7 -0
- package/dist/index256.cjs +1 -0
- package/dist/index256.js +8 -0
- package/dist/index257.cjs +1 -0
- package/dist/index257.js +7 -0
- package/dist/index258.cjs +1 -0
- package/dist/index258.js +15 -0
- package/dist/index259.cjs +1 -0
- package/dist/index259.js +6 -0
- package/dist/index26.cjs +1 -0
- package/dist/index26.js +74 -0
- package/dist/index260.cjs +1 -0
- package/dist/index260.js +6 -0
- package/dist/index261.cjs +1 -0
- package/dist/index261.js +8 -0
- package/dist/index262.cjs +1 -0
- package/dist/index262.js +20 -0
- package/dist/index263.cjs +1 -0
- package/dist/index263.js +7 -0
- package/dist/index264.cjs +1 -0
- package/dist/index264.js +7 -0
- package/dist/index265.cjs +1 -0
- package/dist/index265.js +6 -0
- package/dist/index266.cjs +1 -0
- package/dist/index266.js +6 -0
- package/dist/index267.cjs +1 -0
- package/dist/index267.js +17 -0
- package/dist/index268.cjs +1 -0
- package/dist/index268.js +12 -0
- package/dist/index269.cjs +1 -0
- package/dist/index269.js +13 -0
- package/dist/index27.cjs +1 -0
- package/dist/index27.js +89 -0
- package/dist/index270.cjs +1 -0
- package/dist/index270.js +9 -0
- package/dist/index271.cjs +1 -0
- package/dist/index271.js +8 -0
- package/dist/index272.cjs +1 -0
- package/dist/index272.js +9 -0
- package/dist/index273.cjs +1 -0
- package/dist/index273.js +9 -0
- package/dist/index274.cjs +1 -0
- package/dist/index274.js +10 -0
- package/dist/index275.cjs +1 -0
- package/dist/index275.js +8 -0
- package/dist/index276.cjs +1 -0
- package/dist/index276.js +6 -0
- package/dist/index277.cjs +1 -0
- package/dist/index277.js +12 -0
- package/dist/index278.cjs +1 -0
- package/dist/index278.js +16 -0
- package/dist/index279.cjs +1 -0
- package/dist/index279.js +7 -0
- package/dist/index28.cjs +1 -0
- package/dist/index28.js +123 -0
- package/dist/index280.cjs +1 -0
- package/dist/index280.js +8 -0
- package/dist/index281.cjs +1 -0
- package/dist/index281.js +20 -0
- package/dist/index282.cjs +1 -0
- package/dist/index282.js +15 -0
- package/dist/index283.cjs +1 -0
- package/dist/index283.js +9 -0
- package/dist/index284.cjs +1 -0
- package/dist/index284.js +10 -0
- package/dist/index285.cjs +1 -0
- package/dist/index285.js +6 -0
- package/dist/index286.cjs +1 -0
- package/dist/index286.js +4 -0
- package/dist/index287.cjs +1 -0
- package/dist/index287.js +8 -0
- package/dist/index288.cjs +1 -0
- package/dist/index288.js +15 -0
- package/dist/index289.cjs +1 -0
- package/dist/index289.js +7 -0
- package/dist/index29.cjs +1 -0
- package/dist/index29.js +87 -0
- package/dist/index290.cjs +1 -0
- package/dist/index290.js +29 -0
- package/dist/index291.cjs +1 -0
- package/dist/index291.js +12 -0
- package/dist/index292.cjs +1 -0
- package/dist/index292.js +8 -0
- package/dist/index293.cjs +1 -0
- package/dist/index293.js +8 -0
- package/dist/index294.cjs +1 -0
- package/dist/index294.js +8 -0
- package/dist/index295.cjs +1 -0
- package/dist/index295.js +8 -0
- package/dist/index296.cjs +1 -0
- package/dist/index296.js +12 -0
- package/dist/index297.cjs +1 -0
- package/dist/index297.js +7 -0
- package/dist/index298.cjs +1 -0
- package/dist/index298.js +10 -0
- package/dist/index299.cjs +1 -0
- package/dist/index299.js +8 -0
- package/dist/index3.cjs +1 -0
- package/dist/index3.js +8 -0
- package/dist/index30.cjs +1 -0
- package/dist/index30.js +79 -0
- package/dist/index300.cjs +1 -0
- package/dist/index300.js +9 -0
- package/dist/index301.cjs +1 -0
- package/dist/index301.js +41 -0
- package/dist/index302.cjs +1 -0
- package/dist/index302.js +4 -0
- package/dist/index303.cjs +1 -0
- package/dist/index303.js +16 -0
- package/dist/index304.cjs +1 -0
- package/dist/index304.js +14 -0
- package/dist/index305.cjs +1 -0
- package/dist/index305.js +16 -0
- package/dist/index306.cjs +1 -0
- package/dist/index306.js +6 -0
- package/dist/index307.cjs +1 -0
- package/dist/index307.js +12 -0
- package/dist/index308.cjs +1 -0
- package/dist/index308.js +8 -0
- package/dist/index309.cjs +1 -0
- package/dist/index309.js +7 -0
- package/dist/index31.cjs +1 -0
- package/dist/index31.js +186 -0
- package/dist/index310.cjs +1 -0
- package/dist/index310.js +8 -0
- package/dist/index311.cjs +1 -0
- package/dist/index311.js +6 -0
- package/dist/index312.cjs +1 -0
- package/dist/index312.js +20 -0
- package/dist/index313.cjs +1 -0
- package/dist/index313.js +11 -0
- package/dist/index314.cjs +1 -0
- package/dist/index314.js +8 -0
- package/dist/index315.cjs +1 -0
- package/dist/index315.js +8 -0
- package/dist/index316.cjs +1 -0
- package/dist/index316.js +10 -0
- package/dist/index317.cjs +1 -0
- package/dist/index317.js +8 -0
- package/dist/index318.cjs +1 -0
- package/dist/index318.js +17 -0
- package/dist/index319.cjs +1 -0
- package/dist/index319.js +5 -0
- package/dist/index32.cjs +1 -0
- package/dist/index32.js +70 -0
- package/dist/index320.cjs +1 -0
- package/dist/index320.js +9 -0
- package/dist/index321.cjs +1 -0
- package/dist/index321.js +6 -0
- package/dist/index322.cjs +1 -0
- package/dist/index322.js +12 -0
- package/dist/index323.cjs +1 -0
- package/dist/index323.js +8 -0
- package/dist/index324.cjs +1 -0
- package/dist/index324.js +11 -0
- package/dist/index325.cjs +1 -0
- package/dist/index325.js +14 -0
- package/dist/index326.cjs +1 -0
- package/dist/index326.js +5 -0
- package/dist/index327.cjs +1 -0
- package/dist/index327.js +15 -0
- package/dist/index328.cjs +1 -0
- package/dist/index328.js +7 -0
- package/dist/index329.cjs +1 -0
- package/dist/index329.js +11 -0
- package/dist/index33.cjs +1 -0
- package/dist/index33.js +400 -0
- package/dist/index330.cjs +1 -0
- package/dist/index330.js +9 -0
- package/dist/index331.cjs +1 -0
- package/dist/index331.js +32 -0
- package/dist/index332.cjs +1 -0
- package/dist/index332.js +6 -0
- package/dist/index333.cjs +1 -0
- package/dist/index333.js +19 -0
- package/dist/index334.cjs +1 -0
- package/dist/index334.js +78 -0
- package/dist/index335.cjs +1 -0
- package/dist/index335.js +8 -0
- package/dist/index336.cjs +1 -0
- package/dist/index336.js +10 -0
- package/dist/index337.cjs +1 -0
- package/dist/index337.js +9 -0
- package/dist/index338.cjs +1 -0
- package/dist/index338.js +13 -0
- package/dist/index339.cjs +1 -0
- package/dist/index339.js +8 -0
- package/dist/index34.cjs +1 -0
- package/dist/index34.js +51 -0
- package/dist/index340.cjs +1 -0
- package/dist/index340.js +7 -0
- package/dist/index341.cjs +1 -0
- package/dist/index341.js +7 -0
- package/dist/index342.cjs +1 -0
- package/dist/index342.js +8 -0
- package/dist/index343.cjs +1 -0
- package/dist/index343.js +8 -0
- package/dist/index344.cjs +1 -0
- package/dist/index344.js +10 -0
- package/dist/index345.cjs +1 -0
- package/dist/index345.js +5 -0
- package/dist/index346.cjs +1 -0
- package/dist/index346.js +10 -0
- package/dist/index347.cjs +1 -0
- package/dist/index347.js +14 -0
- package/dist/index348.cjs +1 -0
- package/dist/index348.js +40 -0
- package/dist/index349.cjs +1 -0
- package/dist/index349.js +45 -0
- package/dist/index35.cjs +1 -0
- package/dist/index35.js +212 -0
- package/dist/index350.cjs +1 -0
- package/dist/index350.js +36 -0
- package/dist/index351.cjs +1 -0
- package/dist/index351.js +28 -0
- package/dist/index352.cjs +1 -0
- package/dist/index352.js +16 -0
- package/dist/index353.cjs +1 -0
- package/dist/index353.js +6 -0
- package/dist/index354.cjs +1 -0
- package/dist/index354.js +20 -0
- package/dist/index355.cjs +1 -0
- package/dist/index355.js +8 -0
- package/dist/index356.cjs +1 -0
- package/dist/index356.js +5 -0
- package/dist/index357.cjs +1 -0
- package/dist/index357.js +13 -0
- package/dist/index358.cjs +1 -0
- package/dist/index358.js +9 -0
- package/dist/index359.cjs +1 -0
- package/dist/index359.js +6 -0
- package/dist/index36.cjs +1 -0
- package/dist/index36.js +22 -0
- package/dist/index360.cjs +1 -0
- package/dist/index360.js +9 -0
- package/dist/index361.cjs +1 -0
- package/dist/index361.js +9 -0
- package/dist/index362.cjs +1 -0
- package/dist/index362.js +9 -0
- package/dist/index363.cjs +1 -0
- package/dist/index363.js +6 -0
- package/dist/index364.cjs +1 -0
- package/dist/index364.js +6 -0
- package/dist/index365.cjs +1 -0
- package/dist/index365.js +6 -0
- package/dist/index366.cjs +1 -0
- package/dist/index366.js +6 -0
- package/dist/index367.cjs +1 -0
- package/dist/index367.js +17 -0
- package/dist/index368.cjs +1 -0
- package/dist/index368.js +10 -0
- package/dist/index369.cjs +1 -0
- package/dist/index369.js +7 -0
- package/dist/index37.cjs +1 -0
- package/dist/index37.js +18 -0
- package/dist/index370.cjs +1 -0
- package/dist/index370.js +11 -0
- package/dist/index371.cjs +1 -0
- package/dist/index371.js +7 -0
- package/dist/index372.cjs +1 -0
- package/dist/index372.js +7 -0
- package/dist/index373.cjs +1 -0
- package/dist/index373.js +13 -0
- package/dist/index374.cjs +1 -0
- package/dist/index374.js +9 -0
- package/dist/index375.cjs +1 -0
- package/dist/index375.js +9 -0
- package/dist/index376.cjs +1 -0
- package/dist/index376.js +7 -0
- package/dist/index377.cjs +1 -0
- package/dist/index377.js +7 -0
- package/dist/index378.cjs +1 -0
- package/dist/index378.js +6 -0
- package/dist/index379.cjs +1 -0
- package/dist/index379.js +11 -0
- package/dist/index38.cjs +1 -0
- package/dist/index38.js +126 -0
- package/dist/index380.cjs +1 -0
- package/dist/index380.js +18 -0
- package/dist/index381.cjs +1 -0
- package/dist/index381.js +9 -0
- package/dist/index382.cjs +1 -0
- package/dist/index382.js +10 -0
- package/dist/index383.cjs +1 -0
- package/dist/index383.js +5 -0
- package/dist/index384.cjs +1 -0
- package/dist/index384.js +5 -0
- package/dist/index385.cjs +1 -0
- package/dist/index385.js +18 -0
- package/dist/index386.cjs +1 -0
- package/dist/index386.js +8 -0
- package/dist/index387.cjs +1 -0
- package/dist/index387.js +10 -0
- package/dist/index388.cjs +1 -0
- package/dist/index388.js +6 -0
- package/dist/index389.cjs +14 -0
- package/dist/index389.js +6860 -0
- package/dist/index39.cjs +1 -0
- package/dist/index39.js +78 -0
- package/dist/index390.cjs +1 -0
- package/dist/index390.js +4 -0
- package/dist/index4.cjs +1 -0
- package/dist/index4.js +6 -0
- package/dist/index40.cjs +1 -0
- package/dist/index40.js +54 -0
- package/dist/index41.cjs +1 -0
- package/dist/index41.js +207 -0
- package/dist/index42.cjs +1 -0
- package/dist/index42.js +397 -0
- package/dist/index43.cjs +1 -0
- package/dist/index43.js +235 -0
- package/dist/index44.cjs +1 -0
- package/dist/index44.js +122 -0
- package/dist/index45.cjs +1 -0
- package/dist/index45.js +16 -0
- package/dist/index46.cjs +1 -0
- package/dist/index46.js +2266 -0
- package/dist/index47.cjs +1 -0
- package/dist/index47.js +218 -0
- package/dist/index48.cjs +1 -0
- package/dist/index48.js +13 -0
- package/dist/index49.cjs +1 -0
- package/dist/index49.js +111 -0
- package/dist/index5.cjs +1 -0
- package/dist/index5.js +157 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.js +71 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.js +213 -0
- package/dist/index52.cjs +6 -0
- package/dist/index52.js +21 -0
- package/dist/index53.cjs +6 -0
- package/dist/index53.js +21 -0
- package/dist/index54.cjs +1 -0
- package/dist/index54.js +7 -0
- package/dist/index55.cjs +1 -0
- package/dist/index55.js +7 -0
- package/dist/index56.cjs +1 -0
- package/dist/index56.js +61 -0
- package/dist/index57.cjs +1 -0
- package/dist/index57.js +50 -0
- package/dist/index58.cjs +1 -0
- package/dist/index58.js +28 -0
- package/dist/index59.cjs +1 -0
- package/dist/index59.js +90 -0
- package/dist/index6.cjs +1 -0
- package/dist/index6.js +26 -0
- package/dist/index60.cjs +1 -0
- package/dist/index60.js +80 -0
- package/dist/index61.cjs +6 -0
- package/dist/index61.js +12 -0
- package/dist/index62.cjs +6 -0
- package/dist/index62.js +20 -0
- package/dist/index63.cjs +6 -0
- package/dist/index63.js +21 -0
- package/dist/index64.cjs +6 -0
- package/dist/index64.js +15 -0
- package/dist/index65.cjs +95 -0
- package/dist/index65.js +109 -0
- package/dist/index66.cjs +6 -0
- package/dist/index66.js +16 -0
- package/dist/index67.cjs +6 -0
- package/dist/index67.js +16 -0
- package/dist/index68.cjs +6 -0
- package/dist/index68.js +12 -0
- package/dist/index69.cjs +6 -0
- package/dist/index69.js +12 -0
- package/dist/index7.cjs +1 -0
- package/dist/index7.js +550 -0
- package/dist/index70.cjs +6 -0
- package/dist/index70.js +21 -0
- package/dist/index71.cjs +6 -0
- package/dist/index71.js +18 -0
- package/dist/index72.cjs +6 -0
- package/dist/index72.js +21 -0
- package/dist/index73.cjs +6 -0
- package/dist/index73.js +28 -0
- package/dist/index74.cjs +1 -0
- package/dist/index74.js +45 -0
- package/dist/index75.cjs +1 -0
- package/dist/index75.js +30 -0
- package/dist/index76.cjs +1 -0
- package/dist/index76.js +93 -0
- package/dist/index77.cjs +6 -0
- package/dist/index77.js +15 -0
- package/dist/index78.cjs +6 -0
- package/dist/index78.js +21 -0
- package/dist/index79.cjs +6 -0
- package/dist/index79.js +16 -0
- package/dist/index8.cjs +1 -0
- package/dist/index8.js +119 -0
- package/dist/index80.cjs +1 -0
- package/dist/index80.js +55 -0
- package/dist/index81.cjs +1 -0
- package/dist/index81.js +118 -0
- package/dist/index82.cjs +1 -0
- package/dist/index82.js +62 -0
- package/dist/index83.cjs +1 -0
- package/dist/index83.js +180 -0
- package/dist/index84.cjs +1 -0
- package/dist/index84.js +75 -0
- package/dist/index85.cjs +1 -0
- package/dist/index85.js +131 -0
- package/dist/index86.cjs +1 -0
- package/dist/index86.js +60 -0
- package/dist/index87.cjs +1 -0
- package/dist/index87.js +142 -0
- package/dist/index88.cjs +1 -0
- package/dist/index88.js +186 -0
- package/dist/index89.cjs +1 -0
- package/dist/index89.js +171 -0
- package/dist/index9.cjs +1 -0
- package/dist/index9.js +208 -0
- package/dist/index90.cjs +1 -0
- package/dist/index90.js +57 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.js +80 -0
- package/dist/index92.cjs +1 -0
- package/dist/index92.js +173 -0
- package/dist/index93.cjs +1 -0
- package/dist/index93.js +136 -0
- package/dist/index94.cjs +1 -0
- package/dist/index94.js +711 -0
- package/dist/index96.cjs +6 -0
- package/dist/index96.js +15 -0
- package/dist/index97.cjs +6 -0
- package/dist/index97.js +12 -0
- package/dist/index98.cjs +6 -0
- package/dist/index98.js +15 -0
- package/dist/index99.cjs +1 -0
- package/dist/index99.js +24 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/validator.d.ts +12 -0
- package/dist/models/validator.d.ts.map +1 -0
- package/dist/utils/color.d.ts +19 -0
- package/dist/utils/color.d.ts.map +1 -0
- package/dist/utils/helpers.d.ts +6 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/translations.d.ts +153 -0
- package/dist/utils/translations.d.ts.map +1 -0
- package/package.json +88 -0
package/dist/index74.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as e, Fragment as p, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import { useState as g } from "react";
|
|
3
|
+
import { DndContext as D, SortableContext as h, DragOverlay as x, useSensor as t, MouseSensor as y, TouchSensor as b, KeyboardSensor as C, PointerSensor as I, useSensors as E } from "@ikas/ui";
|
|
4
|
+
import { DrawerImage as j } from "./index33.js";
|
|
5
|
+
const u = {
|
|
6
|
+
delay: 100,
|
|
7
|
+
tolerance: 5
|
|
8
|
+
};
|
|
9
|
+
function O() {
|
|
10
|
+
const r = t(y, { activationConstraint: u }), o = t(b, { activationConstraint: u }), s = t(C, {}), a = t(I, {
|
|
11
|
+
activationConstraint: { distance: 10 }
|
|
12
|
+
});
|
|
13
|
+
return E(r, o, s, a);
|
|
14
|
+
}
|
|
15
|
+
function A({
|
|
16
|
+
draggable: r,
|
|
17
|
+
children: o,
|
|
18
|
+
images: s,
|
|
19
|
+
fileList: a,
|
|
20
|
+
handleDragEnd: d
|
|
21
|
+
}) {
|
|
22
|
+
const S = r ? O() : void 0, [i, c] = g(null), l = i ? s.find((n) => n.id === i) : null;
|
|
23
|
+
function m(n) {
|
|
24
|
+
c(String(n.active.id));
|
|
25
|
+
}
|
|
26
|
+
function f(n) {
|
|
27
|
+
d(n), c(null);
|
|
28
|
+
}
|
|
29
|
+
return r ? /* @__PURE__ */ v(
|
|
30
|
+
D,
|
|
31
|
+
{
|
|
32
|
+
autoScroll: !1,
|
|
33
|
+
sensors: S,
|
|
34
|
+
onDragEnd: f,
|
|
35
|
+
onDragStart: m,
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ e(h, { items: a, children: o }),
|
|
38
|
+
/* @__PURE__ */ e(x, { children: !i || !l ? null : /* @__PURE__ */ e("div", { className: "size-full cursor-grab", children: /* @__PURE__ */ e(j, { isOverlayEnabled: !1, image: l }) }) })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
) : /* @__PURE__ */ e(p, { children: o });
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
A as UploadWrapper
|
|
45
|
+
};
|
package/dist/index75.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("@ikas/ui");function g({id:e,children:o}){const{isDragging:r,attributes:s,listeners:i,setNodeRef:u,transform:a,transition:c}=n.useSortable({id:e}),f={transition:c,width:"100%",height:"100%",transform:n.CSS.Transform.toString(a),cursor:r?"grab":"",opacity:r?.5:void 0};return t.jsx("div",{ref:u,style:f,...s,...i,children:o})}function x({draggable:e,id:o,children:r}){return e?t.jsx(g,{id:o,children:r}):t.jsx(t.Fragment,{children:r})}exports.BoxWrapper=x;
|
package/dist/index75.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as n, Fragment as u } from "react/jsx-runtime";
|
|
2
|
+
import { useSortable as g, CSS as p } from "@ikas/ui";
|
|
3
|
+
function c({ id: t, children: o }) {
|
|
4
|
+
const {
|
|
5
|
+
isDragging: r,
|
|
6
|
+
attributes: e,
|
|
7
|
+
listeners: i,
|
|
8
|
+
setNodeRef: s,
|
|
9
|
+
transform: a,
|
|
10
|
+
transition: f
|
|
11
|
+
} = g({ id: t }), m = {
|
|
12
|
+
transition: f,
|
|
13
|
+
width: "100%",
|
|
14
|
+
height: "100%",
|
|
15
|
+
transform: p.Transform.toString(a),
|
|
16
|
+
cursor: r ? "grab" : "",
|
|
17
|
+
opacity: r ? 0.5 : void 0
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ n("div", { ref: s, style: m, ...e, ...i, children: o });
|
|
20
|
+
}
|
|
21
|
+
function b({
|
|
22
|
+
draggable: t,
|
|
23
|
+
id: o,
|
|
24
|
+
children: r
|
|
25
|
+
}) {
|
|
26
|
+
return t ? /* @__PURE__ */ n(c, { id: o, children: r }) : /* @__PURE__ */ n(u, { children: r });
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
b as BoxWrapper
|
|
30
|
+
};
|
package/dist/index76.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),m=require("@ikas/ui"),y=require("lodash/debounce"),f=require("./index5.cjs"),h=require("./index37.cjs"),l=require("./index36.cjs"),C=require("./index48.cjs");function U(i){const o=s.useRef([]),E=s.useRef(null),S=s.useMemo(()=>i.images.map((e,n)=>({id:e.id||String(n),uid:e.id||String(n),name:n,status:"done",url:e.src||"",src:e.src||""})),[i.images]),u=i.imageLimit||10,L=s.useCallback(async()=>{const{allowVideoUpload:e}=i,n=[];for(let c=0;c<o.current.length;c++){let t;const r=e?l.VALID_VIDEO_TYPES.includes(o.current[c].type):!1;r||(t=await h.getImageBase64(o.current[c])),n.push({isVideo:r,base64:t||"",src:t||"",id:C(),file:o.current[c]})}const a=i.images;o.current=[],i.onChange(a.concat(n.slice(0,u-a.length)))},[i.images,i.onChange,i.allowVideoUpload,u]),_=s.useMemo(()=>y(L,100),[L]),g=s.useCallback(e=>{const{allowVideoUpload:n}=i;if(!(n?l.VALID_FILE_TYPES.includes(e.type):l.VALID_IMAGE_TYPES.includes(e.type))){const d=n?l.VALID_FILE_TYPES_LABELS_STRING:l.VALID_IMAGE_TYPES_LABELS_STRING;return m.message.error(f.coreTranslations.drawerImage.fileTypeError(d)),!1}const t=(n?l.VALID_VIDEO_TYPES.includes(e.type):!1)?l.VIDEO_UPLOAD_LIMIT_SIZE:l.IMAGE_UPLOAD_LIMIT_SIZE;if(e.size/1024/1024>=t){const d=n?f.coreTranslations.drawerImage.mediaUploadLimitSize(t):f.coreTranslations.drawerImage.imageUploadLimitSize(t);return m.message.error(d),!1}return o.current.push(e),_(),!1},[i.allowVideoUpload,_]),T=s.useCallback(e=>{i.onChange(i.images.filter(n=>n.id!==e))},[i.images,i.onChange]),V=s.useCallback(e=>{var c;const{active:n,over:a}=e;if(n&&a&&n.id!==a.id){const t=i.images,r=t.findIndex(I=>I.id===n.id),d=t.findIndex(I=>I.id===a.id),b=m.arrayMove(t,r,d);(c=i.onDragEnd)==null||c.call(i,b)}},[i.images,i.onDragEnd]),D=s.useCallback(()=>{var e;(e=E.current)==null||e.click()},[]),A=s.useCallback(e=>{Array.from(e.target.files||[]).forEach(a=>{g(a)}),e.target.value=""},[g]);return{fileList:S,imageLimit:u,onRemove:T,beforeUpload:g,handleDragEnd:V,triggerFileInput:D,handleFileChange:A,fileInputRef:E}}exports.useImageSelect=U;
|
package/dist/index76.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { useRef as E, useMemo as _, useCallback as r } from "react";
|
|
2
|
+
import { message as S, arrayMove as w } from "@ikas/ui";
|
|
3
|
+
import F from "lodash/debounce";
|
|
4
|
+
import { coreTranslations as I } from "./index5.js";
|
|
5
|
+
import { getImageBase64 as v } from "./index37.js";
|
|
6
|
+
import { VALID_VIDEO_TYPES as V, VALID_FILE_TYPES as M, VALID_IMAGE_TYPES as P, VALID_FILE_TYPES_LABELS_STRING as b, VALID_IMAGE_TYPES_LABELS_STRING as C, VIDEO_UPLOAD_LIMIT_SIZE as O, IMAGE_UPLOAD_LIMIT_SIZE as G } from "./index36.js";
|
|
7
|
+
import R from "./index48.js";
|
|
8
|
+
function j(i) {
|
|
9
|
+
const s = E([]), u = E(null), T = _(
|
|
10
|
+
() => i.images.map((e, t) => ({
|
|
11
|
+
id: e.id || String(t),
|
|
12
|
+
uid: e.id || String(t),
|
|
13
|
+
name: t,
|
|
14
|
+
status: "done",
|
|
15
|
+
url: e.src || "",
|
|
16
|
+
src: e.src || ""
|
|
17
|
+
})),
|
|
18
|
+
[i.images]
|
|
19
|
+
), d = i.imageLimit || 10, f = r(async () => {
|
|
20
|
+
const { allowVideoUpload: e } = i, t = [];
|
|
21
|
+
for (let o = 0; o < s.current.length; o++) {
|
|
22
|
+
let n;
|
|
23
|
+
const c = e ? V.includes(s.current[o].type) : !1;
|
|
24
|
+
c || (n = await v(s.current[o])), t.push({
|
|
25
|
+
isVideo: c,
|
|
26
|
+
base64: n || "",
|
|
27
|
+
src: n || "",
|
|
28
|
+
id: R(),
|
|
29
|
+
file: s.current[o]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
const a = i.images;
|
|
33
|
+
s.current = [], i.onChange(
|
|
34
|
+
a.concat(t.slice(0, d - a.length))
|
|
35
|
+
);
|
|
36
|
+
}, [i.images, i.onChange, i.allowVideoUpload, d]), L = _(
|
|
37
|
+
() => F(f, 100),
|
|
38
|
+
[f]
|
|
39
|
+
), m = r(
|
|
40
|
+
(e) => {
|
|
41
|
+
const { allowVideoUpload: t } = i;
|
|
42
|
+
if (!(t ? M.includes(e.type) : P.includes(e.type))) {
|
|
43
|
+
const l = t ? b : C;
|
|
44
|
+
return S.error(I.drawerImage.fileTypeError(l)), !1;
|
|
45
|
+
}
|
|
46
|
+
const n = (t ? V.includes(e.type) : !1) ? O : G;
|
|
47
|
+
if (e.size / 1024 / 1024 >= n) {
|
|
48
|
+
const l = t ? I.drawerImage.mediaUploadLimitSize(n) : I.drawerImage.imageUploadLimitSize(n);
|
|
49
|
+
return S.error(l), !1;
|
|
50
|
+
}
|
|
51
|
+
return s.current.push(e), L(), !1;
|
|
52
|
+
},
|
|
53
|
+
[i.allowVideoUpload, L]
|
|
54
|
+
), A = r(
|
|
55
|
+
(e) => {
|
|
56
|
+
i.onChange(i.images.filter((t) => t.id !== e));
|
|
57
|
+
},
|
|
58
|
+
[i.images, i.onChange]
|
|
59
|
+
), D = r(
|
|
60
|
+
(e) => {
|
|
61
|
+
var o;
|
|
62
|
+
const { active: t, over: a } = e;
|
|
63
|
+
if (t && a && t.id !== a.id) {
|
|
64
|
+
const n = i.images, c = n.findIndex((g) => g.id === t.id), l = n.findIndex((g) => g.id === a.id), U = w(n, c, l);
|
|
65
|
+
(o = i.onDragEnd) == null || o.call(i, U);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
[i.images, i.onDragEnd]
|
|
69
|
+
), h = r(() => {
|
|
70
|
+
var e;
|
|
71
|
+
(e = u.current) == null || e.click();
|
|
72
|
+
}, []), y = r(
|
|
73
|
+
(e) => {
|
|
74
|
+
Array.from(e.target.files || []).forEach((a) => {
|
|
75
|
+
m(a);
|
|
76
|
+
}), e.target.value = "";
|
|
77
|
+
},
|
|
78
|
+
[m]
|
|
79
|
+
);
|
|
80
|
+
return {
|
|
81
|
+
fileList: T,
|
|
82
|
+
imageLimit: d,
|
|
83
|
+
onRemove: A,
|
|
84
|
+
beforeUpload: m,
|
|
85
|
+
handleDragEnd: D,
|
|
86
|
+
triggerFileInput: h,
|
|
87
|
+
handleFileChange: y,
|
|
88
|
+
fileInputRef: u
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
j as useImageSelect
|
|
93
|
+
};
|
package/dist/index77.cjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index115.cjs");/**
|
|
2
|
+
* @license lucide-react v0.563.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],o=t("plus",e);exports.__iconNode=e;exports.default=o;
|
package/dist/index77.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import e from "./index115.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.563.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const o = [
|
|
9
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
10
|
+
["path", { d: "M12 5v14", key: "s699le" }]
|
|
11
|
+
], s = e("plus", o);
|
|
12
|
+
export {
|
|
13
|
+
o as __iconNode,
|
|
14
|
+
s as default
|
|
15
|
+
};
|
package/dist/index78.cjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index115.cjs");/**
|
|
2
|
+
* @license lucide-react v0.563.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const e=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],t=o("inbox",e);exports.__iconNode=e;exports.default=t;
|
package/dist/index78.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import o from "./index115.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.563.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const t = [
|
|
9
|
+
["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12", key: "o97t9d" }],
|
|
10
|
+
[
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
|
|
14
|
+
key: "oot6mr"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
], n = o("inbox", t);
|
|
18
|
+
export {
|
|
19
|
+
t as __iconNode,
|
|
20
|
+
n as default
|
|
21
|
+
};
|
package/dist/index79.cjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index115.cjs");/**
|
|
2
|
+
* @license lucide-react v0.563.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],c=t("image",e);exports.__iconNode=e;exports.default=c;
|
package/dist/index79.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./index115.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.563.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const c = [
|
|
9
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
10
|
+
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
11
|
+
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
12
|
+
], a = e("image", c);
|
|
13
|
+
export {
|
|
14
|
+
c as __iconNode,
|
|
15
|
+
a as default
|
|
16
|
+
};
|
package/dist/index8.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var g=Object.defineProperty;var u=(s,a,e)=>a in s?g(s,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[a]=e;var t=(s,a,e)=>u(s,typeof a!="symbol"?a+"":a,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=(s=>(s.TEXT="text",s.NUMBER="number",s.PRODUCT="product",s.SELECT="select",s.IMAGE_SELECT="image-select",s.PRICE="price",s.CUSTOM="custom",s))(o||{}),l=(s=>(s.LEFT="flex-start",s.CENTER="center",s.RIGHT="flex-end",s))(l||{});class r{constructor(a,e){t(this,"type");t(this,"columnKey");t(this,"isDragDisabled");t(this,"getValue");t(this,"setValue");t(this,"isDisabled");t(this,"headerText");t(this,"summaryText");t(this,"headerTooltipProps");t(this,"isSortable");t(this,"isArrangable");t(this,"isArrangableDefaultVisible");t(this,"showAtEndWhenNotArrangeable");t(this,"isStringSort");t(this,"isLinkEnabled");t(this,"isLinkCoverContent");t(this,"getSortValue");t(this,"width");t(this,"minWidth");t(this,"alignment");t(this,"headerAlignment");t(this,"borderLeft");t(this,"borderRight");this.type=a,this.columnKey=e.columnKey,this.getValue=e.getValue,this.setValue=e.setValue,this.isDisabled=e.isDisabled,this.isDragDisabled=e.isDragDisabled,this.headerText=e.headerText,this.summaryText=e.summaryText,this.headerTooltipProps=e.headerTooltipProps,this.isSortable=e.isSortable,this.isArrangable=e.isArrangable,this.isArrangableDefaultVisible=e.isArrangableDefaultVisible,this.showAtEndWhenNotArrangeable=e.showAtEndWhenNotArrangeable,this.isStringSort=e.isStringSort,this.isLinkEnabled=e.isLinkEnabled,this.isLinkCoverContent=e.isLinkCoverContent,this.getSortValue=e.getSortValue,this.width=e.width,this.minWidth=e.minWidth,this.alignment=e.alignment,this.headerAlignment=e.headerAlignment,this.borderLeft=e.borderLeft,this.borderRight=e.borderRight}}class h extends r{constructor(e){super("custom",e);t(this,"render");this.render=e.render}}class m extends r{constructor(e){super("text",e);t(this,"inputMode");t(this,"getSecondLineValue");this.inputMode=e.inputMode,this.getSecondLineValue=e.getSecondLineValue}}class n extends r{constructor(e){super("number",e);t(this,"inputMode");t(this,"maskOptions");this.inputMode=e.inputMode,this.maskOptions=e.maskOptions}}class i extends r{constructor(e){super("price",e);t(this,"ellipsis");this.ellipsis=e.ellipsis}}class c extends r{constructor(e){super("select",e);t(this,"isTree");t(this,"isMultiple");t(this,"searchOptions");t(this,"getOptions");this.isTree=e.isTree,this.isMultiple=e.isMultiple,this.searchOptions=e.searchOptions,this.getOptions=e.getOptions}}class p extends r{constructor(e){super("image-select",e);t(this,"allowVideoUpload");t(this,"getGalleryImages");t(this,"getDrawerTitle");t(this,"disableUpload");t(this,"rightContent");t(this,"onDrawerToggle");t(this,"productImages");t(this,"onImageNameSave");t(this,"imageNameMaxLength");this.allowVideoUpload=e.allowVideoUpload,this.getGalleryImages=e.getGalleryImages,this.getDrawerTitle=e.getDrawerTitle,this.disableUpload=e.disableUpload,this.rightContent=e.rightContent,this.onDrawerToggle=e.onDrawerToggle,this.productImages=e.productImages,this.onImageNameSave=e.onImageNameSave,this.imageNameMaxLength=e.imageNameMaxLength}}class b extends r{constructor(e){super("product",e);t(this,"getProduct");t(this,"getProductVariant");t(this,"getName");t(this,"getImage");t(this,"getBarcodeSKU");t(this,"getVariantValue");t(this,"getAvatarLabel");t(this,"getCustomCellPadding");t(this,"showVariantValue");t(this,"enableHoverImageZoomPopover");t(this,"customContent");t(this,"topCustomContent");t(this,"customNameRightContent");this.getProduct=e.getProduct,this.getProductVariant=e.getProductVariant,this.getName=e.getName,this.getImage=e.getImage,this.getBarcodeSKU=e.getBarcodeSKU,this.getVariantValue=e.getVariantValue,this.getAvatarLabel=e.getAvatarLabel,this.getCustomCellPadding=e.getCustomCellPadding,this.showVariantValue=e.showVariantValue,this.enableHoverImageZoomPopover=e.enableHoverImageZoomPopover,this.customContent=e.customContent,this.topCustomContent=e.topCustomContent,this.customNameRightContent=e.customNameRightContent}}exports.CellType=o;exports.ColumnAlignment=l;exports.ColumnDefinition=r;exports.CustomColumnDefinition=h;exports.ImageSelectColumnDefinition=p;exports.NumberColumnDefinition=n;exports.PriceColumnDefinition=i;exports.ProductColumnDefinition=b;exports.SelectColumnDefinition=c;exports.TextColumnDefinition=m;
|
package/dist/index8.js
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
var o = Object.defineProperty;
|
|
2
|
+
var l = (s, a, e) => a in s ? o(s, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[a] = e;
|
|
3
|
+
var t = (s, a, e) => l(s, typeof a != "symbol" ? a + "" : a, e);
|
|
4
|
+
var g = /* @__PURE__ */ ((s) => (s.TEXT = "text", s.NUMBER = "number", s.PRODUCT = "product", s.SELECT = "select", s.IMAGE_SELECT = "image-select", s.PRICE = "price", s.CUSTOM = "custom", s))(g || {}), h = /* @__PURE__ */ ((s) => (s.LEFT = "flex-start", s.CENTER = "center", s.RIGHT = "flex-end", s))(h || {});
|
|
5
|
+
class r {
|
|
6
|
+
constructor(a, e) {
|
|
7
|
+
t(this, "type");
|
|
8
|
+
t(this, "columnKey");
|
|
9
|
+
t(this, "isDragDisabled");
|
|
10
|
+
t(this, "getValue");
|
|
11
|
+
t(this, "setValue");
|
|
12
|
+
t(this, "isDisabled");
|
|
13
|
+
t(this, "headerText");
|
|
14
|
+
t(this, "summaryText");
|
|
15
|
+
t(this, "headerTooltipProps");
|
|
16
|
+
t(this, "isSortable");
|
|
17
|
+
t(this, "isArrangable");
|
|
18
|
+
t(this, "isArrangableDefaultVisible");
|
|
19
|
+
t(this, "showAtEndWhenNotArrangeable");
|
|
20
|
+
t(this, "isStringSort");
|
|
21
|
+
t(this, "isLinkEnabled");
|
|
22
|
+
t(this, "isLinkCoverContent");
|
|
23
|
+
t(this, "getSortValue");
|
|
24
|
+
t(this, "width");
|
|
25
|
+
t(this, "minWidth");
|
|
26
|
+
t(this, "alignment");
|
|
27
|
+
t(this, "headerAlignment");
|
|
28
|
+
t(this, "borderLeft");
|
|
29
|
+
t(this, "borderRight");
|
|
30
|
+
this.type = a, this.columnKey = e.columnKey, this.getValue = e.getValue, this.setValue = e.setValue, this.isDisabled = e.isDisabled, this.isDragDisabled = e.isDragDisabled, this.headerText = e.headerText, this.summaryText = e.summaryText, this.headerTooltipProps = e.headerTooltipProps, this.isSortable = e.isSortable, this.isArrangable = e.isArrangable, this.isArrangableDefaultVisible = e.isArrangableDefaultVisible, this.showAtEndWhenNotArrangeable = e.showAtEndWhenNotArrangeable, this.isStringSort = e.isStringSort, this.isLinkEnabled = e.isLinkEnabled, this.isLinkCoverContent = e.isLinkCoverContent, this.getSortValue = e.getSortValue, this.width = e.width, this.minWidth = e.minWidth, this.alignment = e.alignment, this.headerAlignment = e.headerAlignment, this.borderLeft = e.borderLeft, this.borderRight = e.borderRight;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
class m extends r {
|
|
34
|
+
constructor(e) {
|
|
35
|
+
super("custom", e);
|
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
37
|
+
t(this, "render");
|
|
38
|
+
this.render = e.render;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
class c extends r {
|
|
42
|
+
constructor(e) {
|
|
43
|
+
super("text", e);
|
|
44
|
+
t(this, "inputMode");
|
|
45
|
+
t(this, "getSecondLineValue");
|
|
46
|
+
this.inputMode = e.inputMode, this.getSecondLineValue = e.getSecondLineValue;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
class n extends r {
|
|
50
|
+
constructor(e) {
|
|
51
|
+
super("number", e);
|
|
52
|
+
t(this, "inputMode");
|
|
53
|
+
t(this, "maskOptions");
|
|
54
|
+
this.inputMode = e.inputMode, this.maskOptions = e.maskOptions;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
class i extends r {
|
|
58
|
+
constructor(e) {
|
|
59
|
+
super("price", e);
|
|
60
|
+
t(this, "ellipsis");
|
|
61
|
+
this.ellipsis = e.ellipsis;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
class p extends r {
|
|
65
|
+
constructor(e) {
|
|
66
|
+
super("select", e);
|
|
67
|
+
t(this, "isTree");
|
|
68
|
+
t(this, "isMultiple");
|
|
69
|
+
t(this, "searchOptions");
|
|
70
|
+
t(this, "getOptions");
|
|
71
|
+
this.isTree = e.isTree, this.isMultiple = e.isMultiple, this.searchOptions = e.searchOptions, this.getOptions = e.getOptions;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
class b extends r {
|
|
75
|
+
constructor(e) {
|
|
76
|
+
super("image-select", e);
|
|
77
|
+
t(this, "allowVideoUpload");
|
|
78
|
+
t(this, "getGalleryImages");
|
|
79
|
+
t(this, "getDrawerTitle");
|
|
80
|
+
t(this, "disableUpload");
|
|
81
|
+
t(this, "rightContent");
|
|
82
|
+
t(this, "onDrawerToggle");
|
|
83
|
+
t(this, "productImages");
|
|
84
|
+
t(this, "onImageNameSave");
|
|
85
|
+
t(this, "imageNameMaxLength");
|
|
86
|
+
this.allowVideoUpload = e.allowVideoUpload, this.getGalleryImages = e.getGalleryImages, this.getDrawerTitle = e.getDrawerTitle, this.disableUpload = e.disableUpload, this.rightContent = e.rightContent, this.onDrawerToggle = e.onDrawerToggle, this.productImages = e.productImages, this.onImageNameSave = e.onImageNameSave, this.imageNameMaxLength = e.imageNameMaxLength;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
class C extends r {
|
|
90
|
+
constructor(e) {
|
|
91
|
+
super("product", e);
|
|
92
|
+
t(this, "getProduct");
|
|
93
|
+
t(this, "getProductVariant");
|
|
94
|
+
t(this, "getName");
|
|
95
|
+
t(this, "getImage");
|
|
96
|
+
t(this, "getBarcodeSKU");
|
|
97
|
+
t(this, "getVariantValue");
|
|
98
|
+
t(this, "getAvatarLabel");
|
|
99
|
+
t(this, "getCustomCellPadding");
|
|
100
|
+
t(this, "showVariantValue");
|
|
101
|
+
t(this, "enableHoverImageZoomPopover");
|
|
102
|
+
t(this, "customContent");
|
|
103
|
+
t(this, "topCustomContent");
|
|
104
|
+
t(this, "customNameRightContent");
|
|
105
|
+
this.getProduct = e.getProduct, this.getProductVariant = e.getProductVariant, this.getName = e.getName, this.getImage = e.getImage, this.getBarcodeSKU = e.getBarcodeSKU, this.getVariantValue = e.getVariantValue, this.getAvatarLabel = e.getAvatarLabel, this.getCustomCellPadding = e.getCustomCellPadding, this.showVariantValue = e.showVariantValue, this.enableHoverImageZoomPopover = e.enableHoverImageZoomPopover, this.customContent = e.customContent, this.topCustomContent = e.topCustomContent, this.customNameRightContent = e.customNameRightContent;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export {
|
|
109
|
+
g as CellType,
|
|
110
|
+
h as ColumnAlignment,
|
|
111
|
+
r as ColumnDefinition,
|
|
112
|
+
m as CustomColumnDefinition,
|
|
113
|
+
b as ImageSelectColumnDefinition,
|
|
114
|
+
n as NumberColumnDefinition,
|
|
115
|
+
i as PriceColumnDefinition,
|
|
116
|
+
C as ProductColumnDefinition,
|
|
117
|
+
p as SelectColumnDefinition,
|
|
118
|
+
c as TextColumnDefinition
|
|
119
|
+
};
|
package/dist/index80.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),v=require("./index139.cjs"),m=require("./index140.cjs");require("./index141.cjs");require("./index142.cjs");require("./index143.cjs");require("./index144.cjs");require("./index145.cjs");const P=require("./index146.cjs");require("./index147.cjs");const b=require("./index148.cjs");var y=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=r[t])}return i},a=function(e){var r=e.rgb,t=e.hsl,s=e.width,h=e.height,p=e.onChange,c=e.direction,u=e.style,d=e.renderers,g=e.pointer,n=e.className,q=n===void 0?"":n,l=v.default({default:{picker:{position:"relative",width:s,height:h},alpha:{radius:"2px",style:u}}});return o.createElement("div",{style:l.picker,className:"alpha-picker "+q},o.createElement(m.Alpha,y({},l.alpha,{rgb:r,hsl:t,pointer:g,renderers:d,onChange:p,direction:c})))};a.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:b.AlphaPointer};P.ColorWrap(a);exports.AlphaPicker=a;
|
package/dist/index80.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import n from "react";
|
|
2
|
+
import v from "./index139.js";
|
|
3
|
+
import { Alpha as f } from "./index140.js";
|
|
4
|
+
import "./index141.js";
|
|
5
|
+
import "./index142.js";
|
|
6
|
+
import "./index143.js";
|
|
7
|
+
import "./index144.js";
|
|
8
|
+
import "./index145.js";
|
|
9
|
+
import { ColorWrap as b } from "./index146.js";
|
|
10
|
+
import "./index147.js";
|
|
11
|
+
import { AlphaPointer as w } from "./index148.js";
|
|
12
|
+
var x = Object.assign || function(i) {
|
|
13
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
14
|
+
var t = arguments[r];
|
|
15
|
+
for (var e in t)
|
|
16
|
+
Object.prototype.hasOwnProperty.call(t, e) && (i[e] = t[e]);
|
|
17
|
+
}
|
|
18
|
+
return i;
|
|
19
|
+
}, p = function(r) {
|
|
20
|
+
var t = r.rgb, e = r.hsl, l = r.width, h = r.height, s = r.onChange, m = r.direction, c = r.style, d = r.renderers, g = r.pointer, a = r.className, u = a === void 0 ? "" : a, o = v({
|
|
21
|
+
default: {
|
|
22
|
+
picker: {
|
|
23
|
+
position: "relative",
|
|
24
|
+
width: l,
|
|
25
|
+
height: h
|
|
26
|
+
},
|
|
27
|
+
alpha: {
|
|
28
|
+
radius: "2px",
|
|
29
|
+
style: c
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
return n.createElement(
|
|
34
|
+
"div",
|
|
35
|
+
{ style: o.picker, className: "alpha-picker " + u },
|
|
36
|
+
n.createElement(f, x({}, o.alpha, {
|
|
37
|
+
rgb: t,
|
|
38
|
+
hsl: e,
|
|
39
|
+
pointer: g,
|
|
40
|
+
renderers: d,
|
|
41
|
+
onChange: s,
|
|
42
|
+
direction: m
|
|
43
|
+
}))
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
p.defaultProps = {
|
|
47
|
+
width: "316px",
|
|
48
|
+
height: "16px",
|
|
49
|
+
direction: "horizontal",
|
|
50
|
+
pointer: w
|
|
51
|
+
};
|
|
52
|
+
b(p);
|
|
53
|
+
export {
|
|
54
|
+
p as AlphaPicker
|
|
55
|
+
};
|
package/dist/index81.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),r=require("./index149.cjs"),m=require("./index139.cjs"),C=require("./index150.cjs"),c=require("./index151.cjs");require("./index140.cjs");const q=require("./index141.cjs"),w=require("./index142.cjs");require("./index143.cjs");require("./index144.cjs");require("./index145.cjs");const S=require("./index146.cjs");require("./index147.cjs");const k=require("./index152.cjs");var a=function(e){var p=e.onChange,u=e.onSwatchHover,o=e.hex,h=e.colors,x=e.width,g=e.triangle,i=e.styles,b=i===void 0?{}:i,l=e.className,y=l===void 0?"":l,v=o==="transparent",s=function(d,f){c.isValidHex(d)&&p({hex:d,source:"hex"},f)},n=m.default(C({default:{card:{width:x,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:c.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},b),{"hide-triangle":g==="hide"});return t.createElement("div",{style:n.card,className:"block-picker "+y},t.createElement("div",{style:n.triangle}),t.createElement("div",{style:n.head},v&&t.createElement(q.Checkboard,{borderRadius:"6px 6px 0 0"}),t.createElement("div",{style:n.label},o)),t.createElement("div",{style:n.body},t.createElement(k.BlockSwatches,{colors:h,onClick:s,onSwatchHover:u}),t.createElement(w.EditableInput,{style:{input:n.input},value:o,onChange:s})))};a.propTypes={width:r.oneOfType([r.string,r.number]),colors:r.arrayOf(r.string),triangle:r.oneOf(["top","hide"]),styles:r.object};a.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};S.ColorWrap(a);exports.Block=a;
|
package/dist/index81.js
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import r from "./index149.js";
|
|
3
|
+
import y from "./index139.js";
|
|
4
|
+
import v from "./index150.js";
|
|
5
|
+
import { getContrastingColor as C, isValidHex as w } from "./index151.js";
|
|
6
|
+
import "./index140.js";
|
|
7
|
+
import { Checkboard as S } from "./index141.js";
|
|
8
|
+
import { EditableInput as E } from "./index142.js";
|
|
9
|
+
import "./index143.js";
|
|
10
|
+
import "./index144.js";
|
|
11
|
+
import "./index145.js";
|
|
12
|
+
import { ColorWrap as k } from "./index146.js";
|
|
13
|
+
import "./index147.js";
|
|
14
|
+
import { BlockSwatches as R } from "./index152.js";
|
|
15
|
+
var i = function(e) {
|
|
16
|
+
var s = e.onChange, c = e.onSwatchHover, o = e.hex, m = e.colors, h = e.width, x = e.triangle, n = e.styles, g = n === void 0 ? {} : n, l = e.className, b = l === void 0 ? "" : l, f = o === "transparent", p = function(d, u) {
|
|
17
|
+
w(d) && s({
|
|
18
|
+
hex: d,
|
|
19
|
+
source: "hex"
|
|
20
|
+
}, u);
|
|
21
|
+
}, a = y(v({
|
|
22
|
+
default: {
|
|
23
|
+
card: {
|
|
24
|
+
width: h,
|
|
25
|
+
background: "#fff",
|
|
26
|
+
boxShadow: "0 1px rgba(0,0,0,.1)",
|
|
27
|
+
borderRadius: "6px",
|
|
28
|
+
position: "relative"
|
|
29
|
+
},
|
|
30
|
+
head: {
|
|
31
|
+
height: "110px",
|
|
32
|
+
background: o,
|
|
33
|
+
borderRadius: "6px 6px 0 0",
|
|
34
|
+
display: "flex",
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
justifyContent: "center",
|
|
37
|
+
position: "relative"
|
|
38
|
+
},
|
|
39
|
+
body: {
|
|
40
|
+
padding: "10px"
|
|
41
|
+
},
|
|
42
|
+
label: {
|
|
43
|
+
fontSize: "18px",
|
|
44
|
+
color: C(o),
|
|
45
|
+
position: "relative"
|
|
46
|
+
},
|
|
47
|
+
triangle: {
|
|
48
|
+
width: "0px",
|
|
49
|
+
height: "0px",
|
|
50
|
+
borderStyle: "solid",
|
|
51
|
+
borderWidth: "0 10px 10px 10px",
|
|
52
|
+
borderColor: "transparent transparent " + o + " transparent",
|
|
53
|
+
position: "absolute",
|
|
54
|
+
top: "-10px",
|
|
55
|
+
left: "50%",
|
|
56
|
+
marginLeft: "-10px"
|
|
57
|
+
},
|
|
58
|
+
input: {
|
|
59
|
+
width: "100%",
|
|
60
|
+
fontSize: "12px",
|
|
61
|
+
color: "#666",
|
|
62
|
+
border: "0px",
|
|
63
|
+
outline: "none",
|
|
64
|
+
height: "22px",
|
|
65
|
+
boxShadow: "inset 0 0 0 1px #ddd",
|
|
66
|
+
borderRadius: "4px",
|
|
67
|
+
padding: "0 7px",
|
|
68
|
+
boxSizing: "border-box"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"hide-triangle": {
|
|
72
|
+
triangle: {
|
|
73
|
+
display: "none"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, g), { "hide-triangle": x === "hide" });
|
|
77
|
+
return t.createElement(
|
|
78
|
+
"div",
|
|
79
|
+
{ style: a.card, className: "block-picker " + b },
|
|
80
|
+
t.createElement("div", { style: a.triangle }),
|
|
81
|
+
t.createElement(
|
|
82
|
+
"div",
|
|
83
|
+
{ style: a.head },
|
|
84
|
+
f && t.createElement(S, { borderRadius: "6px 6px 0 0" }),
|
|
85
|
+
t.createElement(
|
|
86
|
+
"div",
|
|
87
|
+
{ style: a.label },
|
|
88
|
+
o
|
|
89
|
+
)
|
|
90
|
+
),
|
|
91
|
+
t.createElement(
|
|
92
|
+
"div",
|
|
93
|
+
{ style: a.body },
|
|
94
|
+
t.createElement(R, { colors: m, onClick: p, onSwatchHover: c }),
|
|
95
|
+
t.createElement(E, {
|
|
96
|
+
style: { input: a.input },
|
|
97
|
+
value: o,
|
|
98
|
+
onChange: p
|
|
99
|
+
})
|
|
100
|
+
)
|
|
101
|
+
);
|
|
102
|
+
};
|
|
103
|
+
i.propTypes = {
|
|
104
|
+
width: r.oneOfType([r.string, r.number]),
|
|
105
|
+
colors: r.arrayOf(r.string),
|
|
106
|
+
triangle: r.oneOf(["top", "hide"]),
|
|
107
|
+
styles: r.object
|
|
108
|
+
};
|
|
109
|
+
i.defaultProps = {
|
|
110
|
+
width: 170,
|
|
111
|
+
colors: ["#D9E3F0", "#F47373", "#697689", "#37D67A", "#2CCCE4", "#555555", "#dce775", "#ff8a65", "#ba68c8"],
|
|
112
|
+
triangle: "top",
|
|
113
|
+
styles: {}
|
|
114
|
+
};
|
|
115
|
+
k(i);
|
|
116
|
+
export {
|
|
117
|
+
i as Block
|
|
118
|
+
};
|
package/dist/index82.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),i=require("./index149.cjs"),b=require("./index139.cjs"),v=require("./index153.cjs"),x=require("./index150.cjs"),e=require("./index154.cjs");require("./index140.cjs");require("./index141.cjs");require("./index142.cjs");require("./index143.cjs");require("./index144.cjs");require("./index145.cjs");const f=require("./index146.cjs");require("./index147.cjs");const z=require("./index155.cjs");var l=function(r){var s=r.width,u=r.onChange,d=r.onSwatchHover,p=r.colors,g=r.hex,h=r.circleSize,t=r.styles,m=t===void 0?{}:t,n=r.circleSpacing,a=r.className,S=a===void 0?"":a,y=b.default(x({default:{card:{width:s,display:"flex",flexWrap:"wrap",marginRight:-n,marginBottom:-n}}},m)),q=function(w,C){return u({hex:w,source:"hex"},C)};return o.createElement("div",{style:y.card,className:"circle-picker "+S},v(p,function(c){return o.createElement(z.default,{key:c,color:c,onClick:q,onSwatchHover:d,active:g===c.toLowerCase(),circleSize:h,circleSpacing:n})}))};l.propTypes={width:i.oneOfType([i.string,i.number]),circleSize:i.number,circleSpacing:i.number,styles:i.object};l.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[e.red[500],e.pink[500],e.purple[500],e.deepPurple[500],e.indigo[500],e.blue[500],e.lightBlue[500],e.cyan[500],e.teal[500],e.green[500],e.lightGreen[500],e.lime[500],e.yellow[500],e.amber[500],e.orange[500],e.deepOrange[500],e.brown[500],e.blueGrey[500]],styles:{}};f.ColorWrap(l);exports.Circle=l;
|
package/dist/index82.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import a from "react";
|
|
2
|
+
import r from "./index149.js";
|
|
3
|
+
import C from "./index139.js";
|
|
4
|
+
import v from "./index153.js";
|
|
5
|
+
import b from "./index150.js";
|
|
6
|
+
import { red as x, pink as z, purple as k, deepPurple as N, indigo as H, blue as P, lightBlue as T, cyan as B, teal as E, green as G, lightGreen as O, lime as R, yellow as W, amber as $, orange as j, deepOrange as L, brown as q, blueGrey as A } from "./index154.js";
|
|
7
|
+
import "./index140.js";
|
|
8
|
+
import "./index141.js";
|
|
9
|
+
import "./index142.js";
|
|
10
|
+
import "./index143.js";
|
|
11
|
+
import "./index144.js";
|
|
12
|
+
import "./index145.js";
|
|
13
|
+
import { ColorWrap as D } from "./index146.js";
|
|
14
|
+
import "./index147.js";
|
|
15
|
+
import F from "./index155.js";
|
|
16
|
+
var t = function(e) {
|
|
17
|
+
var n = e.width, p = e.onChange, m = e.onSwatchHover, s = e.colors, d = e.hex, h = e.circleSize, c = e.styles, g = c === void 0 ? {} : c, o = e.circleSpacing, l = e.className, u = l === void 0 ? "" : l, S = C(b({
|
|
18
|
+
default: {
|
|
19
|
+
card: {
|
|
20
|
+
width: n,
|
|
21
|
+
display: "flex",
|
|
22
|
+
flexWrap: "wrap",
|
|
23
|
+
marginRight: -o,
|
|
24
|
+
marginBottom: -o
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, g)), y = function(f, w) {
|
|
28
|
+
return p({ hex: f, source: "hex" }, w);
|
|
29
|
+
};
|
|
30
|
+
return a.createElement(
|
|
31
|
+
"div",
|
|
32
|
+
{ style: S.card, className: "circle-picker " + u },
|
|
33
|
+
v(s, function(i) {
|
|
34
|
+
return a.createElement(F, {
|
|
35
|
+
key: i,
|
|
36
|
+
color: i,
|
|
37
|
+
onClick: y,
|
|
38
|
+
onSwatchHover: m,
|
|
39
|
+
active: d === i.toLowerCase(),
|
|
40
|
+
circleSize: h,
|
|
41
|
+
circleSpacing: o
|
|
42
|
+
});
|
|
43
|
+
})
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
t.propTypes = {
|
|
47
|
+
width: r.oneOfType([r.string, r.number]),
|
|
48
|
+
circleSize: r.number,
|
|
49
|
+
circleSpacing: r.number,
|
|
50
|
+
styles: r.object
|
|
51
|
+
};
|
|
52
|
+
t.defaultProps = {
|
|
53
|
+
width: 252,
|
|
54
|
+
circleSize: 28,
|
|
55
|
+
circleSpacing: 14,
|
|
56
|
+
colors: [x[500], z[500], k[500], N[500], H[500], P[500], T[500], B[500], E[500], G[500], O[500], R[500], W[500], $[500], j[500], L[500], q[500], A[500]],
|
|
57
|
+
styles: {}
|
|
58
|
+
};
|
|
59
|
+
D(t);
|
|
60
|
+
export {
|
|
61
|
+
t as Circle
|
|
62
|
+
};
|
package/dist/index83.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react"),i=require("./index149.cjs"),y=require("./index139.cjs"),C=require("./index150.cjs"),w=require("./index140.cjs"),f=require("./index141.cjs");require("./index142.cjs");const q=require("./index143.cjs");require("./index144.cjs");const E=require("./index145.cjs"),A=require("./index146.cjs");require("./index147.cjs");const S=require("./index156.cjs"),c=require("./index157.cjs"),k=require("./index158.cjs");var s=function(r){var u=r.width,o=r.onChange,n=r.disableAlpha,a=r.rgb,l=r.hsl,x=r.hsv,m=r.hex,d=r.renderers,h=r.styles,b=h===void 0?{}:h,p=r.className,g=p===void 0?"":p,v=r.defaultView,t=y.default(C({default:{picker:{width:u,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},b),{disableAlpha:n});return e.createElement("div",{style:t.picker,className:"chrome-picker "+g},e.createElement("div",{style:t.saturation},e.createElement(E.Saturation,{style:t.Saturation,hsl:l,hsv:x,pointer:k.ChromePointerCircle,onChange:o})),e.createElement("div",{style:t.body},e.createElement("div",{style:t.controls,className:"flexbox-fix"},e.createElement("div",{style:t.color},e.createElement("div",{style:t.swatch},e.createElement("div",{style:t.active}),e.createElement(f.Checkboard,{renderers:d}))),e.createElement("div",{style:t.toggles},e.createElement("div",{style:t.hue},e.createElement(q.Hue,{style:t.Hue,hsl:l,pointer:c.ChromePointer,onChange:o})),e.createElement("div",{style:t.alpha},e.createElement(w.Alpha,{style:t.Alpha,rgb:a,hsl:l,pointer:c.ChromePointer,renderers:d,onChange:o})))),e.createElement(S.ChromeFields,{rgb:a,hsl:l,hex:m,view:v,onChange:o,disableAlpha:n})))};s.propTypes={width:i.oneOfType([i.string,i.number]),disableAlpha:i.bool,styles:i.object,defaultView:i.oneOf(["hex","rgb","hsl"])};s.defaultProps={width:225,disableAlpha:!1,styles:{}};const P=A.ColorWrap(s);exports.Chrome=s;exports.default=P;
|