@paperless/core 2.13.9 → 2.14.0
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-2b4b5267.js → p-068fe81f.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-42d46872.entry.js +2 -0
- package/dist/build/p-42d46872.entry.js.map +1 -0
- 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/{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-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/{paperless/p-75cb9a59.entry.js.map → build/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-button.p-icon.p-loader.entry.esm.js.map +1 -1
- 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-e59817a8.entry.js +2 -0
- package/dist/build/p-e59817a8.entry.js.map +1 -0
- 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/build/{p-99854a0f.entry.js → 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/build/{p-bfaf3040.entry.js → 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.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +70 -5
- package/dist/cjs/p-button_3.cjs.entry.js.map +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.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +69 -4
- package/dist/collection/components/molecules/button/button.component.js.map +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-ByBq4ZO0.js → p-3yDjwtDu.js} +6 -6
- package/dist/components/{p-ByBq4ZO0.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-CWsTTbrU.js → p-B5YA-SmD.js} +140 -12
- package/dist/components/p-B5YA-SmD.js.map +1 -0
- 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-CzoowiDG.js → p-BC-UbBCv.js} +6 -6
- package/dist/components/{p-CzoowiDG.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-Hk6_uWf_.js → p-BQN0zMMn.js} +27 -13
- package/dist/components/p-BQN0zMMn.js.map +1 -0
- package/dist/components/{p-DuLPGV4R.js → p-BRoVWZvq.js} +6 -6
- package/dist/components/{p-DuLPGV4R.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-BWP1J8P7.js → p-C93Yl1f2.js} +16 -16
- package/dist/components/{p-BWP1J8P7.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-CHsgxVNo.js +606 -0
- package/dist/components/p-CHsgxVNo.js.map +1 -0
- 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-CBjkQAGw.js → p-CVJiQMpL.js} +58 -22
- package/dist/components/p-CVJiQMpL.js.map +1 -0
- 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-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-DRywdEEP.js → p-DEg8xkEx.js} +3 -3
- package/dist/components/{p-DRywdEEP.js.map → p-DEg8xkEx.js.map} +1 -1
- 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-CkSublD0.js → p-NMvOFm83.js} +6 -6
- package/dist/components/{p-CkSublD0.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/components/{p-XC2VDWby.js → 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-CVo3m-zN.js → p-kJQcqpTe.js} +56 -20
- package/dist/components/p-kJQcqpTe.js.map +1 -0
- 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/esm/{icons-XC2VDWby.js → 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.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +70 -5
- package/dist/esm/p-button_3.entry.js.map +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-42d46872.entry.js +2 -0
- package/dist/paperless/p-42d46872.entry.js.map +1 -0
- 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-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/{build/p-75cb9a59.entry.js.map → paperless/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-button.p-icon.p-loader.entry.esm.js.map +1 -1
- 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-e59817a8.entry.js +2 -0
- package/dist/paperless/p-e59817a8.entry.js.map +1 -0
- 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/paperless/{p-99854a0f.entry.js → 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/paperless/{p-bfaf3040.entry.js → 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-b311a3fa.entry.js +0 -2
- package/dist/build/p-b311a3fa.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-CbigFpjI.js +0 -541
- package/dist/components/p-CbigFpjI.js.map +0 -1
- package/dist/components/p-CsS0Qh_I.js.map +0 -1
- package/dist/components/p-Hk6_uWf_.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-b311a3fa.entry.js +0 -2
- package/dist/paperless/p-b311a3fa.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-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-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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-field.p-field-container.p-helper.entry.cjs.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":["cva","nonce","h","ThemedHost","asBoolean","cn","formatTranslation","getLocaleComponentStrings"],"mappings":";;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,syQAAsyQ;;AC0Bh0Q,MAAM,KAAK,GAAGA,WAAG,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,IAAI;AACV,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,IAAI,EAAE,aAAa;AACnB,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE;AACjB,QAAA;AACC,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,UAAU,EAAE,KAAK;AACjB,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,UAAU,EAAE,KAAK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AS,EAAA,EAClBA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACK,CACA;;;;;;;;;"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Bt6zTh_b.js');
|
|
4
4
|
var index$1 = require('./index-mudu9vpz.js');
|
|
5
|
+
var themedHost_component = require('./themed-host.component-DknBs8R8.js');
|
|
5
6
|
var asBoolean = require('./as-boolean-C1PzA22I.js');
|
|
6
7
|
var cn = require('./cn-BGmLaIp8.js');
|
|
7
8
|
var nonce = require('./nonce-D6kacMR6.js');
|
|
8
|
-
var themedHost_component = require('./themed-host.component-DknBs8R8.js');
|
|
9
9
|
var localization = require('./localization-CGd_fklS.js');
|
|
10
10
|
require('./clsx-BtxeOLZW.js');
|
|
11
11
|
require('./state-CQfRZkfT.js');
|
|
@@ -179,6 +179,7 @@ const Field = class {
|
|
|
179
179
|
this.valueChange = index.createEvent(this, "valueChange", 3);
|
|
180
180
|
this.inputRefChange = index.createEvent(this, "inputRefChange", 7);
|
|
181
181
|
this.add = index.createEvent(this, "add", 3);
|
|
182
|
+
this.enter = index.createEvent(this, "enter", 3);
|
|
182
183
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
183
184
|
this._internals = hostRef.$hostElement$["s-ei"];
|
|
184
185
|
}
|
|
@@ -322,6 +323,10 @@ const Field = class {
|
|
|
322
323
|
* Event whenever the value changes
|
|
323
324
|
*/
|
|
324
325
|
add;
|
|
326
|
+
/**
|
|
327
|
+
* Event whenever the user presses enter and the field is focused
|
|
328
|
+
*/
|
|
329
|
+
enter;
|
|
325
330
|
get _el() { return index.getElement(this); }
|
|
326
331
|
_focused = false;
|
|
327
332
|
_nonce = nonce.nonce(5);
|
|
@@ -343,8 +348,8 @@ const Field = class {
|
|
|
343
348
|
}
|
|
344
349
|
render() {
|
|
345
350
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
346
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
347
|
-
(!!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 && (index.h("slot", { key: '
|
|
351
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'cd6719555f83fdb25f1d0e5cca3e80f87bcfda5f' }, index.h("p-field-container", { key: '802af3d1027dcec188abf0c29fc357debcd6d626', forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
352
|
+
(!!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 && (index.h("slot", { key: '4366e85887325f5f50045c94c70bffcb5f059ca2', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '1e2afa26586e93ae7a1097e1140633b8aecd2ab8', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: '3dbf99d7d5f82f4ab2709eeda67a8f6196068af8', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: '885e7c74abd3566de386c4c8437d0e5778bc270d', name: 'error', slot: 'error' })), index.h("div", { key: '8fa79d544162ccc63b28552edd33331352aceca4', class: field({
|
|
348
353
|
error: !!this.error?.length,
|
|
349
354
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
350
355
|
focused: asBoolean.asBoolean(this.focused) || this._focused,
|
|
@@ -355,7 +360,7 @@ const Field = class {
|
|
|
355
360
|
? `${this.value}`
|
|
356
361
|
: undefined, slot: 'content' }, (this.error?.length ||
|
|
357
362
|
prefix ||
|
|
358
|
-
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '
|
|
363
|
+
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '5ab24c6ec8006d44135e82ea3cf46bc27c098591', class: prefixAndSuffix({
|
|
359
364
|
variant: this.variant,
|
|
360
365
|
error: !!this.error?.length,
|
|
361
366
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -365,7 +370,7 @@ const Field = class {
|
|
|
365
370
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
366
371
|
this.error?.length ? (index.h("p-icon", { class: cn.cn('flex', {
|
|
367
372
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
368
|
-
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '
|
|
373
|
+
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '7c073526b37f4c300e6906b2b934435e5d5482ad', class: prefixAndSuffix({
|
|
369
374
|
variant: this.variant,
|
|
370
375
|
error: !!this.error?.length,
|
|
371
376
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -412,6 +417,15 @@ const Field = class {
|
|
|
412
417
|
}
|
|
413
418
|
this._internals.form.requestSubmit();
|
|
414
419
|
}
|
|
420
|
+
handleKeydown(ev) {
|
|
421
|
+
if (this.disabled) {
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
if (ev.key !== 'Enter') {
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
427
|
+
this.enter.emit(this.value);
|
|
428
|
+
}
|
|
415
429
|
_getSlotInfo() {
|
|
416
430
|
const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
|
|
417
431
|
const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
|
|
@@ -659,8 +673,29 @@ const FieldContainer = class {
|
|
|
659
673
|
};
|
|
660
674
|
FieldContainer.style = fieldContainerComponentCss;
|
|
661
675
|
|
|
676
|
+
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}";
|
|
677
|
+
|
|
678
|
+
const Helper = class {
|
|
679
|
+
constructor(hostRef) {
|
|
680
|
+
index.registerInstance(this, hostRef);
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* The strategy of the popover placement
|
|
684
|
+
*/
|
|
685
|
+
strategy = 'absolute';
|
|
686
|
+
/**
|
|
687
|
+
* The placement of the helper popover
|
|
688
|
+
*/
|
|
689
|
+
placement = 'top';
|
|
690
|
+
render() {
|
|
691
|
+
return (index.h(themedHost_component.ThemedHost, { key: '6d7bb2b82b17d63cd68c4684bda18ac804eebd0d' }, index.h("p-tooltip", { key: '69b1052d9ccebcc619da7e2a1bc732469ca90efe', class: 'flex', placement: this.placement, strategy: this.strategy }, index.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' }), index.h("div", { key: 'f33a936c61c14c701e40d375e4dfc4c554b8293c', slot: 'content' }, index.h("slot", { key: '99daac036d504576595f6af311d81f9aa02970f1' })))));
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
Helper.style = helperComponentCss;
|
|
695
|
+
|
|
662
696
|
exports.p_field = Field;
|
|
663
697
|
exports.p_field_container = FieldContainer;
|
|
664
|
-
|
|
698
|
+
exports.p_helper = Helper;
|
|
699
|
+
//# sourceMappingURL=p-field.p-field-container.p-helper.entry.cjs.js.map
|
|
665
700
|
|
|
666
|
-
//# sourceMappingURL=p-
|
|
701
|
+
//# sourceMappingURL=p-field_3.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-field.p-field-container.p-helper.entry.cjs.js","mappings":";;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,syQAAsyQ;;AC0Bh0Q,MAAM,KAAK,GAAGA,WAAG,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,IAA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AA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,MAAM,EACZ,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvBA,OAAA,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,EAEFA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EAClBA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACK,CACA;;;;;;;;;","names":["cva","nonce","h","ThemedHost","asBoolean","cn","formatTranslation","getLocaleComponentStrings"],"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}
|
|
@@ -91,10 +91,10 @@ const FloatingMenuItem = class {
|
|
|
91
91
|
*/
|
|
92
92
|
iconRotate;
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
94
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'b578f9874b8d3abead851be50dc8bd6339e64006', class: item({
|
|
95
95
|
hover: asBoolean.asBoolean(this.hover) && !asBoolean.asBoolean(this.loading),
|
|
96
96
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
97
|
-
}) }, this._getIcon(), index.h("p", { key: '
|
|
97
|
+
}) }, this._getIcon(), index.h("p", { key: 'b9852098c1581a32d588ad154ab2701d42072604', class: 'min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold empty:hidden' }, index.h("slot", { key: '99def7edc1fdf2e139ae6a6e6fc8c6e739174829' }))));
|
|
98
98
|
}
|
|
99
99
|
_getIcon() {
|
|
100
100
|
if (!this.icon && !this.loading) {
|
|
@@ -70,10 +70,10 @@ const InfoPanel = class {
|
|
|
70
70
|
render() {
|
|
71
71
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
72
72
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
73
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
73
|
+
return (index.h(themedHost_component.ThemedHost, { key: '12e4623e5f97872ec5080a9419d1efbb9e2675b1' }, index.h("div", { key: '32c578f13886cf360a4ff21e81157c9f6c50fc08', class: infopanel({
|
|
74
74
|
variant: this.variant,
|
|
75
75
|
closeAble: this.closeable,
|
|
76
|
-
}) }, (this.header?.length || hasHeaderSlot) && (index.h("div", { key: '
|
|
76
|
+
}) }, (this.header?.length || hasHeaderSlot) && (index.h("div", { key: '0e790195cce90e3c9cf1da280a7c54f00240187b', class: header({ variant: this.variant }) }, this.header?.length ? (index.h("p", { class: 'my-0' }, this.header)) : (index.h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (index.h("div", { key: '13b4a5b512d9ae27914fd5ea6eec0d346eb8d135', class: 'h-inherit text-sm font-normal text-storm-800/60 dark:text-white/70' }, this.content?.length ? (index.h("p", { class: 'my-0' }, this.content)) : (index.h("slot", { name: 'content' })))), this.closeable && (index.h("div", { key: 'c183b312e1724bad9cc949122382092d2916080c', class: close(), onClick: () => this._close() }, index.h("p-icon", { key: 'd306b198c93cf323d8aebed8a2ee4a8151cc0e03', variant: 'negative' }))))));
|
|
77
77
|
}
|
|
78
78
|
_close() {
|
|
79
79
|
this.closed.emit();
|
|
@@ -79,14 +79,14 @@ const Label = class {
|
|
|
79
79
|
*/
|
|
80
80
|
keepMobileContent = false;
|
|
81
81
|
render() {
|
|
82
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
82
|
+
return (index.h(themedHost_component.ThemedHost, { key: '352339f0b1a3d84538d720ee440fe05ff217309e' }, index.h("div", { key: '16a586bd9ea9c03071c7bc24701a32dc860b7672', class: label({
|
|
83
83
|
variant: this.variant,
|
|
84
84
|
iconOnly: this.iconOnly,
|
|
85
85
|
keepMobileContent: this.keepMobileContent,
|
|
86
|
-
}) }, this.icon && (index.h("p-icon", { key: '
|
|
86
|
+
}) }, this.icon && (index.h("p-icon", { key: '739795aac5c2b21760322c3a19313d97721a28e4', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (index.h("div", { key: 'b1beb3792b5184f2a790214037176ca9fbbf51d1', class: cn.cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium', {
|
|
87
87
|
hidden: !this.keepMobileContent,
|
|
88
88
|
'desktop-xs:block': !this.keepMobileContent,
|
|
89
|
-
}) }, index.h("slot", { key: '
|
|
89
|
+
}) }, index.h("slot", { key: 'c0f471b10e4129a27128f296615809bf0a50fe26' }))))));
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
Label.style = labelComponentCss;
|
|
@@ -18,7 +18,7 @@ const Layout = class {
|
|
|
18
18
|
*/
|
|
19
19
|
scroll;
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'e3b483bb24e305914144448f81531d58f6dd829a', class: `p-layout variant-${this.variant}` }, index.h("div", { key: '16d2681d444b554d3d9ca36a83ee559fa770e041', class: 'content', onScroll: ev => this.scroll.emit(ev) }, index.h("div", { key: '06ad569a41ea6ca7fdc2ac5ce8946d201982715f', class: 'inner-content' }, index.h("slot", { key: 'e1a9280008ece9ca605b26050acd56152dc6183b', name: 'content' }))), index.h("div", { key: 'd9100d85435c75ccf7b7256c5854aaa58cc26284', class: 'sidebar' }, index.h("slot", { key: '1d86ae46ee7208e9809c0dd6cd6c44e98d9d37dd', name: 'sidebar' })), index.h("div", { key: '6c2caec168d65ea1b01b29020a5865b47a7b8836', class: 'topbar' }, index.h("slot", { key: 'c55d9abbf08de89657aaf4a2610667eef74135b3', name: 'topbar' }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Layout.style = layoutComponentCss;
|
|
@@ -15,7 +15,7 @@ const ListingItem = class {
|
|
|
15
15
|
*/
|
|
16
16
|
icon = 'placeholder';
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
18
|
+
return (index.h(themedHost_component.ThemedHost, { key: '603f664b7e05451996f6fca34d5eca5c08bc68e5' }, index.h("div", { key: '1b2ddae4bee80e708f3b5166a5fe004bef22892b', class: 'flex items-center gap-2 text-storm-500 dark:text-white' }, index.h("p-icon", { key: 'b43182b79958d031786c70ae3c710e4fc8778a9e', variant: this.icon }), index.h("div", { key: 'd86df5546ad12787dbdfb0d972ea1b04d816b9d7', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, index.h("slot", { key: '6993362836adc8770b6b464530dd60b3f1c02f38' })))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
ListingItem.style = listingItemComponentCss;
|
|
@@ -11,7 +11,7 @@ const ListingLine = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return index.h(themedHost_component.ThemedHost, { key: 'bee7d2647bb473e74332c4ba85f4e520d6bf4aa9' });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ListingLine.style = listingLineComponentCss;
|
|
@@ -34,10 +34,10 @@ const ModalBody = class {
|
|
|
34
34
|
*/
|
|
35
35
|
roundedTop = false;
|
|
36
36
|
render() {
|
|
37
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
37
|
+
return (index.h(themedHost_component.ThemedHost, { key: '1c582458434d7d4861aa9299803438f9af40aa46' }, index.h("div", { key: '61f40c76535de7610156a627dfe21f2a3476a0c9', class: body({
|
|
38
38
|
roundedBottom: this.roundedBottom,
|
|
39
39
|
roundedTop: this.roundedTop,
|
|
40
|
-
}) }, index.h("slot", { key: '
|
|
40
|
+
}) }, index.h("slot", { key: '376eb946a3ddb214db227d5697a49b216622be5b' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
ModalBody.style = modalBodyComponentCss;
|
|
@@ -79,10 +79,10 @@ const ModalContainer = class {
|
|
|
79
79
|
*/
|
|
80
80
|
closing = false;
|
|
81
81
|
render() {
|
|
82
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
82
|
+
return (index.h(themedHost_component.ThemedHost, { key: '9354167bc301d5eda001e37d4316f10aac02bb75' }, index.h("div", { key: '3eec1cc00587a252c616d5ba9a045e028405824c', class: container({
|
|
83
83
|
size: this.size,
|
|
84
84
|
closing: asBoolean.asBoolean(this.closing),
|
|
85
|
-
}) }, index.h("slot", { key: '
|
|
85
|
+
}) }, index.h("slot", { key: '048d2f05a08a655901ea248fb9891064eaac6ea7' }))));
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
ModalContainer.style = modalContainerComponentCss;
|
|
@@ -94,7 +94,7 @@ const ModalFooter = class {
|
|
|
94
94
|
index.registerInstance(this, hostRef);
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
97
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'e4d4e61f8b6f1835a7acf6b7fe10b5b790e24fc8' }, index.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' }, index.h("p-divider", { key: '3a0158a36eeca75bf03c72a172f3afb37c954aa0', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), index.h("div", { key: '90017192bd84143bbe5d406494a00f0347c9c769', class: 'flex flex-col gap-4 tablet:flex-row' }, index.h("slot", { key: 'c9895dbdc643d5888fa971331dcaf7198978dcb2' })))));
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
ModalFooter.style = modalFooterComponentCss;
|
|
@@ -126,7 +126,7 @@ const ModalHeader = class {
|
|
|
126
126
|
*/
|
|
127
127
|
close;
|
|
128
128
|
render() {
|
|
129
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
129
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'ead42171c46d09d2c3decbe28633948f4bf59b12' }, index.h("div", { key: '0fc4faf73a5f84fd81ffdeefe1c162f86b38ff2d', class: header() }, index.h("div", { key: '751e9bdea519bbd76c53cf660d723c1d2d3ef472', class: content() }, index.h("div", { key: 'f8c2fd3805a8eb41edda5fa72929220b2fc87026', class: title() }, index.h("slot", { key: 'eccc13406bcf77001e937295c3dbe466106b4b3f' })), this.showClose && (index.h("p-button", { key: 'e26b2d628041333f1c0de50ecd78f226ded0d66f', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), index.h("p-smile", { key: '87d874bb210e13fe71cfb1a853b729f59c7577c3', class: 'dark:text-hurricane-400' }))));
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
ModalHeader.style = modalHeaderComponentCss;
|
|
@@ -86,13 +86,13 @@ const NavigationItem = class {
|
|
|
86
86
|
render() {
|
|
87
87
|
const TagType = this.as;
|
|
88
88
|
const active = asBoolean.asBoolean(this.active) || this.class?.includes('active');
|
|
89
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
89
|
+
return (index.h(themedHost_component.ThemedHost, { key: '2e7066aee617a177b242666fcadcfea3cb65df16', class: cn.cn('p-navigation-item inline-block', this.class) }, index.h(TagType, { key: '47710972a16343313540ede4722810b80cf85f47', class: navigationItem({
|
|
90
90
|
icon: !!this.icon,
|
|
91
91
|
active,
|
|
92
|
-
}), href: this.href, target: this.target }, index.h("div", { key: '
|
|
92
|
+
}), href: this.href, target: this.target }, index.h("div", { key: '1a7b0bd626a8948a8a1d05af95997b6d45d93060', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: 'b5103612d94f7bbc5f03e3d56c636ed3739eaedc', variant: this.icon })), index.h("span", { key: '363a060ce7b0e6a5f3f1d3754a88f7a72d578f61', class: cn.cn({
|
|
93
93
|
'has-counter': !!this.counter,
|
|
94
94
|
'w-full': this.applyFullWidth,
|
|
95
|
-
}) }, index.h("slot", { key: '
|
|
95
|
+
}) }, index.h("slot", { key: '3d05c31d3077f3f702448180d7e1343b1764222c' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: '06449bc05229257d58924f3046363c766555264f' }, this.counter)), !!this.loading && index.h("p-loader", { key: '117bc20bee87dc9798261f8937b20a36cb18ce61', class: 'ml-auto' }))));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
NavigationItem.style = navigationItemComponentCss;
|
|
@@ -15,7 +15,7 @@ const NavigationSection = class {
|
|
|
15
15
|
*/
|
|
16
16
|
header;
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
18
|
+
return (index.h(themedHost_component.ThemedHost, { key: '0f14e413b11565881c5c7c2797656346584072a2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: '3bfe95db110fe759949aebfb7f2eca1dbe3c6449' }, this.header)), index.h("div", { key: '22dd51802172cbd455913411d60e8dfd77332028', class: 'flex flex-col' }, index.h("slot", { key: '2b3a6468891d734102fb31a5f7f3a93fd1b15493' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
NavigationSection.style = navigationSectionComponentCss;
|
|
@@ -11,7 +11,7 @@ const NavigationTitle = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'c8308458e5c5b2b056aff4359395f79bbf53f1ce', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, index.h("slot", { key: 'fc635b819bace498a5c34ef4bc88c9d2e97d7908' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NavigationTitle.style = navigationTitleComponentCss;
|