@paperless/core 2.0.1-beta.19 → 2.0.1-beta.20
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 +13 -0
- package/dist/build/{p-a6ab63eb.entry.js → p-00534c3c.entry.js} +2 -2
- package/dist/build/{p-e89ffb5c.entry.js → p-117de4a8.entry.js} +2 -2
- package/dist/build/p-17457a9a.entry.js +2 -0
- package/dist/build/{p-b072eb35.entry.js → p-1ea8012a.entry.js} +2 -2
- package/dist/build/p-1ea8012a.entry.js.map +1 -0
- package/dist/build/{p-bbf56d19.entry.js → p-2f821184.entry.js} +2 -2
- package/dist/build/p-5021f212.entry.js +2 -0
- package/dist/build/p-5021f212.entry.js.map +1 -0
- package/dist/build/{p-bd856f15.entry.js → p-57fc0eb5.entry.js} +2 -2
- package/dist/build/{p-0f4e4b8f.entry.js → p-5f54e4b8.entry.js} +2 -2
- package/dist/build/{p-00534761.entry.js → p-68ae68c8.entry.js} +2 -2
- package/dist/build/{p-697ec23e.entry.js → p-716a92ae.entry.js} +2 -2
- package/dist/{paperless/p-6578b0f1.entry.js → build/p-7ef827d5.entry.js} +2 -2
- package/dist/build/{p-d5f0c5c4.entry.js → p-8b38f27d.entry.js} +2 -2
- package/dist/build/{p-f04108c3.entry.js → p-8b3b5d3b.entry.js} +2 -2
- package/dist/build/{p-baef33b3.entry.js → p-8f4ccbe0.entry.js} +2 -2
- package/dist/build/{p-7eeb03a2.entry.js → p-955d149f.entry.js} +2 -2
- package/dist/build/{p-cdcf2ebd.entry.js → p-9f191ebc.entry.js} +2 -2
- package/dist/build/{p-7ab0df67.entry.js → p-a2ff0942.entry.js} +2 -2
- package/dist/{paperless/p-ea5f44ee.entry.js → build/p-b26d5130.entry.js} +2 -2
- package/dist/build/{p-12acd75e.entry.js → p-c6a042f7.entry.js} +2 -2
- package/dist/build/p-c6a042f7.entry.js.map +1 -0
- package/dist/build/{p-78626c51.entry.js → p-c6fa153f.entry.js} +2 -2
- package/dist/build/p-c8616c4a.js +2 -0
- package/dist/build/{p-e5e6a277.entry.js → p-d31d6714.entry.js} +2 -2
- package/dist/build/{p-54a7b850.entry.js → p-db4ea9ce.entry.js} +2 -2
- package/dist/build/p-ddde168c.entry.js +2 -0
- package/dist/build/{p-09f9b1c4.entry.js → p-e102e82d.entry.js} +2 -2
- package/dist/build/{p-19945ca2.entry.js → p-e7bfc9c0.entry.js} +2 -2
- package/dist/build/{p-ff4312df.entry.js → p-e9a323f2.entry.js} +2 -2
- package/dist/{paperless/p-c906c741.entry.js → build/p-e9ddf7b0.entry.js} +2 -2
- package/dist/build/{p-381e7f3f.entry.js → p-fb0087cc.entry.js} +2 -2
- package/dist/build/p-fb0087cc.entry.js.map +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-3f9bbc0c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_8.cjs.entry.js +18 -18
- package/dist/cjs/p-button_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +4 -1
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +17 -11
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +5 -5
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +113 -0
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/portal/portal.component.js +8 -31
- package/dist/collection/components/atoms/portal/portal.component.js.map +1 -1
- package/dist/collection/components/atoms/radio/radio.component.css +1 -0
- package/dist/collection/components/atoms/radio/radio.component.js +262 -0
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -0
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -1
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/atoms/status/status.component.js +2 -2
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/molecules/button/button.component.js +4 -4
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +4 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +16 -10
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
- package/dist/collection/components/molecules/field/field.component.js +6 -5
- package/dist/collection/components/molecules/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/utils/nonce.js +12 -0
- package/dist/collection/utils/nonce.js.map +1 -0
- package/dist/components/button.component.js +4 -4
- package/dist/components/calendar.component.js +4 -1
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/dropdown.component.js +3 -3
- package/dist/components/field.component.js +6 -5
- package/dist/components/field.component.js.map +1 -1
- package/dist/components/input-error.component.js +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +4 -4
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +17 -11
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.d.ts +11 -0
- package/dist/components/p-radio.js +134 -0
- package/dist/components/p-radio.js.map +1 -0
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-group.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/portal.component.js +5 -8
- package/dist/components/portal.component.js.map +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-row.component.js +2 -2
- package/dist/components/tooltip.component.js +4 -4
- package/dist/esm/index-2ef94580.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_8.entry.js +18 -18
- package/dist/esm/p-button_8.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +5 -2
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +17 -11
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-dropdown_2.entry.js +3 -3
- package/dist/esm/p-floating-menu-container_8.entry.js +5 -5
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-label_3.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +109 -0
- package/dist/esm/p-radio.entry.js.map +1 -0
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +1 -1
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-a6ab63eb.entry.js → p-00534c3c.entry.js} +2 -2
- package/dist/paperless/{p-e89ffb5c.entry.js → p-117de4a8.entry.js} +2 -2
- package/dist/paperless/p-17457a9a.entry.js +2 -0
- package/dist/paperless/{p-b072eb35.entry.js → p-1ea8012a.entry.js} +2 -2
- package/dist/paperless/p-1ea8012a.entry.js.map +1 -0
- package/dist/paperless/{p-bbf56d19.entry.js → p-2f821184.entry.js} +2 -2
- package/dist/paperless/p-5021f212.entry.js +2 -0
- package/dist/paperless/p-5021f212.entry.js.map +1 -0
- package/dist/paperless/{p-bd856f15.entry.js → p-57fc0eb5.entry.js} +2 -2
- package/dist/paperless/{p-0f4e4b8f.entry.js → p-5f54e4b8.entry.js} +2 -2
- package/dist/paperless/{p-00534761.entry.js → p-68ae68c8.entry.js} +2 -2
- package/dist/paperless/{p-697ec23e.entry.js → p-716a92ae.entry.js} +2 -2
- package/dist/{build/p-6578b0f1.entry.js → paperless/p-7ef827d5.entry.js} +2 -2
- package/dist/paperless/{p-d5f0c5c4.entry.js → p-8b38f27d.entry.js} +2 -2
- package/dist/paperless/{p-f04108c3.entry.js → p-8b3b5d3b.entry.js} +2 -2
- package/dist/paperless/{p-baef33b3.entry.js → p-8f4ccbe0.entry.js} +2 -2
- package/dist/paperless/{p-7eeb03a2.entry.js → p-955d149f.entry.js} +2 -2
- package/dist/paperless/{p-cdcf2ebd.entry.js → p-9f191ebc.entry.js} +2 -2
- package/dist/paperless/{p-7ab0df67.entry.js → p-a2ff0942.entry.js} +2 -2
- package/dist/{build/p-ea5f44ee.entry.js → paperless/p-b26d5130.entry.js} +2 -2
- package/dist/paperless/{p-12acd75e.entry.js → p-c6a042f7.entry.js} +2 -2
- package/dist/paperless/p-c6a042f7.entry.js.map +1 -0
- package/dist/paperless/{p-78626c51.entry.js → p-c6fa153f.entry.js} +2 -2
- package/dist/paperless/{p-e5e6a277.entry.js → p-d31d6714.entry.js} +2 -2
- package/dist/paperless/{p-54a7b850.entry.js → p-db4ea9ce.entry.js} +2 -2
- package/dist/paperless/p-ddde168c.entry.js +2 -0
- package/dist/paperless/{p-09f9b1c4.entry.js → p-e102e82d.entry.js} +2 -2
- package/dist/paperless/{p-19945ca2.entry.js → p-e7bfc9c0.entry.js} +2 -2
- package/dist/paperless/{p-ff4312df.entry.js → p-e9a323f2.entry.js} +2 -2
- package/dist/{build/p-c906c741.entry.js → paperless/p-e9ddf7b0.entry.js} +2 -2
- package/dist/paperless/{p-381e7f3f.entry.js → p-fb0087cc.entry.js} +2 -2
- package/dist/paperless/p-fb0087cc.entry.js.map +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/portal/portal.component.d.ts +4 -2
- package/dist/types/components/atoms/radio/radio.component.d.ts +38 -0
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +3 -2
- package/dist/types/components.d.ts +88 -2
- package/dist/types/utils/nonce.d.ts +1 -0
- package/hydrate/index.js +198 -71
- package/hydrate/index.mjs +198 -71
- package/package.json +1 -1
- package/dist/build/p-12acd75e.entry.js.map +0 -1
- package/dist/build/p-18e5002c.entry.js +0 -2
- package/dist/build/p-381e7f3f.entry.js.map +0 -1
- package/dist/build/p-b072eb35.entry.js.map +0 -1
- package/dist/build/p-c4c6ce2d.entry.js +0 -2
- package/dist/build/p-e3522e35.js +0 -2
- package/dist/paperless/p-12acd75e.entry.js.map +0 -1
- package/dist/paperless/p-18e5002c.entry.js +0 -2
- package/dist/paperless/p-381e7f3f.entry.js.map +0 -1
- package/dist/paperless/p-b072eb35.entry.js.map +0 -1
- package/dist/paperless/p-c4c6ce2d.entry.js +0 -2
- /package/dist/build/{p-a6ab63eb.entry.js.map → p-00534c3c.entry.js.map} +0 -0
- /package/dist/build/{p-e89ffb5c.entry.js.map → p-117de4a8.entry.js.map} +0 -0
- /package/dist/build/{p-18e5002c.entry.js.map → p-17457a9a.entry.js.map} +0 -0
- /package/dist/build/{p-bbf56d19.entry.js.map → p-2f821184.entry.js.map} +0 -0
- /package/dist/build/{p-bd856f15.entry.js.map → p-57fc0eb5.entry.js.map} +0 -0
- /package/dist/build/{p-0f4e4b8f.entry.js.map → p-5f54e4b8.entry.js.map} +0 -0
- /package/dist/build/{p-00534761.entry.js.map → p-68ae68c8.entry.js.map} +0 -0
- /package/dist/build/{p-697ec23e.entry.js.map → p-716a92ae.entry.js.map} +0 -0
- /package/dist/build/{p-6578b0f1.entry.js.map → p-7ef827d5.entry.js.map} +0 -0
- /package/dist/build/{p-d5f0c5c4.entry.js.map → p-8b38f27d.entry.js.map} +0 -0
- /package/dist/build/{p-f04108c3.entry.js.map → p-8b3b5d3b.entry.js.map} +0 -0
- /package/dist/build/{p-baef33b3.entry.js.map → p-8f4ccbe0.entry.js.map} +0 -0
- /package/dist/build/{p-7eeb03a2.entry.js.map → p-955d149f.entry.js.map} +0 -0
- /package/dist/build/{p-cdcf2ebd.entry.js.map → p-9f191ebc.entry.js.map} +0 -0
- /package/dist/build/{p-7ab0df67.entry.js.map → p-a2ff0942.entry.js.map} +0 -0
- /package/dist/build/{p-ea5f44ee.entry.js.map → p-b26d5130.entry.js.map} +0 -0
- /package/dist/build/{p-78626c51.entry.js.map → p-c6fa153f.entry.js.map} +0 -0
- /package/dist/build/{p-e5e6a277.entry.js.map → p-d31d6714.entry.js.map} +0 -0
- /package/dist/build/{p-54a7b850.entry.js.map → p-db4ea9ce.entry.js.map} +0 -0
- /package/dist/build/{p-c4c6ce2d.entry.js.map → p-ddde168c.entry.js.map} +0 -0
- /package/dist/build/{p-09f9b1c4.entry.js.map → p-e102e82d.entry.js.map} +0 -0
- /package/dist/build/{p-19945ca2.entry.js.map → p-e7bfc9c0.entry.js.map} +0 -0
- /package/dist/build/{p-ff4312df.entry.js.map → p-e9a323f2.entry.js.map} +0 -0
- /package/dist/build/{p-c906c741.entry.js.map → p-e9ddf7b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-a6ab63eb.entry.js.map → p-00534c3c.entry.js.map} +0 -0
- /package/dist/paperless/{p-e89ffb5c.entry.js.map → p-117de4a8.entry.js.map} +0 -0
- /package/dist/paperless/{p-18e5002c.entry.js.map → p-17457a9a.entry.js.map} +0 -0
- /package/dist/paperless/{p-bbf56d19.entry.js.map → p-2f821184.entry.js.map} +0 -0
- /package/dist/paperless/{p-bd856f15.entry.js.map → p-57fc0eb5.entry.js.map} +0 -0
- /package/dist/paperless/{p-0f4e4b8f.entry.js.map → p-5f54e4b8.entry.js.map} +0 -0
- /package/dist/paperless/{p-00534761.entry.js.map → p-68ae68c8.entry.js.map} +0 -0
- /package/dist/paperless/{p-697ec23e.entry.js.map → p-716a92ae.entry.js.map} +0 -0
- /package/dist/paperless/{p-6578b0f1.entry.js.map → p-7ef827d5.entry.js.map} +0 -0
- /package/dist/paperless/{p-d5f0c5c4.entry.js.map → p-8b38f27d.entry.js.map} +0 -0
- /package/dist/paperless/{p-f04108c3.entry.js.map → p-8b3b5d3b.entry.js.map} +0 -0
- /package/dist/paperless/{p-baef33b3.entry.js.map → p-8f4ccbe0.entry.js.map} +0 -0
- /package/dist/paperless/{p-7eeb03a2.entry.js.map → p-955d149f.entry.js.map} +0 -0
- /package/dist/paperless/{p-cdcf2ebd.entry.js.map → p-9f191ebc.entry.js.map} +0 -0
- /package/dist/paperless/{p-7ab0df67.entry.js.map → p-a2ff0942.entry.js.map} +0 -0
- /package/dist/paperless/{p-ea5f44ee.entry.js.map → p-b26d5130.entry.js.map} +0 -0
- /package/dist/paperless/{p-78626c51.entry.js.map → p-c6fa153f.entry.js.map} +0 -0
- /package/dist/paperless/{p-e5e6a277.entry.js.map → p-d31d6714.entry.js.map} +0 -0
- /package/dist/paperless/{p-54a7b850.entry.js.map → p-db4ea9ce.entry.js.map} +0 -0
- /package/dist/paperless/{p-c4c6ce2d.entry.js.map → p-ddde168c.entry.js.map} +0 -0
- /package/dist/paperless/{p-09f9b1c4.entry.js.map → p-e102e82d.entry.js.map} +0 -0
- /package/dist/paperless/{p-19945ca2.entry.js.map → p-e7bfc9c0.entry.js.map} +0 -0
- /package/dist/paperless/{p-ff4312df.entry.js.map → p-e9a323f2.entry.js.map} +0 -0
- /package/dist/paperless/{p-c906c741.entry.js.map → p-e9ddf7b0.entry.js.map} +0 -0
|
@@ -55,7 +55,7 @@ const Navbar = /*@__PURE__*/ proxyCustomElement(class Navbar extends HTMLElement
|
|
|
55
55
|
this._show = false;
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '7f038a3c0ec76e24feec7e1cba133a18c68278f1', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, h("p-backdrop", { key: '1c534d08af4851b7c775ed4ec931e1ef68748669', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '8bf242613c6704586eedb15b3576f2c531706b47', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '39aa317a7af6f0afb6fa827295797435db4968fa', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: '2484d018cbc1aca11c00ae0621aa50172e89b940', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '6e1dc7fde01decb77fe83efa5b99e26a2bdcad48', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: '51cd568fd5c5637761317944af974d9bf140c78c', name: 'company' })), h("div", { key: '44e4c7602fe5a188f9b02089b917e0c769e4addd', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'fe84a1f8a0e35b5a261d858c22135a761dc26735', name: 'content' })), h("div", { key: '2e788343efbfc6d0481d5f0449bc69c72c7dabc3', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '070e9aaea6502c2f9ac92e5738e5a021e2923bb8', name: 'user' }))), h("div", { key: '5b31449262ebad9a900f80288eda91a1ecb3f658', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'fb68bb0b590da2096d2721e27c016eeae53d6a3c', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '629a33f6522b2f8dd3c33119cd87eab80bc837ae', name: 'topbar' }))));
|
|
59
59
|
}
|
|
60
60
|
handleCloseNavbar() {
|
|
61
61
|
this._show = false;
|
|
@@ -50,10 +50,10 @@ const NavigationItem = /*@__PURE__*/ proxyCustomElement(class NavigationItem ext
|
|
|
50
50
|
render() {
|
|
51
51
|
const TagType = this.as;
|
|
52
52
|
const active = this.active || this.class?.includes('active');
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '5d7a9016cd51653a7efc94aec1acb1dec95c1576', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '7e53d93d45d3620808a01cc4119c8ef1fcd58a8f', class: navigationItem({
|
|
54
54
|
icon: !!this.icon,
|
|
55
55
|
active,
|
|
56
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
56
|
+
}), href: this.href, target: this.target }, h("div", { key: 'eb652010934dd9863080e98d7715d088d7a30349', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '3b7b58d4c5b1af285ab66d06ca8ef388fe1d7032', variant: this.icon })), h("span", { key: '840d600c6a1d34872ba1437b38ba38a3f1cb08df', class: this.counter && 'has-counter' }, h("slot", { key: '6f6e3f814e0970d762f6c46991ec9f6634c73e7c' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'efbdb0e66ef6cc254ba6533e3bbc6a5225fbe894' }, this.counter)))));
|
|
57
57
|
}
|
|
58
58
|
static get style() { return PNavigationItemStyle0; }
|
|
59
59
|
}, [4, "p-navigation-item", {
|
|
@@ -11,7 +11,7 @@ const NavigationSection = /*@__PURE__*/ proxyCustomElement(class NavigationSecti
|
|
|
11
11
|
this.header = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a1288ee15877b06095300a26d2d49919b9d84810', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '24b733f6352c4d7421d8a70480ea97da3a82f7bd' }, this.header)), h("div", { key: '77f586a8bfe435186fafba63466f5975e2e2fe6d', class: 'flex flex-col' }, h("slot", { key: 'a472a5b3cdd52dbf016c0a3430039d74af8b1d8c' }))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return PNavigationSectionStyle0; }
|
|
17
17
|
}, [4, "p-navigation-section", {
|
|
@@ -35,7 +35,7 @@ const Profile = /*@__PURE__*/ proxyCustomElement(class Profile extends HTMLEleme
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const content = this._getContent();
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '9873db1fac73ae3914b7d27caacfb0a8682909b4', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
39
39
|
}
|
|
40
40
|
slotchange() {
|
|
41
41
|
this._checkDropdownSlot();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PRadio extends Components.PRadio, HTMLElement {}
|
|
4
|
+
export const PRadio: {
|
|
5
|
+
prototype: PRadio;
|
|
6
|
+
new (): PRadio;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as cva } from './index2.js';
|
|
3
|
+
|
|
4
|
+
const nonce = (length) => {
|
|
5
|
+
let result = '';
|
|
6
|
+
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
7
|
+
const charactersLength = characters.length;
|
|
8
|
+
let counter = 0;
|
|
9
|
+
while (counter < length) {
|
|
10
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
11
|
+
counter += 1;
|
|
12
|
+
}
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const radioComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.flex{display:flex!important}.h-2{height:.5rem!important}.h-3{height:.75rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.after\\:h-2:after{content:var(--tw-content)!important;height:.5rem!important}.after\\:h-3:after{content:var(--tw-content)!important;height:.75rem!important}.after\\:w-2:after{content:var(--tw-content)!important;width:.5rem!important}.after\\:w-3:after{content:var(--tw-content)!important;width:.75rem!important}.checked\\:cursor-auto:checked{cursor:auto!important}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:border-black-teal-100:hover{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.hover\\:bg-supportive-lilac-100:hover{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:border-black-teal\\/20:hover:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:hover\\:bg-supportive-lilac:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-black-teal-200{--tw-bg-opacity:1!important;background-color:rgb(154 170 167/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.peer:checked~.peer-checked\\:ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}";
|
|
17
|
+
const PRadioStyle0 = radioComponentCss;
|
|
18
|
+
|
|
19
|
+
const radio = cva([
|
|
20
|
+
'peer appearance-none m-0 outline-none flex-shrink-0',
|
|
21
|
+
'rounded-full border border-inset border-solid ',
|
|
22
|
+
], {
|
|
23
|
+
variants: {
|
|
24
|
+
size: {
|
|
25
|
+
sm: 'w-4 h-4 after:w-2 after:h-2',
|
|
26
|
+
base: 'w-6 h-6 after:w-3 after:h-3',
|
|
27
|
+
},
|
|
28
|
+
disabled: {
|
|
29
|
+
false: [
|
|
30
|
+
'cursor-pointer shadow-1',
|
|
31
|
+
'bg-white border-black-teal-100',
|
|
32
|
+
'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',
|
|
33
|
+
'checked:cursor-auto',
|
|
34
|
+
'checked:bg-supportive-lilac checked:border-black-teal/20',
|
|
35
|
+
'checked:ring-2 checked:ring-supportive-lilac-100',
|
|
36
|
+
'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',
|
|
37
|
+
],
|
|
38
|
+
true: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
compoundVariants: [
|
|
42
|
+
{
|
|
43
|
+
disabled: false,
|
|
44
|
+
class: [
|
|
45
|
+
'cursor-pointer shadow-1',
|
|
46
|
+
'bg-white border-black-teal-100',
|
|
47
|
+
'hover:bg-supportive-lilac-100 hover:border-black-teal-100',
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
});
|
|
52
|
+
const circle = cva([
|
|
53
|
+
'block',
|
|
54
|
+
'rounded-full bg-transparent',
|
|
55
|
+
'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',
|
|
56
|
+
], {
|
|
57
|
+
variants: {
|
|
58
|
+
size: {
|
|
59
|
+
sm: 'w-2 h-2',
|
|
60
|
+
base: 'w-3 h-3',
|
|
61
|
+
},
|
|
62
|
+
disabled: {
|
|
63
|
+
false: 'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-black-teal/10',
|
|
64
|
+
true: 'peer-checked:bg-black-teal-200',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
69
|
+
constructor() {
|
|
70
|
+
super();
|
|
71
|
+
this.__registerHost();
|
|
72
|
+
this.checkedChange = createEvent(this, "checkedChange", 7);
|
|
73
|
+
this.value = undefined;
|
|
74
|
+
this.size = 'base';
|
|
75
|
+
this.disabled = false;
|
|
76
|
+
this.required = true;
|
|
77
|
+
this.id = undefined;
|
|
78
|
+
this.name = undefined;
|
|
79
|
+
this.checked = false;
|
|
80
|
+
this._nonce = nonce(5);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Event whenever the checked changes
|
|
84
|
+
*/
|
|
85
|
+
checkedChange;
|
|
86
|
+
render() {
|
|
87
|
+
return (h(Host, { key: '698efa40dc903fc7f62fbe6627118851b4674c0d', class: 'p-radio' }, h("label", { key: '601a7b79a63ef0914fef089c88e984029326fa8e', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'e7e1df8384a3be709a09988ede46d1f7c7420ec5', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '1d73f1ab4f24ef4f83ce18d49f62695a4b239780', class: radio({
|
|
88
|
+
size: this.size,
|
|
89
|
+
disabled: this.disabled,
|
|
90
|
+
}), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: 'fa13b7db3606b24ab380695b4e111ae853ab4ac3', class: circle({
|
|
91
|
+
size: this.size,
|
|
92
|
+
disabled: this.disabled,
|
|
93
|
+
}) })), h("slot", { key: 'aab4f0698c576a85fbda9e2f776aaea801d93bd8' }))));
|
|
94
|
+
}
|
|
95
|
+
_onChange(ev) {
|
|
96
|
+
if (this.disabled) {
|
|
97
|
+
ev.preventDefault();
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const checked = ev.target.checked;
|
|
101
|
+
this.checked = checked;
|
|
102
|
+
this.checkedChange.emit(checked);
|
|
103
|
+
}
|
|
104
|
+
static get style() { return PRadioStyle0; }
|
|
105
|
+
}, [4, "p-radio", {
|
|
106
|
+
"value": [1],
|
|
107
|
+
"size": [1],
|
|
108
|
+
"disabled": [516],
|
|
109
|
+
"required": [516],
|
|
110
|
+
"id": [513],
|
|
111
|
+
"name": [513],
|
|
112
|
+
"checked": [516],
|
|
113
|
+
"_nonce": [32]
|
|
114
|
+
}]);
|
|
115
|
+
function defineCustomElement$1() {
|
|
116
|
+
if (typeof customElements === "undefined") {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const components = ["p-radio"];
|
|
120
|
+
components.forEach(tagName => { switch (tagName) {
|
|
121
|
+
case "p-radio":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
customElements.define(tagName, Radio);
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
} });
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const PRadio = Radio;
|
|
130
|
+
const defineCustomElement = defineCustomElement$1;
|
|
131
|
+
|
|
132
|
+
export { PRadio, defineCustomElement };
|
|
133
|
+
|
|
134
|
+
//# sourceMappingURL=p-radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-radio.js","mappings":";;;AAAO,MAAM,KAAK,GAAG,CAAC,MAAc;IACnC,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,MAAM,UAAU,GACf,gEAAgE,CAAC;IAClE,MAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC;IAE3C,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,OAAO,OAAO,GAAG,MAAM,EAAE;QACxB,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC,CAAC;QAC1E,OAAO,IAAI,CAAC,CAAC;KACb;IAED,OAAO,MAAM,CAAC;AACf,CAAC;;ACdD,MAAM,iBAAiB,GAAG,isJAAisJ,CAAC;AAC5tJ,qBAAe,iBAAiB;;ACWhC,MAAM,KAAK,GAAG,GAAG,CAChB;IACC,qDAAqD;IACrD,gDAAgD;CAChD,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,6BAA6B;YACjC,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAAgC;gBAChC,4DAA4D;gBAC5D,qBAAqB;gBACrB,0DAA0D;gBAC1D,kDAAkD;gBAClD,sEAAsE;aACtE;YACD,IAAI,EAAE,uDAAuD;SAC7D;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAAgC;gBAChC,2DAA2D;aAC3D;SACD;KACD;CACD,CACD,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG,CACjB;IACC,OAAO;IACP,6BAA6B;IAC7B,2FAA2F;CAC3F,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;SACf;QACD,QAAQ,EAAE;YACT,KAAK,EACJ,2EAA2E;YAC5E,IAAI,EAAE,gCAAgC;SACtC;KACD;CACD,CACD,CAAC;MAMW,KAAK;;;;;;oBASa,MAAM;wBAKS,KAAK;wBAKL,IAAI;;;uBAeL,KAAK;sBAOvB,KAAK,CAAC,CAAC,CAAC;;;;;IAFzB,aAAa,CAAwB;IAI9C,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,SAAS,IACpB,8DACC,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,EAC/B,KAAK,EAAC,uDAAuD,IAE7D,4DAAK,KAAK,EAAC,0CAA0C,IACpD,8DACC,KAAK,EAAE,KAAK,CAAC;gBACZ,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,EACF,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,EAC1B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,GACjC,EACF,4DACC,KAAK,EAAE,MAAM,CAAC;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,GACD,CACG,EACN,8DAAa,CACN,CACF,EACN;KACF;IAEO,SAAS,CAAC,EAAS;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;YAClB,EAAE,CAAC,cAAc,EAAE,CAAC;YACpB,OAAO;SACP;QAED,MAAM,OAAO,GAAI,EAAE,CAAC,MAA2B,CAAC,OAAO,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/utils/nonce.ts","src/components/atoms/radio/radio.component.css?tag=p-radio","src/components/atoms/radio/radio.component.tsx"],"sourcesContent":["export const nonce = (length: number) => {\n\tlet result = '';\n\n\tconst characters =\n\t\t'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n\tconst charactersLength = characters.length;\n\n\tlet counter = 0;\n\twhile (counter < length) {\n\t\tresult += characters.charAt(Math.floor(Math.random() * charactersLength));\n\t\tcounter += 1;\n\t}\n\n\treturn result;\n};\n",":host {\n display: block;\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst radio = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'rounded-full border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'w-4 h-4 after:w-2 after:h-2',\n\t\t\t\tbase: 'w-6 h-6 after:w-3 after:h-3',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:cursor-auto',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst circle = cva(\n\t[\n\t\t'block',\n\t\t'rounded-full bg-transparent',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'w-2 h-2',\n\t\t\t\tbase: 'w-3 h-3',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse:\n\t\t\t\t\t'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-black-teal/10',\n\t\t\t\ttrue: 'peer-checked:bg-black-teal-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-radio',\n\tstyleUrl: 'radio.component.css',\n})\nexport class Radio {\n\t/**\n\t * The value of the radio button\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The size of the radio\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the radio is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the radio is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the radio button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the radio button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Wether the radio is checked\n\t */\n\t@Prop({ reflect: true }) checked: boolean = false;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-radio'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={radio({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='radio'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={circle({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tthis.checked = checked;\n\t\tthis.checkedChange.emit(checked);\n\t}\n}\n"],"version":3}
|
|
@@ -194,7 +194,7 @@ const Select = /*@__PURE__*/ proxyCustomElement(class Select extends HTMLElement
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return (h(Host, { key: '
|
|
197
|
+
return (h(Host, { key: '3d62e70a5901677fb96a586ed0f065e16fd24256', class: 'p-select' }, h("p-dropdown", { key: 'ad83513056a1927d79fb18856fe75b65fb81c6be', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-field-container", { key: 'af3354916b5ef394694ad4d89a409abc5b71bd56', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '24021e3f6e15cf3a7fd1819699e608f771fb660d', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '2c902461aadd75eccd5818679a419b0c50d75c43', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
|
|
198
198
|
}
|
|
199
199
|
documentClickHandler({ target }) {
|
|
200
200
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -14,8 +14,8 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends HTMLElement
|
|
|
14
14
|
this.iconRotate = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
18
|
-
}` }, this._getIcon(), h("slot", { key: '
|
|
17
|
+
return (h(Host, { key: 'c22a53f6a938b6b474cc0d3b48bafd1b86ac12ce', class: `p-status variant-${this.variant}
|
|
18
|
+
}` }, this._getIcon(), h("slot", { key: '488fd658de93d5f4a7a32cfea4407df0953eb092' })));
|
|
19
19
|
}
|
|
20
20
|
_getIcon() {
|
|
21
21
|
const icon = this.icon || this._getVariantIcon();
|
|
@@ -16,7 +16,7 @@ const StepperItem = /*@__PURE__*/ proxyCustomElement(class StepperItem extends H
|
|
|
16
16
|
this.active = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '1920bc6191385c5b1bcb32ffecfded7f7c1a3f40', class: "p-stepper-item" }, h("div", { key: '743a51150e95b15bfd194498d9568821c50b4311', class: "circle" }, this.finished && h("p-icon", { key: '876d225ca1f3c974c4f5c0cebd8d7eabff7a8336', variant: "checkmark" })), h("div", { key: '42dfe103a364e5c8183bced9825f7d899fd7c01f', class: "content" }, h("slot", { key: 'a9db4797ad8649458649df53a4edb91c46a8199e', name: "content" }))));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return PStepperItemStyle0; }
|
|
22
22
|
}, [1, "p-stepper-item", {
|
|
@@ -96,7 +96,7 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends HTMLEleme
|
|
|
96
96
|
this._generateSteps(true);
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: 'bee777255a5677807f3766962e71de3d1844ad85', class: 'p-stepper' }, h("slot", { key: '1542d047cad7994574e97dab83ba09290fe2ca8d', onSlotchange: this._onSlotChange })));
|
|
100
100
|
}
|
|
101
101
|
_onActiveStepChange() {
|
|
102
102
|
this._generateSteps();
|
|
@@ -8,7 +8,7 @@ const TabGroup = /*@__PURE__*/ proxyCustomElement(class TabGroup extends HTMLEle
|
|
|
8
8
|
this.__attachShadow();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'c2373e9bf105402dcb9fcdea9f00e96c3d22234f', class: "p-tab-group relative flex w-full flex-col" }, h("div", { key: 'b5cd3a1a953b63d00ef2e5ab6ccb3a8dae482905', class: "scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto" }, h("slot", { key: '27402e28fe9d870007ce31601a0b5512df1f8e56' })), h("p-divider", { key: '0abf3dd0edd40ec56abb9781d28a28d8336fc816', class: "absolute bottom-0 left-0 m-0 w-full" })));
|
|
12
12
|
}
|
|
13
13
|
}, [1, "p-tab-group"]);
|
|
14
14
|
function defineCustomElement$1() {
|
|
@@ -11,7 +11,7 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLEleme
|
|
|
11
11
|
this.active = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '5bd9aae0c6b920150ab95027e301519ffdfa9b5c', class: `p-tab-item ${this.active && 'active'}` }, h("slot", { key: '221acbe500445e4f104f7f26dc7a0d37c4818a99' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return PTabItemStyle0; }
|
|
17
17
|
}, [1, "p-tab-item", {
|
|
@@ -11,7 +11,7 @@ const ToastContainer = /*@__PURE__*/ proxyCustomElement(class ToastContainer ext
|
|
|
11
11
|
this.placement = 'top-end';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '7ca829b625cb054e8d78fefdf89ecb42fc0b16e1', class: `p-toast-container placement-${this.placement}` }, h("slot", { key: '8f2bbca37514fbb8db6e60e24c96e32320ebee8d' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return PToastContainerStyle0; }
|
|
17
17
|
}, [1, "p-toast-container", {
|
|
@@ -25,7 +25,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
25
25
|
*/
|
|
26
26
|
action;
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '4bc513861b7f1687f0b20a1ffc5c11a979746a1e', class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, h("div", { key: 'e70cb930078a8754a31ec379fd3cbd5b5e038f81', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: 'f6baba92757e45a55cad9eef4dc42e31ec3a0420', class: 'font-semibold text-storm' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: 'c592683d5979cf644a155927ea13a52b054d0b0e', class: 'w-full text-sm text-storm-medium' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: 'd969215288354140c431b1c8a9f417bc2f40afd8', variant: 'secondary', iconOnly: true, size: 'sm', icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' }))));
|
|
29
29
|
}
|
|
30
30
|
_onClick() {
|
|
31
31
|
if (this.enableAction) {
|
|
@@ -25,7 +25,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends HTM
|
|
|
25
25
|
this._generate();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '69fc6fbdb1e075358090556d764d51fe8c03953c', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
|
|
29
29
|
if (p.type === 'previous' || p.type === 'next') {
|
|
30
30
|
return (h("p-pagination-item", { onClick: () => p.type === 'previous'
|
|
31
31
|
? this._previousClick()
|
|
@@ -4,25 +4,22 @@ const Portal = /*@__PURE__*/ proxyCustomElement(class Portal extends HTMLElement
|
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
6
6
|
this.__registerHost();
|
|
7
|
-
this.containerClass = undefined;
|
|
8
7
|
}
|
|
9
|
-
get
|
|
8
|
+
get _el() { return this; }
|
|
10
9
|
_moved = false;
|
|
11
10
|
createPortal() {
|
|
12
|
-
document.body.append(this.
|
|
11
|
+
document.body.append(this._el);
|
|
13
12
|
}
|
|
14
13
|
componentDidLoad() {
|
|
15
14
|
this.createPortal();
|
|
16
15
|
}
|
|
17
16
|
disconnectedCallback() {
|
|
18
|
-
this._moved ? this.
|
|
17
|
+
this._moved ? this._el.remove() : (this._moved = true);
|
|
19
18
|
}
|
|
20
19
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '7604d2cbdf309fb03b9a051d737f2b92fa57a354' }, h("slot", { key: 'f4edec28f68504e7622f7fcffe9a80cf55501af9' })));
|
|
22
21
|
}
|
|
23
|
-
}, [4, "p-portal"
|
|
24
|
-
"containerClass": [1, "container-class"]
|
|
25
|
-
}]);
|
|
22
|
+
}, [4, "p-portal"]);
|
|
26
23
|
function defineCustomElement() {
|
|
27
24
|
if (typeof customElements === "undefined") {
|
|
28
25
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"portal.component.js","mappings":";;MAKa,MAAM
|
|
1
|
+
{"file":"portal.component.js","mappings":";;MAKa,MAAM;;;;;;IAMV,MAAM,GAAY,KAAK,CAAC;IAExB,YAAY;QACnB,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAC/B;IAED,gBAAgB;QACf,IAAI,CAAC,YAAY,EAAE,CAAC;KACpB;IAED,oBAAoB;QACnB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;KACvD;IAED,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,8DAAQ,CACF,EACN;KACF;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/portal/portal.component.tsx"],"sourcesContent":["import { Component, Element, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-portal',\n})\nexport class Portal {\n\t/**\n\t * The host element\n\t */\n\t@Element() _el: HTMLElement;\n\n\tprivate _moved: boolean = false;\n\n\tprivate createPortal() {\n\t\tdocument.body.append(this._el);\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.createPortal();\n\t}\n\n\tdisconnectedCallback() {\n\t\tthis._moved ? this._el.remove() : (this._moved = true);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -9,7 +9,7 @@ const SegmentContainer = /*@__PURE__*/ proxyCustomElement(class SegmentContainer
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'ec428b10ad23a3fff5e4aa1e1d1cd99d548a8cc8', class: "p-segment-container" }, h("slot", { key: '2d1dde7e35c55a7c3598212291d89181793e0d2a' })));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return PSegmentContainerStyle0; }
|
|
15
15
|
}, [4, "p-segment-container"]);
|
|
@@ -22,7 +22,7 @@ const SegmentItem = /*@__PURE__*/ proxyCustomElement(class SegmentItem extends H
|
|
|
22
22
|
this._hasDescriptionSlot = !!this._el.querySelector(':scope > [slot="description"]');
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'e97f6340c0d5ae8c03e307f7de8e62bc47d9fdbe', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), h("slot", { key: '579eb8460666e7c9777da7ed991fb9c68e6e139b' }), this.size === 'big' && this._hasDescriptionSlot && (h("span", { key: '46e5d72d9499462f7059a6df288a3d16bdd3d02e', class: "description" }, h("slot", { key: '830d7e3e592a8d023eebbf1a995a23235851f0ed', name: "description" })))));
|
|
26
26
|
}
|
|
27
27
|
_getIcon() {
|
|
28
28
|
if (!this.icon) {
|
|
@@ -11,7 +11,7 @@ const SliderIndicator = /*@__PURE__*/ proxyCustomElement(class SliderIndicator e
|
|
|
11
11
|
this.active = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '4525154d8a2fa45a67c9194601c038ce4d68d93c', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return PSliderIndicatorStyle0; }
|
|
17
17
|
}, [1, "p-slider-indicator", {
|
|
@@ -12,7 +12,7 @@ const StepperLine = /*@__PURE__*/ proxyCustomElement(class StepperLine extends H
|
|
|
12
12
|
this.direction = 'horizontal';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h(Host, { key: '
|
|
15
|
+
return h(Host, { key: '9c523b4c1c77f12e65b9e8e97e447682089c6259', class: "p-stepper-line" });
|
|
16
16
|
}
|
|
17
17
|
static get style() { return PStepperLineStyle0; }
|
|
18
18
|
}, [1, "p-stepper-line", {
|
|
@@ -33,7 +33,7 @@ const TableCell = /*@__PURE__*/ proxyCustomElement(class TableCell extends HTMLE
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '3cc18c25df90e5ef83bc43a9a05e167691efe61f', class: {
|
|
37
37
|
'p-table-cell': true,
|
|
38
38
|
[`variant-${this.variant}`]: true,
|
|
39
39
|
...this._getColumnClasses(),
|
|
@@ -11,7 +11,7 @@ const TableContainer = /*@__PURE__*/ proxyCustomElement(class TableContainer ext
|
|
|
11
11
|
this.shadow = true;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '8400210ea3f34d240b032c875ef5e86dc218e7d5', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '6abc0755ec890cd9001aef58ac24acb3f2e4f529' })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return PTableContainerStyle0; }
|
|
17
17
|
}, [1, "p-table-container", {
|
|
@@ -51,7 +51,7 @@ const TableFooter = /*@__PURE__*/ proxyCustomElement(class TableFooter extends H
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'de0fed44b08f46efdc56b51498c355fb2d973d5b', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (h("p-page-size-select", { key: 'f2d5f4773759a2715bb62a85a7ecc2bb70e421fa', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { key: '1e95a000af05e30496d48b3f57639de954d0d83d', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (h("p-pagination", { key: 'f493f90308042214b5e078f194a7c61cb26fdedb', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { key: '4908aa789d7acce5bd4e8d88ae748c0bf3094fc0', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
|
|
55
55
|
}
|
|
56
56
|
async _setLocales() {
|
|
57
57
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -13,9 +13,9 @@ const TableRow = /*@__PURE__*/ proxyCustomElement(class TableRow extends HTMLEle
|
|
|
13
13
|
this.enableHover = true;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '106cbaf558245629401e4cc50c197a358b50a3af', class: `p-table-row variant-${this.variant} ${this.enableHover &&
|
|
17
17
|
this.variant === 'default' &&
|
|
18
|
-
'enable-hover'} group` }, h("div", { key: '
|
|
18
|
+
'enable-hover'} group` }, h("div", { key: 'c4558d465f1ff97509ca009f465b667aeb647e63', class: "content" }, h("slot", { key: '76e1c489fe7510b7c61c66362592cffff77d9fc6' })), this.variant === 'default' && h("p-divider", { key: '5eab74db0145d5c5af95e27a2057e3e7c6ca9348', class: "m-0" })));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return PTableRowStyle0; }
|
|
21
21
|
}, [1, "p-table-row", {
|
|
@@ -89,19 +89,19 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLEleme
|
|
|
89
89
|
ref: el => this._load(el),
|
|
90
90
|
};
|
|
91
91
|
let tooltip;
|
|
92
|
-
const tooltipElement = (h("div", { key: '
|
|
92
|
+
const tooltipElement = (h("div", { key: '012701d2371f41206de7a3a921abc11ef50aced1', class: popover({
|
|
93
93
|
variant: this.variant,
|
|
94
94
|
strategy: this.usePortal ? 'none' : this.strategy,
|
|
95
|
-
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '
|
|
95
|
+
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '70d51ec9a805c3155c0a09371966603de463d9f6', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '28fce86e2c1bcf42519ab9f3849bc9483397ee4f', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
|
|
96
96
|
if (this.usePortal) {
|
|
97
|
-
tooltip = (h("p-portal", { key: '
|
|
97
|
+
tooltip = (h("p-portal", { key: '02a965ebe380080c6eef501a2b121b0a5ab4dc2f', class: portal({
|
|
98
98
|
strategy: this.strategy,
|
|
99
99
|
}), ...tooltipProps }, tooltipElement));
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
102
|
tooltip = tooltipElement;
|
|
103
103
|
}
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'ba454a3140c52b57a66b5e46ae6fddf33ed52721', class: 'p-popover flex cursor-pointer' }, h("div", { key: '319cf2bc0723ca7e31472649c30119b943af0bcf', class: 'relative h-inherit w-inherit' }, h("slot", { key: 'c0a2e40f70b1c5f4654fc8e822caf9572853e327', name: 'trigger' }), tooltip)));
|
|
105
105
|
}
|
|
106
106
|
clickHandler() {
|
|
107
107
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -137,6 +137,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
137
137
|
return import(
|
|
138
138
|
/* webpackMode: "lazy" */
|
|
139
139
|
'./p-profile.entry.js').then(processMod, consoleError);
|
|
140
|
+
case 'p-radio':
|
|
141
|
+
return import(
|
|
142
|
+
/* webpackMode: "lazy" */
|
|
143
|
+
'./p-radio.entry.js').then(processMod, consoleError);
|
|
140
144
|
case 'p-select':
|
|
141
145
|
return import(
|
|
142
146
|
/* webpackMode: "lazy" */
|