@paperless/core 2.0.1-beta.114 → 2.0.1-beta.116
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 +22 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/{p-7046dc66.entry.js → p-05db72d0.entry.js} +2 -2
- package/dist/build/{p-5c3167c8.entry.js → p-26a3990a.entry.js} +2 -2
- package/dist/build/{p-76a4f70e.entry.js → p-2edd87f3.entry.js} +2 -2
- package/dist/{paperless/p-cc379751.entry.js → build/p-43d3357f.entry.js} +2 -2
- package/dist/build/p-474a16ab.entry.js +2 -0
- package/dist/{paperless/p-66adc33a.entry.js → build/p-53009290.entry.js} +2 -2
- package/dist/build/{p-0da54170.entry.js → p-55a41995.entry.js} +2 -2
- package/dist/{paperless/p-91ea22cd.entry.js → build/p-87981fef.entry.js} +2 -2
- package/dist/{paperless/p-cac630d2.entry.js → build/p-8981247d.entry.js} +2 -2
- package/dist/{paperless/p-730bcacd.entry.js → build/p-8a5dcfac.entry.js} +2 -2
- package/dist/build/p-8ca737d7.entry.js +2 -0
- package/dist/{paperless/p-e9db1b2d.entry.js.map → build/p-8ca737d7.entry.js.map} +1 -1
- package/dist/build/p-8f7a37d9.entry.js +2 -0
- package/dist/build/p-8f7a37d9.entry.js.map +1 -0
- package/dist/build/{p-bfda8061.entry.js → p-965962ce.entry.js} +2 -2
- package/dist/build/p-B3sNjfzc.js +2 -0
- package/dist/build/p-B3sNjfzc.js.map +1 -0
- package/dist/build/p-DdQ-S2l7.js +2 -0
- package/dist/build/p-DdQ-S2l7.js.map +1 -0
- package/dist/build/p-a02a5085.js +2 -0
- package/dist/build/{p-79b42a23.entry.js → p-adb1ad27.entry.js} +2 -2
- package/dist/build/{p-912ce588.entry.js → p-aec29ee9.entry.js} +2 -2
- package/dist/build/p-attachment.entry.esm.js.map +1 -1
- package/dist/build/{p-0c257fa2.entry.js → p-cc3307b8.entry.js} +2 -2
- package/dist/build/{p-29d452d0.entry.js → p-cfd2e444.entry.js} +2 -2
- package/dist/build/{p-7658fd89.entry.js → p-e2054751.entry.js} +2 -2
- package/dist/build/p-table.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/constants-DDb_wCc1.js +16 -0
- package/dist/cjs/constants-DDb_wCc1.js.map +1 -0
- package/dist/cjs/index.cjs.js +11 -10
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +88 -10
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +4 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-empty-state_9.cjs.entry.js +8 -8
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-listing.cjs.entry.js +1 -1
- 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-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +4 -3
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{screens-D_ByWDz6.js → screens-h1MTJhCu.js} +2 -13
- package/dist/cjs/screens-h1MTJhCu.js.map +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +175 -14
- package/dist/collection/components/molecules/attachment/attachment.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/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- 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/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/select/select.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 +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/stepper/stepper.component.js +1 -1
- package/dist/components/index.js +3 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-LsrP-Unv.js → p-B3sNjfzc.js} +3 -13
- package/dist/components/p-B3sNjfzc.js.map +1 -0
- package/dist/components/{p-Cr5nmZn3.js → p-BFXs5OQx.js} +3 -3
- package/dist/components/{p-Cr5nmZn3.js.map → p-BFXs5OQx.js.map} +1 -1
- package/dist/components/{p-BSAVV_6x.js → p-Bb8uyInh.js} +5 -5
- package/dist/components/{p-BSAVV_6x.js.map → p-Bb8uyInh.js.map} +1 -1
- package/dist/components/{p-BPXS3EM8.js → p-BtG4QBr6.js} +3 -3
- package/dist/components/{p-BPXS3EM8.js.map → p-BtG4QBr6.js.map} +1 -1
- package/dist/components/{p-CgHBpaJ2.js → p-Bw6TWc-_.js} +8 -8
- package/dist/components/{p-CgHBpaJ2.js.map → p-Bw6TWc-_.js.map} +1 -1
- package/dist/components/{p-Cp8IEnaB.js → p-C5yz-mQE.js} +3 -3
- package/dist/components/{p-Cp8IEnaB.js.map → p-C5yz-mQE.js.map} +1 -1
- package/dist/components/{p-DwUkFgs3.js → p-CBxUj1bt.js} +3 -3
- package/dist/components/{p-DwUkFgs3.js.map → p-CBxUj1bt.js.map} +1 -1
- package/dist/components/{p-Hj0dtQOu.js → p-Cw7TZ18X.js} +4 -4
- package/dist/components/{p-Hj0dtQOu.js.map → p-Cw7TZ18X.js.map} +1 -1
- package/dist/components/{p-HLwIOGJt.js → p-DaFVCsxX.js} +3 -3
- package/dist/components/{p-HLwIOGJt.js.map → p-DaFVCsxX.js.map} +1 -1
- package/dist/components/p-DdQ-S2l7.js +14 -0
- package/dist/components/p-DdQ-S2l7.js.map +1 -0
- package/dist/components/{p-b3Miuuib.js → p-Dn38WwJ_.js} +8 -8
- package/dist/components/{p-b3Miuuib.js.map → p-Dn38WwJ_.js.map} +1 -1
- package/dist/components/{p-BnyZAlkn.js → p-ExfyVPT0.js} +5 -5
- package/dist/components/{p-BnyZAlkn.js.map → p-ExfyVPT0.js.map} +1 -1
- package/dist/components/{p-BP1aeBcW.js → p-YYQ927T-.js} +6 -6
- package/dist/components/{p-BP1aeBcW.js.map → p-YYQ927T-.js.map} +1 -1
- package/dist/components/p-attachment.js +93 -11
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-datepicker.js +5 -5
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-listing.js +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-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 +1 -1
- package/dist/components/p-select.js +3 -3
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +12 -11
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/esm/constants-DdQ-S2l7.js +14 -0
- package/dist/esm/constants-DdQ-S2l7.js.map +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-attachment.entry.js +89 -11
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_4.entry.js +4 -4
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-empty-state_9.entry.js +8 -8
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-listing.entry.js +1 -1
- 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-pagination_3.entry.js +4 -4
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -1
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{screens-LsrP-Unv.js → screens-B3sNjfzc.js} +3 -13
- package/dist/esm/screens-B3sNjfzc.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/{p-7046dc66.entry.js → p-05db72d0.entry.js} +2 -2
- package/dist/paperless/{p-5c3167c8.entry.js → p-26a3990a.entry.js} +2 -2
- package/dist/paperless/{p-76a4f70e.entry.js → p-2edd87f3.entry.js} +2 -2
- package/dist/{build/p-cc379751.entry.js → paperless/p-43d3357f.entry.js} +2 -2
- package/dist/paperless/p-474a16ab.entry.js +2 -0
- package/dist/{build/p-66adc33a.entry.js → paperless/p-53009290.entry.js} +2 -2
- package/dist/paperless/{p-0da54170.entry.js → p-55a41995.entry.js} +2 -2
- package/dist/{build/p-91ea22cd.entry.js → paperless/p-87981fef.entry.js} +2 -2
- package/dist/{build/p-cac630d2.entry.js → paperless/p-8981247d.entry.js} +2 -2
- package/dist/{build/p-730bcacd.entry.js → paperless/p-8a5dcfac.entry.js} +2 -2
- package/dist/paperless/p-8ca737d7.entry.js +2 -0
- package/dist/{build/p-e9db1b2d.entry.js.map → paperless/p-8ca737d7.entry.js.map} +1 -1
- package/dist/paperless/p-8f7a37d9.entry.js +2 -0
- package/dist/paperless/p-8f7a37d9.entry.js.map +1 -0
- package/dist/paperless/{p-bfda8061.entry.js → p-965962ce.entry.js} +2 -2
- package/dist/paperless/p-B3sNjfzc.js +2 -0
- package/dist/paperless/p-B3sNjfzc.js.map +1 -0
- package/dist/paperless/p-DdQ-S2l7.js +2 -0
- package/dist/paperless/p-DdQ-S2l7.js.map +1 -0
- package/dist/paperless/{p-79b42a23.entry.js → p-adb1ad27.entry.js} +2 -2
- package/dist/paperless/{p-912ce588.entry.js → p-aec29ee9.entry.js} +2 -2
- package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
- package/dist/paperless/{p-0c257fa2.entry.js → p-cc3307b8.entry.js} +2 -2
- package/dist/paperless/{p-29d452d0.entry.js → p-cfd2e444.entry.js} +2 -2
- package/dist/paperless/{p-7658fd89.entry.js → p-e2054751.entry.js} +2 -2
- package/dist/paperless/p-table.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +27 -1
- package/dist/types/components.d.ts +42 -2
- package/package.json +1 -1
- package/dist/build/p-0cf505a8.entry.js +0 -2
- package/dist/build/p-8577755d.entry.js +0 -2
- package/dist/build/p-8577755d.entry.js.map +0 -1
- package/dist/build/p-LsrP-Unv.js +0 -2
- package/dist/build/p-LsrP-Unv.js.map +0 -1
- package/dist/build/p-ab23f388.js +0 -2
- package/dist/build/p-e9db1b2d.entry.js +0 -2
- package/dist/cjs/screens-D_ByWDz6.js.map +0 -1
- package/dist/components/p-LsrP-Unv.js.map +0 -1
- package/dist/esm/screens-LsrP-Unv.js.map +0 -1
- package/dist/paperless/p-0cf505a8.entry.js +0 -2
- package/dist/paperless/p-8577755d.entry.js +0 -2
- package/dist/paperless/p-8577755d.entry.js.map +0 -1
- package/dist/paperless/p-LsrP-Unv.js +0 -2
- package/dist/paperless/p-LsrP-Unv.js.map +0 -1
- package/dist/paperless/p-e9db1b2d.entry.js +0 -2
- /package/dist/build/{p-7046dc66.entry.js.map → p-05db72d0.entry.js.map} +0 -0
- /package/dist/build/{p-5c3167c8.entry.js.map → p-26a3990a.entry.js.map} +0 -0
- /package/dist/build/{p-76a4f70e.entry.js.map → p-2edd87f3.entry.js.map} +0 -0
- /package/dist/build/{p-cc379751.entry.js.map → p-43d3357f.entry.js.map} +0 -0
- /package/dist/build/{p-0cf505a8.entry.js.map → p-474a16ab.entry.js.map} +0 -0
- /package/dist/build/{p-66adc33a.entry.js.map → p-53009290.entry.js.map} +0 -0
- /package/dist/build/{p-0da54170.entry.js.map → p-55a41995.entry.js.map} +0 -0
- /package/dist/build/{p-91ea22cd.entry.js.map → p-87981fef.entry.js.map} +0 -0
- /package/dist/build/{p-cac630d2.entry.js.map → p-8981247d.entry.js.map} +0 -0
- /package/dist/build/{p-730bcacd.entry.js.map → p-8a5dcfac.entry.js.map} +0 -0
- /package/dist/build/{p-bfda8061.entry.js.map → p-965962ce.entry.js.map} +0 -0
- /package/dist/build/{p-79b42a23.entry.js.map → p-adb1ad27.entry.js.map} +0 -0
- /package/dist/build/{p-912ce588.entry.js.map → p-aec29ee9.entry.js.map} +0 -0
- /package/dist/build/{p-0c257fa2.entry.js.map → p-cc3307b8.entry.js.map} +0 -0
- /package/dist/build/{p-29d452d0.entry.js.map → p-cfd2e444.entry.js.map} +0 -0
- /package/dist/build/{p-7658fd89.entry.js.map → p-e2054751.entry.js.map} +0 -0
- /package/dist/paperless/{p-7046dc66.entry.js.map → p-05db72d0.entry.js.map} +0 -0
- /package/dist/paperless/{p-5c3167c8.entry.js.map → p-26a3990a.entry.js.map} +0 -0
- /package/dist/paperless/{p-76a4f70e.entry.js.map → p-2edd87f3.entry.js.map} +0 -0
- /package/dist/paperless/{p-cc379751.entry.js.map → p-43d3357f.entry.js.map} +0 -0
- /package/dist/paperless/{p-0cf505a8.entry.js.map → p-474a16ab.entry.js.map} +0 -0
- /package/dist/paperless/{p-66adc33a.entry.js.map → p-53009290.entry.js.map} +0 -0
- /package/dist/paperless/{p-0da54170.entry.js.map → p-55a41995.entry.js.map} +0 -0
- /package/dist/paperless/{p-91ea22cd.entry.js.map → p-87981fef.entry.js.map} +0 -0
- /package/dist/paperless/{p-cac630d2.entry.js.map → p-8981247d.entry.js.map} +0 -0
- /package/dist/paperless/{p-730bcacd.entry.js.map → p-8a5dcfac.entry.js.map} +0 -0
- /package/dist/paperless/{p-bfda8061.entry.js.map → p-965962ce.entry.js.map} +0 -0
- /package/dist/paperless/{p-79b42a23.entry.js.map → p-adb1ad27.entry.js.map} +0 -0
- /package/dist/paperless/{p-912ce588.entry.js.map → p-aec29ee9.entry.js.map} +0 -0
- /package/dist/paperless/{p-0c257fa2.entry.js.map → p-cc3307b8.entry.js.map} +0 -0
- /package/dist/paperless/{p-29d452d0.entry.js.map → p-cfd2e444.entry.js.map} +0 -0
- /package/dist/paperless/{p-7658fd89.entry.js.map → p-e2054751.entry.js.map} +0 -0
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"p-button_3\",[[4,\"p-button\",{\"label\":[1],\"as\":[1],\"variant\":[1],\"active\":[4],\"underline\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"],\"buttonGroupPosition\":[1,\"button-group-position\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]],[1,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[1,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table\",[[4,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"rowSelectionLimit\":[2,\"row-selection-limit\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16,\"selected-rows\"],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16,\"floating-menu-amount-selected-template\"],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[16,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16,\"filter-button-template\"],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16,\"action-button-template\"],\"enableFooter\":[4,\"enable-footer\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16,\"empty-state-header\"],\"emptyStateContent\":[16,\"empty-state-content\"],\"emptyStateAction\":[16,\"empty-state-action\"],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16,\"empty-state-filtered-header\"],\"emptyStateFilteredContent\":[16,\"empty-state-filtered-content\"],\"shadow\":[4],\"_locales\":[32],\"_columns\":[32],\"_items\":[32],\"_enableRowSelection\":[32],\"_rowSelectionLimit\":[32],\"_rowActionsFloating\":[32],\"_rowActionsRow\":[32],\"_footerHidden\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"],[9,\"resize\",\"_setRowSelectionData\"]],{\"items\":[\"_parseItems\"],\"enableRowSelection\":[\"_setRowSelectionData\"],\"rowSelectionLimit\":[\"_setRowSelectionData\"],\"selectedRows\":[\"_setRowSelectionData\"]}]]],[\"p-select\",[[65,\"p-select\",{\"items\":[1],\"multi\":[516],\"usePortal\":[4,\"use-portal\"],\"strategy\":[1],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"dropdownDisplayKey\":[1,\"dropdown-display-key\"],\"selectionDisplayKey\":[1,\"selection-display-key\"],\"valueKey\":[1,\"value-key\"],\"avatarKey\":[1,\"avatar-key\"],\"iconKey\":[1,\"icon-key\"],\"showIconInSelectedItem\":[1,\"show-icon-in-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[1,\"apply-class-on-selected-item\"],\"avatarLettersKey\":[1,\"avatar-letters-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"enableSelectAll\":[4,\"enable-select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"selectAllIcon\":[1,\"select-all-icon\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"showAddItem\":[4,\"show-add-item\"],\"addItemText\":[1,\"add-item-text\"],\"emptyStateText\":[1,\"empty-state-text\"],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_allSelected\":[32],\"_amountHidden\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"_valueChange\"],\"items\":[\"itemChanges\"],\"_showDropdown\":[\"_showDropdownChanges\"],\"multi\":[\"multiChanges\"]}]]],[\"p-datepicker\",[[64,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"enableNativePicker\":[4,\"enable-native-picker\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"strategy\":[1],\"placement\":[513],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_isMobileBrowser\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"parseValue\"],\"minDate\":[\"parseMinDate\"],\"maxDate\":[\"parseMaxDate\"],\"disabledDates\":[\"parseDisabledDates\"]}]]],[\"p-modal\",[[1,\"p-modal\",{\"size\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeModal\",\"handleCloseModal\"]]]]],[\"p-drawer\",[[1,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeDrawer\",\"handleCloseDrawer\"],[8,\"forceCloseDrawer\",\"handleForceCloseDrawer\"]]]]],[\"p-attachment\",[[1,\"p-attachment\",{\"value\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"mode\":[1],\"placeholder\":[1],\"downloadTooltip\":[1,\"download-tooltip\"],\"uploadTooltip\":[1,\"upload-tooltip\"],\"deleteTooltip\":[1,\"delete-tooltip\"],\"loading\":[4],\"error\":[1]}]]],[\"p-profile\",[[1,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar\",[[1,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-card-header\",[[1,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-navigation-item\",[[4,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1]}]]],[\"p-toast\",[[1,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-cropper\",[[1,\"p-cropper\",{\"variant\":[513],\"value\":[8],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-info-panel\",[[1,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-label\",[[1,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-listing\",[[1,\"p-listing\"]]],[\"p-listing-item\",[[1,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section\",[[4,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-stepper\",[[1,\"p-stepper\",{\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"]},null,{\"align\":[\"_onAlignChange\"],\"direction\":[\"_onDirectionChange\"],\"activeStep\":[\"_onActiveStepChange\"]}]]],[\"p-tab-container\",[[1,\"p-tab-container\"]]],[\"p-avatar-group\",[[4,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group\",[[1,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body\",[[1,\"p-card-body\"]]],[\"p-card-container\",[[1,\"p-card-container\",{\"active\":[4],\"hoverable\":[4],\"shadow\":[4]}]]],[\"p-content-slider\",[[1,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-iban-icon\",[[1,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-illustration-deprecated\",[[0,\"p-illustration-deprecated\",{\"variant\":[1]}]]],[\"p-layout\",[[1,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio\",[[68,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-stepper-item\",[[1,\"p-stepper-item\",{\"number\":[2],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"type\":[1537],\"name\":[1537],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"parsedSizes\":[1040,\"parsed-sizes\"],\"sizes\":[1032]}]]],[\"p-table-row-action\",[[0,\"p-table-row-action\",{\"type\":[1537],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"label\":[1],\"action\":[16],\"disabled\":[4],\"loading\":[4],\"showFunction\":[16,\"show-function\"]}]]],[\"p-toast-container\",[[1,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle\",[[68,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar\",[[0,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"]}]]],[\"p-avatar\",[[0,\"p-avatar\",{\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[\"onSrchChange\"]}]]],[\"p-listing-line\",[[1,\"p-listing-line\"]]],[\"p-navigation-title\",[[1,\"p-navigation-title\"]]],[\"p-stepper-line\",[[1,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration\",[[0,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3\",[[1,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-drawer-body\"],[1,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop\",[[1,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-modal-body_4\",[[1,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-modal-footer\"],[1,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[1,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-pagination-pages-item\",[[4,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}]]],[\"p-smile\",[[0,\"p-smile\",{\"variant\":[1]}]]],[\"p-badge_3\",[[4,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-segment-container\"],[4,\"p-badge\"]]],[\"p-divider\",[[4,\"p-divider\",{\"variant\":[513]}]]],[\"p-portal\",[[4,\"p-portal\"]]],[\"p-checkbox_4\",[[1,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"]}],[68,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[1,\"p-dropdown\",{\"variant\":[1],\"placement\":[513],\"offset\":[2],\"strategy\":[1],\"show\":[4],\"usePortal\":[4,\"use-portal\"],\"calculateWidth\":[4,\"calculate-width\"],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"applyChevron\":[4,\"apply-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[\"onShowChange\"]}],[1,\"p-dropdown-menu-container\",{\"variant\":[1],\"maxWidth\":[4,\"max-width\"],\"class\":[1],\"fullWidth\":[4,\"full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8]}]]],[\"p-pagination_3\",[[0,\"p-pagination\",{\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"_hasPaginationPages\":[32]}],[1,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16,\"size-options\"],\"itemTemplate\":[16,\"item-template\"],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[0,\"p-pagination-pages\",{\"page\":[1538],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2]},null,{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}]]],[\"p-helper_2\",[[1,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}],[1,\"p-tooltip\",{\"variant\":[1],\"content\":[8],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"usePortal\":[4,\"use-portal\"],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]],{\"show\":[\"onShowChange\"]}]]],[\"p-field_2\",[[65,\"p-field\",{\"variant\":[1],\"id\":[1],\"size\":[1],\"type\":[1],\"properties\":[8],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"value\":[1],\"label\":[1],\"loading\":[4],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"autofocus\":[516],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"disabled\":[516],\"focused\":[516],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"selectAllOnFocus\":[516,\"select-all-on-focus\"],\"focusMethod\":[1,\"focus-method\"],\"optionalTemplate\":[16,\"optional-template\"],\"_focused\":[32],\"_nonce\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"]]],[1,\"p-field-container\",{\"id\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16,\"optional-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_9\",[[1,\"p-table-header\",{\"quickFilters\":[16,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableExport\":[4,\"enable-export\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16,\"filter-button-template\"],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16,\"action-button-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-table-footer\",{\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[1,\"p-empty-state\",{\"illustration\":[8],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionLoading\":[4,\"action-loading\"]}],[1,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16,\"amount-selected-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[4,\"p-floating-menu-item\",{\"hover\":[4],\"disabled\":[4],\"loading\":[4],\"icon\":[1],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[16],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"]}],[4,\"p-table-container\"],[1,\"p-table-row-actions-container\"]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"p-button_3\",[[4,\"p-button\",{\"label\":[1],\"as\":[1],\"variant\":[1],\"active\":[4],\"underline\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"],\"buttonGroupPosition\":[1,\"button-group-position\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]],[1,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[1,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table\",[[4,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"rowSelectionLimit\":[2,\"row-selection-limit\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16,\"selected-rows\"],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16,\"floating-menu-amount-selected-template\"],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[16,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16,\"filter-button-template\"],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16,\"action-button-template\"],\"enableFooter\":[4,\"enable-footer\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16,\"empty-state-header\"],\"emptyStateContent\":[16,\"empty-state-content\"],\"emptyStateAction\":[16,\"empty-state-action\"],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16,\"empty-state-filtered-header\"],\"emptyStateFilteredContent\":[16,\"empty-state-filtered-content\"],\"shadow\":[4],\"_locales\":[32],\"_columns\":[32],\"_items\":[32],\"_enableRowSelection\":[32],\"_rowSelectionLimit\":[32],\"_rowActionsFloating\":[32],\"_rowActionsRow\":[32],\"_footerHidden\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"],[9,\"resize\",\"_setRowSelectionData\"]],{\"items\":[\"_parseItems\"],\"enableRowSelection\":[\"_setRowSelectionData\"],\"rowSelectionLimit\":[\"_setRowSelectionData\"],\"selectedRows\":[\"_setRowSelectionData\"]}]]],[\"p-select\",[[65,\"p-select\",{\"items\":[1],\"multi\":[516],\"usePortal\":[4,\"use-portal\"],\"strategy\":[1],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"dropdownDisplayKey\":[1,\"dropdown-display-key\"],\"selectionDisplayKey\":[1,\"selection-display-key\"],\"valueKey\":[1,\"value-key\"],\"avatarKey\":[1,\"avatar-key\"],\"iconKey\":[1,\"icon-key\"],\"showIconInSelectedItem\":[1,\"show-icon-in-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[1,\"apply-class-on-selected-item\"],\"avatarLettersKey\":[1,\"avatar-letters-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"enableSelectAll\":[4,\"enable-select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"selectAllIcon\":[1,\"select-all-icon\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"showAddItem\":[4,\"show-add-item\"],\"addItemText\":[1,\"add-item-text\"],\"emptyStateText\":[1,\"empty-state-text\"],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_allSelected\":[32],\"_amountHidden\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"_valueChange\"],\"items\":[\"itemChanges\"],\"_showDropdown\":[\"_showDropdownChanges\"],\"multi\":[\"multiChanges\"]}]]],[\"p-datepicker\",[[64,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"enableNativePicker\":[4,\"enable-native-picker\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"strategy\":[1],\"placement\":[513],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_isMobileBrowser\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"parseValue\"],\"minDate\":[\"parseMinDate\"],\"maxDate\":[\"parseMaxDate\"],\"disabledDates\":[\"parseDisabledDates\"]}]]],[\"p-modal\",[[1,\"p-modal\",{\"size\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeModal\",\"handleCloseModal\"]]]]],[\"p-drawer\",[[1,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]},[[8,\"closeDrawer\",\"handleCloseDrawer\"],[8,\"forceCloseDrawer\",\"handleForceCloseDrawer\"]]]]],[\"p-attachment\",[[1,\"p-attachment\",{\"enableCameraOnMobile\":[4,\"enable-camera-on-mobile\"],\"value\":[1],\"fileId\":[1,\"file-id\"],\"accept\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"mode\":[1],\"placeholder\":[1],\"cameraTooltip\":[1,\"camera-tooltip\"],\"downloadTooltip\":[1,\"download-tooltip\"],\"uploadTooltip\":[1,\"upload-tooltip\"],\"deleteTooltip\":[1,\"delete-tooltip\"],\"loading\":[4],\"error\":[1]}]]],[\"p-profile\",[[1,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar\",[[1,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-card-header\",[[1,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-navigation-item\",[[4,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1]}]]],[\"p-toast\",[[1,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-cropper\",[[1,\"p-cropper\",{\"variant\":[513],\"value\":[8],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-info-panel\",[[1,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-label\",[[1,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-listing\",[[1,\"p-listing\"]]],[\"p-listing-item\",[[1,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section\",[[4,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-stepper\",[[1,\"p-stepper\",{\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"]},null,{\"align\":[\"_onAlignChange\"],\"direction\":[\"_onDirectionChange\"],\"activeStep\":[\"_onActiveStepChange\"]}]]],[\"p-tab-container\",[[1,\"p-tab-container\"]]],[\"p-avatar-group\",[[4,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group\",[[1,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body\",[[1,\"p-card-body\"]]],[\"p-card-container\",[[1,\"p-card-container\",{\"active\":[4],\"hoverable\":[4],\"shadow\":[4]}]]],[\"p-content-slider\",[[1,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-iban-icon\",[[1,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-illustration-deprecated\",[[0,\"p-illustration-deprecated\",{\"variant\":[1]}]]],[\"p-layout\",[[1,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio\",[[68,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-stepper-item\",[[1,\"p-stepper-item\",{\"number\":[2],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"type\":[1537],\"name\":[1537],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"parsedSizes\":[1040,\"parsed-sizes\"],\"sizes\":[1032]}]]],[\"p-table-row-action\",[[0,\"p-table-row-action\",{\"type\":[1537],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"label\":[1],\"action\":[16],\"disabled\":[4],\"loading\":[4],\"showFunction\":[16,\"show-function\"]}]]],[\"p-toast-container\",[[1,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle\",[[68,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar\",[[0,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"]}]]],[\"p-avatar\",[[0,\"p-avatar\",{\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[\"onSrchChange\"]}]]],[\"p-listing-line\",[[1,\"p-listing-line\"]]],[\"p-navigation-title\",[[1,\"p-navigation-title\"]]],[\"p-stepper-line\",[[1,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration\",[[0,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3\",[[1,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-drawer-body\"],[1,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop\",[[1,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-modal-body_4\",[[1,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-modal-footer\"],[1,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[1,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-pagination-pages-item\",[[4,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}]]],[\"p-smile\",[[0,\"p-smile\",{\"variant\":[1]}]]],[\"p-badge_3\",[[4,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-segment-container\"],[4,\"p-badge\"]]],[\"p-divider\",[[4,\"p-divider\",{\"variant\":[513]}]]],[\"p-portal\",[[4,\"p-portal\"]]],[\"p-checkbox_4\",[[1,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"]}],[68,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[1,\"p-dropdown\",{\"variant\":[1],\"placement\":[513],\"offset\":[2],\"strategy\":[1],\"show\":[4],\"usePortal\":[4,\"use-portal\"],\"calculateWidth\":[4,\"calculate-width\"],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"applyChevron\":[4,\"apply-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[\"onShowChange\"]}],[1,\"p-dropdown-menu-container\",{\"variant\":[1],\"maxWidth\":[4,\"max-width\"],\"class\":[1],\"fullWidth\":[4,\"full-width\"],\"allowOverflow\":[4,\"allow-overflow\"],\"scrollable\":[8]}]]],[\"p-pagination_3\",[[0,\"p-pagination\",{\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"_hasPaginationPages\":[32]}],[1,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16,\"size-options\"],\"itemTemplate\":[16,\"item-template\"],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[0,\"p-pagination-pages\",{\"page\":[1538],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2]},null,{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}]]],[\"p-helper_2\",[[1,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}],[1,\"p-tooltip\",{\"variant\":[1],\"content\":[8],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"usePortal\":[4,\"use-portal\"],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]],{\"show\":[\"onShowChange\"]}]]],[\"p-field_2\",[[65,\"p-field\",{\"variant\":[1],\"id\":[1],\"size\":[1],\"type\":[1],\"properties\":[8],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"value\":[1],\"label\":[1],\"loading\":[4],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"autofocus\":[516],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"disabled\":[516],\"focused\":[516],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"selectAllOnFocus\":[516,\"select-all-on-focus\"],\"focusMethod\":[1,\"focus-method\"],\"optionalTemplate\":[16,\"optional-template\"],\"_focused\":[32],\"_nonce\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"]]],[1,\"p-field-container\",{\"id\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16,\"optional-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_9\",[[1,\"p-table-header\",{\"quickFilters\":[16,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"enableExport\":[4,\"enable-export\"],\"enableFilterDesktop\":[4,\"enable-filter-desktop\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16,\"filter-button-template\"],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16,\"action-button-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-table-footer\",{\"enablePaginationSize\":[4,\"enable-pagination-size\"],\"enablePaginationPages\":[4,\"enable-pagination-pages\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16,\"page-size-options\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[1,\"p-empty-state\",{\"illustration\":[8],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionLoading\":[4,\"action-loading\"]}],[1,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16,\"amount-selected-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[4,\"p-floating-menu-item\",{\"hover\":[4],\"disabled\":[4],\"loading\":[4],\"icon\":[1],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[16],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"]}],[4,\"p-table-container\"],[1,\"p-table-row-actions-container\"]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-DhGo7hbh.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-DhGo7hbh.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { h as isTablet, f as isMobile } from './screens-B3sNjfzc.js';
|
|
3
4
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
4
5
|
import './clsx-ChV9xqsO.js';
|
|
5
6
|
|
|
6
|
-
const attachmentComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!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-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.bg-white-600{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.peer:empty~.peer-empty\\:block{display:block!important}";
|
|
7
|
+
const attachmentComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!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-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.bg-white-600{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.peer:empty~.peer-empty\\:block{display:block!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}}";
|
|
7
8
|
|
|
8
9
|
const attachment = cva([
|
|
9
10
|
'flex flex-1 items-center justify-start gap-2',
|
|
10
11
|
'h-8 min-w-0 px-2 rounded-lg',
|
|
11
|
-
'border border-solid bg-white-600'
|
|
12
|
+
'border border-solid bg-white-600',
|
|
12
13
|
], {
|
|
13
14
|
variants: {
|
|
14
15
|
error: {
|
|
15
16
|
false: 'bg-white-600 border-black-teal-100 text-black-teal-200',
|
|
16
17
|
true: 'border-negative-red',
|
|
17
|
-
}
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
},
|
|
19
20
|
});
|
|
20
21
|
const Attachment = class {
|
|
21
22
|
constructor(hostRef) {
|
|
@@ -24,10 +25,22 @@ const Attachment = class {
|
|
|
24
25
|
this.download = createEvent(this, "download", 3);
|
|
25
26
|
this.delete = createEvent(this, "delete", 3);
|
|
26
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Wether to enable the camera button on mobile
|
|
30
|
+
*/
|
|
31
|
+
enableCameraOnMobile = false;
|
|
27
32
|
/**
|
|
28
33
|
* The value of the attachment (usually the file name)
|
|
29
34
|
*/
|
|
30
35
|
value;
|
|
36
|
+
/**
|
|
37
|
+
* The fileID to use to track the file
|
|
38
|
+
*/
|
|
39
|
+
fileId;
|
|
40
|
+
/**
|
|
41
|
+
* The type of files to accept
|
|
42
|
+
*/
|
|
43
|
+
accept = null;
|
|
31
44
|
/**
|
|
32
45
|
* The label of the attachment
|
|
33
46
|
*/
|
|
@@ -48,6 +61,10 @@ const Attachment = class {
|
|
|
48
61
|
* The placeholder of the attachment
|
|
49
62
|
*/
|
|
50
63
|
placeholder = 'Upload a file...';
|
|
64
|
+
/**
|
|
65
|
+
* The text for the camera tooltip
|
|
66
|
+
*/
|
|
67
|
+
cameraTooltip = 'Camera';
|
|
51
68
|
/**
|
|
52
69
|
* The text for the download tooltip
|
|
53
70
|
*/
|
|
@@ -80,18 +97,79 @@ const Attachment = class {
|
|
|
80
97
|
* Event when delete is pressed
|
|
81
98
|
*/
|
|
82
99
|
delete;
|
|
100
|
+
_fileRef;
|
|
101
|
+
_cameraFileRef;
|
|
83
102
|
render() {
|
|
84
|
-
let prefix = h("p-icon", { key: '
|
|
103
|
+
let prefix = (h("p-icon", { key: '98d1184d2cd2c229ec68045e1a57ebc6e77b771c', class: 'text-black-teal-300', variant: 'attachment' }));
|
|
85
104
|
if (this.loading) {
|
|
86
|
-
prefix = h("p-loader", { key: '
|
|
105
|
+
prefix = h("p-loader", { key: 'c7b5719acde0493005d9a999773f3941e3ea0c74', color: 'white' });
|
|
87
106
|
}
|
|
88
107
|
if (this.error) {
|
|
89
|
-
prefix = (h("p-icon", { key: '
|
|
108
|
+
prefix = (h("p-icon", { key: '31c9e87b595b1b5d63f87a8b949c2188a7df15df', variant: 'warning', class: 'text-negative-red' }));
|
|
90
109
|
}
|
|
110
|
+
// const isMobileDevice = isMobile();
|
|
111
|
+
const isMobileDevice = isTablet();
|
|
91
112
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
92
|
-
return (h("p-field-container", { key: '
|
|
93
|
-
error: !!this.error?.length
|
|
94
|
-
}) }, prefix, h("span", { key: '
|
|
113
|
+
return (h(Fragment, { key: 'cf9bab100de1dd9ecc09d934503b52d460d776bf' }, h("p-field-container", { key: '223ff93d594b77fb7375dfbfcf2e465bd811afe1', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: 'b9c2b692b6729c75fa14c840b32426dbc7c24b1d', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: '538917ada65d116c13150422d812e0978109f5aa', class: attachment({
|
|
114
|
+
error: !!this.error?.length,
|
|
115
|
+
}) }, prefix, h("span", { key: '3eed62fd70d4d68602547bc1df64d3f4f80f309e', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: 'fd31f8e559e2e4f97595dd55a7f8cfc84103bef5', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: 'dd546d986fe7f3a9cdd44038a12c0f349ab36d1d', content: this.mode === 'read'
|
|
116
|
+
? this.downloadTooltip
|
|
117
|
+
: this.value?.length
|
|
118
|
+
? this.deleteTooltip
|
|
119
|
+
: this.uploadTooltip }, h("p-button", { key: 'e1dfca67f00cca2dec1bc65c6d011c88a4b2c372', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
|
|
120
|
+
? 'download'
|
|
121
|
+
: this.value?.length
|
|
122
|
+
? 'trash'
|
|
123
|
+
: 'upload', disabled: this.loading, loading: this.loading, onOnClick: () => this.mode === 'write' && !this.value?.length
|
|
124
|
+
? this._uploadClick()
|
|
125
|
+
: (this.mode === 'read'
|
|
126
|
+
? this.download
|
|
127
|
+
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
128
|
+
this.mode === 'write' &&
|
|
129
|
+
isMobileDevice &&
|
|
130
|
+
!this.value?.length && (h("p-tooltip", { key: '4549ea82a571f35bf5afe992ffe6e0423be85bfd', content: this.cameraTooltip, class: 'desktop-xs:hidden' }, h("p-button", { key: 'b4fb61645f2908a77ee3ea186330dfc4281cae96', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: 'fa1b6e709f72cca737f1225e22f0781dedc07536', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: 'ebc5d19fa3d8ec3e1d380a9298609c6fafccfcc9', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
|
|
131
|
+
}
|
|
132
|
+
_uploadClick() {
|
|
133
|
+
if (!this._fileRef || this.mode !== 'write') {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this._fileRef.click();
|
|
137
|
+
}
|
|
138
|
+
_cameraClick() {
|
|
139
|
+
if (!this.enableCameraOnMobile || isMobile()) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (!this._cameraFileRef || this.mode !== 'write') {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
this._cameraFileRef?.click();
|
|
146
|
+
}
|
|
147
|
+
_onFileChange(ev) {
|
|
148
|
+
const target = ev.target;
|
|
149
|
+
const file = target.files?.[0];
|
|
150
|
+
if (file) {
|
|
151
|
+
this.loading = true;
|
|
152
|
+
const reader = new FileReader();
|
|
153
|
+
reader.onload = (e) => this._onLoad(file, e?.currentTarget?.result);
|
|
154
|
+
reader.readAsDataURL(file);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
_onLoad(file, result) {
|
|
158
|
+
this.upload.emit({
|
|
159
|
+
fileId: this.fileId,
|
|
160
|
+
result,
|
|
161
|
+
file,
|
|
162
|
+
});
|
|
163
|
+
if (this._fileRef) {
|
|
164
|
+
this._fileRef.value = '';
|
|
165
|
+
}
|
|
166
|
+
if (this._cameraFileRef) {
|
|
167
|
+
this._cameraFileRef.value = '';
|
|
168
|
+
}
|
|
169
|
+
if (!this.value?.length) {
|
|
170
|
+
this.value = file.name;
|
|
171
|
+
}
|
|
172
|
+
this.loading = false;
|
|
95
173
|
}
|
|
96
174
|
};
|
|
97
175
|
Attachment.style = attachmentComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-attachment.entry.js","sources":["src/components/molecules/attachment/attachment.component.css?tag=p-attachment&encapsulation=shadow","src/components/molecules/attachment/attachment.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-full;\n}\n","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cn } from '../../../utils';\nimport { cva } from 'class-variance-authority';\n\nconst attachment = cva([\n\t\t'flex flex-1 items-center justify-start gap-2',\n\t\t'h-8 min-w-0 px-2 rounded-lg',\n\t\t'border border-solid bg-white-600'\n\t], {\n\t\tvariants: {\n\t\t\terror: {\n\t\t\t\tfalse: 'bg-white-600 border-black-teal-100 text-black-teal-200',\n\t\t\t\ttrue: 'border-negative-red',\n\t\t\t}\n\t\t}\n\t})\n\n@Component({\n\ttag: 'p-attachment',\n\tstyleUrl: 'attachment.component.css',\n\tshadow: true,\n})\nexport class Attachment {\n\t/**\n\t * The value of the attachment (usually the file name)\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the attachment\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The helper of the attachment\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the attachment is required\n\t */\n\t@Prop({ reflect: true }) required = true;\n\n\n\t/**\n\t * The variant of the attachment\n\t */\n\t@Prop() mode: 'read' | 'write' = 'read';\n\n\t/**\n\t * The placeholder of the attachment\n\t */\n\t@Prop() placeholder: string = 'Upload a file...';\n\n\t/**\n\t * The text for the download tooltip\n\t */\n\t@Prop() downloadTooltip: string = 'Download';\n\n\t/**\n\t * The text for the upload tooltip\n\t */\n\t@Prop() uploadTooltip: string = 'Upload';\n\n\t/**\n\t * The text for the delete tooltip\n\t */\n\t@Prop() deleteTooltip: string = 'Delete';\n\n\t/**\n\t * Wether the attachment is loading\n\t */\n\t@Prop() loading = false;\n\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Event when upload is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tupload: EventEmitter<void>;\n\n\t/**\n\t * Event when download is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdownload: EventEmitter<void>;\n\n\t/**\n\t * Event when delete is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdelete: EventEmitter<void>;\n\n\trender() {\n\t\tlet prefix = <p-icon class=\"text-black-teal-300\" variant='attachment' />;\n\n\t\tif (this.loading) {\n\t\t\tprefix = <p-loader />;\n\t\t}\n\n\t\tif (this.error) {\n\t\t\tprefix = (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='warning'\n\t\t\t\t\tclass='text-negative-red'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm'\n\t\treturn (\n\t\t\t<p-field-container variant=\"write\" label={this.label} helper={this.helper} error={this.error} required={this.required} forceShowTooltip={!!this.error?.length}>\n\t\t\t\t<div slot=\"content\" class='flex items-start gap-2 w-full'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={attachment({\n\t\t\t\t\t\t\terror: !!this.error?.length\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{prefix}\n\n\t\t\t\t\t\t<span class={cn(baseText, 'peer empty:hidden')}>\n\t\t\t\t\t\t\t{this.value}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span class={cn(baseText, 'hidden peer-empty:block')}>\n\t\t\t\t\t\t\t{this.placeholder}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip content={this.mode === 'read' ? this.downloadTooltip : this.value?.length ? this.deleteTooltip : this.uploadTooltip}>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\ticon={this.mode === 'read' ? 'download' : this.value?.length ? 'trash' : 'upload'}\n\t\t\t\t\t\t\tdisabled={this.loading}\n\t\t\t\t\t\t\tloading={this.loading}\n\t\t\t\t\t\t\tonOnClick={() =>\n\t\t\t\t\t\t\t\t(this.mode === 'read' ? this.download : this.value?.length ? this.delete : this.upload).emit()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\n\t\t\t</p-field-container>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,sBAAsB,GAAG,+lDAA+lD;;ACI9nD,MAAM,UAAU,GAAG,GAAG,CAAC;IACrB,8CAA8C;IAC9C,6BAA6B;IAC7B;CACA,EAAE;AACF,IAAA,QAAQ,EAAE;AACT,QAAA,KAAK,EAAE;AACN,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,IAAI,EAAE,qBAAqB;AAC3B;AACD;AACD,CAAA,CAAC;MAOU,UAAU,GAAA,MAAA;;;;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA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,EAAE,IAAI,EAAE,GAE9F,CACS,CACP,CACa;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"p-attachment.entry.js","sources":["src/components/molecules/attachment/attachment.component.css?tag=p-attachment&encapsulation=shadow","src/components/molecules/attachment/attachment.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-full;\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tFragment,\n\th,\n\tProp,\n} from '@stencil/core';\nimport { cn, isMobile, isTablet } from '../../../utils';\nimport { cva } from 'class-variance-authority';\n\nconst attachment = cva(\n\t[\n\t\t'flex flex-1 items-center justify-start gap-2',\n\t\t'h-8 min-w-0 px-2 rounded-lg',\n\t\t'border border-solid bg-white-600',\n\t],\n\t{\n\t\tvariants: {\n\t\t\terror: {\n\t\t\t\tfalse: 'bg-white-600 border-black-teal-100 text-black-teal-200',\n\t\t\t\ttrue: 'border-negative-red',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-attachment',\n\tstyleUrl: 'attachment.component.css',\n\tshadow: true,\n})\nexport class Attachment {\n\t/**\n\t * Wether to enable the camera button on mobile\n\t */\n\t@Prop() enableCameraOnMobile = false;\n\n\t/**\n\t * The value of the attachment (usually the file name)\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The fileID to use to track the file\n\t */\n\t@Prop() fileId: string;\n\n\t/**\n\t * The type of files to accept\n\t */\n\t@Prop() accept: string[] | string = null;\n\n\t/**\n\t * The label of the attachment\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The helper of the attachment\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the attachment is required\n\t */\n\t@Prop({ reflect: true }) required = true;\n\n\t/**\n\t * The variant of the attachment\n\t */\n\t@Prop() mode: 'read' | 'write' = 'read';\n\n\t/**\n\t * The placeholder of the attachment\n\t */\n\t@Prop() placeholder: string = 'Upload a file...';\n\n\t/**\n\t * The text for the camera tooltip\n\t */\n\t@Prop() cameraTooltip: string = 'Camera';\n\n\t/**\n\t * The text for the download tooltip\n\t */\n\t@Prop() downloadTooltip: string = 'Download';\n\n\t/**\n\t * The text for the upload tooltip\n\t */\n\t@Prop() uploadTooltip: string = 'Upload';\n\n\t/**\n\t * The text for the delete tooltip\n\t */\n\t@Prop() deleteTooltip: string = 'Delete';\n\n\t/**\n\t * Wether the attachment is loading\n\t */\n\t@Prop() loading = false;\n\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Event when upload is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tupload: EventEmitter<{\n\t\tfile: File;\n\t\tfileId: string;\n\t\tresult: string;\n\t}>;\n\n\t/**\n\t * Event when download is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdownload: EventEmitter<void>;\n\n\t/**\n\t * Event when delete is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdelete: EventEmitter<void>;\n\n\tprivate _fileRef: HTMLInputElement;\n\tprivate _cameraFileRef: HTMLInputElement;\n\n\trender() {\n\t\tlet prefix = (\n\t\t\t<p-icon\n\t\t\t\tclass='text-black-teal-300'\n\t\t\t\tvariant='attachment'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tprefix = <p-loader color='white' />;\n\t\t}\n\n\t\tif (this.error) {\n\t\t\tprefix = (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='warning'\n\t\t\t\t\tclass='text-negative-red'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\t// const isMobileDevice = isMobile();\n\t\tconst isMobileDevice = isTablet();\n\n\t\tconst baseText =\n\t\t\t'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';\n\t\treturn (\n\t\t\t<Fragment>\n\t\t\t\t<p-field-container\n\t\t\t\t\tvariant='write'\n\t\t\t\t\tlabel={this.label}\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\tforceShowTooltip={!!this.error?.length}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\tclass='flex w-full items-start gap-2'\n\t\t\t\t\t>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={attachment({\n\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{prefix}\n\n\t\t\t\t\t\t\t<span class={cn(baseText, 'peer empty:hidden')}>\n\t\t\t\t\t\t\t\t{this.value}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<span class={cn(baseText, 'hidden peer-empty:block')}>\n\t\t\t\t\t\t\t\t{this.placeholder}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\tcontent={\n\t\t\t\t\t\t\t\tthis.mode === 'read'\n\t\t\t\t\t\t\t\t\t? this.downloadTooltip\n\t\t\t\t\t\t\t\t\t: this.value?.length\n\t\t\t\t\t\t\t\t\t? this.deleteTooltip\n\t\t\t\t\t\t\t\t\t: this.uploadTooltip\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\ticon={\n\t\t\t\t\t\t\t\t\tthis.mode === 'read'\n\t\t\t\t\t\t\t\t\t\t? 'download'\n\t\t\t\t\t\t\t\t\t\t: this.value?.length\n\t\t\t\t\t\t\t\t\t\t? 'trash'\n\t\t\t\t\t\t\t\t\t\t: 'upload'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tdisabled={this.loading}\n\t\t\t\t\t\t\t\tloading={this.loading}\n\t\t\t\t\t\t\t\tonOnClick={() =>\n\t\t\t\t\t\t\t\t\tthis.mode === 'write' && !this.value?.length\n\t\t\t\t\t\t\t\t\t\t? this._uploadClick()\n\t\t\t\t\t\t\t\t\t\t: (this.mode === 'read'\n\t\t\t\t\t\t\t\t\t\t\t\t? this.download\n\t\t\t\t\t\t\t\t\t\t\t\t: this.delete\n\t\t\t\t\t\t\t\t\t\t ).emit()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</p-tooltip>\n\n\t\t\t\t\t\t{this.enableCameraOnMobile &&\n\t\t\t\t\t\t\tthis.mode === 'write' &&\n\t\t\t\t\t\t\tisMobileDevice &&\n\t\t\t\t\t\t\t!this.value?.length && (\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\tcontent={this.cameraTooltip}\n\t\t\t\t\t\t\t\t\tclass='desktop-xs:hidden'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\t\t\ticon='camera'\n\t\t\t\t\t\t\t\t\t\tonOnClick={() => this._cameraClick()}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\n\t\t\t\t<input\n\t\t\t\t\tclass='hidden'\n\t\t\t\t\ttype='file'\n\t\t\t\t\taccept={\n\t\t\t\t\t\tArray.isArray(this.accept) ? this.accept?.join(',') : this.accept\n\t\t\t\t\t}\n\t\t\t\t\tref={el => (this._fileRef = el)}\n\t\t\t\t\tonChange={ev => this._onFileChange(ev)}\n\t\t\t\t/>\n\n\t\t\t\t<input\n\t\t\t\t\tclass='hidden'\n\t\t\t\t\ttype='file'\n\t\t\t\t\taccept='image/*'\n\t\t\t\t\tcapture='true'\n\t\t\t\t\tref={el => (this._cameraFileRef = el)}\n\t\t\t\t\tonChange={ev => this._onFileChange(ev)}\n\t\t\t\t/>\n\t\t\t</Fragment>\n\t\t);\n\t}\n\n\tprivate _uploadClick() {\n\t\tif (!this._fileRef || this.mode !== 'write') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._fileRef.click();\n\t}\n\n\tprivate _cameraClick() {\n\t\tif (!this.enableCameraOnMobile || isMobile()) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._cameraFileRef || this.mode !== 'write') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cameraFileRef?.click();\n\t}\n\n\tprivate _onFileChange(ev: Event) {\n\t\tconst target = ev.target as HTMLInputElement;\n\t\tconst file = target.files?.[0];\n\n\t\tif (file) {\n\t\t\tthis.loading = true;\n\n\t\t\tconst reader = new FileReader();\n\t\t\treader.onload = (e: any) => this._onLoad(file, e?.currentTarget?.result);\n\t\t\treader.readAsDataURL(file);\n\t\t}\n\t}\n\n\tprivate _onLoad(file: File, result: string) {\n\t\tthis.upload.emit({\n\t\t\tfileId: this.fileId,\n\t\t\tresult,\n\t\t\tfile,\n\t\t});\n\n\t\tif (this._fileRef) {\n\t\t\tthis._fileRef.value = '';\n\t\t}\n\n\t\tif (this._cameraFileRef) {\n\t\t\tthis._cameraFileRef.value = '';\n\t\t}\n\n\t\tif (!this.value?.length) {\n\t\t\tthis.value = file.name;\n\t\t}\n\n\t\tthis.loading = false;\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,sBAAsB,GAAG,qqDAAqqD;;ACWpsD,MAAM,UAAU,GAAG,GAAG,CACrB;IACC,8CAA8C;IAC9C,6BAA6B;IAC7B,kCAAkC;CAClC,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,KAAK,EAAE;AACN,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,IAAI,EAAE,qBAAqB;AAC3B,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAOY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AC,aAAa,CAAC,IAAI,CAAC;;;IAIpB,OAAO,CAAC,IAAU,EAAE,MAAc,EAAA;AACzC,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;YAChB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM;YACN,IAAI;AACJ,SAAA,CAAC;AAEF,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,GAAG,EAAE;;AAGzB,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;AACxB,YAAA,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,EAAE;;AAG/B,QAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;AACxB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI;;AAGvB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;;;;;;;"}
|
|
@@ -15,7 +15,7 @@ const ButtonGroup = class {
|
|
|
15
15
|
this._checkButtons();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '0ecb5d82eacdf3350f0887169f1e680d5575f970', class: 'flex items-center' }, h("slot", { key: 'f46c24841d7222135c0bdca168886fa90b5a2b0b' })));
|
|
19
19
|
}
|
|
20
20
|
slotchange() {
|
|
21
21
|
this._checkButtons();
|
|
@@ -525,7 +525,7 @@ const Calendar = class {
|
|
|
525
525
|
.filter(date => isValid(date));
|
|
526
526
|
}
|
|
527
527
|
render() {
|
|
528
|
-
return (h(Host, { key: '
|
|
528
|
+
return (h(Host, { key: '3bc005be3abe7f7ff19c1261961e875e85ffb697', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
529
529
|
}
|
|
530
530
|
_getView() {
|
|
531
531
|
if (this._view === 'year') {
|
|
@@ -271,14 +271,14 @@ const Dropdown = class {
|
|
|
271
271
|
'data-strategy': this.strategy,
|
|
272
272
|
};
|
|
273
273
|
let dropdownContainer;
|
|
274
|
-
const itemsSlot = h("slot", { key: '
|
|
274
|
+
const itemsSlot = h("slot", { key: '81c85452ac760dc3734aecb6b168d6fb3cd67466', name: 'items' });
|
|
275
275
|
if (this.usePortal) {
|
|
276
|
-
dropdownContainer = (h("p-portal", { key: '
|
|
276
|
+
dropdownContainer = (h("p-portal", { key: '08d9b089324bbdb5306335207c5c069c5000d9af', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: 'afd18f595afea1f221bb6d4d2fd35b25250e6c19', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, itemsSlot)));
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
279
|
-
dropdownContainer = (h("p-dropdown-menu-container", { key: '
|
|
279
|
+
dropdownContainer = (h("p-dropdown-menu-container", { key: '1234e1a98cf0b0f49d83a3dca617ea6df22b7d56', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, itemsSlot));
|
|
280
280
|
}
|
|
281
|
-
return (h(Host, { key: '
|
|
281
|
+
return (h(Host, { key: '1789be53e587187e1ac80696dc5971d1aa3d69f8', class: 'relative' }, h("div", { key: '631d65df461845c81eb3dcf32bbad5a5d846f244', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: 'b3e88729b0f98d62988be48af695421982ddecd1', name: 'trigger' })), h("div", { key: 'f26c4b321498a62956ec9c6e59e2f9d9968a4f5b', class: 'relative w-full' }, dropdownContainer)));
|
|
282
282
|
}
|
|
283
283
|
_checkButtons(active = false) {
|
|
284
284
|
if (!this.applyChevron) {
|
|
@@ -54,9 +54,9 @@ const ContentSlider = class {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'e690c7769634eda186a3abc83d34d86c607f753d', class: "p-content-slider" }, h("div", { key: 'e6270d967bbef325e89e2d0cdbd903ea60dc82b8', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
58
58
|
height: `${this._outerHeight}px`,
|
|
59
|
-
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '
|
|
59
|
+
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'ef9190265da0a8d0e842696929a9ad8d9d3a7f25', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'de62baf7fabcc682a326cf32df9974b0fe821a70' }))), h("div", { key: '142f7bf7d6172a1c22d61da84342e449c31d24fa', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block w-2 h-2 rounded-full', {
|
|
60
60
|
'bg-dark-teal-600': i === this._visibleIndex,
|
|
61
61
|
'bg-dark-teal-400': i !== this._visibleIndex,
|
|
62
62
|
}) })))))));
|
|
@@ -3075,9 +3075,9 @@ const Datepicker = class {
|
|
|
3075
3075
|
this.parseValue(this.value);
|
|
3076
3076
|
}
|
|
3077
3077
|
render() {
|
|
3078
|
-
return (h("p-dropdown", { key: '
|
|
3078
|
+
return (h("p-dropdown", { key: '4b7858215699b02aa85b38f49995338295cb385e', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '8dfb07aeb1b18e861b3bdd6ef926343f3e8cfb0b', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), error: this.error, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '606db61aad658122caa28ced464bad6198e925f3', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
|
|
3079
3079
|
,
|
|
3080
|
-
onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: '
|
|
3080
|
+
onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: '48ac2993e4313f218425406dcfe719ed1fdc450c', slot: 'items' }, h("p-calendar", { key: '8a39ebe9193704d303b26b8fa6afbada6c674cd3', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode }))));
|
|
3081
3081
|
}
|
|
3082
3082
|
documentClickHandler({ target }) {
|
|
3083
3083
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -64,11 +64,11 @@ const EmptyState = class {
|
|
|
64
64
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
65
65
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
66
66
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '4d4ffeaee2bb367b6fa44558bffc6b1ea36e7ff2', class: emptyState({
|
|
68
68
|
enableAction: asBoolean(this.enableAction, true),
|
|
69
69
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
70
70
|
? this.action.emit(ev)
|
|
71
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
71
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '5ffdc50bc7b414703c1ab66e8c11d9213360e421', class: 'mb-8 text-teal', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-black-teal' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm text-black-teal-300' }, this.content))), this.enableAction &&
|
|
72
72
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, loading: this.actionLoading, variant: this.actionVariant }, this.actionText)))));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
@@ -295,7 +295,7 @@ const TableCell = class {
|
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
render() {
|
|
298
|
-
return (h(Host, { key: '
|
|
298
|
+
return (h(Host, { key: '00a0d4f6a342ab085d3bfa8b4d36879455c41dc0', class: this._getColumnClasses() }, this.checkbox, this._getContent()));
|
|
299
299
|
}
|
|
300
300
|
_getContent() {
|
|
301
301
|
if (this.variant === 'loading') {
|
|
@@ -416,11 +416,11 @@ const TableFooter = class {
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
render() {
|
|
419
|
-
return (h("div", { key: '
|
|
419
|
+
return (h("div", { key: 'dd645bf716abf7fab8f11ca025e0a40dd556d39f', class: footer({
|
|
420
420
|
pinned: this._isPinned,
|
|
421
421
|
hidden: this._hidden,
|
|
422
422
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
423
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
423
|
+
this.total > 0 && (h("p-pagination", { key: '19f27136c8dd0ba4540989e7a66207952372f2b8', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
|
|
424
424
|
}
|
|
425
425
|
_changePageSize(s) {
|
|
426
426
|
if (!s) {
|
|
@@ -10111,12 +10111,12 @@ const TableRow = class {
|
|
|
10111
10111
|
*/
|
|
10112
10112
|
enableHover = true;
|
|
10113
10113
|
render() {
|
|
10114
|
-
return (h("div", { key: '
|
|
10114
|
+
return (h("div", { key: '3b0c33c721d30432c3484e1840ea9d98e17bd1af', class: 'flex flex-col' }, h("div", { key: 'f271084c671e7eb2d2448371b24f905ef4fdecfe', class: row({
|
|
10115
10115
|
variant: this.variant,
|
|
10116
10116
|
enableHover: this.enableHover,
|
|
10117
|
-
}) }, h("div", { key: '
|
|
10117
|
+
}) }, h("div", { key: 'f3dbe2499f33d602e2cf371d39e28c5f312de24c', class: content({
|
|
10118
10118
|
variant: this.variant,
|
|
10119
|
-
}) }, h("slot", { key: '
|
|
10119
|
+
}) }, h("slot", { key: '672d5a2716fe938bc75872d1fde5555ace2caab4' }), h("div", { key: '117c17db8a87e0c17b2c092e69548bd09c44d11e', class: actions() }, h("slot", { key: '1d637f45a95f749d68814a685fd32221373b7269', name: 'actions' })))), h("p-divider", { key: 'ed36652744fdc946d57cd5aeb747fb81aa5231dd' })));
|
|
10120
10120
|
}
|
|
10121
10121
|
};
|
|
10122
10122
|
TableRow.style = tableRowComponentCss;
|
|
@@ -305,14 +305,14 @@ const Field = class {
|
|
|
305
305
|
}
|
|
306
306
|
render() {
|
|
307
307
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
308
|
-
return (h("p-field-container", { key: '
|
|
308
|
+
return (h("p-field-container", { key: 'cb19870d204efcbbb2991bcb01f1d92f407698df', forceShowTooltip: this.forceShowTooltip || this._focused, id: id, label: this.label, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (h("slot", { key: '2eab7abbbb1cb4c1fae604f8ab40c4af0d613829', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '90c1a1daf7e4722878e876921628bb8b95cb1ac3', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '08cdc4d7454dc9492ce6899245373af837408989', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'ff8cd30c29988e3e2048845d7e2cf77037632417', name: 'error', slot: 'error' })), h("div", { key: 'fddd83f48e198ab8e8355c4eb9138d664f9a2514', class: field({
|
|
309
309
|
error: !!this.error?.length,
|
|
310
310
|
disabled: asBoolean(this.disabled),
|
|
311
311
|
focused: asBoolean(this.focused) || this._focused,
|
|
312
312
|
size: this.size,
|
|
313
313
|
variant: this.variant,
|
|
314
314
|
isTextarea: this.type === 'textarea',
|
|
315
|
-
}), title: this.variant === 'read' && !hasValueSlot ? this.value : undefined, slot: 'content' }, (this.error?.length || prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
315
|
+
}), title: this.variant === 'read' && !hasValueSlot ? this.value : undefined, slot: 'content' }, (this.error?.length || prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'c39d610fd6014de8cd06afc31c7d00188735d089', class: prefixAndSuffix({
|
|
316
316
|
error: !!this.error?.length,
|
|
317
317
|
disabled: asBoolean(this.disabled),
|
|
318
318
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -320,7 +320,7 @@ const Field = class {
|
|
|
320
320
|
isTextarea: this.type === 'textarea',
|
|
321
321
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') || this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
322
322
|
'mt-[0.125rem]': this.variant === 'read' && this.size === 'base',
|
|
323
|
-
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
323
|
+
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'e7b77c4dc991945fee64dfdb66d1d0fb4b5b3b51', class: prefixAndSuffix({
|
|
324
324
|
error: !!this.error?.length,
|
|
325
325
|
disabled: asBoolean(this.disabled),
|
|
326
326
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -60,14 +60,14 @@ const Label = class {
|
|
|
60
60
|
*/
|
|
61
61
|
keepMobileContent = false;
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '9597be604690771c7963c82363a3f249a933313d', class: label({
|
|
64
64
|
variant: this.variant,
|
|
65
65
|
iconOnly: this.iconOnly,
|
|
66
66
|
keepMobileContent: this.keepMobileContent,
|
|
67
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
67
|
+
}) }, this.icon && (h("p-icon", { key: '48f6b8aae58c96ea2936ceed2a00b09ce4eee21d', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '45395fa989ebc3b038687c71abd78ab77b17547d', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
|
|
68
68
|
hidden: !this.keepMobileContent,
|
|
69
69
|
'desktop-xs:block': !this.keepMobileContent,
|
|
70
|
-
}) }, h("slot", { key: '
|
|
70
|
+
}) }, h("slot", { key: '83ceeb73279dd9c3ae6512cd563fb3a56c1923ad' })))));
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
Label.style = labelComponentCss;
|
|
@@ -70,7 +70,7 @@ const Listing = class {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: '13eabe2bacc8fe1ed570ffc5b03a453df3ca3285', class: "flex gap-1 w-full flex-col flex-wrap items-start" }, h("slot", { key: '1d11f5daa58b54d35aa38cf436f578d3d762b146', onSlotchange: () => this._generateStepsOnce() })));
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
Listing.style = listingComponentCss;
|
|
@@ -49,7 +49,7 @@ const Navbar = class {
|
|
|
49
49
|
}
|
|
50
50
|
_show = false;
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'ccea1ba5b71e5d7030fc0061c55e7b1f0cf199df' }, h("p-backdrop", { key: '6697e5a39331b9038c371528d030215019aec71b', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '5dc02dabfa017fe2e0549b3464f3dae0686e7fdb', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'fdc11a2dba8032bcee10a3d718d3471bf08f0bc3', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: 'dd627886a9bc8c5759e8d9465bf7038427599594', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '8eac51be7bcaeac093268cd4e6c2eb1f16f3e308', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: 'd4d57618aa5354fac8b0a19c974d84ef6dd8d639', name: 'company' })), h("div", { key: '48949805268ce97c6c83a15a4e3ec1daaac73b86', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '46e52c419b8269702983519550a074a4bf217928', name: 'content' })), h("div", { key: '01bc1710293357fd8a1f85e66d88c4335c925ce4', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: 'cce5347a4e5e9a33d144ec69ae452b214435fcf1', name: 'user' }))), h("div", { key: '9191ee1056b84360e3ad0bc9a6d1101c80e00a4e', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'caeb38522b307c81deadd55915edc4efe308cc26', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '18e2f632df00d70b2763d8bf4492b326b9e0eb40', name: 'topbar' }))));
|
|
53
53
|
}
|
|
54
54
|
handleCloseNavbar() {
|
|
55
55
|
this._show = false;
|
|
@@ -73,10 +73,10 @@ const NavigationItem = class {
|
|
|
73
73
|
render() {
|
|
74
74
|
const TagType = this.as;
|
|
75
75
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'c7ce92561fc86949a3d7a4cf8c0c8f7bc8c2c40b', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '03c0c4fdbbc000af6b275b4cebb96abf0cc2c7d0', class: navigationItem({
|
|
77
77
|
icon: !!this.icon,
|
|
78
78
|
active,
|
|
79
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
79
|
+
}), href: this.href, target: this.target }, h("div", { key: '5cb39568c4cd76f31d4c064fd6436dcee7c18806', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'cecfec8ee5fabc95cef24efb4ff64a695b84cec8', variant: this.icon })), h("span", { key: '7c8a60a7af3267febb129605ef888fe411cd850e', class: this.counter && 'has-counter' }, h("slot", { key: '8425b021164b20a0ed11e5f98d6e863dcf666b57' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'f760815a4da64edd25c30c4993e35157e8d86fe8' }, this.counter)), !!this.loading && h("p-loader", { key: 'ae11ad41c8b5e61d22c05c7d2422ff45003593e5', class: 'ml-auto' }))));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
NavigationItem.style = navigationItemComponentCss;
|
|
@@ -11,7 +11,7 @@ const NavigationSection = class {
|
|
|
11
11
|
*/
|
|
12
12
|
header;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '0974883115ce6c02612170f71ac60a046c1aee00', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: 'a0d706b6810eca9f5bd075bae9aa79b58f5a2712' }, this.header)), h("div", { key: 'cf846c79ca2248048aa0938221a515da4a5933de', class: 'flex flex-col' }, h("slot", { key: '9620310533a013653d88c41676a4d8c70e4f9676' }))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NavigationSection.style = navigationSectionComponentCss;
|