@paperless/core 2.2.2 → 2.2.4
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/CHANGELOG.md +19 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/p-11086eb3.entry.js +2 -0
- package/dist/build/p-11086eb3.entry.js.map +1 -0
- package/dist/build/p-2615d3de.entry.js +2 -0
- package/dist/build/p-2615d3de.entry.js.map +1 -0
- package/dist/build/p-2b203c64.entry.js +2 -0
- package/dist/build/p-2b203c64.entry.js.map +1 -0
- package/dist/build/p-30ac06d0.entry.js +2 -0
- package/dist/{paperless/p-1952d1c0.entry.js.map → build/p-30ac06d0.entry.js.map} +1 -1
- package/dist/build/p-4a420a81.entry.js +2 -0
- package/dist/{paperless/p-042d151f.entry.js.map → build/p-4a420a81.entry.js.map} +1 -1
- package/dist/build/{p-340d0dc7.js → p-5fac04a9.js} +1 -1
- package/dist/build/p-6b4e7631.entry.js +2 -0
- package/dist/build/p-6b4e7631.entry.js.map +1 -0
- package/dist/build/p-80c3e999.entry.js +2 -0
- package/dist/build/{p-1adb9c2a.entry.js.map → p-80c3e999.entry.js.map} +1 -1
- package/dist/build/p-82a5a5c3.entry.js +2 -0
- package/dist/build/p-82a5a5c3.entry.js.map +1 -0
- package/dist/build/p-978e217e.entry.js +2 -0
- package/dist/build/{p-fd1323c6.entry.js.map → p-978e217e.entry.js.map} +1 -1
- package/dist/build/p-98bcb79a.entry.js +2 -0
- package/dist/build/p-98bcb79a.entry.js.map +1 -0
- package/dist/build/p-B_J87c4o.js +2 -0
- package/dist/build/p-B_J87c4o.js.map +1 -0
- package/dist/build/p-a7ea8b65.entry.js +2 -0
- package/dist/build/p-a7ea8b65.entry.js.map +1 -0
- package/dist/build/p-a8394124.entry.js +2 -0
- package/dist/build/p-a8394124.entry.js.map +1 -0
- package/dist/build/p-a8935494.entry.js +2 -0
- package/dist/{paperless/p-6a0b04df.entry.js.map → build/p-a8935494.entry.js.map} +1 -1
- package/dist/build/p-ab9ad2c2.entry.js +2 -0
- package/dist/build/p-ab9ad2c2.entry.js.map +1 -0
- package/dist/build/p-avatar.entry.esm.js.map +1 -1
- package/dist/build/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/build/p-c5cdddf3.entry.js +2 -0
- package/dist/build/p-c5cdddf3.entry.js.map +1 -0
- package/dist/build/p-calendar.entry.esm.js.map +1 -1
- package/dist/build/p-card-container.entry.esm.js.map +1 -1
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/build/p-d4f556ea.entry.js +2 -0
- package/dist/build/{p-72a6485f.entry.js.map → p-d4f556ea.entry.js.map} +1 -1
- package/dist/build/{p-237b1793.entry.js → p-eda5bde3.entry.js} +2 -2
- package/dist/build/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/p-fcb0ae83.entry.js +2 -0
- package/dist/build/p-fcb0ae83.entry.js.map +1 -0
- package/dist/build/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/build/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/build/p-info-panel.entry.esm.js.map +1 -1
- package/dist/build/p-listing-item.entry.esm.js.map +1 -1
- package/dist/build/p-navigation-item.entry.esm.js.map +1 -1
- package/dist/build/p-pagination-pages-item.entry.esm.js.map +1 -1
- package/dist/build/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/build/p-radio.entry.esm.js.map +1 -1
- package/dist/build/p-toast.entry.esm.js.map +1 -1
- package/dist/build/p-toggle.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +1 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +3 -3
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/p-badge.p-segment-container.p-segment-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-badge_3.cjs.entry.js +7 -7
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +9 -9
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +3 -3
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +12 -12
- package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_8.cjs.entry.js +4 -4
- package/dist/cjs/p-empty-state_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field.p-field-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +7 -7
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +5 -2
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-listing-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +4 -4
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-pagination-pages-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination.p-pagination-pages.p-pagination-size.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
- package/dist/cjs/p-pagination_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +5 -5
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/{table-helpers-qP6dnjKg.js → table-helpers-mers0XLs.js} +3 -3
- package/dist/cjs/table-helpers-mers0XLs.js.map +1 -0
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.css +1 -1
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +2 -2
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js.map +1 -1
- package/dist/collection/components/atoms/badge/badge.component.css +1 -1
- package/dist/collection/components/atoms/badge/badge.component.js +2 -2
- package/dist/collection/components/atoms/badge/badge.component.js.map +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +5 -5
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +5 -5
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +4 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js.map +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.css +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +3 -3
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js.map +1 -1
- package/dist/collection/components/atoms/radio/radio.component.css +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +4 -4
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +3 -3
- package/dist/collection/components/atoms/segment/item/segment-item.component.js.map +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +7 -7
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +2 -2
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field/field.component.css +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +6 -6
- package/dist/collection/components/molecules/field/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +4 -4
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.css +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js.map +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +2 -2
- package/dist/collection/components/molecules/table/cell/table-cell.component.js.map +1 -1
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
- package/dist/collection/tailwind/theme/colors.js +0 -2
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +1 -1
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/components/index.js +1 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-B45wCDRo.js → p-BQ7bKDg0.js} +3 -3
- package/dist/components/{p-B45wCDRo.js.map → p-BQ7bKDg0.js.map} +1 -1
- package/dist/components/{p-CXutp_ae.js → p-BaiS3oqu.js} +4 -4
- package/dist/components/{p-CXutp_ae.js.map → p-BaiS3oqu.js.map} +1 -1
- package/dist/components/{p-Bns3xDMA.js → p-C58xESD5.js} +8 -8
- package/dist/components/{p-Bns3xDMA.js.map → p-C58xESD5.js.map} +1 -1
- package/dist/components/{p-Bd1TiOlh.js → p-C8LZ3ny_.js} +3 -3
- package/dist/components/{p-Bd1TiOlh.js.map → p-C8LZ3ny_.js.map} +1 -1
- package/dist/components/{p-CBWZtmq5.js → p-CGQteQ0W.js} +4 -4
- package/dist/components/{p-CBWZtmq5.js.map → p-CGQteQ0W.js.map} +1 -1
- package/dist/components/{p-Ue48U5Tn.js → p-CHUjLuJU.js} +10 -10
- package/dist/components/{p-Ue48U5Tn.js.map → p-CHUjLuJU.js.map} +1 -1
- package/dist/components/{p-BNaOqJgo.js → p-CSMmVQpi.js} +14 -14
- package/dist/components/p-CSMmVQpi.js.map +1 -0
- package/dist/components/{p-FGoTB-2X.js → p-CTOreths.js} +3 -3
- package/dist/components/p-CTOreths.js.map +1 -0
- package/dist/components/{p-B0JPVSSp.js → p-CgX_ojEK.js} +4 -4
- package/dist/components/{p-B0JPVSSp.js.map → p-CgX_ojEK.js.map} +1 -1
- package/dist/components/{p-CZh8Xlr3.js → p-CsFe2_Ee.js} +6 -6
- package/dist/components/{p-CZh8Xlr3.js.map → p-CsFe2_Ee.js.map} +1 -1
- package/dist/components/{p-BZ8j-d8K.js → p-CvdTkdj3.js} +5 -5
- package/dist/components/{p-BZ8j-d8K.js.map → p-CvdTkdj3.js.map} +1 -1
- package/dist/components/{p-DbuVarXz.js → p-CyFK7e0I.js} +8 -8
- package/dist/components/{p-DbuVarXz.js.map → p-CyFK7e0I.js.map} +1 -1
- package/dist/components/{p-CrWSVtho.js → p-D39NYNs4.js} +11 -11
- package/dist/components/p-D39NYNs4.js.map +1 -0
- package/dist/components/{p-CzcSyN0w.js → p-DDmmVf26.js} +3 -3
- package/dist/components/{p-CzcSyN0w.js.map → p-DDmmVf26.js.map} +1 -1
- package/dist/components/{p-C11iS5-g.js → p-DQWXRiS6.js} +6 -6
- package/dist/components/{p-C11iS5-g.js.map → p-DQWXRiS6.js.map} +1 -1
- package/dist/components/{p-clAk6BWZ.js → p-Dl3R8eca.js} +5 -5
- package/dist/components/p-Dl3R8eca.js.map +1 -0
- package/dist/components/{p-C_BNkkNm.js → p-DnU2ijlN.js} +5 -5
- package/dist/components/{p-C_BNkkNm.js.map → p-DnU2ijlN.js.map} +1 -1
- package/dist/components/{p-CMcu6wTe.js → p-DpQtYEhd.js} +8 -8
- package/dist/components/{p-CMcu6wTe.js.map → p-DpQtYEhd.js.map} +1 -1
- package/dist/components/{p-CtsYy7oc.js → p-DxmvFiF3.js} +5 -5
- package/dist/components/{p-CtsYy7oc.js.map → p-DxmvFiF3.js.map} +1 -1
- package/dist/components/{p-hfbPyfbz.js → p-HV-e66iQ.js} +6 -6
- package/dist/components/p-HV-e66iQ.js.map +1 -0
- package/dist/components/{p-DNvXnOyY.js → p-XxDh_MTP.js} +5 -5
- package/dist/components/p-XxDh_MTP.js.map +1 -0
- package/dist/components/p-attachment.js +5 -5
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-container.js.map +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/{p-hlCk1nYr.js → p-d-nBE1mn.js} +9 -9
- package/dist/components/{p-hlCk1nYr.js.map → p-d-nBE1mn.js.map} +1 -1
- package/dist/components/p-datepicker.js +7 -7
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +3 -3
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-info-panel.js +5 -2
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/{p-CL38sZQy.js → p-kfQbaa0L.js} +6 -6
- package/dist/components/{p-CL38sZQy.js.map → p-kfQbaa0L.js.map} +1 -1
- package/dist/components/p-listing-item.js +2 -2
- package/dist/components/p-listing-item.js.map +1 -1
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +3 -3
- package/dist/components/p-navbar.js +2 -2
- package/dist/components/p-navigation-item.js +7 -7
- package/dist/components/p-navigation-item.js.map +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +2 -2
- package/dist/components/p-radio.js +5 -5
- package/dist/components/p-radio.js.map +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +9 -9
- package/dist/components/{p-C6N9pYU4.js → p-syMUTQc5.js} +7 -7
- package/dist/components/{p-C6N9pYU4.js.map → p-syMUTQc5.js.map} +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table.js +21 -21
- package/dist/components/p-toast.js +2 -2
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-toggle.js.map +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-DJRszd89.js → p-vYOn6f3H.js} +9 -9
- package/dist/components/p-vYOn6f3H.js.map +1 -0
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +3 -3
- package/dist/esm/p-avatar.entry.js.map +1 -1
- package/dist/esm/p-badge.p-segment-container.p-segment-item.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +7 -7
- package/dist/esm/p-badge_3.entry.js.map +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +9 -9
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +3 -3
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js.map +1 -1
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
- package/dist/esm/p-checkbox_4.entry.js +12 -12
- package/dist/esm/p-checkbox_4.entry.js.map +1 -1
- package/dist/esm/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_8.entry.js +4 -4
- package/dist/esm/p-empty-state_8.entry.js.map +1 -1
- package/dist/esm/p-field.p-field-container.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +7 -7
- package/dist/esm/p-field_2.entry.js.map +1 -1
- package/dist/esm/p-helper.p-tooltip.entry.js.map +1 -1
- package/dist/esm/p-helper_2.entry.js +6 -6
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/esm/p-info-panel.entry.js +5 -2
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-listing-item.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +5 -5
- package/dist/esm/p-navigation-item.entry.js.map +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +4 -4
- package/dist/esm/p-pagination-pages-item.entry.js.map +1 -1
- package/dist/esm/p-pagination.p-pagination-pages.p-pagination-size.entry.js.map +1 -1
- package/dist/esm/p-pagination_3.entry.js +5 -5
- package/dist/esm/p-pagination_3.entry.js.map +1 -1
- package/dist/esm/p-radio.entry.js +5 -5
- package/dist/esm/p-radio.entry.js.map +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/p-toggle.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js.map +1 -1
- package/dist/esm/{table-helpers-BX4N3a_N.js → table-helpers-sB23Am6C.js} +3 -3
- package/dist/esm/table-helpers-sB23Am6C.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/p-11086eb3.entry.js +2 -0
- package/dist/paperless/p-11086eb3.entry.js.map +1 -0
- package/dist/paperless/p-2615d3de.entry.js +2 -0
- package/dist/paperless/p-2615d3de.entry.js.map +1 -0
- package/dist/paperless/p-2b203c64.entry.js +2 -0
- package/dist/paperless/p-2b203c64.entry.js.map +1 -0
- package/dist/paperless/p-30ac06d0.entry.js +2 -0
- package/dist/{build/p-1952d1c0.entry.js.map → paperless/p-30ac06d0.entry.js.map} +1 -1
- package/dist/paperless/p-4a420a81.entry.js +2 -0
- package/dist/{build/p-042d151f.entry.js.map → paperless/p-4a420a81.entry.js.map} +1 -1
- package/dist/paperless/p-6b4e7631.entry.js +2 -0
- package/dist/paperless/p-6b4e7631.entry.js.map +1 -0
- package/dist/paperless/p-80c3e999.entry.js +2 -0
- package/dist/paperless/{p-1adb9c2a.entry.js.map → p-80c3e999.entry.js.map} +1 -1
- package/dist/paperless/p-82a5a5c3.entry.js +2 -0
- package/dist/paperless/p-82a5a5c3.entry.js.map +1 -0
- package/dist/paperless/p-978e217e.entry.js +2 -0
- package/dist/paperless/{p-fd1323c6.entry.js.map → p-978e217e.entry.js.map} +1 -1
- package/dist/paperless/p-98bcb79a.entry.js +2 -0
- package/dist/paperless/p-98bcb79a.entry.js.map +1 -0
- package/dist/paperless/p-B_J87c4o.js +2 -0
- package/dist/paperless/p-B_J87c4o.js.map +1 -0
- package/dist/paperless/p-a7ea8b65.entry.js +2 -0
- package/dist/paperless/p-a7ea8b65.entry.js.map +1 -0
- package/dist/paperless/p-a8394124.entry.js +2 -0
- package/dist/paperless/p-a8394124.entry.js.map +1 -0
- package/dist/paperless/p-a8935494.entry.js +2 -0
- package/dist/{build/p-6a0b04df.entry.js.map → paperless/p-a8935494.entry.js.map} +1 -1
- package/dist/paperless/p-ab9ad2c2.entry.js +2 -0
- package/dist/paperless/p-ab9ad2c2.entry.js.map +1 -0
- package/dist/paperless/p-avatar.entry.esm.js.map +1 -1
- package/dist/paperless/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/paperless/p-c5cdddf3.entry.js +2 -0
- package/dist/paperless/p-c5cdddf3.entry.js.map +1 -0
- package/dist/paperless/p-calendar.entry.esm.js.map +1 -1
- package/dist/paperless/p-card-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-d4f556ea.entry.js +2 -0
- package/dist/paperless/{p-72a6485f.entry.js.map → p-d4f556ea.entry.js.map} +1 -1
- package/dist/paperless/{p-237b1793.entry.js → p-eda5bde3.entry.js} +2 -2
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-fcb0ae83.entry.js +2 -0
- package/dist/paperless/p-fcb0ae83.entry.js.map +1 -0
- package/dist/paperless/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/paperless/p-info-panel.entry.esm.js.map +1 -1
- package/dist/paperless/p-listing-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-navigation-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-pagination-pages-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/paperless/p-radio.entry.esm.js.map +1 -1
- package/dist/paperless/p-toast.entry.esm.js.map +1 -1
- package/dist/paperless/p-toggle.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/colors.ts +0 -2
- package/dist/types/tailwind/theme/colors.d.ts +0 -2
- package/package.json +1 -1
- package/dist/build/p-042d151f.entry.js +0 -2
- package/dist/build/p-1952d1c0.entry.js +0 -2
- package/dist/build/p-1adb9c2a.entry.js +0 -2
- package/dist/build/p-2690f79b.entry.js +0 -2
- package/dist/build/p-2690f79b.entry.js.map +0 -1
- package/dist/build/p-2cda1f4c.entry.js +0 -2
- package/dist/build/p-2cda1f4c.entry.js.map +0 -1
- package/dist/build/p-3ee8abd1.entry.js +0 -2
- package/dist/build/p-3ee8abd1.entry.js.map +0 -1
- package/dist/build/p-683217cc.entry.js +0 -2
- package/dist/build/p-683217cc.entry.js.map +0 -1
- package/dist/build/p-6a0b04df.entry.js +0 -2
- package/dist/build/p-72a6485f.entry.js +0 -2
- package/dist/build/p-84ed2dfb.entry.js +0 -2
- package/dist/build/p-84ed2dfb.entry.js.map +0 -1
- package/dist/build/p-9b57af1e.entry.js +0 -2
- package/dist/build/p-9b57af1e.entry.js.map +0 -1
- package/dist/build/p-9e669b21.entry.js +0 -2
- package/dist/build/p-9e669b21.entry.js.map +0 -1
- package/dist/build/p-DyAZYCz8.js +0 -2
- package/dist/build/p-DyAZYCz8.js.map +0 -1
- package/dist/build/p-a47fccb0.entry.js +0 -2
- package/dist/build/p-a47fccb0.entry.js.map +0 -1
- package/dist/build/p-b8277898.entry.js +0 -2
- package/dist/build/p-b8277898.entry.js.map +0 -1
- package/dist/build/p-ed983d91.entry.js +0 -2
- package/dist/build/p-ed983d91.entry.js.map +0 -1
- package/dist/build/p-fd1323c6.entry.js +0 -2
- package/dist/build/p-fed427b1.entry.js +0 -2
- package/dist/build/p-fed427b1.entry.js.map +0 -1
- package/dist/cjs/table-helpers-qP6dnjKg.js.map +0 -1
- package/dist/components/p-BNaOqJgo.js.map +0 -1
- package/dist/components/p-CrWSVtho.js.map +0 -1
- package/dist/components/p-DJRszd89.js.map +0 -1
- package/dist/components/p-DNvXnOyY.js.map +0 -1
- package/dist/components/p-FGoTB-2X.js.map +0 -1
- package/dist/components/p-clAk6BWZ.js.map +0 -1
- package/dist/components/p-hfbPyfbz.js.map +0 -1
- package/dist/esm/table-helpers-BX4N3a_N.js.map +0 -1
- package/dist/paperless/p-042d151f.entry.js +0 -2
- package/dist/paperless/p-1952d1c0.entry.js +0 -2
- package/dist/paperless/p-1adb9c2a.entry.js +0 -2
- package/dist/paperless/p-2690f79b.entry.js +0 -2
- package/dist/paperless/p-2690f79b.entry.js.map +0 -1
- package/dist/paperless/p-2cda1f4c.entry.js +0 -2
- package/dist/paperless/p-2cda1f4c.entry.js.map +0 -1
- package/dist/paperless/p-3ee8abd1.entry.js +0 -2
- package/dist/paperless/p-3ee8abd1.entry.js.map +0 -1
- package/dist/paperless/p-683217cc.entry.js +0 -2
- package/dist/paperless/p-683217cc.entry.js.map +0 -1
- package/dist/paperless/p-6a0b04df.entry.js +0 -2
- package/dist/paperless/p-72a6485f.entry.js +0 -2
- package/dist/paperless/p-84ed2dfb.entry.js +0 -2
- package/dist/paperless/p-84ed2dfb.entry.js.map +0 -1
- package/dist/paperless/p-9b57af1e.entry.js +0 -2
- package/dist/paperless/p-9b57af1e.entry.js.map +0 -1
- package/dist/paperless/p-9e669b21.entry.js +0 -2
- package/dist/paperless/p-9e669b21.entry.js.map +0 -1
- package/dist/paperless/p-DyAZYCz8.js +0 -2
- package/dist/paperless/p-DyAZYCz8.js.map +0 -1
- package/dist/paperless/p-a47fccb0.entry.js +0 -2
- package/dist/paperless/p-a47fccb0.entry.js.map +0 -1
- package/dist/paperless/p-b8277898.entry.js +0 -2
- package/dist/paperless/p-b8277898.entry.js.map +0 -1
- package/dist/paperless/p-ed983d91.entry.js +0 -2
- package/dist/paperless/p-ed983d91.entry.js.map +0 -1
- package/dist/paperless/p-fd1323c6.entry.js +0 -2
- package/dist/paperless/p-fed427b1.entry.js +0 -2
- package/dist/paperless/p-fed427b1.entry.js.map +0 -1
- /package/dist/build/{p-237b1793.entry.js.map → p-eda5bde3.entry.js.map} +0 -0
- /package/dist/paperless/{p-237b1793.entry.js.map → p-eda5bde3.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-kfQbaa0L.js","mappings":";;;;;;;;AAAA,MAAM,sBAAsB,GAAG,u7BAAu7B;;ACgBt9B,MAAM,UAAU,GAAG,GAAG,CACrB,CAAC,+DAA+D,CAAC,EACjE;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,YAAY,EAAE;AACb,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAOY,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;;;;;;;AACtB;;AAEG;AACK,IAAA,YAAY;AAEpB;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,OAAO;AAEf;;AAEG;IACK,YAAY,GAAY,IAAI;AAEpC;;AAEG;AACK,IAAA,UAAU;AAElB;;AAEG;IACK,aAAa,GAAkB,WAAW;AAElD;;AAEG;AACK,IAAA,UAAU;AAElB;;AAEG;IACK,kBAAkB,GAAoB,OAAO;AAErD;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;AACM,IAAA,MAAM;;IAOf,MAAM,GAAA;AACL,QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC9C,2BAA2B,CAC3B;AACD,QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAE1E,QAAA,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAE,UAAU,CAAC;gBACjB,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC;AAChD,aAAA,CAAC,EACF,OAAO,EAAE,EAAE,IACV,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC;kBACxB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;kBACnB,SAAS,EAAA,EAGZ,IAAI,CAAC,YAAY,KACjB,uEACC,KAAK,EAAC,yBAAyB,EAC/B,OAAO,EAAE,IAAI,CAAC,YAAY,GACzB,CACF,EACA,aAAa,IACb,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,EAAG,CAAA,KAEtB,IAAI,CAAC,MAAM,EAAE,MAAM,KAClB,SAAG,KAAK,EAAC,8DAA8D,EAAA,EACrE,IAAI,CAAC,MAAM,CACT,CACJ,CACD,EACA,cAAc,IACd,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,SAAS,EAAG,CAAA,KAEvB,IAAI,CAAC,OAAO,EAAE,MAAM,KACnB,SAAG,KAAK,EAAC,yCAAyC,EAAA,EAChD,IAAI,CAAC,OAAO,CACV,CACJ,CACD,EACA,IAAI,CAAC,YAAY;AACjB,aAAC,aAAa,IACb,YAAM,IAAI,EAAC,QAAQ,EAAA,CAAG,KAEtB,CACC,CAAA,UAAA,EAAA,EAAA,KAAK,EAAC,MAAM,EACZ,IAAI,EAAE,IAAI,CAAC,UAAU,EACrB,YAAY,EAAE,IAAI,CAAC,kBAAkB,EACrC,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,OAAO,EAAE,IAAI,CAAC,aAAa,EAE1B,EAAA,IAAI,CAAC,UAAU,CACN,CACX,CAAC,CACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/empty-state/empty-state.component.css?tag=p-empty-state&encapsulation=shadow","src/components/molecules/empty-state/empty-state.component.tsx"],"sourcesContent":["p-divider {\n\t--tw-content: '';\n}\n","import {\n\tComponent,\n\th,\n\tProp,\n\tEvent,\n\tEventEmitter,\n\tElement,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tButtonVariant,\n\tIconVariant,\n\tIllustrationVariant,\n} from '../../../components';\nimport { asBoolean } from '../../../utils/as-boolean';\n\nconst emptyState = cva(\n\t['flex flex-col w-full items-center justify-start max-w-[20rem]'],\n\t{\n\t\tvariants: {\n\t\t\tenableAction: {\n\t\t\t\ttrue: 'cursor-pointer',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-empty-state',\n\tstyleUrl: 'empty-state.component.css',\n\tshadow: true,\n})\nexport class EmptyState {\n\t/**\n\t * The variant of the illustration\n\t */\n\t@Prop() illustration: IllustrationVariant;\n\n\t/**\n\t * The header of the empty state\n\t */\n\t@Prop() header: string;\n\n\t/**\n\t * The content of the empty state\n\t */\n\t@Prop() content: string;\n\n\t/**\n\t * Wether to enable the action button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * The text on the action button\n\t */\n\t@Prop() actionText: string;\n\n\t/**\n\t * The variant of the action\n\t */\n\t@Prop() actionVariant: ButtonVariant = 'secondary';\n\n\t/**\n\t * The icon for the action button\n\t */\n\t@Prop() actionIcon: IconVariant;\n\n\t/**\n\t * The position of the action icon\n\t */\n\t@Prop() actionIconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * Wether the action is loading\n\t */\n\t@Prop() actionLoading: boolean = false;\n\n\t/**\n\t * The text on the action button\n\t */\n\t@Event() action: EventEmitter<MouseEvent>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\trender() {\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t\tconst hasActionSlot = !!this._el.querySelector(':scope > [slot=\"action\"]');\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={emptyState({\n\t\t\t\t\tenableAction: asBoolean(this.enableAction, true),\n\t\t\t\t})}\n\t\t\t\tonClick={ev =>\n\t\t\t\t\tthis.enableAction && !this.actionLoading\n\t\t\t\t\t\t? this.action.emit(ev)\n\t\t\t\t\t\t: undefined\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t{this.illustration && (\n\t\t\t\t\t<p-illustration\n\t\t\t\t\t\tclass='mb-8 text-5xl text-teal'\n\t\t\t\t\t\tvariant={this.illustration}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t{hasHeaderSlot ? (\n\t\t\t\t\t<slot name='header' />\n\t\t\t\t) : (\n\t\t\t\t\tthis.header?.length && (\n\t\t\t\t\t\t<p class='my-0 text-center font-ambit text-sm font-bold text-storm-500'>\n\t\t\t\t\t\t\t{this.header}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t)\n\t\t\t\t)}\n\t\t\t\t{hasContentSlot ? (\n\t\t\t\t\t<slot name='content' />\n\t\t\t\t) : (\n\t\t\t\t\tthis.content?.length && (\n\t\t\t\t\t\t<p class='my-0 text-center text-sm text-storm-300'>\n\t\t\t\t\t\t\t{this.content}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t)\n\t\t\t\t)}\n\t\t\t\t{this.enableAction &&\n\t\t\t\t\t(hasActionSlot ? (\n\t\t\t\t\t\t<slot name='action' />\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tclass='mt-4'\n\t\t\t\t\t\t\ticon={this.actionIcon}\n\t\t\t\t\t\t\ticonPosition={this.actionIconPosition}\n\t\t\t\t\t\t\tloading={this.actionLoading}\n\t\t\t\t\t\t\tvariant={this.actionVariant}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this.actionText}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t))}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-tdjn65Lz.js';
|
|
2
2
|
import { d as defineCustomElement$2 } from './p-BNz_LoMA.js';
|
|
3
3
|
|
|
4
|
-
const listingItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-storm{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}";
|
|
4
|
+
const listingItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}";
|
|
5
5
|
|
|
6
6
|
const ListingItem = /*@__PURE__*/ proxyCustomElement(class ListingItem extends H {
|
|
7
7
|
constructor() {
|
|
@@ -14,7 +14,7 @@ const ListingItem = /*@__PURE__*/ proxyCustomElement(class ListingItem extends H
|
|
|
14
14
|
*/
|
|
15
15
|
icon = 'placeholder';
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'a8cee4daba9fa2850852316eb12a5fdf4306303c', class: 'flex items-center gap-2 text-storm-500' }, h("p-icon", { key: '8cfb54082c04335165a0d763aa01340451bc328e', variant: this.icon }), h("div", { key: 'ca9ad66520ddbccc5248e38a88ab7ea7ae2614aa', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '98c8303feeb5afbc9e7b0cc3b9a73e9ed86c026c' }))));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return listingItemComponentCss; }
|
|
20
20
|
}, [1, "p-listing-item", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-listing-item.js","mappings":";;;AAAA,MAAM,uBAAuB,GAAG,
|
|
1
|
+
{"file":"p-listing-item.js","mappings":";;;AAAA,MAAM,uBAAuB,GAAG,qdAAqd;;MCQxe,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;AACvB;;AAEG;IACK,IAAI,GAAgB,aAAa;IAEzC,MAAM,GAAA;QACL,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,wCAAwC,EAAA,EAClD,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,OAAO,EAAE,IAAI,CAAC,IAAI,EAAI,CAAA,EAC9B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kDAAkD,EAAA,EAC5D,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/listing/item/listing-item.component.css?tag=p-listing-item&encapsulation=shadow","src/components/atoms/listing/item/listing-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { IconVariant } from '../../icon/icon.component';\n\n@Component({\n\ttag: 'p-listing-item',\n\tstyleUrl: 'listing-item.component.css',\n\tshadow: true,\n})\nexport class ListingItem {\n\t/**\n\t * The icon of the step\n\t */\n\t@Prop() icon: IconVariant = 'placeholder';\n\n\trender() {\n\t\treturn (\n\t\t\t<div class='flex items-center gap-2 text-storm-500'>\n\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t<div class='flex min-w-0 flex-1 flex-col text-sm font-medium'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-tdjn65Lz.js';
|
|
2
2
|
import { d as defineCustomElement$b } from './p-BjsPeqGD.js';
|
|
3
|
-
import { d as defineCustomElement$a } from './p-
|
|
3
|
+
import { d as defineCustomElement$a } from './p-D39NYNs4.js';
|
|
4
4
|
import { d as defineCustomElement$9 } from './p-Dl2d_IWC.js';
|
|
5
5
|
import { d as defineCustomElement$8 } from './p-BNz_LoMA.js';
|
|
6
|
-
import { d as defineCustomElement$7 } from './p-
|
|
6
|
+
import { d as defineCustomElement$7 } from './p-BQ7bKDg0.js';
|
|
7
7
|
import { d as defineCustomElement$6 } from './p-CoLZHANv.js';
|
|
8
8
|
import { d as defineCustomElement$5 } from './p-05D7qOIg.js';
|
|
9
9
|
import { d as defineCustomElement$4 } from './p-C3H31pam.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-BaiS3oqu.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './p-BFghMvAR.js';
|
|
12
12
|
|
|
13
13
|
const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends H {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-tdjn65Lz.js';
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
3
|
import { d as defineCustomElement$5 } from './p-BjsPeqGD.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './p-
|
|
4
|
+
import { d as defineCustomElement$4 } from './p-D39NYNs4.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './p-BNz_LoMA.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-BQ7bKDg0.js';
|
|
7
7
|
|
|
8
8
|
const navbarComponentCss = ".w-full{width:100%!important}.max-h-screen-safe{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}*{box-sizing:border-box}:host{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;.safe-sidebar{padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important;&.show{--tw-translate-x:env(safe-area-inset-left,0)!important}}.safe-topbar{height:calc(env(safe-area-inset-top, 0) + 4rem);padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}}@media (min-width:80rem){:host{width:15rem}}@media (min-width:105rem){:host{width:18rem}}@media (min-width:80rem){.layout-1280\\:w-60{width:15rem!important}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.fixed{position:fixed!important}.relative{position:relative!important}.left-0{left:0!important}.top-0{top:0!important}.z-navbar{z-index:300!important}.z-navbar-backdrop{z-index:290!important}.z-navbar-topbar{z-index:280!important}.mt-auto{margin-top:auto!important}.flex{display:flex!important}.hidden{display:none!important}.h-screen{height:100vh!important}.w-60{width:15rem!important}.max-w-\\[16\\.5rem\\]{max-width:16.5rem!important}.-translate-x-full{--tw-translate-x:-100%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-end{justify-content:flex-end!important}.justify-between{justify-content:space-between!important}.gap-6{gap:1.5rem!important}.overflow-y-auto{overflow-y:auto!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-r{border-right-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.will-change-transform{will-change:transform!important}@media (min-width:80rem){.layout-1280\\:relative{position:relative!important}.layout-1280\\:z-0{z-index:0!important}.layout-1280\\:flex{display:flex!important}.layout-1280\\:hidden{display:none!important}.layout-1280\\:h-full{height:100%!important}.layout-1280\\:max-w-none{max-width:none!important}.layout-1280\\:translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}}";
|
|
9
9
|
|
|
@@ -2,11 +2,11 @@ import { p as proxyCustomElement, H, h, d as Host } from './p-tdjn65Lz.js';
|
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
3
|
import { c as cn } from './p-CT54OXR2.js';
|
|
4
4
|
import { a as asBoolean } from './p-C5CTp9IA.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
+
import { d as defineCustomElement$4 } from './p-DxmvFiF3.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './p-BNz_LoMA.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-BQ7bKDg0.js';
|
|
8
8
|
|
|
9
|
-
const navigationItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.ml-auto{margin-left:auto!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-\\[inherit\\]{width:inherit!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.bg-indigo{--tw-bg-opacity:1!important;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))!important}.bg-off-white-600{--tw-bg-opacity:1!important;background-color:rgb(236 234 229/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.pl-1{padding-left:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-storm{color:rgb(
|
|
9
|
+
const navigationItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.ml-auto{margin-left:auto!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-\\[inherit\\]{width:inherit!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.bg-indigo-500{--tw-bg-opacity:1!important;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))!important}.bg-off-white-600{--tw-bg-opacity:1!important;background-color:rgb(236 234 229/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.pl-1{padding-left:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\\:bg-off-white:hover{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}";
|
|
10
10
|
|
|
11
11
|
const navigationItem = cva([
|
|
12
12
|
'h-8 w-[inherit]',
|
|
@@ -20,7 +20,7 @@ const navigationItem = cva([
|
|
|
20
20
|
variants: {
|
|
21
21
|
active: {
|
|
22
22
|
false: ['text-storm-400', 'hover:bg-off-white'],
|
|
23
|
-
true: ['bg-off-white-600 text-storm font-semibold'],
|
|
23
|
+
true: ['bg-off-white-600 text-storm-500 font-semibold'],
|
|
24
24
|
},
|
|
25
25
|
icon: {
|
|
26
26
|
false: false,
|
|
@@ -32,7 +32,7 @@ const navigationItemIconContainer = cva(['flex h-6 aspect-branding items-center
|
|
|
32
32
|
variants: {
|
|
33
33
|
active: {
|
|
34
34
|
false: false,
|
|
35
|
-
true: ['bg-indigo'],
|
|
35
|
+
true: ['bg-indigo-500'],
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
});
|
|
@@ -76,10 +76,10 @@ const NavigationItem = /*@__PURE__*/ proxyCustomElement(class NavigationItem ext
|
|
|
76
76
|
render() {
|
|
77
77
|
const TagType = this.as;
|
|
78
78
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'eae89f204a781afe0afa11455d4e79c06bba7f41', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '21d95caca912be3c53749202853bf45fc8e437f2', class: navigationItem({
|
|
80
80
|
icon: !!this.icon,
|
|
81
81
|
active,
|
|
82
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
82
|
+
}), href: this.href, target: this.target }, h("div", { key: '116ee0d468abc244f9519af1aedb5ac10d91b2e9', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '8c46876d4043d011b7af150d5db4580119d1d0b8', variant: this.icon })), h("span", { key: '49ac0828c76dfcbb485a4b1e4d3e1dcd8076b5ad', class: this.counter && 'has-counter' }, h("slot", { key: '139fdeacc5e78964691653a8835372657da8019c' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '02248c8d2a75b31704f5d322a159c07dd6a0cafb' }, this.counter)), !!this.loading && h("p-loader", { key: 'afa957bf530dc699818f4bd4d4173b8832ddaddf', class: 'ml-auto' }))));
|
|
83
83
|
}
|
|
84
84
|
static get style() { return navigationItemComponentCss; }
|
|
85
85
|
}, [4, "p-navigation-item", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-navigation-item.js","mappings":";;;;;;;;AAAA,MAAM,0BAA0B,GAAG,
|
|
1
|
+
{"file":"p-navigation-item.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/navigation/item/navigation-item.component.css?tag=p-navigation-item","src/components/molecules/navigation/item/navigation-item.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { IconVariant } from '../../../atoms/icon/icon.component';\nimport { cn } from '../../../../utils/cn';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst navigationItem = cva(\n\t[\n\t\t'h-8 w-[inherit]',\n\t\t'flex items-center gap-2',\n\t\t'hover:text-storm-500',\n\t\t'rounded-lg',\n\t\t'py-1 px-2',\n\t\t'text-sm font-medium',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: ['text-storm-400', 'hover:bg-off-white'],\n\t\t\t\ttrue: ['bg-off-white-600 text-storm-500 font-semibold'],\n\t\t\t},\n\t\t\ticon: {\n\t\t\t\tfalse: false,\n\t\t\t\ttrue: ['pl-1'],\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst navigationItemIconContainer = cva(\n\t['flex h-6 aspect-branding items-center justify-center rounded-full'],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: false,\n\t\t\t\ttrue: ['bg-indigo-500'],\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-navigation-item',\n\tstyleUrl: './navigation-item.component.css',\n\tshadow: false,\n})\nexport class NavigationItem {\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon!: IconVariant;\n\n\t/**\n\t * Wether the navigation item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the navigation item is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The element to use for the navigation item\n\t */\n\t@Prop() as: string = 'a';\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() counter: number | string;\n\n\t/**\n\t * The href of the navigation item\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * The target of the navigation item\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\trender() {\n\t\tconst TagType = this.as;\n\n\t\tconst active = asBoolean(this.active) || this.class?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class={cn('p-navigation-item inline-block', this.class)}>\n\t\t\t\t<TagType\n\t\t\t\t\tclass={navigationItem({\n\t\t\t\t\t\ticon: !!this.icon,\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t>\n\t\t\t\t\t<div class={navigationItemIconContainer({ active })}>\n\t\t\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<span class={this.counter && 'has-counter'}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{!!this.counter && this.counter !== '0' && (\n\t\t\t\t\t\t<p-badge>{this.counter}</p-badge>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{!!this.loading && <p-loader class='ml-auto' />}\n\t\t\t\t</TagType>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PaginationPagesItem, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { P as PaginationPagesItem, d as defineCustomElement$1 } from './p-CsFe2_Ee.js';
|
|
2
2
|
|
|
3
3
|
const PPaginationPagesItem = PaginationPagesItem;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-tdjn65Lz.js';
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
|
-
import { d as defineCustomElement$6 } from './p-
|
|
3
|
+
import { d as defineCustomElement$6 } from './p-D39NYNs4.js';
|
|
4
4
|
import { d as defineCustomElement$5 } from './p-DMriM32U.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './p-Dc8e00Zd.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './p-BNz_LoMA.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-BQ7bKDg0.js';
|
|
8
8
|
|
|
9
9
|
const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.my-0{margin-bottom:0!important;margin-top:0!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.max-w-full{max-width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}";
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@ import { c as cva } from './p-CBWjHURv.js';
|
|
|
3
3
|
import { a as asBoolean } from './p-C5CTp9IA.js';
|
|
4
4
|
import { n as nonce } from './p-D9kEjsvZ.js';
|
|
5
5
|
|
|
6
|
-
const radioComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.block{display:block!important}.flex{display:flex!important}.h-2{height:.5rem!important}.h-4{height:1rem!important}.w-2{width:.5rem!important}.w-4{width:1rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm{--tw-border-opacity:1!important;border-color:rgb(
|
|
6
|
+
const radioComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.block{display:block!important}.flex{display:flex!important}.h-2{height:.5rem!important}.h-4{height:1rem!important}.w-2{width:.5rem!important}.w-4{width:1rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.border-storm-500{--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.checked\\:cursor-auto:checked{cursor:auto!important}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1!important;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))!important}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1!important;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))!important}.group\\/radio-label:hover .group-hover\\/radio-label\\:bg-indigo-100{--tw-bg-opacity:1!important;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))!important}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:bg-indigo-700:checked{--tw-bg-opacity:1!important;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1!important;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}";
|
|
7
7
|
|
|
8
8
|
const radio = cva([
|
|
9
9
|
'peer appearance-none m-0 outline-none flex-shrink-0',
|
|
@@ -23,7 +23,7 @@ const radio = cva([
|
|
|
23
23
|
'checked:hover:bg-indigo-700 checked:hover:border-storm/20',
|
|
24
24
|
'checked:group-hover/radio-label:bg-indigo-700 checked:group-hover/radio-label:border-storm/20',
|
|
25
25
|
],
|
|
26
|
-
true: 'bg-white-600 border-storm cursor-not-allowed ',
|
|
26
|
+
true: 'bg-white-600 border-storm-500 cursor-not-allowed ',
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
compoundVariants: [
|
|
@@ -99,11 +99,11 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends H {
|
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
101
|
const id = this.id?.length ? this.id : this._nonce;
|
|
102
|
-
return (h("label", { key: '
|
|
102
|
+
return (h("label", { key: 'b1c1e5e0de2728ef5ee854a62bfc1e01a442a827', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: 'e4636091fbb7535b710438d495c05ad551fafde0', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '79c442e624e4bbb33ec7a76ba25a4584510b7a44', class: radio({
|
|
103
103
|
disabled: asBoolean(this.disabled),
|
|
104
|
-
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
104
|
+
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'eb01f323ddfac685a39911abb202b4b769e5bdb3', class: circle({
|
|
105
105
|
disabled: asBoolean(this.disabled),
|
|
106
|
-
}) })), h("slot", { key: '
|
|
106
|
+
}) })), h("slot", { key: '1ecd471b1392720f74516533cf90ed4b61a9ef9d' })));
|
|
107
107
|
}
|
|
108
108
|
_onChange(ev) {
|
|
109
109
|
if (asBoolean(this.disabled)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-radio.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,
|
|
1
|
+
{"file":"p-radio.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/radio/radio.component.css?tag=p-radio","src/components/atoms/radio/radio.component.tsx"],"sourcesContent":["","import {\n\tAttachInternals,\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../utils/as-boolean';\nimport { nonce } from '../../../utils/nonce';\n\nconst radio = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'rounded-full border border-inset border-solid ',\n\t\t'w-4 h-4',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-storm-100',\n\t\t\t\t\t'hover:bg-indigo-100 hover:border-storm/20',\n\t\t\t\t\t'group-hover/radio-label:bg-indigo-100 group-hover/radio-label:border-storm/20',\n\t\t\t\t\t'checked:cursor-auto',\n\t\t\t\t\t'checked:bg-indigo-600 checked:border-storm/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-indigo-100',\n\t\t\t\t\t'checked:hover:bg-indigo-700 checked:hover:border-storm/20',\n\t\t\t\t\t'checked:group-hover/radio-label:bg-indigo-700 checked:group-hover/radio-label:border-storm/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-storm-500 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-storm-100',\n\t\t\t\t\t'hover:bg-indigo-100 hover:border-storm/20',\n\t\t\t\t\t'group-hover/radio-label:bg-indigo-100 group-hover/radio-label:border-storm/20',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst circle = cva(\n\t[\n\t\t'block',\n\t\t'rounded-full bg-transparent',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t\t'w-2 h-2',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse:\n\t\t\t\t\t'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-storm/10',\n\t\t\t\ttrue: 'peer-checked:bg-storm-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-radio',\n\tstyleUrl: 'radio.component.css',\n\tformAssociated: true,\n})\nexport class Radio {\n\t/**\n\t * The value of the radio button\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * Wether the radio is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the radio is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the radio button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the radio button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Wether the radio is checked\n\t */\n\t@Prop({ reflect: true }) checked: boolean = false;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\t@AttachInternals() _internals: ElementInternals;\n\n\tformResetCallback() {\n\t\tthis._setValue(false);\n\t}\n\n\tformDisabledCallback(disabled: boolean) {\n\t\tif (!this._internals.form) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.disabled = disabled;\n\t}\n\n\trender() {\n\t\tconst id = this.id?.length ? this.id : this._nonce;\n\n\t\treturn (\n\t\t\t<label\n\t\t\t\thtmlFor={id}\n\t\t\t\tclass='flex items-center justify-start gap-2'\n\t\t\t>\n\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t<input\n\t\t\t\t\t\tclass={radio({\n\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t})}\n\t\t\t\t\t\ttype='radio'\n\t\t\t\t\t\tid={id}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\tdisabled={asBoolean(this.disabled)}\n\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t/>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={circle({\n\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t})}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t\t<slot />\n\t\t\t</label>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (asBoolean(this.disabled)) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tthis._setValue(checked);\n\t}\n\n\tprivate _setValue(checked: boolean) {\n\t\tthis.checked = checked;\n\t\tthis.checkedChange.emit(checked);\n\t\tthis._internals.setFormValue(checked ? 'on' : 'off');\n\t}\n}\n"],"version":3}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-tdjn65Lz.js';
|
|
2
2
|
import { a as childOfComposed } from './p-BFSNj6hu.js';
|
|
3
3
|
import { c as cva } from './p-CBWjHURv.js';
|
|
4
|
-
import { d as defineCustomElement$d } from './p-
|
|
5
|
-
import { d as defineCustomElement$c } from './p-
|
|
6
|
-
import { d as defineCustomElement$b } from './p-
|
|
4
|
+
import { d as defineCustomElement$d } from './p-Dl3R8eca.js';
|
|
5
|
+
import { d as defineCustomElement$c } from './p-D39NYNs4.js';
|
|
6
|
+
import { d as defineCustomElement$b } from './p-CyFK7e0I.js';
|
|
7
7
|
import { d as defineCustomElement$a } from './p-DMriM32U.js';
|
|
8
8
|
import { d as defineCustomElement$9 } from './p-Dc8e00Zd.js';
|
|
9
|
-
import { d as defineCustomElement$8 } from './p-
|
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
|
11
|
-
import { d as defineCustomElement$6 } from './p-
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
+
import { d as defineCustomElement$8 } from './p-vYOn6f3H.js';
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-CSMmVQpi.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-DnU2ijlN.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-CvdTkdj3.js';
|
|
13
13
|
import { d as defineCustomElement$4 } from './p-BNz_LoMA.js';
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-BQ7bKDg0.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-HV-e66iQ.js';
|
|
16
16
|
|
|
17
17
|
const selectComponentCss = "*{box-sizing:border-box}:host{--tw-translate-y:0px!important;--tw-translate-x:0px!important}.pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.top-0{top:0!important}.mb-3{margin-bottom:.75rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[1\\.625rem\\]{height:1.625rem!important}.h-full{height:100%!important}.w-6{width:1.5rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-start{text-align:start!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-storm-100{--tw-text-opacity:1!important;color:rgb(209 210 212/var(--tw-text-opacity,1))!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-supportive-lilac{--tw-text-opacity:1!important;color:rgb(209 174 255/var(--tw-text-opacity,1))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.group\\/item:hover .group-hover\\/item\\:text-supportive-lilac-800{--tw-text-opacity:1!important;color:rgb(209 174 255/var(--tw-text-opacity,1))!important}";
|
|
18
18
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './p-tdjn65Lz.js';
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
|
-
import { d as defineCustomElement$1, a as defaultSize, b as defaultSizeOptions } from './p-
|
|
4
|
-
import { d as defineCustomElement$9 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1, a as defaultSize, b as defaultSizeOptions } from './p-d-nBE1mn.js';
|
|
4
|
+
import { d as defineCustomElement$9 } from './p-CyFK7e0I.js';
|
|
5
5
|
import { d as defineCustomElement$8 } from './p-Dl2d_IWC.js';
|
|
6
6
|
import { d as defineCustomElement$7 } from './p-DMriM32U.js';
|
|
7
7
|
import { d as defineCustomElement$6 } from './p-Dc8e00Zd.js';
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-vYOn6f3H.js';
|
|
9
9
|
import { d as defineCustomElement$4 } from './p-BNz_LoMA.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-C8LZ3ny_.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-CsFe2_Ee.js';
|
|
12
12
|
|
|
13
13
|
const paginationComponentCss = "*{box-sizing:border-box}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.text-off-white-700{--tw-text-opacity:1!important;color:rgb(222 219 213/var(--tw-text-opacity,1))!important}";
|
|
14
14
|
|
|
@@ -167,6 +167,6 @@ function defineCustomElement() {
|
|
|
167
167
|
defineCustomElement();
|
|
168
168
|
|
|
169
169
|
export { Pagination as P, defineCustomElement as d };
|
|
170
|
-
//# sourceMappingURL=p-
|
|
170
|
+
//# sourceMappingURL=p-syMUTQc5.js.map
|
|
171
171
|
|
|
172
|
-
//# sourceMappingURL=p-
|
|
172
|
+
//# sourceMappingURL=p-syMUTQc5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-syMUTQc5.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/pagination/pagination/pagination.component.css?tag=p-pagination&encapsulation=shadow","src/components/molecules/pagination/pagination/pagination.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tFragment,\n\th,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { defaultSize, defaultSizeOptions } from '../size/constants';\n\nconst pagination = cva(\n\t[\n\t\t'p-pagination',\n\t\t'items-center gap-2',\n\t\t'rounded-full',\n\t\t'bg-off-white-300 border border-solid border-off-white-700',\n\t\t'p-1',\n\t],\n\t{\n\t\tvariants: {\n\t\t\thidden: {\n\t\t\t\tfalse: 'flex',\n\t\t\t\ttrue: 'hidden',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.css',\n\tshadow: true,\n})\nexport class Pagination {\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/**\n\t * Wether to enable pagination size select\n\t */\n\t@Prop() enablePaginationSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination pages\n\t */\n\t@Prop() enablePaginationPages: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * The pages that were generated\n\t */\n\t@Event({ bubbles: false }) pagesChange: EventEmitter<number>;\n\n\t@State() private _hasPaginationPages = true;\n\n\trender() {\n\t\tconst hidePageSizeSelect =\n\t\t\tthis.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={pagination({\n\t\t\t\t\thidden:\n\t\t\t\t\t\t(hidePageSizeSelect && !this._hasPaginationPages) ||\n\t\t\t\t\t\t(!this.enablePaginationSize && !this.enablePaginationPages),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.enablePaginationPages && this.enablePaginationSize && (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<p-pagination-size\n\t\t\t\t\t\t\thidden={hidePageSizeSelect}\n\t\t\t\t\t\t\tsize={this.pageSize}\n\t\t\t\t\t\t\tsizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonSizeChange={({ detail }) => this._changePageSize(detail)}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t{!hidePageSizeSelect &&\n\t\t\t\t\t\t\tthis.hideOnSinglePage &&\n\t\t\t\t\t\t\tthis._hasPaginationPages && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tclass='mx-0 h-4 text-off-white-700'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t)}\n\n\t\t\t\t{this.enablePaginationPages && (\n\t\t\t\t\t<p-pagination-pages\n\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\tonPagesChange={({ detail }) => {\n\t\t\t\t\t\t\tthis._hasPaginationPages = detail > 1;\n\t\t\t\t\t\t\tthis.pagesChange.emit(detail);\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _changePageSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.pageSize = s;\n\t\tthis.pageSizeChange.emit(this.pageSize);\n\t}\n}\n"],"version":3}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-tdjn65Lz.js';
|
|
2
2
|
import { t as tableColumSizesOptions } from './p-DdQ-S2l7.js';
|
|
3
3
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj8rmO.js';
|
|
4
|
-
import { f as floatingMenuContainerClass } from './p-
|
|
4
|
+
import { f as floatingMenuContainerClass } from './p-CTOreths.js';
|
|
5
5
|
import { f as isMobile } from './p-B3sNjfzc.js';
|
|
6
6
|
import { c as cn } from './p-CT54OXR2.js';
|
|
7
|
-
import { d as defineCustomElement$b, a as defaultSize, b as defaultSizeOptions } from './p-
|
|
8
|
-
import { d as defineCustomElement$u } from './p-
|
|
9
|
-
import { d as defineCustomElement$t } from './p-
|
|
10
|
-
import { d as defineCustomElement$s } from './p-
|
|
7
|
+
import { d as defineCustomElement$b, a as defaultSize, b as defaultSizeOptions } from './p-d-nBE1mn.js';
|
|
8
|
+
import { d as defineCustomElement$u } from './p-DxmvFiF3.js';
|
|
9
|
+
import { d as defineCustomElement$t } from './p-D39NYNs4.js';
|
|
10
|
+
import { d as defineCustomElement$s } from './p-CyFK7e0I.js';
|
|
11
11
|
import { d as defineCustomElement$r } from './p-Dl2d_IWC.js';
|
|
12
12
|
import { d as defineCustomElement$q } from './p-DMriM32U.js';
|
|
13
13
|
import { d as defineCustomElement$p } from './p-Dc8e00Zd.js';
|
|
14
|
-
import { d as defineCustomElement$o } from './p-
|
|
15
|
-
import { d as defineCustomElement$n } from './p-
|
|
16
|
-
import { d as defineCustomElement$m } from './p-
|
|
17
|
-
import { d as defineCustomElement$l } from './p-
|
|
18
|
-
import { d as defineCustomElement$k } from './p-
|
|
19
|
-
import { d as defineCustomElement$j } from './p-
|
|
20
|
-
import { d as defineCustomElement$i } from './p-
|
|
14
|
+
import { d as defineCustomElement$o } from './p-vYOn6f3H.js';
|
|
15
|
+
import { d as defineCustomElement$n } from './p-kfQbaa0L.js';
|
|
16
|
+
import { d as defineCustomElement$m } from './p-CSMmVQpi.js';
|
|
17
|
+
import { d as defineCustomElement$l } from './p-DnU2ijlN.js';
|
|
18
|
+
import { d as defineCustomElement$k } from './p-CGQteQ0W.js';
|
|
19
|
+
import { d as defineCustomElement$j } from './p-DDmmVf26.js';
|
|
20
|
+
import { d as defineCustomElement$i } from './p-CvdTkdj3.js';
|
|
21
21
|
import { d as defineCustomElement$h } from './p-BNz_LoMA.js';
|
|
22
22
|
import { d as defineCustomElement$g } from './p-CR36e-YR.js';
|
|
23
|
-
import { d as defineCustomElement$f } from './p-
|
|
24
|
-
import { d as defineCustomElement$e } from './p-
|
|
25
|
-
import { d as defineCustomElement$d } from './p-
|
|
26
|
-
import { d as defineCustomElement$c } from './p-
|
|
23
|
+
import { d as defineCustomElement$f } from './p-BQ7bKDg0.js';
|
|
24
|
+
import { d as defineCustomElement$e } from './p-syMUTQc5.js';
|
|
25
|
+
import { d as defineCustomElement$d } from './p-C8LZ3ny_.js';
|
|
26
|
+
import { d as defineCustomElement$c } from './p-CsFe2_Ee.js';
|
|
27
27
|
import { d as defineCustomElement$a } from './p-DvfnrKnT.js';
|
|
28
|
-
import { d as defineCustomElement$9 } from './p-
|
|
29
|
-
import { d as defineCustomElement$8 } from './p-
|
|
28
|
+
import { d as defineCustomElement$9 } from './p-DQWXRiS6.js';
|
|
29
|
+
import { d as defineCustomElement$8 } from './p-XxDh_MTP.js';
|
|
30
30
|
import { d as defineCustomElement$7 } from './p-CQ1Po2qn.js';
|
|
31
|
-
import { d as defineCustomElement$6 } from './p-
|
|
32
|
-
import { d as defineCustomElement$5 } from './p-
|
|
31
|
+
import { d as defineCustomElement$6 } from './p-DpQtYEhd.js';
|
|
32
|
+
import { d as defineCustomElement$5 } from './p-CHUjLuJU.js';
|
|
33
33
|
import { d as defineCustomElement$4 } from './p-sl5N8aUX.js';
|
|
34
34
|
import { d as defineCustomElement$3 } from './p-D8Mf5M6D.js';
|
|
35
|
-
import { d as defineCustomElement$2 } from './p-
|
|
35
|
+
import { d as defineCustomElement$2 } from './p-HV-e66iQ.js';
|
|
36
36
|
|
|
37
37
|
const tableComponentCss = "*{box-sizing:border-box}.static{position:static!important}.fixed{position:fixed!important}.z-0{z-index:0!important}.my-16{margin-bottom:4rem!important;margin-top:4rem!important}.mb-8{margin-bottom:2rem!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.opacity-0{opacity:0!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
|
|
38
38
|
|
|
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, c as createEvent, h } from './p-tdjn65Lz.js
|
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './p-BNz_LoMA.js';
|
|
4
4
|
|
|
5
|
-
const toastComponentCss = "*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.flex{display:flex!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-indigo-800{--tw-bg-opacity:1!important;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-storm{color:rgb(
|
|
5
|
+
const toastComponentCss = "*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.flex{display:flex!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-indigo-800{--tw-bg-opacity:1!important;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-storm-200{--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}";
|
|
6
6
|
|
|
7
7
|
const indicator = cva('w-[2px] rounded-full h-9 flex-shrink-0', {
|
|
8
8
|
variants: {
|
|
@@ -58,7 +58,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends H {
|
|
|
58
58
|
*/
|
|
59
59
|
action;
|
|
60
60
|
render() {
|
|
61
|
-
return (h("div", { key: '728bf0cfbc86d6ebbdab07120b02c98fd2b011f1', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2', onClick: () => this._onClick() }, h("div", { key: 'a7867e21882aaf8487084f6a4d08389577498fc8', class: indicator({ variant: this.variant }) }), h("div", { key: '6f20b7863c926c09e6df41495cd4108e9b6822fa', class: content() }, h("div", { key: '20b273ba1f270b325e01e1022ddf84479a3fa823', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '
|
|
61
|
+
return (h("div", { key: '728bf0cfbc86d6ebbdab07120b02c98fd2b011f1', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2', onClick: () => this._onClick() }, h("div", { key: 'a7867e21882aaf8487084f6a4d08389577498fc8', class: indicator({ variant: this.variant }) }), h("div", { key: '6f20b7863c926c09e6df41495cd4108e9b6822fa', class: content() }, h("div", { key: '20b273ba1f270b325e01e1022ddf84479a3fa823', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: 'ed592a393300025ac4e954d1113a5cf8a4d20c9f', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: 'ca2d67390253cfc321f43a829843a212e06d4c23', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: '8d1b101087ef0f2484ffd81009fcb3a16906fac1', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500' }, h("p-icon", { key: '64f1349fc2217a8b2330e70998e032a73688477a', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate }))))));
|
|
62
62
|
}
|
|
63
63
|
_onClick() {
|
|
64
64
|
if (this.enableAction) {
|