@paperless/core 2.13.10 → 2.14.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/CHANGELOG.md +25 -0
- package/dist/assets/i18n/pagination-pages.i18n.en.json +3 -0
- package/dist/assets/i18n/pagination-pages.i18n.nl.json +3 -0
- package/dist/assets/icons/general/enterkey.svg +12 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/{p-b3fa747a.entry.js → p-1b7643fe.entry.js} +2 -2
- package/dist/build/p-2379c577.entry.js +2 -0
- package/dist/build/p-2379c577.entry.js.map +1 -0
- package/dist/build/p-2a25a0ba.entry.js +2 -0
- package/dist/build/p-2a25a0ba.entry.js.map +1 -0
- package/dist/build/{p-20f0202a.entry.js → p-3663d19b.entry.js} +2 -2
- package/dist/{paperless/p-6bb570c5.entry.js → build/p-403f3774.entry.js} +2 -2
- package/dist/build/{p-e35dde73.entry.js → p-42af84da.entry.js} +2 -2
- package/dist/build/{p-f56afec1.entry.js → p-46c3a583.entry.js} +2 -2
- package/dist/{paperless/p-9cf9511c.entry.js → build/p-4f549bc9.entry.js} +2 -2
- package/dist/build/{p-4e64a8b0.entry.js → p-565caa59.entry.js} +2 -2
- package/dist/{paperless/p-23121a9f.entry.js → build/p-580d30d8.entry.js} +2 -2
- package/dist/build/{p-67302f9c.js → p-58a220ec.js} +1 -1
- package/dist/{paperless/p-60ce5cb1.entry.js → build/p-59e53f22.entry.js} +2 -2
- package/dist/build/{p-aca03a6a.entry.js → p-5e30c338.entry.js} +2 -2
- package/dist/build/p-60974307.entry.js +2 -0
- package/dist/build/{p-94dae829.entry.js.map → p-60974307.entry.js.map} +1 -1
- package/dist/build/p-641222ac.entry.js +2 -0
- package/dist/build/p-641222ac.entry.js.map +1 -0
- package/dist/build/{p-ff0dee5d.entry.js → p-641c408d.entry.js} +2 -2
- package/dist/{paperless/p-77ea8989.entry.js → build/p-6479a788.entry.js} +2 -2
- package/dist/build/{p-8dd6fba3.entry.js → p-6908a33a.entry.js} +2 -2
- package/dist/{paperless/p-93a93d0f.entry.js → build/p-6e1e0b97.entry.js} +2 -2
- package/dist/build/{p-574bc9bb.entry.js → p-7c520287.entry.js} +2 -2
- package/dist/build/{p-a7035071.entry.js → p-8b2cfd75.entry.js} +2 -2
- package/dist/build/p-8e320264.entry.js +2 -0
- package/dist/build/{p-2be05484.entry.js → p-9018fd19.entry.js} +2 -2
- package/dist/build/{p-6daf4240.entry.js → p-92cd2a4f.entry.js} +2 -2
- package/dist/build/{p-63b3fa1a.entry.js → p-956d7b6b.entry.js} +2 -2
- package/dist/build/{p-caf60b01.entry.js → p-a21acfcb.entry.js} +2 -2
- package/dist/build/{p-bf24b57e.entry.js → p-a80d65ac.entry.js} +2 -2
- package/dist/build/{p-68061d5f.entry.js → p-ad38422c.entry.js} +2 -2
- package/dist/build/{p-311d61df.entry.js → p-ada3cb79.entry.js} +2 -2
- package/dist/build/p-aeb59c96.entry.js +2 -0
- package/dist/build/{p-75cb9a59.entry.js.map → p-aeb59c96.entry.js.map} +1 -1
- package/dist/{paperless/p-0d5370c5.entry.js → build/p-aee63a63.entry.js} +2 -2
- package/dist/build/{p-0762dca2.entry.js → p-c09353c8.entry.js} +2 -2
- package/dist/build/p-cb3d72a5.entry.js +2 -0
- package/dist/build/p-cb3d72a5.entry.js.map +1 -0
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.entry.esm.js.map +1 -0
- package/dist/build/{p-f2d908e3.entry.js → p-d3ce97c5.entry.js} +2 -2
- package/dist/build/p-dropdown-menu-item.p-pagination-pages-item.entry.esm.js.map +1 -0
- package/dist/{paperless/p-bf91728e.entry.js → build/p-e30c1063.entry.js} +2 -2
- package/dist/build/{p-221135cd.entry.js → p-e59817a8.entry.js} +2 -2
- package/dist/build/{p-6604ead1.entry.js → p-e6b65d3f.entry.js} +2 -2
- package/dist/build/{p-70e9207a.entry.js → p-e809c3a7.entry.js} +2 -2
- package/dist/{paperless/p-99854a0f.entry.js → build/p-e8ff6530.entry.js} +2 -2
- package/dist/build/p-ead12b57.entry.js +2 -0
- package/dist/build/p-ead12b57.entry.js.map +1 -0
- package/dist/build/p-fTcVMKKh.js +2 -0
- package/dist/build/p-fTcVMKKh.js.map +1 -0
- package/dist/{paperless/p-bfaf3040.entry.js → build/p-fc878df7.entry.js} +2 -2
- package/dist/build/p-fec1b7e7.entry.js +2 -0
- package/dist/build/p-field.p-field-container.p-helper.entry.esm.js.map +1 -0
- package/dist/build/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/build/p-tooltip.entry.esm.js.map +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{icons-e9UXgVbu.js → icons-CQifuEsC.js} +18 -2
- package/dist/cjs/icons-CQifuEsC.js.map +1 -0
- package/dist/cjs/index-Bt6zTh_b.js +12 -12
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +6 -6
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.entry.cjs.js.map +1 -0
- package/dist/cjs/{p-checkbox_4.cjs.entry.js → p-checkbox_3.cjs.entry.js} +14 -240
- package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item.p-pagination-pages-item.entry.cjs.js.map +1 -0
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +365 -0
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field.p-field-container.p-helper.entry.cjs.js.map +1 -0
- package/dist/cjs/{p-field_2.cjs.entry.js → p-field_3.cjs.entry.js} +42 -7
- package/dist/cjs/p-field_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +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 +71 -8
- package/dist/cjs/p-pagination_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +3 -3
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{p-helper_2.cjs.entry.js → p-tooltip.cjs.entry.js} +6 -27
- package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/assets/icons/general/enterkey.svg +12 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +4 -4
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- 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 +31 -10
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +2 -2
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +3 -3
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
- package/dist/collection/components/molecules/button/button.component.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +5 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +3 -3
- package/dist/collection/components/molecules/field/field/field.component.js +40 -6
- package/dist/collection/components/molecules/field/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/label/label.component.js +4 -4
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +4 -4
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +119 -4
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +5 -5
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +4 -4
- package/dist/collection/utils/icons.js +3 -0
- package/dist/collection/utils/icons.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-F7aAj6kw.js → p-3yDjwtDu.js} +6 -6
- package/dist/components/{p-F7aAj6kw.js.map → p-3yDjwtDu.js.map} +1 -1
- package/dist/components/{p-CsS0Qh_I.js → p-5AigekbA.js} +8 -5
- package/dist/components/p-5AigekbA.js.map +1 -0
- package/dist/components/{p-CZ9s2ypk.js → p-B36IlaYj.js} +5 -5
- package/dist/components/{p-CZ9s2ypk.js.map → p-B36IlaYj.js.map} +1 -1
- package/dist/components/{p-D1ZRTCkT.js → p-B9Oq0SNd.js} +7 -7
- package/dist/components/{p-D1ZRTCkT.js.map → p-B9Oq0SNd.js.map} +1 -1
- package/dist/components/{p-YTOFkKg1.js → p-BC-UbBCv.js} +6 -6
- package/dist/components/{p-YTOFkKg1.js.map → p-BC-UbBCv.js.map} +1 -1
- package/dist/components/{p-DMEUWkT_.js → p-BITmTm_E.js} +5 -5
- package/dist/components/{p-DMEUWkT_.js.map → p-BITmTm_E.js.map} +1 -1
- package/dist/components/{p-YCPqEpsQ.js → p-BORmwkco.js} +3 -3
- package/dist/components/{p-YCPqEpsQ.js.map → p-BORmwkco.js.map} +1 -1
- package/dist/components/{p-Da0KnGTF.js → p-BQN0zMMn.js} +27 -13
- package/dist/components/p-BQN0zMMn.js.map +1 -0
- package/dist/components/{p-C7qLHU9G.js → p-BRoVWZvq.js} +6 -6
- package/dist/components/{p-C7qLHU9G.js.map → p-BRoVWZvq.js.map} +1 -1
- package/dist/components/{p-CTnp6dis.js → p-BXoVx3x5.js} +3 -3
- package/dist/components/{p-CTnp6dis.js.map → p-BXoVx3x5.js.map} +1 -1
- package/dist/components/{p-DzWmipVp.js → p-BoNZCwkk.js} +4 -4
- package/dist/components/{p-DzWmipVp.js.map → p-BoNZCwkk.js.map} +1 -1
- package/dist/components/{p-CNltO4r4.js → p-Br0jjEvu.js} +3 -3
- package/dist/components/{p-CNltO4r4.js.map → p-Br0jjEvu.js.map} +1 -1
- package/dist/components/{p-BAs-HUU1.js → p-BybDOcKL.js} +5 -5
- package/dist/components/{p-BAs-HUU1.js.map → p-BybDOcKL.js.map} +1 -1
- package/dist/components/{p-CIRFeGiK.js → p-C1RM6nHP.js} +4 -4
- package/dist/components/{p-CIRFeGiK.js.map → p-C1RM6nHP.js.map} +1 -1
- package/dist/components/{p-BHphGfv6.js → p-C8GpDop1.js} +3 -3
- package/dist/components/{p-BHphGfv6.js.map → p-C8GpDop1.js.map} +1 -1
- package/dist/components/{p-Ci1bxrOO.js → p-C93Yl1f2.js} +16 -16
- package/dist/components/{p-Ci1bxrOO.js.map → p-C93Yl1f2.js.map} +1 -1
- package/dist/components/{p-CeM-_6CM.js → p-CC4Jkcsd.js} +5 -5
- package/dist/components/{p-CeM-_6CM.js.map → p-CC4Jkcsd.js.map} +1 -1
- package/dist/components/{p-z31Hnx0b.js → p-CGtb3sKF.js} +6 -6
- package/dist/components/{p-z31Hnx0b.js.map → p-CGtb3sKF.js.map} +1 -1
- package/dist/components/{p-CwK85Hfo.js → p-CHsgxVNo.js} +3 -3
- package/dist/components/{p-CwK85Hfo.js.map → p-CHsgxVNo.js.map} +1 -1
- package/dist/components/{p-B9vEqYTq.js → p-CII5UiB9.js} +4 -4
- package/dist/components/{p-B9vEqYTq.js.map → p-CII5UiB9.js.map} +1 -1
- package/dist/components/{p-D2igmK5l.js → p-CStLRi0B.js} +5 -5
- package/dist/components/{p-D2igmK5l.js.map → p-CStLRi0B.js.map} +1 -1
- package/dist/components/{p-Sm9opSEV.js → p-CWkMZrLx.js} +4 -4
- package/dist/components/{p-Sm9opSEV.js.map → p-CWkMZrLx.js.map} +1 -1
- package/dist/components/{p-DRR3gR1w.js → p-CeJyspp0.js} +4 -4
- package/dist/components/{p-DRR3gR1w.js.map → p-CeJyspp0.js.map} +1 -1
- package/dist/components/{p-BFQL_bAk.js → p-CmUvE0vR.js} +11 -11
- package/dist/components/{p-BFQL_bAk.js.map → p-CmUvE0vR.js.map} +1 -1
- package/dist/components/{p-CWsTTbrU.js → p-CqlxomxD.js} +140 -12
- package/dist/components/p-CqlxomxD.js.map +1 -0
- package/dist/components/{p-dkS0x_Ct.js → p-Crc7sXuw.js} +3 -3
- package/dist/components/{p-dkS0x_Ct.js.map → p-Crc7sXuw.js.map} +1 -1
- package/dist/components/{p-D3_de0mE.js → p-D1nH1Kpo.js} +3 -3
- package/dist/components/{p-D3_de0mE.js.map → p-D1nH1Kpo.js.map} +1 -1
- package/dist/components/{p-CVo3m-zN.js → p-D5X7Spoi.js} +56 -20
- package/dist/components/p-D5X7Spoi.js.map +1 -0
- package/dist/components/{p-DRywdEEP.js → p-DEg8xkEx.js} +3 -3
- package/dist/components/{p-DRywdEEP.js.map → p-DEg8xkEx.js.map} +1 -1
- package/dist/components/{p-CBjkQAGw.js → p-DKvetfhP.js} +58 -22
- package/dist/components/p-DKvetfhP.js.map +1 -0
- package/dist/components/{p-DsIKgAR0.js → p-DNbLYhhD.js} +5 -5
- package/dist/components/{p-DsIKgAR0.js.map → p-DNbLYhhD.js.map} +1 -1
- package/dist/components/p-DYwUduDW.js +298 -0
- package/dist/components/p-DYwUduDW.js.map +1 -0
- package/dist/components/{p-Bo-Xwwck.js → p-Da28ikxq.js} +3 -3
- package/dist/components/{p-Bo-Xwwck.js.map → p-Da28ikxq.js.map} +1 -1
- package/dist/components/{p-CUPpa-ib.js → p-Drj54LkS.js} +5 -5
- package/dist/components/{p-CUPpa-ib.js.map → p-Drj54LkS.js.map} +1 -1
- package/dist/components/{p-u6Gu9isj.js → p-DyynpYtG.js} +4 -4
- package/dist/components/{p-u6Gu9isj.js.map → p-DyynpYtG.js.map} +1 -1
- package/dist/components/{p-CSzb8yqM.js → p-H9GbTclW.js} +5 -5
- package/dist/components/{p-CSzb8yqM.js.map → p-H9GbTclW.js.map} +1 -1
- package/dist/components/{p-CfoZ2b-S.js → p-NMvOFm83.js} +6 -6
- package/dist/components/{p-CfoZ2b-S.js.map → p-NMvOFm83.js.map} +1 -1
- package/dist/components/{p-BcACknwC.js → p-X9pi_v8Y.js} +3 -3
- package/dist/components/{p-BcACknwC.js.map → p-X9pi_v8Y.js.map} +1 -1
- package/dist/components/{p-DHi9Rm5s.js → p-XSLSCkZf.js} +3 -3
- package/dist/components/{p-DHi9Rm5s.js.map → p-XSLSCkZf.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/p-attachment.js +11 -11
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +2 -2
- package/dist/components/p-card-header.js +6 -6
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +3 -3
- package/dist/components/p-datepicker.js +11 -11
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +7 -7
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/{esm/icons-XC2VDWby.js → components/p-fTcVMKKh.js} +18 -2
- package/dist/components/p-fTcVMKKh.js.map +1 -0
- 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-icon.js +1 -1
- package/dist/components/p-info-panel.js +3 -3
- package/dist/components/p-label.js +4 -4
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +2 -2
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/{p-BrgpOIzL.js → p-lqoLH8eP.js} +3 -3
- package/dist/components/{p-BrgpOIzL.js.map → p-lqoLH8eP.js.map} +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +9 -9
- package/dist/components/p-navbar.js +3 -3
- package/dist/components/p-navigation-item.js +5 -5
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-title.js +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 +4 -4
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +11 -11
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +2 -2
- package/dist/components/p-tab-container.js +2 -2
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-container.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-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +29 -29
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-BC5v68Iz.js → p-vs9rsC7Q.js} +4 -4
- package/dist/components/{p-BC5v68Iz.js.map → p-vs9rsC7Q.js.map} +1 -1
- package/dist/components/{p-CtgSQtWp.js → p-xiEdghs5.js} +3 -3
- package/dist/components/{p-CtgSQtWp.js.map → p-xiEdghs5.js.map} +1 -1
- package/dist/{components/p-XC2VDWby.js → esm/icons-fTcVMKKh.js} +18 -2
- package/dist/esm/icons-fTcVMKKh.js.map +1 -0
- package/dist/esm/index-Dpmiv2da.js +12 -12
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +6 -6
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.entry.js.map +1 -0
- package/dist/esm/{p-checkbox_4.entry.js → p-checkbox_3.entry.js} +15 -240
- package/dist/esm/p-checkbox_3.entry.js.map +1 -0
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item.p-pagination-pages-item.entry.js.map +1 -0
- package/dist/esm/p-dropdown-menu-item_2.entry.js +362 -0
- package/dist/esm/p-dropdown-menu-item_2.entry.js.map +1 -0
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field.p-field-container.p-helper.entry.js.map +1 -0
- package/dist/esm/{p-field_2.entry.js → p-field_3.entry.js} +42 -8
- package/dist/esm/p-field_3.entry.js.map +1 -0
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +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 +71 -8
- package/dist/esm/p-pagination_3.entry.js.map +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +3 -3
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/{p-helper_2.entry.js → p-tooltip.entry.js} +8 -28
- package/dist/esm/p-tooltip.entry.js.map +1 -0
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/{p-b3fa747a.entry.js → p-1b7643fe.entry.js} +2 -2
- package/dist/paperless/p-2379c577.entry.js +2 -0
- package/dist/paperless/p-2379c577.entry.js.map +1 -0
- package/dist/paperless/p-2a25a0ba.entry.js +2 -0
- package/dist/paperless/p-2a25a0ba.entry.js.map +1 -0
- package/dist/paperless/{p-20f0202a.entry.js → p-3663d19b.entry.js} +2 -2
- package/dist/{build/p-6bb570c5.entry.js → paperless/p-403f3774.entry.js} +2 -2
- package/dist/paperless/{p-e35dde73.entry.js → p-42af84da.entry.js} +2 -2
- package/dist/paperless/{p-f56afec1.entry.js → p-46c3a583.entry.js} +2 -2
- package/dist/{build/p-9cf9511c.entry.js → paperless/p-4f549bc9.entry.js} +2 -2
- package/dist/paperless/{p-4e64a8b0.entry.js → p-565caa59.entry.js} +2 -2
- package/dist/{build/p-23121a9f.entry.js → paperless/p-580d30d8.entry.js} +2 -2
- package/dist/{build/p-60ce5cb1.entry.js → paperless/p-59e53f22.entry.js} +2 -2
- package/dist/paperless/{p-aca03a6a.entry.js → p-5e30c338.entry.js} +2 -2
- package/dist/paperless/p-60974307.entry.js +2 -0
- package/dist/paperless/{p-94dae829.entry.js.map → p-60974307.entry.js.map} +1 -1
- package/dist/paperless/p-641222ac.entry.js +2 -0
- package/dist/paperless/p-641222ac.entry.js.map +1 -0
- package/dist/paperless/{p-ff0dee5d.entry.js → p-641c408d.entry.js} +2 -2
- package/dist/{build/p-77ea8989.entry.js → paperless/p-6479a788.entry.js} +2 -2
- package/dist/paperless/{p-8dd6fba3.entry.js → p-6908a33a.entry.js} +2 -2
- package/dist/{build/p-93a93d0f.entry.js → paperless/p-6e1e0b97.entry.js} +2 -2
- package/dist/paperless/{p-574bc9bb.entry.js → p-7c520287.entry.js} +2 -2
- package/dist/paperless/{p-a7035071.entry.js → p-8b2cfd75.entry.js} +2 -2
- package/dist/paperless/p-8e320264.entry.js +2 -0
- package/dist/paperless/{p-2be05484.entry.js → p-9018fd19.entry.js} +2 -2
- package/dist/paperless/{p-6daf4240.entry.js → p-92cd2a4f.entry.js} +2 -2
- package/dist/paperless/{p-63b3fa1a.entry.js → p-956d7b6b.entry.js} +2 -2
- package/dist/paperless/{p-caf60b01.entry.js → p-a21acfcb.entry.js} +2 -2
- package/dist/paperless/{p-bf24b57e.entry.js → p-a80d65ac.entry.js} +2 -2
- package/dist/paperless/{p-68061d5f.entry.js → p-ad38422c.entry.js} +2 -2
- package/dist/paperless/{p-311d61df.entry.js → p-ada3cb79.entry.js} +2 -2
- package/dist/paperless/p-aeb59c96.entry.js +2 -0
- package/dist/paperless/{p-75cb9a59.entry.js.map → p-aeb59c96.entry.js.map} +1 -1
- package/dist/{build/p-0d5370c5.entry.js → paperless/p-aee63a63.entry.js} +2 -2
- package/dist/paperless/{p-0762dca2.entry.js → p-c09353c8.entry.js} +2 -2
- package/dist/paperless/p-cb3d72a5.entry.js +2 -0
- package/dist/paperless/p-cb3d72a5.entry.js.map +1 -0
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.entry.esm.js.map +1 -0
- package/dist/paperless/{p-f2d908e3.entry.js → p-d3ce97c5.entry.js} +2 -2
- package/dist/paperless/p-dropdown-menu-item.p-pagination-pages-item.entry.esm.js.map +1 -0
- package/dist/{build/p-bf91728e.entry.js → paperless/p-e30c1063.entry.js} +2 -2
- package/dist/paperless/{p-221135cd.entry.js → p-e59817a8.entry.js} +2 -2
- package/dist/paperless/{p-6604ead1.entry.js → p-e6b65d3f.entry.js} +2 -2
- package/dist/paperless/{p-70e9207a.entry.js → p-e809c3a7.entry.js} +2 -2
- package/dist/{build/p-99854a0f.entry.js → paperless/p-e8ff6530.entry.js} +2 -2
- package/dist/paperless/p-ead12b57.entry.js +2 -0
- package/dist/paperless/p-ead12b57.entry.js.map +1 -0
- package/dist/paperless/p-fTcVMKKh.js +2 -0
- package/dist/paperless/p-fTcVMKKh.js.map +1 -0
- package/dist/{build/p-bfaf3040.entry.js → paperless/p-fc878df7.entry.js} +2 -2
- package/dist/paperless/p-fec1b7e7.entry.js +2 -0
- package/dist/paperless/p-field.p-field-container.p-helper.entry.esm.js.map +1 -0
- package/dist/paperless/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/paperless/p-tooltip.entry.esm.js.map +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/molecules/field/field/field.component.d.ts +5 -0
- package/dist/types/components/molecules/pagination/pages/pagination-pages.component.d.ts +21 -0
- package/dist/types/components.d.ts +39 -24
- package/dist/types/utils/icons.d.ts +2 -0
- package/package.json +1 -1
- package/dist/build/p-2efda14f.entry.js +0 -2
- package/dist/build/p-2efda14f.entry.js.map +0 -1
- package/dist/build/p-749a0676.entry.js +0 -2
- package/dist/build/p-749a0676.entry.js.map +0 -1
- package/dist/build/p-75cb9a59.entry.js +0 -2
- package/dist/build/p-78e5a085.entry.js +0 -2
- package/dist/build/p-78e5a085.entry.js.map +0 -1
- package/dist/build/p-94dae829.entry.js +0 -2
- package/dist/build/p-XC2VDWby.js +0 -2
- package/dist/build/p-XC2VDWby.js.map +0 -1
- package/dist/build/p-b03f7821.entry.js +0 -2
- package/dist/build/p-b2441c2e.entry.js +0 -2
- package/dist/build/p-b2441c2e.entry.js.map +0 -1
- package/dist/build/p-bb2b8e53.entry.js +0 -2
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +0 -1
- package/dist/build/p-e09980d3.entry.js +0 -2
- package/dist/build/p-e09980d3.entry.js.map +0 -1
- package/dist/build/p-field.p-field-container.entry.esm.js.map +0 -1
- package/dist/build/p-helper.p-tooltip.entry.esm.js.map +0 -1
- package/dist/build/p-pagination-pages-item.entry.esm.js.map +0 -1
- package/dist/cjs/icons-e9UXgVbu.js.map +0 -1
- package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +0 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js.map +0 -1
- package/dist/cjs/p-field.p-field-container.entry.cjs.js.map +0 -1
- package/dist/cjs/p-field_2.cjs.entry.js.map +0 -1
- package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/p-helper_2.cjs.entry.js.map +0 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +0 -114
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js.map +0 -1
- package/dist/cjs/p-pagination-pages-item.entry.cjs.js.map +0 -1
- package/dist/components/p-CBjkQAGw.js.map +0 -1
- package/dist/components/p-CLLXCnKM.js +0 -277
- package/dist/components/p-CLLXCnKM.js.map +0 -1
- package/dist/components/p-CVo3m-zN.js.map +0 -1
- package/dist/components/p-CWsTTbrU.js.map +0 -1
- package/dist/components/p-CsS0Qh_I.js.map +0 -1
- package/dist/components/p-Da0KnGTF.js.map +0 -1
- package/dist/components/p-XC2VDWby.js.map +0 -1
- package/dist/esm/icons-XC2VDWby.js.map +0 -1
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +0 -1
- package/dist/esm/p-checkbox_4.entry.js.map +0 -1
- package/dist/esm/p-field.p-field-container.entry.js.map +0 -1
- package/dist/esm/p-field_2.entry.js.map +0 -1
- package/dist/esm/p-helper.p-tooltip.entry.js.map +0 -1
- package/dist/esm/p-helper_2.entry.js.map +0 -1
- package/dist/esm/p-pagination-pages-item.entry.js +0 -112
- package/dist/esm/p-pagination-pages-item.entry.js.map +0 -1
- package/dist/paperless/p-2efda14f.entry.js +0 -2
- package/dist/paperless/p-2efda14f.entry.js.map +0 -1
- package/dist/paperless/p-749a0676.entry.js +0 -2
- package/dist/paperless/p-749a0676.entry.js.map +0 -1
- package/dist/paperless/p-75cb9a59.entry.js +0 -2
- package/dist/paperless/p-78e5a085.entry.js +0 -2
- package/dist/paperless/p-78e5a085.entry.js.map +0 -1
- package/dist/paperless/p-94dae829.entry.js +0 -2
- package/dist/paperless/p-XC2VDWby.js +0 -2
- package/dist/paperless/p-XC2VDWby.js.map +0 -1
- package/dist/paperless/p-b03f7821.entry.js +0 -2
- package/dist/paperless/p-b2441c2e.entry.js +0 -2
- package/dist/paperless/p-b2441c2e.entry.js.map +0 -1
- package/dist/paperless/p-bb2b8e53.entry.js +0 -2
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +0 -1
- package/dist/paperless/p-e09980d3.entry.js +0 -2
- package/dist/paperless/p-e09980d3.entry.js.map +0 -1
- package/dist/paperless/p-field.p-field-container.entry.esm.js.map +0 -1
- package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +0 -1
- package/dist/paperless/p-pagination-pages-item.entry.esm.js.map +0 -1
- /package/dist/build/{p-b3fa747a.entry.js.map → p-1b7643fe.entry.js.map} +0 -0
- /package/dist/build/{p-20f0202a.entry.js.map → p-3663d19b.entry.js.map} +0 -0
- /package/dist/build/{p-6bb570c5.entry.js.map → p-403f3774.entry.js.map} +0 -0
- /package/dist/build/{p-e35dde73.entry.js.map → p-42af84da.entry.js.map} +0 -0
- /package/dist/build/{p-f56afec1.entry.js.map → p-46c3a583.entry.js.map} +0 -0
- /package/dist/build/{p-9cf9511c.entry.js.map → p-4f549bc9.entry.js.map} +0 -0
- /package/dist/build/{p-4e64a8b0.entry.js.map → p-565caa59.entry.js.map} +0 -0
- /package/dist/build/{p-23121a9f.entry.js.map → p-580d30d8.entry.js.map} +0 -0
- /package/dist/build/{p-60ce5cb1.entry.js.map → p-59e53f22.entry.js.map} +0 -0
- /package/dist/build/{p-aca03a6a.entry.js.map → p-5e30c338.entry.js.map} +0 -0
- /package/dist/build/{p-ff0dee5d.entry.js.map → p-641c408d.entry.js.map} +0 -0
- /package/dist/build/{p-77ea8989.entry.js.map → p-6479a788.entry.js.map} +0 -0
- /package/dist/build/{p-8dd6fba3.entry.js.map → p-6908a33a.entry.js.map} +0 -0
- /package/dist/build/{p-93a93d0f.entry.js.map → p-6e1e0b97.entry.js.map} +0 -0
- /package/dist/build/{p-574bc9bb.entry.js.map → p-7c520287.entry.js.map} +0 -0
- /package/dist/build/{p-a7035071.entry.js.map → p-8b2cfd75.entry.js.map} +0 -0
- /package/dist/build/{p-b03f7821.entry.js.map → p-8e320264.entry.js.map} +0 -0
- /package/dist/build/{p-2be05484.entry.js.map → p-9018fd19.entry.js.map} +0 -0
- /package/dist/build/{p-6daf4240.entry.js.map → p-92cd2a4f.entry.js.map} +0 -0
- /package/dist/build/{p-63b3fa1a.entry.js.map → p-956d7b6b.entry.js.map} +0 -0
- /package/dist/build/{p-caf60b01.entry.js.map → p-a21acfcb.entry.js.map} +0 -0
- /package/dist/build/{p-bf24b57e.entry.js.map → p-a80d65ac.entry.js.map} +0 -0
- /package/dist/build/{p-68061d5f.entry.js.map → p-ad38422c.entry.js.map} +0 -0
- /package/dist/build/{p-311d61df.entry.js.map → p-ada3cb79.entry.js.map} +0 -0
- /package/dist/build/{p-0d5370c5.entry.js.map → p-aee63a63.entry.js.map} +0 -0
- /package/dist/build/{p-0762dca2.entry.js.map → p-c09353c8.entry.js.map} +0 -0
- /package/dist/build/{p-f2d908e3.entry.js.map → p-d3ce97c5.entry.js.map} +0 -0
- /package/dist/build/{p-bf91728e.entry.js.map → p-e30c1063.entry.js.map} +0 -0
- /package/dist/build/{p-221135cd.entry.js.map → p-e59817a8.entry.js.map} +0 -0
- /package/dist/build/{p-6604ead1.entry.js.map → p-e6b65d3f.entry.js.map} +0 -0
- /package/dist/build/{p-70e9207a.entry.js.map → p-e809c3a7.entry.js.map} +0 -0
- /package/dist/build/{p-99854a0f.entry.js.map → p-e8ff6530.entry.js.map} +0 -0
- /package/dist/build/{p-bfaf3040.entry.js.map → p-fc878df7.entry.js.map} +0 -0
- /package/dist/build/{p-bb2b8e53.entry.js.map → p-fec1b7e7.entry.js.map} +0 -0
- /package/dist/paperless/{p-b3fa747a.entry.js.map → p-1b7643fe.entry.js.map} +0 -0
- /package/dist/paperless/{p-20f0202a.entry.js.map → p-3663d19b.entry.js.map} +0 -0
- /package/dist/paperless/{p-6bb570c5.entry.js.map → p-403f3774.entry.js.map} +0 -0
- /package/dist/paperless/{p-e35dde73.entry.js.map → p-42af84da.entry.js.map} +0 -0
- /package/dist/paperless/{p-f56afec1.entry.js.map → p-46c3a583.entry.js.map} +0 -0
- /package/dist/paperless/{p-9cf9511c.entry.js.map → p-4f549bc9.entry.js.map} +0 -0
- /package/dist/paperless/{p-4e64a8b0.entry.js.map → p-565caa59.entry.js.map} +0 -0
- /package/dist/paperless/{p-23121a9f.entry.js.map → p-580d30d8.entry.js.map} +0 -0
- /package/dist/paperless/{p-60ce5cb1.entry.js.map → p-59e53f22.entry.js.map} +0 -0
- /package/dist/paperless/{p-aca03a6a.entry.js.map → p-5e30c338.entry.js.map} +0 -0
- /package/dist/paperless/{p-ff0dee5d.entry.js.map → p-641c408d.entry.js.map} +0 -0
- /package/dist/paperless/{p-77ea8989.entry.js.map → p-6479a788.entry.js.map} +0 -0
- /package/dist/paperless/{p-8dd6fba3.entry.js.map → p-6908a33a.entry.js.map} +0 -0
- /package/dist/paperless/{p-93a93d0f.entry.js.map → p-6e1e0b97.entry.js.map} +0 -0
- /package/dist/paperless/{p-574bc9bb.entry.js.map → p-7c520287.entry.js.map} +0 -0
- /package/dist/paperless/{p-a7035071.entry.js.map → p-8b2cfd75.entry.js.map} +0 -0
- /package/dist/paperless/{p-b03f7821.entry.js.map → p-8e320264.entry.js.map} +0 -0
- /package/dist/paperless/{p-2be05484.entry.js.map → p-9018fd19.entry.js.map} +0 -0
- /package/dist/paperless/{p-6daf4240.entry.js.map → p-92cd2a4f.entry.js.map} +0 -0
- /package/dist/paperless/{p-63b3fa1a.entry.js.map → p-956d7b6b.entry.js.map} +0 -0
- /package/dist/paperless/{p-caf60b01.entry.js.map → p-a21acfcb.entry.js.map} +0 -0
- /package/dist/paperless/{p-bf24b57e.entry.js.map → p-a80d65ac.entry.js.map} +0 -0
- /package/dist/paperless/{p-68061d5f.entry.js.map → p-ad38422c.entry.js.map} +0 -0
- /package/dist/paperless/{p-311d61df.entry.js.map → p-ada3cb79.entry.js.map} +0 -0
- /package/dist/paperless/{p-0d5370c5.entry.js.map → p-aee63a63.entry.js.map} +0 -0
- /package/dist/paperless/{p-0762dca2.entry.js.map → p-c09353c8.entry.js.map} +0 -0
- /package/dist/paperless/{p-f2d908e3.entry.js.map → p-d3ce97c5.entry.js.map} +0 -0
- /package/dist/paperless/{p-bf91728e.entry.js.map → p-e30c1063.entry.js.map} +0 -0
- /package/dist/paperless/{p-221135cd.entry.js.map → p-e59817a8.entry.js.map} +0 -0
- /package/dist/paperless/{p-6604ead1.entry.js.map → p-e6b65d3f.entry.js.map} +0 -0
- /package/dist/paperless/{p-70e9207a.entry.js.map → p-e809c3a7.entry.js.map} +0 -0
- /package/dist/paperless/{p-99854a0f.entry.js.map → p-e8ff6530.entry.js.map} +0 -0
- /package/dist/paperless/{p-bfaf3040.entry.js.map → p-fc878df7.entry.js.map} +0 -0
- /package/dist/paperless/{p-bb2b8e53.entry.js.map → p-fec1b7e7.entry.js.map} +0 -0
|
@@ -70,11 +70,11 @@ const EmptyState = class {
|
|
|
70
70
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
71
71
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
72
72
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
73
|
-
return (h(ThemedHost, { key: '
|
|
73
|
+
return (h(ThemedHost, { key: 'a5b216f02c7086b814e8e234e8182141145a4f3e' }, h("div", { key: '9e24d079bc3250ed127d265708e4c20053202cbc', class: emptyState({
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '31ab436e26a4b6253b0f650524f8cecd7ee12a55', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500 dark:text-white' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300 dark:text-hurricane-200' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -235,7 +235,7 @@ const TableContainer = class {
|
|
|
235
235
|
registerInstance(this, hostRef);
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
|
-
return (h(Host, { key: '
|
|
238
|
+
return (h(Host, { key: '60a213b1b9d9fdd01e4ead844cc0c45f97492474', class: container() }, h("slot", { key: '533b69a0e5118d466159c106cfbf6ae058b9a7f2' })));
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
TableContainer.style = tableContainerComponentCss;
|
|
@@ -9968,15 +9968,15 @@ const TableHeader = class {
|
|
|
9968
9968
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
9969
9969
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
9970
9970
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
9971
|
-
return (h(ThemedHost, { key: '
|
|
9972
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
9971
|
+
return (h(ThemedHost, { key: 'c1b62a3635fc61d8130b4d1c7b5e2382423fc8b4' }, h("div", { key: '42dbc580b0f7cbeee1c010222011c929c105616f', class: header() }, this.loading && (h("p-loader", { key: '1d22845dc422bbc0f073572903d255024fe91256', variant: 'ghost', class: 'hidden h-8 w-3/4 rounded desktop-xs:flex' })), !this.loading &&
|
|
9972
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '0b19ec881c0d734e58bf50dfa49447bec37fe91d', class: 'flex flex-col justify-start gap-4 justify-self-start desktop-xs:flex-row' }, hasCustomFilterSlot && h("slot", { key: 'c6fdbeecee6e5feaac30ba80d5c4e332ea804af8', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: 'de00cdb0b7cb6e192fb83157ff60ccf6a08fa626', class: 'hidden desktop-xs:flex' }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
9973
9973
|
? item.text
|
|
9974
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
9974
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '2648878d64a6a8f3a56f85724a8145a5ff30220a', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (h("p-field", { key: '83af3e145b5effa18aa36052e14c8e7aae674a0c', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'dfd462d178469f369c71093487457b8b7461450d', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'b81c91709dd8d9b60f0d41621b07118966fea148', icon: 'filter', variant: 'secondary', class: `w-full ${this.enableFilterDesktop
|
|
9975
9975
|
? 'desktop-xs:w-auto'
|
|
9976
9976
|
: 'desktop-xs:hidden'}`, onClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
9977
9977
|
? this.filterButtonTemplate()
|
|
9978
9978
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
9979
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
9979
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '69fa061c128034dc499d2f7548121d623701b111', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (h("p-button", { key: '6bf0e38639cac6e886ca83d36879a838f14056dc', variant: 'secondary', icon: 'upload', class: 'desktop-xs:auto w-full', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: 'b09deed8ab74a41bdbaebd53296144822c4575dd', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '9208470608e5c4648b9931cebb6a4b9e8382615f', class: 'border-t-mystic-dark fixed bottom-0 left-0 block w-full border border-solid border-transparent bg-white p-4 desktop-xs:hidden' }, this._buttonTemplate(true))))));
|
|
9980
9980
|
}
|
|
9981
9981
|
async _setLocales() {
|
|
9982
9982
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -10107,13 +10107,13 @@ const TableRowActionsContainer = class {
|
|
|
10107
10107
|
*/
|
|
10108
10108
|
checked = false;
|
|
10109
10109
|
render() {
|
|
10110
|
-
return (h(ThemedHost, { key: '
|
|
10110
|
+
return (h(ThemedHost, { key: '35ad8aec17d7c68a3ddbce9e48a1a257ca474dd7' }, h("div", { key: 'f5d5e250a4a51cd7e42ebbee910290d369ca2426', class: cn('flex before:w-4 before:bg-gradient-to-l before:from-off-white-200', {
|
|
10111
10111
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10112
10112
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10113
|
-
}) }, h("div", { key: '
|
|
10113
|
+
}) }, h("div", { key: '77013b7660b88247f3e4ba9dd2ed2f09aff8abb6', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10114
10114
|
'dark:bg-hurricane-600': !this.checked,
|
|
10115
10115
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10116
|
-
}) }, h("slot", { key: '
|
|
10116
|
+
}) }, h("slot", { key: '655ee54ea1b3553acf23a38bf4851c86cdb1f21a' })))));
|
|
10117
10117
|
}
|
|
10118
10118
|
};
|
|
10119
10119
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-field.p-field-container.p-helper.entry.js","sources":["src/components/molecules/field/field/field.component.css?tag=p-field&encapsulation=shadow","src/components/molecules/field/field/field.component.tsx","src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx","src/components/atoms/helper/helper.component.css?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx"],"sourcesContent":[":host {\n\tinput[type='number'] {\n\t\t-moz-appearance: textfield; /* Firefox */\n\t}\n\n\tinput::-webkit-outer-spin-button,\n\tinput::-webkit-inner-spin-button {\n\t\tdisplay: none;\n\t\t-webkit-appearance: none;\n\t}\n}\n","import { Placement } from '@floating-ui/dom';\nimport {\n\tAttachInternals,\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { HTMLInputTypeAttribute } from 'react';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { cn } from '../../../../utils/cn';\nimport { nonce } from '../../../../utils/nonce';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\nimport { templateFunc } from '../container/field-container.component';\n\nconst field = cva(\n\t['flex gap-2', 'w-inherit', 'border-solid rounded-lg', 'relative'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tread: 'border-0 items-start flex-wrap hyphens-auto break-normal leading-6',\n\t\t\t\twrite: 'border px-2',\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: null,\n\t\t\t\tbase: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisTextarea: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'items-start',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tvariant: 'write',\n\t\t\t\tisTextarea: false,\n\t\t\t\tclass: 'h-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tvariant: 'write',\n\t\t\t\tisTextarea: false,\n\t\t\t\tclass: 'h-8',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tvariant: 'read',\n\t\t\t\tclass: 'min-h-4 text-xs',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tvariant: 'read',\n\t\t\t\tclass: 'min-h-5 text-sm',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'border-storm-100 dark:border-hurricane-400',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass:\n\t\t\t\t\t'border-indigo-600 ring dark:ring-0 ring-indigo-100 selection:bg-indigo-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-white dark:bg-hurricane-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass:\n\t\t\t\t\t'bg-white-600 dark:bg-hurricane-600 dark:border-hurricane-500 cursor-not-allowed',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'border-negative-red-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass:\n\t\t\t\t\t'ring ring-negative-red-50 selection:bg-negative-red-50 dark:ring-0',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst input = cva(\n\t[\n\t\t'text-sm placeholder:text-sm placeholder:text-storm-500/40 dark:placeholder:text-hurricane-200',\n\t\t'border-none bg-transparent flex-1 min-w-0 p-0',\n\t\t'outline-none focus:outline-none',\n\t\t'font-geist',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tisTextarea: {\n\t\t\t\tfalse: 'h-full',\n\t\t\t\ttrue: 'mt-1',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: 'text-storm-500 dark:text-white',\n\t\t\t\ttrue: 'text-negative-red-500',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tread: 'leading-6',\n\t\t\t\twrite: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-storm-100 dark:text-hurricane-400',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t\tisTextarea: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'mt-2',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-storm-300 dark:text-hurricane-200',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-storm-500 dark:text-white',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n\tformAssociated: true,\n})\nexport class Field {\n\t/**\n\t * The alignment of the container\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The id of the field\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string | number;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * Wether the field is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * Wether to show an add button when empty\n\t */\n\t@Prop({ reflect: true }) showAddOnEmpty: boolean = false;\n\n\t/**\n\t * The text to show on the add button\n\t */\n\t@Prop({ reflect: true }) addText: string = 'Add';\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether this component handles showing the error tooltip\n\t */\n\t@Prop({ reflect: true }) autoShowError = true;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event({ bubbles: false }) valueChange: EventEmitter<string | number>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event({ bubbles: false }) add: EventEmitter<void>;\n\n\t/**\n\t * Event whenever the user presses enter and the field is focused\n\t */\n\t@Event({ bubbles: false }) enter: EventEmitter<string | number>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\t@State() private _nonce = nonce(5);\n\n\t@AttachInternals() _internals: ElementInternals;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\tprivate _lastValue: string | number | null;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\tformResetCallback() {\n\t\tthis.value = null;\n\t\tthis.valueChange.emit(null);\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 {\n\t\t\tid,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t(!!this.error?.length && !this._focused && this.autoShowError) ||\n\t\t\t\t\t\t(!!this.error?.length && this.forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tid={id}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\talign={this.align}\n\t\t\t\t\tloading={this.loading}\n\t\t\t\t\tloadingSize={this.size}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tshowOptional={this.showOptional}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\ttitle={\n\t\t\t\t\t\t\tthis.variant === 'read' && !hasValueSlot\n\t\t\t\t\t\t\t\t? `${this.value}`\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(this.error?.length ||\n\t\t\t\t\t\t\tprefix ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{(this.icon && this.iconPosition === 'start') ||\n\t\t\t\t\t\t\t\tthis.error?.length ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass={cn('flex', {\n\t\t\t\t\t\t\t\t\t\t\t'mt-1': this.variant === 'read' && this.size === 'base',\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\tvariant={this.error?.length ? 'warning' : this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot, id)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass={cn('flex', {\n\t\t\t\t\t\t\t\t\t\t\t'mt-1': this.variant === 'read' && this.size === 'base',\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Watch('value')\n\twatchvalue(value: string | null) {\n\t\tif (!this._inputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (value === this._lastValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._lastValue = value;\n\t\tthis._inputRef.value = value;\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\t@Listen('keyup', { capture: true })\n\thandleKeyup(ev: KeyboardEvent) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._internals?.form) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.type === 'textarea' || ev.key !== 'Enter') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._internals.form.requestSubmit();\n\t}\n\n\t@Listen('keydown', { capture: true })\n\thandleKeydown(ev: KeyboardEvent) {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (ev.key !== 'Enter') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.enter.emit(this.value);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\tconst id = this.id?.length ? this.id : this._nonce;\n\n\t\treturn {\n\t\t\tid,\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false, id: string) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn hasValueSlot ? (\n\t\t\t\t<slot name='value' />\n\t\t\t) : !!this.value && `${this.value}`.length > 0 ? (\n\t\t\t\tthis.value\n\t\t\t) : this.showAddOnEmpty ? (\n\t\t\t\t<p-button\n\t\t\t\t\tvariant='text'\n\t\t\t\t\ticon='plus'\n\t\t\t\t\tsize='sm'\n\t\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\t>\n\t\t\t\t\t{this.addText}\n\t\t\t\t</p-button>\n\t\t\t) : (\n\t\t\t\t'—'\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tid,\n\t\t\tclass: input({\n\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\terror: !!this.error?.length,\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: InputEvent) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\treturn (\n\t\t\t\t<textarea\n\t\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t\t{...props}\n\t\t\t\t\t{...properties}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tev.stopPropagation();\n\t\tconst target = (ev.originalTarget ?? ev.target) as\n\t\t\t| HTMLTextAreaElement\n\t\t\t| HTMLInputElement;\n\n\t\tconst value = target.value;\n\n\t\tthis._lastValue = value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t\tthis._internals.setFormValue(target.value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n","","import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tcn,\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * Align content to the start or end\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tslot='trigger'\n\t\t\t\tname='content'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass={cn('flex w-inherit flex-col gap-1', {\n\t\t\t\t\t\t'cursor-auto': this.variant === 'read',\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={cn('flex items-end justify-between gap-1 empty:hidden', {\n\t\t\t\t\t\t\t'flex-row-reverse': this.align === 'end',\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{(!!label?.length || !!helper?.length) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='flex min-w-0 gap-2'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<span class='min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200'>\n\t\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\tclass='flex flex-shrink-0'\n\t\t\t\t\t\t\t\t\t\tplacement='top'\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{((!asBoolean(this.required) && asBoolean(this.showOptional)) ||\n\t\t\t\t\t\t\thasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) &&\n\t\t\t\t\t\t\t\t\tasBoolean(this.showOptional) &&\n\t\t\t\t\t\t\t\t\tthis.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-storm-200 dark:text-hurricane-300'>\n\t\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={cn({\n\t\t\t\t\t\t\t'w-full': this.variant === 'write' || this.loading,\n\t\t\t\t\t\t\t'ml-auto': this.align === 'end',\n\t\t\t\t\t\t\t'font-normal': this.variant === 'read',\n\t\t\t\t\t\t\t'text-storm-500 dark:text-white': this.variant === 'read',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={\n\t\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\t\tasBoolean(this.forceShowTooltip, false)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n",":host {\n\t@apply inline-flex h-[0.875rem] w-[0.875rem];\n}\n","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Prop } from '@stencil/core';\nimport { ThemedHost } from '../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.css',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='flex'\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tclass='cursor-pointer text-storm-300 hover:text-storm-500 dark:text-hurricane-300 dark:hover:text-hurricane-200'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t/>\n\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,syQAAsyQ;;AC0Bh0Q,MAAM,KAAK,GAAG,GAAG,CAChB,CAAC,YAAY,EAAE,WAAW,EAAE,yBAAyB,EAAE,UAAU,CAAC,EAClE;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,oEAAoE;AAC1E,YAAA,KAAK,EAAE,aAAa;AACpB,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,EAAE,EAAE,IAAI;AACR,YAAA,IAAI,EAAE,IAAI;AACV,SAAA;AACD,QAAA,QAAQ,EAAE;AACT,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,IAAI,EAAE,IAAI;AACV,SAAA;AACD,QAAA,OAAO,EAAE;AACR,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,IAAI,EAAE,IAAI;AACV,SAAA;AACD,QAAA,KAAK,EAAE;AACN,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,IAAI,EAAE,I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CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvB,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,0GAA0G,EAChH,OAAO,EAAC,iBAAiB,EACzB,IAAI,EAAC,SAAS,EACb,CAAA,EAEF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACK,CACA;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getElement, h } from './index-Dpmiv2da.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { T as ThemedHost } from './themed-host.component-C8HmhEcP.js';
|
|
3
4
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
5
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
5
6
|
import { n as nonce } from './nonce-D9kEjsvZ.js';
|
|
6
|
-
import { T as ThemedHost } from './themed-host.component-C8HmhEcP.js';
|
|
7
7
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-DiJj8rmO.js';
|
|
8
8
|
import './clsx-ChV9xqsO.js';
|
|
9
9
|
import './state-DKMgUotc.js';
|
|
@@ -177,6 +177,7 @@ const Field = class {
|
|
|
177
177
|
this.valueChange = createEvent(this, "valueChange", 3);
|
|
178
178
|
this.inputRefChange = createEvent(this, "inputRefChange", 7);
|
|
179
179
|
this.add = createEvent(this, "add", 3);
|
|
180
|
+
this.enter = createEvent(this, "enter", 3);
|
|
180
181
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
181
182
|
this._internals = hostRef.$hostElement$["s-ei"];
|
|
182
183
|
}
|
|
@@ -320,6 +321,10 @@ const Field = class {
|
|
|
320
321
|
* Event whenever the value changes
|
|
321
322
|
*/
|
|
322
323
|
add;
|
|
324
|
+
/**
|
|
325
|
+
* Event whenever the user presses enter and the field is focused
|
|
326
|
+
*/
|
|
327
|
+
enter;
|
|
323
328
|
get _el() { return getElement(this); }
|
|
324
329
|
_focused = false;
|
|
325
330
|
_nonce = nonce(5);
|
|
@@ -341,8 +346,8 @@ const Field = class {
|
|
|
341
346
|
}
|
|
342
347
|
render() {
|
|
343
348
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
344
|
-
return (h(ThemedHost, { key: '
|
|
345
|
-
(!!this.error?.length && this.forceShowTooltip), id: id, label: this.label, align: this.align, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
349
|
+
return (h(ThemedHost, { key: 'cd6719555f83fdb25f1d0e5cca3e80f87bcfda5f' }, h("p-field-container", { key: '802af3d1027dcec188abf0c29fc357debcd6d626', forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
350
|
+
(!!this.error?.length && this.forceShowTooltip), id: id, label: this.label, align: this.align, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '4366e85887325f5f50045c94c70bffcb5f059ca2', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '1e2afa26586e93ae7a1097e1140633b8aecd2ab8', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '3dbf99d7d5f82f4ab2709eeda67a8f6196068af8', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '885e7c74abd3566de386c4c8437d0e5778bc270d', name: 'error', slot: 'error' })), h("div", { key: '8fa79d544162ccc63b28552edd33331352aceca4', class: field({
|
|
346
351
|
error: !!this.error?.length,
|
|
347
352
|
disabled: asBoolean(this.disabled),
|
|
348
353
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -353,7 +358,7 @@ const Field = class {
|
|
|
353
358
|
? `${this.value}`
|
|
354
359
|
: undefined, slot: 'content' }, (this.error?.length ||
|
|
355
360
|
prefix ||
|
|
356
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
361
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '5ab24c6ec8006d44135e82ea3cf46bc27c098591', class: prefixAndSuffix({
|
|
357
362
|
variant: this.variant,
|
|
358
363
|
error: !!this.error?.length,
|
|
359
364
|
disabled: asBoolean(this.disabled),
|
|
@@ -363,7 +368,7 @@ const Field = class {
|
|
|
363
368
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
364
369
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
365
370
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
366
|
-
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
371
|
+
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '7c073526b37f4c300e6906b2b934435e5d5482ad', class: prefixAndSuffix({
|
|
367
372
|
variant: this.variant,
|
|
368
373
|
error: !!this.error?.length,
|
|
369
374
|
disabled: asBoolean(this.disabled),
|
|
@@ -410,6 +415,15 @@ const Field = class {
|
|
|
410
415
|
}
|
|
411
416
|
this._internals.form.requestSubmit();
|
|
412
417
|
}
|
|
418
|
+
handleKeydown(ev) {
|
|
419
|
+
if (this.disabled) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
if (ev.key !== 'Enter') {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
this.enter.emit(this.value);
|
|
426
|
+
}
|
|
413
427
|
_getSlotInfo() {
|
|
414
428
|
const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
|
|
415
429
|
const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
|
|
@@ -657,7 +671,27 @@ const FieldContainer = class {
|
|
|
657
671
|
};
|
|
658
672
|
FieldContainer.style = fieldContainerComponentCss;
|
|
659
673
|
|
|
660
|
-
|
|
661
|
-
|
|
674
|
+
const helperComponentCss = ".inline-flex{display:inline-flex!important}.h-\\[0\\.875rem\\]{height:.875rem!important}.w-\\[0\\.875rem\\]{width:.875rem!important}*{box-sizing:border-box}:host{display:inline-flex;height:.875rem;width:.875rem}.absolute{position:absolute!important}.flex{display:flex!important}.cursor-pointer{cursor:pointer!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.dark\\:hover\\:text-hurricane-200:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.dark\\:hover\\:text-hurricane-200:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}";
|
|
675
|
+
|
|
676
|
+
const Helper = class {
|
|
677
|
+
constructor(hostRef) {
|
|
678
|
+
registerInstance(this, hostRef);
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* The strategy of the popover placement
|
|
682
|
+
*/
|
|
683
|
+
strategy = 'absolute';
|
|
684
|
+
/**
|
|
685
|
+
* The placement of the helper popover
|
|
686
|
+
*/
|
|
687
|
+
placement = 'top';
|
|
688
|
+
render() {
|
|
689
|
+
return (h(ThemedHost, { key: '6d7bb2b82b17d63cd68c4684bda18ac804eebd0d' }, h("p-tooltip", { key: '69b1052d9ccebcc619da7e2a1bc732469ca90efe', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '9a7cf7bd259568b23f5df19d2d6ea2155cc849c8', size: 'sm', class: 'cursor-pointer text-storm-300 hover:text-storm-500 dark:text-hurricane-300 dark:hover:text-hurricane-200', variant: 'question-circle', slot: 'trigger' }), h("div", { key: 'f33a936c61c14c701e40d375e4dfc4c554b8293c', slot: 'content' }, h("slot", { key: '99daac036d504576595f6af311d81f9aa02970f1' })))));
|
|
690
|
+
}
|
|
691
|
+
};
|
|
692
|
+
Helper.style = helperComponentCss;
|
|
693
|
+
|
|
694
|
+
export { Field as p_field, FieldContainer as p_field_container, Helper as p_helper };
|
|
695
|
+
//# sourceMappingURL=p-field.p-field-container.p-helper.entry.js.map
|
|
662
696
|
|
|
663
|
-
//# sourceMappingURL=p-
|
|
697
|
+
//# sourceMappingURL=p-field_3.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-field.p-field-container.p-helper.entry.js","mappings":";;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,syQAAsyQ;;AC0Bh0Q,MAAM,KAAK,GAAG,GAAG,CAChB,CAAC,YAAY,EAAE,WAAW,EAAE,yBAAyB,EAAE,UAAU,CAAC,EAClE;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,oEAAoE;AAC1E,YAAA,KAAK,EAAE,aAAa;AACpB,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,EAAE,EAAE,IAAI;AACR,YAAA,IAAI,EAAE,IAAI;AACV,SAAA;AACD,QAAA,QAAQ,EAAE;AACT,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,IAA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,GAAc,KAAK;IAEpC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,MAAM,EACZ,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvB,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,0GAA0G,EAChH,OAAO,EAAC,iBAAiB,EACzB,IAAI,EAAC,SAAS,EACb,CAAA,EAEF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACK,CACA;;;;;;;","names":[],"sources":["src/components/molecules/field/field/field.component.css?tag=p-field&encapsulation=shadow","src/components/molecules/field/field/field.component.tsx","src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx","src/components/atoms/helper/helper.component.css?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx"],"sourcesContent":[":host {\n\tinput[type='number'] {\n\t\t-moz-appearance: textfield; /* Firefox */\n\t}\n\n\tinput::-webkit-outer-spin-button,\n\tinput::-webkit-inner-spin-button {\n\t\tdisplay: none;\n\t\t-webkit-appearance: none;\n\t}\n}\n","import { Placement } from '@floating-ui/dom';\nimport {\n\tAttachInternals,\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { HTMLInputTypeAttribute } from 'react';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { cn } from '../../../../utils/cn';\nimport { nonce } from '../../../../utils/nonce';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\nimport { templateFunc } from '../container/field-container.component';\n\nconst field = cva(\n\t['flex gap-2', 'w-inherit', 'border-solid rounded-lg', 'relative'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tread: 'border-0 items-start flex-wrap hyphens-auto break-normal leading-6',\n\t\t\t\twrite: 'border px-2',\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: null,\n\t\t\t\tbase: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisTextarea: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'items-start',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tvariant: 'write',\n\t\t\t\tisTextarea: false,\n\t\t\t\tclass: 'h-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tvariant: 'write',\n\t\t\t\tisTextarea: false,\n\t\t\t\tclass: 'h-8',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tvariant: 'read',\n\t\t\t\tclass: 'min-h-4 text-xs',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tvariant: 'read',\n\t\t\t\tclass: 'min-h-5 text-sm',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'border-storm-100 dark:border-hurricane-400',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass:\n\t\t\t\t\t'border-indigo-600 ring dark:ring-0 ring-indigo-100 selection:bg-indigo-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-white dark:bg-hurricane-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'write',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass:\n\t\t\t\t\t'bg-white-600 dark:bg-hurricane-600 dark:border-hurricane-500 cursor-not-allowed',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'border-negative-red-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass:\n\t\t\t\t\t'ring ring-negative-red-50 selection:bg-negative-red-50 dark:ring-0',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst input = cva(\n\t[\n\t\t'text-sm placeholder:text-sm placeholder:text-storm-500/40 dark:placeholder:text-hurricane-200',\n\t\t'border-none bg-transparent flex-1 min-w-0 p-0',\n\t\t'outline-none focus:outline-none',\n\t\t'font-geist',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tisTextarea: {\n\t\t\t\tfalse: 'h-full',\n\t\t\t\ttrue: 'mt-1',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: 'text-storm-500 dark:text-white',\n\t\t\t\ttrue: 'text-negative-red-500',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tread: 'leading-6',\n\t\t\t\twrite: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-storm-100 dark:text-hurricane-400',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t\tisTextarea: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'mt-2',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-storm-300 dark:text-hurricane-200',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-storm-500 dark:text-white',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n\tformAssociated: true,\n})\nexport class Field {\n\t/**\n\t * The alignment of the container\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The id of the field\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string | number;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * Wether the field is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * Wether to show an add button when empty\n\t */\n\t@Prop({ reflect: true }) showAddOnEmpty: boolean = false;\n\n\t/**\n\t * The text to show on the add button\n\t */\n\t@Prop({ reflect: true }) addText: string = 'Add';\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether this component handles showing the error tooltip\n\t */\n\t@Prop({ reflect: true }) autoShowError = true;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event({ bubbles: false }) valueChange: EventEmitter<string | number>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event({ bubbles: false }) add: EventEmitter<void>;\n\n\t/**\n\t * Event whenever the user presses enter and the field is focused\n\t */\n\t@Event({ bubbles: false }) enter: EventEmitter<string | number>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\t@State() private _nonce = nonce(5);\n\n\t@AttachInternals() _internals: ElementInternals;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\tprivate _lastValue: string | number | null;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\tformResetCallback() {\n\t\tthis.value = null;\n\t\tthis.valueChange.emit(null);\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 {\n\t\t\tid,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t(!!this.error?.length && !this._focused && this.autoShowError) ||\n\t\t\t\t\t\t(!!this.error?.length && this.forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tid={id}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\talign={this.align}\n\t\t\t\t\tloading={this.loading}\n\t\t\t\t\tloadingSize={this.size}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tshowOptional={this.showOptional}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\ttitle={\n\t\t\t\t\t\t\tthis.variant === 'read' && !hasValueSlot\n\t\t\t\t\t\t\t\t? `${this.value}`\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(this.error?.length ||\n\t\t\t\t\t\t\tprefix ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{(this.icon && this.iconPosition === 'start') ||\n\t\t\t\t\t\t\t\tthis.error?.length ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass={cn('flex', {\n\t\t\t\t\t\t\t\t\t\t\t'mt-1': this.variant === 'read' && this.size === 'base',\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\tvariant={this.error?.length ? 'warning' : this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot, id)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\t\t\t\tfocused: asBoolean(this.focused) || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass={cn('flex', {\n\t\t\t\t\t\t\t\t\t\t\t'mt-1': this.variant === 'read' && this.size === 'base',\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Watch('value')\n\twatchvalue(value: string | null) {\n\t\tif (!this._inputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (value === this._lastValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._lastValue = value;\n\t\tthis._inputRef.value = value;\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\t@Listen('keyup', { capture: true })\n\thandleKeyup(ev: KeyboardEvent) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._internals?.form) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.type === 'textarea' || ev.key !== 'Enter') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._internals.form.requestSubmit();\n\t}\n\n\t@Listen('keydown', { capture: true })\n\thandleKeydown(ev: KeyboardEvent) {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (ev.key !== 'Enter') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.enter.emit(this.value);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\tconst id = this.id?.length ? this.id : this._nonce;\n\n\t\treturn {\n\t\t\tid,\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false, id: string) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn hasValueSlot ? (\n\t\t\t\t<slot name='value' />\n\t\t\t) : !!this.value && `${this.value}`.length > 0 ? (\n\t\t\t\tthis.value\n\t\t\t) : this.showAddOnEmpty ? (\n\t\t\t\t<p-button\n\t\t\t\t\tvariant='text'\n\t\t\t\t\ticon='plus'\n\t\t\t\t\tsize='sm'\n\t\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\t>\n\t\t\t\t\t{this.addText}\n\t\t\t\t</p-button>\n\t\t\t) : (\n\t\t\t\t'—'\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tid,\n\t\t\tclass: input({\n\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\terror: !!this.error?.length,\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: InputEvent) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\treturn (\n\t\t\t\t<textarea\n\t\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t\t{...props}\n\t\t\t\t\t{...properties}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tev.stopPropagation();\n\t\tconst target = (ev.originalTarget ?? ev.target) as\n\t\t\t| HTMLTextAreaElement\n\t\t\t| HTMLInputElement;\n\n\t\tconst value = target.value;\n\n\t\tthis._lastValue = value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t\tthis._internals.setFormValue(target.value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n","","import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tcn,\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * Align content to the start or end\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tslot='trigger'\n\t\t\t\tname='content'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass={cn('flex w-inherit flex-col gap-1', {\n\t\t\t\t\t\t'cursor-auto': this.variant === 'read',\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={cn('flex items-end justify-between gap-1 empty:hidden', {\n\t\t\t\t\t\t\t'flex-row-reverse': this.align === 'end',\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{(!!label?.length || !!helper?.length) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='flex min-w-0 gap-2'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<span class='min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200'>\n\t\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\tclass='flex flex-shrink-0'\n\t\t\t\t\t\t\t\t\t\tplacement='top'\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{((!asBoolean(this.required) && asBoolean(this.showOptional)) ||\n\t\t\t\t\t\t\thasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) &&\n\t\t\t\t\t\t\t\t\tasBoolean(this.showOptional) &&\n\t\t\t\t\t\t\t\t\tthis.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-storm-200 dark:text-hurricane-300'>\n\t\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={cn({\n\t\t\t\t\t\t\t'w-full': this.variant === 'write' || this.loading,\n\t\t\t\t\t\t\t'ml-auto': this.align === 'end',\n\t\t\t\t\t\t\t'font-normal': this.variant === 'read',\n\t\t\t\t\t\t\t'text-storm-500 dark:text-white': this.variant === 'read',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={\n\t\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\t\tasBoolean(this.forceShowTooltip, false)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n",":host {\n\t@apply inline-flex h-[0.875rem] w-[0.875rem];\n}\n","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Prop } from '@stencil/core';\nimport { ThemedHost } from '../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.css',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='flex'\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tclass='cursor-pointer text-storm-300 hover:text-storm-500 dark:text-hurricane-300 dark:hover:text-hurricane-200'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t/>\n\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -89,10 +89,10 @@ const FloatingMenuItem = class {
|
|
|
89
89
|
*/
|
|
90
90
|
iconRotate;
|
|
91
91
|
render() {
|
|
92
|
-
return (h(ThemedHost, { key: '
|
|
92
|
+
return (h(ThemedHost, { key: 'b578f9874b8d3abead851be50dc8bd6339e64006', class: item({
|
|
93
93
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
94
94
|
disabled: asBoolean(this.disabled),
|
|
95
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
95
|
+
}) }, this._getIcon(), h("p", { key: 'b9852098c1581a32d588ad154ab2701d42072604', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold empty:hidden' }, h("slot", { key: '99def7edc1fdf2e139ae6a6e6fc8c6e739174829' }))));
|
|
96
96
|
}
|
|
97
97
|
_getIcon() {
|
|
98
98
|
if (!this.icon && !this.loading) {
|
|
@@ -68,10 +68,10 @@ const InfoPanel = class {
|
|
|
68
68
|
render() {
|
|
69
69
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
70
70
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
71
|
-
return (h(ThemedHost, { key: '
|
|
71
|
+
return (h(ThemedHost, { key: '12e4623e5f97872ec5080a9419d1efbb9e2675b1' }, h("div", { key: '32c578f13886cf360a4ff21e81157c9f6c50fc08', class: infopanel({
|
|
72
72
|
variant: this.variant,
|
|
73
73
|
closeAble: this.closeable,
|
|
74
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
74
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '0e790195cce90e3c9cf1da280a7c54f00240187b', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: '13b4a5b512d9ae27914fd5ea6eec0d346eb8d135', class: 'h-inherit text-sm font-normal text-storm-800/60 dark:text-white/70' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: 'c183b312e1724bad9cc949122382092d2916080c', class: close(), onClick: () => this._close() }, h("p-icon", { key: 'd306b198c93cf323d8aebed8a2ee4a8151cc0e03', variant: 'negative' }))))));
|
|
75
75
|
}
|
|
76
76
|
_close() {
|
|
77
77
|
this.closed.emit();
|
|
@@ -77,14 +77,14 @@ const Label = class {
|
|
|
77
77
|
*/
|
|
78
78
|
keepMobileContent = false;
|
|
79
79
|
render() {
|
|
80
|
-
return (h(ThemedHost, { key: '
|
|
80
|
+
return (h(ThemedHost, { key: '352339f0b1a3d84538d720ee440fe05ff217309e' }, h("div", { key: '16a586bd9ea9c03071c7bc24701a32dc860b7672', class: label({
|
|
81
81
|
variant: this.variant,
|
|
82
82
|
iconOnly: this.iconOnly,
|
|
83
83
|
keepMobileContent: this.keepMobileContent,
|
|
84
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
84
|
+
}) }, this.icon && (h("p-icon", { key: '739795aac5c2b21760322c3a19313d97721a28e4', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'b1beb3792b5184f2a790214037176ca9fbbf51d1', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium', {
|
|
85
85
|
hidden: !this.keepMobileContent,
|
|
86
86
|
'desktop-xs:block': !this.keepMobileContent,
|
|
87
|
-
}) }, h("slot", { key: '
|
|
87
|
+
}) }, h("slot", { key: 'c0f471b10e4129a27128f296615809bf0a50fe26' }))))));
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
Label.style = labelComponentCss;
|
|
@@ -16,7 +16,7 @@ const Layout = class {
|
|
|
16
16
|
*/
|
|
17
17
|
scroll;
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'e3b483bb24e305914144448f81531d58f6dd829a', class: `p-layout variant-${this.variant}` }, h("div", { key: '16d2681d444b554d3d9ca36a83ee559fa770e041', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '06ad569a41ea6ca7fdc2ac5ce8946d201982715f', class: 'inner-content' }, h("slot", { key: 'e1a9280008ece9ca605b26050acd56152dc6183b', name: 'content' }))), h("div", { key: 'd9100d85435c75ccf7b7256c5854aaa58cc26284', class: 'sidebar' }, h("slot", { key: '1d86ae46ee7208e9809c0dd6cd6c44e98d9d37dd', name: 'sidebar' })), h("div", { key: '6c2caec168d65ea1b01b29020a5865b47a7b8836', class: 'topbar' }, h("slot", { key: 'c55d9abbf08de89657aaf4a2610667eef74135b3', name: 'topbar' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
Layout.style = layoutComponentCss;
|
|
@@ -13,7 +13,7 @@ const ListingItem = class {
|
|
|
13
13
|
*/
|
|
14
14
|
icon = 'placeholder';
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: '603f664b7e05451996f6fca34d5eca5c08bc68e5' }, h("div", { key: '1b2ddae4bee80e708f3b5166a5fe004bef22892b', class: 'flex items-center gap-2 text-storm-500 dark:text-white' }, h("p-icon", { key: 'b43182b79958d031786c70ae3c710e4fc8778a9e', variant: this.icon }), h("div", { key: 'd86df5546ad12787dbdfb0d972ea1b04d816b9d7', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '6993362836adc8770b6b464530dd60b3f1c02f38' })))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
ListingItem.style = listingItemComponentCss;
|
|
@@ -9,7 +9,7 @@ const ListingLine = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return h(ThemedHost, { key: '
|
|
12
|
+
return h(ThemedHost, { key: 'bee7d2647bb473e74332c4ba85f4e520d6bf4aa9' });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ListingLine.style = listingLineComponentCss;
|
|
@@ -32,10 +32,10 @@ const ModalBody = class {
|
|
|
32
32
|
*/
|
|
33
33
|
roundedTop = false;
|
|
34
34
|
render() {
|
|
35
|
-
return (h(ThemedHost, { key: '
|
|
35
|
+
return (h(ThemedHost, { key: '1c582458434d7d4861aa9299803438f9af40aa46' }, h("div", { key: '61f40c76535de7610156a627dfe21f2a3476a0c9', class: body({
|
|
36
36
|
roundedBottom: this.roundedBottom,
|
|
37
37
|
roundedTop: this.roundedTop,
|
|
38
|
-
}) }, h("slot", { key: '
|
|
38
|
+
}) }, h("slot", { key: '376eb946a3ddb214db227d5697a49b216622be5b' }))));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
ModalBody.style = modalBodyComponentCss;
|
|
@@ -77,10 +77,10 @@ const ModalContainer = class {
|
|
|
77
77
|
*/
|
|
78
78
|
closing = false;
|
|
79
79
|
render() {
|
|
80
|
-
return (h(ThemedHost, { key: '
|
|
80
|
+
return (h(ThemedHost, { key: '9354167bc301d5eda001e37d4316f10aac02bb75' }, h("div", { key: '3eec1cc00587a252c616d5ba9a045e028405824c', class: container({
|
|
81
81
|
size: this.size,
|
|
82
82
|
closing: asBoolean(this.closing),
|
|
83
|
-
}) }, h("slot", { key: '
|
|
83
|
+
}) }, h("slot", { key: '048d2f05a08a655901ea248fb9891064eaac6ea7' }))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
ModalContainer.style = modalContainerComponentCss;
|
|
@@ -92,7 +92,7 @@ const ModalFooter = class {
|
|
|
92
92
|
registerInstance(this, hostRef);
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(ThemedHost, { key: '
|
|
95
|
+
return (h(ThemedHost, { key: 'e4d4e61f8b6f1835a7acf6b7fe10b5b790e24fc8' }, h("div", { key: '726a77f99d88f58802e5f348bdb608e92b30384d', class: 'flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600' }, h("p-divider", { key: '3a0158a36eeca75bf03c72a172f3afb37c954aa0', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), h("div", { key: '90017192bd84143bbe5d406494a00f0347c9c769', class: 'flex flex-col gap-4 tablet:flex-row' }, h("slot", { key: 'c9895dbdc643d5888fa971331dcaf7198978dcb2' })))));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
ModalFooter.style = modalFooterComponentCss;
|
|
@@ -124,7 +124,7 @@ const ModalHeader = class {
|
|
|
124
124
|
*/
|
|
125
125
|
close;
|
|
126
126
|
render() {
|
|
127
|
-
return (h(ThemedHost, { key: '
|
|
127
|
+
return (h(ThemedHost, { key: 'ead42171c46d09d2c3decbe28633948f4bf59b12' }, h("div", { key: '0fc4faf73a5f84fd81ffdeefe1c162f86b38ff2d', class: header() }, h("div", { key: '751e9bdea519bbd76c53cf660d723c1d2d3ef472', class: content() }, h("div", { key: 'f8c2fd3805a8eb41edda5fa72929220b2fc87026', class: title() }, h("slot", { key: 'eccc13406bcf77001e937295c3dbe466106b4b3f' })), this.showClose && (h("p-button", { key: 'e26b2d628041333f1c0de50ecd78f226ded0d66f', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '87d874bb210e13fe71cfb1a853b729f59c7577c3', class: 'dark:text-hurricane-400' }))));
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
ModalHeader.style = modalHeaderComponentCss;
|
|
@@ -84,13 +84,13 @@ const NavigationItem = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
const TagType = this.as;
|
|
86
86
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
87
|
-
return (h(ThemedHost, { key: '
|
|
87
|
+
return (h(ThemedHost, { key: '2e7066aee617a177b242666fcadcfea3cb65df16', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '47710972a16343313540ede4722810b80cf85f47', class: navigationItem({
|
|
88
88
|
icon: !!this.icon,
|
|
89
89
|
active,
|
|
90
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
90
|
+
}), href: this.href, target: this.target }, h("div", { key: '1a7b0bd626a8948a8a1d05af95997b6d45d93060', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'b5103612d94f7bbc5f03e3d56c636ed3739eaedc', variant: this.icon })), h("span", { key: '363a060ce7b0e6a5f3f1d3754a88f7a72d578f61', class: cn({
|
|
91
91
|
'has-counter': !!this.counter,
|
|
92
92
|
'w-full': this.applyFullWidth,
|
|
93
|
-
}) }, h("slot", { key: '
|
|
93
|
+
}) }, h("slot", { key: '3d05c31d3077f3f702448180d7e1343b1764222c' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '06449bc05229257d58924f3046363c766555264f' }, this.counter)), !!this.loading && h("p-loader", { key: '117bc20bee87dc9798261f8937b20a36cb18ce61', class: 'ml-auto' }))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
NavigationItem.style = navigationItemComponentCss;
|
|
@@ -13,7 +13,7 @@ const NavigationSection = class {
|
|
|
13
13
|
*/
|
|
14
14
|
header;
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: '0f14e413b11565881c5c7c2797656346584072a2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '3bfe95db110fe759949aebfb7f2eca1dbe3c6449' }, this.header)), h("div", { key: '22dd51802172cbd455913411d60e8dfd77332028', class: 'flex flex-col' }, h("slot", { key: '2b3a6468891d734102fb31a5f7f3a93fd1b15493' }))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
NavigationSection.style = navigationSectionComponentCss;
|
|
@@ -9,7 +9,7 @@ const NavigationTitle = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: 'c8308458e5c5b2b056aff4359395f79bbf53f1ce', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, h("slot", { key: 'fc635b819bace498a5c34ef4bc88c9d2e97d7908' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NavigationTitle.style = navigationTitleComponentCss;
|