@paperless/core 2.15.1 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/build/{p-f2fbd6fa.js → p-3dd76a64.js} +1 -1
- package/dist/build/p-481a8ecd.entry.js +2 -0
- package/dist/build/p-481a8ecd.entry.js.map +1 -0
- package/dist/build/p-6aa5fec2.entry.js +2 -0
- package/dist/build/p-6aa5fec2.entry.js.map +1 -0
- package/dist/build/p-BYMwCs48.js +2 -0
- package/dist/build/p-BYMwCs48.js.map +1 -0
- package/dist/build/p-ab66da44.entry.js +2 -0
- package/dist/build/p-ab66da44.entry.js.map +1 -0
- package/dist/build/p-calendar.entry.esm.js.map +1 -1
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/p-table-column.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-Dt9qqH1T.js → index-BrXouTWt.js} +142 -2
- package/dist/cjs/index-BrXouTWt.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +32 -165
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +23 -14
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js +4 -0
- package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-column.entry.cjs.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/helpers/table/column/table-column.component.js +24 -0
- package/dist/collection/components/helpers/table/column/table-column.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +17 -14
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +31 -17
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/{p-DyYAbzNn.js → p-CLnjjZGE.js} +16 -13
- package/dist/components/p-CLnjjZGE.js.map +1 -0
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-datepicker.js +23 -14
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-table-column.js +5 -0
- package/dist/components/p-table-column.js.map +1 -1
- package/dist/esm/{index-EKSDxqjG.js → index-BYMwCs48.js} +139 -3
- package/dist/esm/index-BYMwCs48.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-calendar.entry.js +14 -147
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +23 -14
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-table-column.entry.js +4 -0
- package/dist/esm/p-table-column.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-481a8ecd.entry.js +2 -0
- package/dist/paperless/p-481a8ecd.entry.js.map +1 -0
- package/dist/paperless/p-6aa5fec2.entry.js +2 -0
- package/dist/paperless/p-6aa5fec2.entry.js.map +1 -0
- package/dist/paperless/p-BYMwCs48.js +2 -0
- package/dist/paperless/p-BYMwCs48.js.map +1 -0
- package/dist/paperless/p-ab66da44.entry.js +2 -0
- package/dist/paperless/p-ab66da44.entry.js.map +1 -0
- package/dist/paperless/p-calendar.entry.esm.js.map +1 -1
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/paperless/p-table-column.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/helpers/table/column/table-column.component.d.ts +4 -0
- package/dist/types/components/molecules/calendar/calendar.component.d.ts +2 -2
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +5 -4
- package/dist/types/components.d.ts +16 -8
- package/package.json +1 -1
- package/dist/build/p-967f355d.entry.js +0 -2
- package/dist/build/p-967f355d.entry.js.map +0 -1
- package/dist/build/p-EKSDxqjG.js +0 -2
- package/dist/build/p-EKSDxqjG.js.map +0 -1
- package/dist/build/p-c8c51618.entry.js +0 -2
- package/dist/build/p-c8c51618.entry.js.map +0 -1
- package/dist/build/p-e55045a4.entry.js +0 -2
- package/dist/build/p-e55045a4.entry.js.map +0 -1
- package/dist/cjs/index-Dt9qqH1T.js.map +0 -1
- package/dist/components/p-DyYAbzNn.js.map +0 -1
- package/dist/esm/index-EKSDxqjG.js.map +0 -1
- package/dist/paperless/p-967f355d.entry.js +0 -2
- package/dist/paperless/p-967f355d.entry.js.map +0 -1
- package/dist/paperless/p-EKSDxqjG.js +0 -2
- package/dist/paperless/p-EKSDxqjG.js.map +0 -1
- package/dist/paperless/p-c8c51618.entry.js +0 -2
- package/dist/paperless/p-c8c51618.entry.js.map +0 -1
- package/dist/paperless/p-e55045a4.entry.js +0 -2
- package/dist/paperless/p-e55045a4.entry.js.map +0 -1
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\",[[1,\"p-button\",{\"label\":[1],\"as\":[1],\"variant\":[1],\"active\":[4],\"error\":[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\"],\"iconClass\":[1,\"icon-class\"],\"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\":[1,\"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\",[[64,\"p-select\",{\"items\":[1],\"multi\":[516],\"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\"],\"iconClassKey\":[1,\"icon-class-key\"],\"showIconOnSelectedItem\":[1,\"show-icon-on-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[4,\"apply-class-on-selected-item\"],\"applyClassOnSelectedItemInMenu\":[4,\"apply-class-on-selected-item-in-menu\"],\"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\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"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],\"showOptional\":[516,\"show-optional\"],\"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\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"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\"],\"divider\":[4]}]]],[\"p-navigation-item\",[[6,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1],\"applyFullWidth\":[4,\"apply-full-width\"]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-cropper\",[[1,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-stepper\",[[1,\"p-stepper\",{\"steps\":[1],\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"_generatedOnce\":[32],\"_loaded\":[32]},null,{\"align\":[\"_onAlignChange\"],\"direction\":[\"_onDirectionChange\"],\"activeStep\":[\"_onActiveStepChange\"]}]]],[\"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\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item\",[[1,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section\",[[4,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-tab-container\",[[1,\"p-tab-container\"]]],[\"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-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\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[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\",[[70,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"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\",[[70,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar\",[[1,\"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\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_enableToday\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"],\"mode\":[\"_modeChange\"]}]]],[\"p-range\",[[1,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar\",[[0,\"p-avatar\",{\"variant\":[1],\"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-floating-menu-item\",[[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\"]}]]],[\"p-stepper-item_2\",[[1,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[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-smile\",[[0,\"p-smile\",{\"variant\":[1]}]]],[\"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-badge_3\",[[1,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[1,\"p-segment-container\"],[1,\"p-badge\"]]],[\"p-tooltip\",[[1,\"p-tooltip\",{\"variant\":[1],\"content\":[1],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"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\"],\"content\":[\"onContentChange\"]}]]],[\"p-checkbox_3\",[[70,\"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],\"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\"],\"manual\":[4],\"applyChevron\":[4,\"apply-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[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-dropdown-menu-item_2\",[[1,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[1,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"],\"autoHeight\":[4,\"auto-height\"]}]]],[\"p-divider\",[[1,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-field_3\",[[65,\"p-field\",{\"align\":[1],\"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\":[8],\"label\":[1],\"loading\":[4],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"showAddOnEmpty\":[516,\"show-add-on-empty\"],\"addText\":[513,\"add-text\"],\"autofocus\":[516],\"error\":[513],\"autoShowError\":[516,\"auto-show-error\"],\"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\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[\"watchvalue\"]}],[1,\"p-field-container\",{\"id\":[1],\"align\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16,\"optional-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3\",[[1,\"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-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16,\"dropdown-page-template\"],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2],\"_showDropdown\":[32],\"_dropdowns\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[6,\"click\",\"documentClickHandler\"]],{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}],[1,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16,\"size-options\"],\"itemTemplate\":[16,\"item-template\"],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8\",[[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\"],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[1,\"p-table-header\",{\"quickFilters\":[1,\"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-empty-state\",{\"illustration\":[8],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconPosition\":[1,\"action-icon-position\"],\"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-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[4,\"p-table-container\"],[1,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"p-button_3\",[[1,\"p-button\",{\"label\":[1],\"as\":[1],\"variant\":[1],\"active\":[4],\"error\":[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\"],\"iconClass\":[1,\"icon-class\"],\"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\":[1,\"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\",[[64,\"p-select\",{\"items\":[1],\"multi\":[516],\"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\"],\"iconClassKey\":[1,\"icon-class-key\"],\"showIconOnSelectedItem\":[1,\"show-icon-on-selected-item\"],\"classKey\":[1,\"class-key\"],\"applyClassOnSelectedItem\":[4,\"apply-class-on-selected-item\"],\"applyClassOnSelectedItemInMenu\":[4,\"apply-class-on-selected-item-in-menu\"],\"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\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"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],\"showOptional\":[516,\"show-optional\"],\"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\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"format\":[1],\"hideIconWhenFilled\":[4,\"hide-icon-when-filled\"],\"size\":[1],\"prefix\":[1],\"label\":[1],\"loading\":[4],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"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\"],\"divider\":[4]}]]],[\"p-navigation-item\",[[6,\"p-navigation-item\",{\"icon\":[1],\"active\":[4],\"loading\":[4],\"as\":[1],\"counter\":[8],\"href\":[1],\"target\":[1],\"class\":[1],\"applyFullWidth\":[4,\"apply-full-width\"]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-cropper\",[[1,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-stepper\",[[1,\"p-stepper\",{\"steps\":[1],\"activeStep\":[2,\"active-step\"],\"enableAutoStatus\":[4,\"enable-auto-status\"],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"_generatedOnce\":[32],\"_loaded\":[32]},null,{\"align\":[\"_onAlignChange\"],\"direction\":[\"_onDirectionChange\"],\"activeStep\":[\"_onActiveStepChange\"]}]]],[\"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\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item\",[[1,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section\",[[4,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-tab-container\",[[1,\"p-tab-container\"]]],[\"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-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\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[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\",[[70,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"sticky\":[1540],\"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\",[[70,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar\",[[1,\"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\"],\"enableToday\":[4,\"enable-today\"],\"todayText\":[1,\"today-text\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32],\"_enableToday\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"],\"mode\":[\"_modeChange\"]}]]],[\"p-range\",[[1,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar\",[[0,\"p-avatar\",{\"variant\":[1],\"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-floating-menu-item\",[[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\"]}]]],[\"p-stepper-item_2\",[[1,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[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-smile\",[[0,\"p-smile\",{\"variant\":[1]}]]],[\"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-badge_3\",[[1,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[1,\"p-segment-container\"],[1,\"p-badge\"]]],[\"p-tooltip\",[[1,\"p-tooltip\",{\"variant\":[1],\"content\":[1],\"placement\":[1],\"offset\":[2],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"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\"],\"content\":[\"onContentChange\"]}]]],[\"p-checkbox_3\",[[70,\"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],\"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\"],\"manual\":[4],\"applyChevron\":[4,\"apply-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[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-dropdown-menu-item_2\",[[1,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[1,\"p-dropdown-menu-item\",{\"active\":[4],\"checkbox\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"enableTextWrap\":[4,\"enable-text-wrap\"],\"disabled\":[4],\"icon\":[1],\"iconWave\":[4,\"icon-wave\"],\"useContainer\":[4,\"use-container\"],\"autoHeight\":[4,\"auto-height\"]}]]],[\"p-divider\",[[1,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-field_3\",[[65,\"p-field\",{\"align\":[1],\"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\":[8],\"label\":[1],\"loading\":[4],\"placeholder\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"showAddOnEmpty\":[516,\"show-add-on-empty\"],\"addText\":[513,\"add-text\"],\"autofocus\":[516],\"error\":[513],\"autoShowError\":[516,\"auto-show-error\"],\"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\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[\"watchvalue\"]}],[1,\"p-field-container\",{\"id\":[1],\"align\":[1],\"label\":[1],\"loading\":[4],\"loadingSize\":[1,\"loading-size\"],\"variant\":[1],\"helper\":[1],\"required\":[516],\"showOptional\":[516,\"show-optional\"],\"error\":[513],\"errorPlacement\":[1,\"error-placement\"],\"forceShowTooltip\":[516,\"force-show-tooltip\"],\"optionalTemplate\":[16,\"optional-template\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3\",[[1,\"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-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16,\"dropdown-page-template\"],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2],\"_showDropdown\":[32],\"_dropdowns\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[6,\"click\",\"documentClickHandler\"]],{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}],[1,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16,\"size-options\"],\"itemTemplate\":[16,\"item-template\"],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8\",[[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\"],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[1,\"p-table-header\",{\"quickFilters\":[1,\"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-empty-state\",{\"illustration\":[8],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionText\":[1,\"action-text\"],\"actionVariant\":[1,\"action-variant\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconPosition\":[1,\"action-icon-position\"],\"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-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[4,\"p-table-container\"],[1,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -3,7 +3,7 @@ import { c as cva } from './index-CO0T2jO4.js';
|
|
|
3
3
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
4
4
|
import { b as state } from './state-DKMgUotc.js';
|
|
5
5
|
import { T as ThemedHost } from './themed-host.component-C8HmhEcP.js';
|
|
6
|
-
import { r as requiredArgs, t as toDate, c as toInteger, o as isBefore, p as isAfter, n as isValid, x as isSameDay, y as isWeekend, q as format, u as locale, l as locale$1, v as startOfDay, w as startOfMonth } from './index-
|
|
6
|
+
import { r as requiredArgs, t as toDate, c as toInteger, o as isBefore, p as isAfter, n as isValid, x as isSameDay, y as isWeekend, q as format, u as locale, l as locale$1, A as getYear, B as setYear, C as addMonths, z as addYears, v as startOfDay, w as startOfMonth } from './index-BYMwCs48.js';
|
|
7
7
|
import './clsx-ChV9xqsO.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -39,89 +39,6 @@ function addDays(dirtyDate, dirtyAmount) {
|
|
|
39
39
|
return date;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* @name addMonths
|
|
44
|
-
* @category Month Helpers
|
|
45
|
-
* @summary Add the specified number of months to the given date.
|
|
46
|
-
*
|
|
47
|
-
* @description
|
|
48
|
-
* Add the specified number of months to the given date.
|
|
49
|
-
*
|
|
50
|
-
* @param {Date|Number} date - the date to be changed
|
|
51
|
-
* @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
52
|
-
* @returns {Date} the new date with the months added
|
|
53
|
-
* @throws {TypeError} 2 arguments required
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* // Add 5 months to 1 September 2014:
|
|
57
|
-
* const result = addMonths(new Date(2014, 8, 1), 5)
|
|
58
|
-
* //=> Sun Feb 01 2015 00:00:00
|
|
59
|
-
*/
|
|
60
|
-
function addMonths(dirtyDate, dirtyAmount) {
|
|
61
|
-
requiredArgs(2, arguments);
|
|
62
|
-
var date = toDate(dirtyDate);
|
|
63
|
-
var amount = toInteger(dirtyAmount);
|
|
64
|
-
if (isNaN(amount)) {
|
|
65
|
-
return new Date(NaN);
|
|
66
|
-
}
|
|
67
|
-
if (!amount) {
|
|
68
|
-
// If 0 months, no-op to avoid changing times in the hour before end of DST
|
|
69
|
-
return date;
|
|
70
|
-
}
|
|
71
|
-
var dayOfMonth = date.getDate();
|
|
72
|
-
|
|
73
|
-
// The JS Date object supports date math by accepting out-of-bounds values for
|
|
74
|
-
// month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and
|
|
75
|
-
// new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we
|
|
76
|
-
// want except that dates will wrap around the end of a month, meaning that
|
|
77
|
-
// new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So
|
|
78
|
-
// we'll default to the end of the desired month by adding 1 to the desired
|
|
79
|
-
// month and using a date of 0 to back up one day to the end of the desired
|
|
80
|
-
// month.
|
|
81
|
-
var endOfDesiredMonth = new Date(date.getTime());
|
|
82
|
-
endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);
|
|
83
|
-
var daysInMonth = endOfDesiredMonth.getDate();
|
|
84
|
-
if (dayOfMonth >= daysInMonth) {
|
|
85
|
-
// If we're already at the end of the month, then this is the correct date
|
|
86
|
-
// and we're done.
|
|
87
|
-
return endOfDesiredMonth;
|
|
88
|
-
} else {
|
|
89
|
-
// Otherwise, we now know that setting the original day-of-month value won't
|
|
90
|
-
// cause an overflow, so set the desired day-of-month. Note that we can't
|
|
91
|
-
// just set the date of `endOfDesiredMonth` because that object may have had
|
|
92
|
-
// its time changed in the unusual case where where a DST transition was on
|
|
93
|
-
// the last day of the month and its local time was in the hour skipped or
|
|
94
|
-
// repeated next to a DST transition. So we use `date` instead which is
|
|
95
|
-
// guaranteed to still have the original time.
|
|
96
|
-
date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);
|
|
97
|
-
return date;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @name addYears
|
|
103
|
-
* @category Year Helpers
|
|
104
|
-
* @summary Add the specified number of years to the given date.
|
|
105
|
-
*
|
|
106
|
-
* @description
|
|
107
|
-
* Add the specified number of years to the given date.
|
|
108
|
-
*
|
|
109
|
-
* @param {Date|Number} date - the date to be changed
|
|
110
|
-
* @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
111
|
-
* @returns {Date} the new date with the years added
|
|
112
|
-
* @throws {TypeError} 2 arguments required
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* // Add 5 years to 1 September 2014:
|
|
116
|
-
* const result = addYears(new Date(2014, 8, 1), 5)
|
|
117
|
-
* //=> Sun Sep 01 2019 00:00:00
|
|
118
|
-
*/
|
|
119
|
-
function addYears(dirtyDate, dirtyAmount) {
|
|
120
|
-
requiredArgs(2, arguments);
|
|
121
|
-
var amount = toInteger(dirtyAmount);
|
|
122
|
-
return addMonths(dirtyDate, amount * 12);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
42
|
/**
|
|
126
43
|
* @name endOfMonth
|
|
127
44
|
* @category Month Helpers
|
|
@@ -201,28 +118,6 @@ function getDaysInMonth(dirtyDate) {
|
|
|
201
118
|
return lastDayOfMonth.getDate();
|
|
202
119
|
}
|
|
203
120
|
|
|
204
|
-
/**
|
|
205
|
-
* @name getYear
|
|
206
|
-
* @category Year Helpers
|
|
207
|
-
* @summary Get the year of the given date.
|
|
208
|
-
*
|
|
209
|
-
* @description
|
|
210
|
-
* Get the year of the given date.
|
|
211
|
-
*
|
|
212
|
-
* @param {Date|Number} date - the given date
|
|
213
|
-
* @returns {Number} the year
|
|
214
|
-
* @throws {TypeError} 1 argument required
|
|
215
|
-
*
|
|
216
|
-
* @example
|
|
217
|
-
* // Which year is 2 July 2014?
|
|
218
|
-
* const result = getYear(new Date(2014, 6, 2))
|
|
219
|
-
* //=> 2014
|
|
220
|
-
*/
|
|
221
|
-
function getYear(dirtyDate) {
|
|
222
|
-
requiredArgs(1, arguments);
|
|
223
|
-
return toDate(dirtyDate).getFullYear();
|
|
224
|
-
}
|
|
225
|
-
|
|
226
121
|
/**
|
|
227
122
|
* @name isSameMonth
|
|
228
123
|
* @category Month Helpers
|
|
@@ -338,37 +233,6 @@ function setDate(dirtyDate, dirtyDayOfMonth) {
|
|
|
338
233
|
return date;
|
|
339
234
|
}
|
|
340
235
|
|
|
341
|
-
/**
|
|
342
|
-
* @name setYear
|
|
343
|
-
* @category Year Helpers
|
|
344
|
-
* @summary Set the year to the given date.
|
|
345
|
-
*
|
|
346
|
-
* @description
|
|
347
|
-
* Set the year to the given date.
|
|
348
|
-
*
|
|
349
|
-
* @param {Date|Number} date - the date to be changed
|
|
350
|
-
* @param {Number} year - the year of the new date
|
|
351
|
-
* @returns {Date} the new date with the year set
|
|
352
|
-
* @throws {TypeError} 2 arguments required
|
|
353
|
-
*
|
|
354
|
-
* @example
|
|
355
|
-
* // Set year 2013 to 1 September 2014:
|
|
356
|
-
* const result = setYear(new Date(2014, 8, 1), 2013)
|
|
357
|
-
* //=> Sun Sep 01 2013 00:00:00
|
|
358
|
-
*/
|
|
359
|
-
function setYear(dirtyDate, dirtyYear) {
|
|
360
|
-
requiredArgs(2, arguments);
|
|
361
|
-
var date = toDate(dirtyDate);
|
|
362
|
-
var year = toInteger(dirtyYear);
|
|
363
|
-
|
|
364
|
-
// Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date
|
|
365
|
-
if (isNaN(date.getTime())) {
|
|
366
|
-
return new Date(NaN);
|
|
367
|
-
}
|
|
368
|
-
date.setFullYear(year);
|
|
369
|
-
return date;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
236
|
const calendarComponentCss = "*{box-sizing:border-box}.static{position:static!important}.col-start-1{grid-column-start:1!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-4{grid-column-start:4!important}.col-start-5{grid-column-start:5!important}.col-start-6{grid-column-start:6!important}.col-start-7{grid-column-start:7!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.grid{display:grid!important}.h-8{height:2rem!important}.h-auto{height:auto!important}.h-full{height:100%!important}.max-h-\\[15rem\\]{max-height:15rem!important}.min-h-\\[12rem\\]{min-height:12rem!important}.min-h-\\[15rem\\]{min-height:15rem!important}.w-8{width:2rem!important}.w-\\[17\\.5rem\\]{width:17.5rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-4{gap:1rem!important}.overflow-scroll{overflow:scroll!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-hurricane-200,.text-storm-200{--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.text-storm-500,.text-white{--tw-text-opacity:1!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.opacity-60{opacity:.6!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.drop-shadow-2,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.hover\\:bg-white-600:hover{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.dark\\:border-none:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:none!important}.dark\\:bg-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))!important}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:border-none:where([data-theme=dark],[data-theme=dark] *){border-style:none!important}.dark\\:bg-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))!important}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
373
237
|
|
|
374
238
|
const calendar = cva(['w-[17.5rem] flex flex-col gap-4'], {
|
|
@@ -425,11 +289,11 @@ const Calendar = class {
|
|
|
425
289
|
/**
|
|
426
290
|
* Min date
|
|
427
291
|
*/
|
|
428
|
-
minDate =
|
|
292
|
+
minDate = null;
|
|
429
293
|
/**
|
|
430
294
|
* Max date
|
|
431
295
|
*/
|
|
432
|
-
maxDate =
|
|
296
|
+
maxDate = null;
|
|
433
297
|
/**
|
|
434
298
|
* Wether to disable the weekends
|
|
435
299
|
*/
|
|
@@ -464,12 +328,8 @@ const Calendar = class {
|
|
|
464
328
|
if (this.disabledDates) {
|
|
465
329
|
this._parseDisabledDates(this.disabledDates);
|
|
466
330
|
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}
|
|
470
|
-
if (this.maxDate) {
|
|
471
|
-
this._parseMaxDate(this.maxDate);
|
|
472
|
-
}
|
|
331
|
+
this._parseMinDate(this.minDate);
|
|
332
|
+
this._parseMaxDate(this.maxDate);
|
|
473
333
|
this._parseValue(this.value);
|
|
474
334
|
if (this._value) {
|
|
475
335
|
this._viewDate = this._value;
|
|
@@ -503,7 +363,10 @@ const Calendar = class {
|
|
|
503
363
|
this._setValue(value);
|
|
504
364
|
}
|
|
505
365
|
_parseMinDate(minDate) {
|
|
506
|
-
|
|
366
|
+
if (minDate === null || minDate === '') {
|
|
367
|
+
this.minDate = new Date(1970, 0, 1);
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
507
370
|
if (typeof minDate === 'string') {
|
|
508
371
|
minDate = new Date(minDate);
|
|
509
372
|
}
|
|
@@ -516,6 +379,10 @@ const Calendar = class {
|
|
|
516
379
|
}
|
|
517
380
|
}
|
|
518
381
|
_parseMaxDate(maxDate) {
|
|
382
|
+
if (maxDate === null || maxDate === '') {
|
|
383
|
+
this.maxDate = this._getAutomaticMax();
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
519
386
|
if (typeof maxDate === 'string') {
|
|
520
387
|
maxDate = new Date(maxDate);
|
|
521
388
|
}
|
|
@@ -553,7 +420,7 @@ const Calendar = class {
|
|
|
553
420
|
}
|
|
554
421
|
}
|
|
555
422
|
render() {
|
|
556
|
-
return (h(ThemedHost, { key: '
|
|
423
|
+
return (h(ThemedHost, { key: 'edef107b0a9b73c1b329b899352d54adcee3a14c' }, h("div", { key: 'aaf6d9578454c5143f3b1b4995a443ed094d7a41', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
557
424
|
}
|
|
558
425
|
_checkTodayButton() {
|
|
559
426
|
if (this._maxDate && isAfter(this._today, this._maxDate)) {
|