@paperless/core 2.0.1-beta.176 → 2.0.1-beta.178

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.
Files changed (108) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/assets/illustrations/file.svg +15 -0
  3. package/dist/assets/illustrations/folder.svg +10 -0
  4. package/dist/assets/illustrations/sick-leave.svg +4 -0
  5. package/dist/assets/illustrations/task.svg +11 -0
  6. package/dist/assets/illustrations/user.svg +11 -0
  7. package/dist/build/p-71e4eeab.js +2 -0
  8. package/dist/build/p-91c5f6c4.entry.js +2 -0
  9. package/dist/build/p-91c5f6c4.entry.js.map +1 -0
  10. package/dist/build/p-K1xa0GD1.js +2 -0
  11. package/dist/build/p-K1xa0GD1.js.map +1 -0
  12. package/dist/build/p-calendar.entry.esm.js.map +1 -1
  13. package/dist/build/p-d5d5c2ae.entry.js +2 -0
  14. package/dist/build/p-d5d5c2ae.entry.js.map +1 -0
  15. package/dist/build/p-datepicker.entry.esm.js.map +1 -1
  16. package/dist/build/p-eb66dfac.entry.js +2 -0
  17. package/dist/build/p-eb66dfac.entry.js.map +1 -0
  18. package/dist/build/p-illustration.entry.esm.js.map +1 -1
  19. package/dist/build/paperless.esm.js +1 -1
  20. package/dist/cjs/{index-RINDNog3.js → index-FAqASDWS.js} +27 -2
  21. package/dist/cjs/index-FAqASDWS.js.map +1 -0
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/p-calendar.cjs.entry.js +31 -5
  24. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  25. package/dist/cjs/p-calendar.entry.cjs.js.map +1 -1
  26. package/dist/cjs/p-datepicker.cjs.entry.js +12 -28
  27. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  28. package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
  29. package/dist/cjs/p-illustration.cjs.entry.js +66 -0
  30. package/dist/cjs/p-illustration.cjs.entry.js.map +1 -1
  31. package/dist/cjs/p-illustration.entry.cjs.js.map +1 -1
  32. package/dist/cjs/paperless.cjs.js +1 -1
  33. package/dist/collection/assets/illustrations/file.svg +15 -0
  34. package/dist/collection/assets/illustrations/folder.svg +10 -0
  35. package/dist/collection/assets/illustrations/sick-leave.svg +4 -0
  36. package/dist/collection/assets/illustrations/task.svg +11 -0
  37. package/dist/collection/assets/illustrations/user.svg +11 -0
  38. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  39. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  40. package/dist/collection/components/molecules/calendar/calendar.component.js +72 -5
  41. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
  42. package/dist/collection/components/molecules/datepicker/datepicker.component.js +50 -2
  43. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  44. package/dist/collection/utils/illustrations.js +10 -0
  45. package/dist/collection/utils/illustrations.js.map +1 -1
  46. package/dist/components/{p-9GrlAFks.js → p-CR36e-YR.js} +68 -2
  47. package/dist/components/p-CR36e-YR.js.map +1 -0
  48. package/dist/components/{p-CVpI8bhk.js → p-CXsl2ut5.js} +3 -3
  49. package/dist/components/{p-CVpI8bhk.js.map → p-CXsl2ut5.js.map} +1 -1
  50. package/dist/components/p-calendar.js +1 -1
  51. package/dist/components/p-datepicker.js +13 -27
  52. package/dist/components/p-datepicker.js.map +1 -1
  53. package/dist/components/p-empty-state.js +1 -1
  54. package/dist/components/p-illustration.js +1 -1
  55. package/dist/components/{p-CmU1ZQVL.js → p-moCN4c_b.js} +79 -14
  56. package/dist/components/p-moCN4c_b.js.map +1 -0
  57. package/dist/components/p-table.js +2 -2
  58. package/dist/esm/{index-C1h1E07M.js → index-K1xa0GD1.js} +27 -3
  59. package/dist/esm/index-K1xa0GD1.js.map +1 -0
  60. package/dist/esm/loader.js +1 -1
  61. package/dist/esm/p-calendar.entry.js +31 -5
  62. package/dist/esm/p-calendar.entry.js.map +1 -1
  63. package/dist/esm/p-datepicker.entry.js +11 -27
  64. package/dist/esm/p-datepicker.entry.js.map +1 -1
  65. package/dist/esm/p-illustration.entry.js +66 -0
  66. package/dist/esm/p-illustration.entry.js.map +1 -1
  67. package/dist/esm/paperless.js +1 -1
  68. package/dist/index.html +1 -1
  69. package/dist/paperless/p-91c5f6c4.entry.js +2 -0
  70. package/dist/paperless/p-91c5f6c4.entry.js.map +1 -0
  71. package/dist/paperless/p-K1xa0GD1.js +2 -0
  72. package/dist/paperless/p-K1xa0GD1.js.map +1 -0
  73. package/dist/paperless/p-calendar.entry.esm.js.map +1 -1
  74. package/dist/paperless/p-d5d5c2ae.entry.js +2 -0
  75. package/dist/paperless/p-d5d5c2ae.entry.js.map +1 -0
  76. package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
  77. package/dist/paperless/p-eb66dfac.entry.js +2 -0
  78. package/dist/paperless/p-eb66dfac.entry.js.map +1 -0
  79. package/dist/paperless/p-illustration.entry.esm.js.map +1 -1
  80. package/dist/paperless/paperless.esm.js +1 -1
  81. package/dist/sw.js +1 -1
  82. package/dist/sw.js.map +1 -1
  83. package/dist/types/components/molecules/calendar/calendar.component.d.ts +11 -0
  84. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +8 -0
  85. package/dist/types/components.d.ts +32 -0
  86. package/dist/types/utils/illustrations.d.ts +5 -0
  87. package/package.json +1 -1
  88. package/dist/build/p-0103e9ac.entry.js +0 -2
  89. package/dist/build/p-0103e9ac.entry.js.map +0 -1
  90. package/dist/build/p-1b48c77c.js +0 -2
  91. package/dist/build/p-3a3a0e38.entry.js +0 -2
  92. package/dist/build/p-3a3a0e38.entry.js.map +0 -1
  93. package/dist/build/p-7b701c17.entry.js +0 -2
  94. package/dist/build/p-7b701c17.entry.js.map +0 -1
  95. package/dist/build/p-C1h1E07M.js +0 -2
  96. package/dist/build/p-C1h1E07M.js.map +0 -1
  97. package/dist/cjs/index-RINDNog3.js.map +0 -1
  98. package/dist/components/p-9GrlAFks.js.map +0 -1
  99. package/dist/components/p-CmU1ZQVL.js.map +0 -1
  100. package/dist/esm/index-C1h1E07M.js.map +0 -1
  101. package/dist/paperless/p-0103e9ac.entry.js +0 -2
  102. package/dist/paperless/p-0103e9ac.entry.js.map +0 -1
  103. package/dist/paperless/p-3a3a0e38.entry.js +0 -2
  104. package/dist/paperless/p-3a3a0e38.entry.js.map +0 -1
  105. package/dist/paperless/p-7b701c17.entry.js +0 -2
  106. package/dist/paperless/p-7b701c17.entry.js.map +0 -1
  107. package/dist/paperless/p-C1h1E07M.js +0 -2
  108. package/dist/paperless/p-C1h1E07M.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { E as EmptyState, d as defineCustomElement$1 } from './p-CVpI8bhk.js';
1
+ import { E as EmptyState, d as defineCustomElement$1 } from './p-CXsl2ut5.js';
2
2
 
3
3
  const PEmptyState = EmptyState;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { I as Illustration, d as defineCustomElement$1 } from './p-9GrlAFks.js';
1
+ import { I as Illustration, d as defineCustomElement$1 } from './p-CR36e-YR.js';
2
2
 
3
3
  const PIllustration = Illustration;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,11 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-tdjn65Lz.js';
2
2
  import { c as cva } from './p-CBWjHURv.js';
3
3
  import { c as cn } from './p-CT54OXR2.js';
4
- import { d as defineCustomElement$3 } from './p-C9NBpdm_.js';
5
- import { d as defineCustomElement$2 } from './p-C78xNd-5.js';
6
- import { d as defineCustomElement$1 } from './p-DXMAnvYE.js';
4
+ import { d as defineCustomElement$5 } from './p-C9NBpdm_.js';
5
+ import { d as defineCustomElement$4 } from './p-C78xNd-5.js';
6
+ import { d as defineCustomElement$3 } from './p-DXMAnvYE.js';
7
+ import { d as defineCustomElement$2 } from './p-BuB74H5T.js';
8
+ import { d as defineCustomElement$1 } from './p-BL6tcXIx.js';
7
9
 
8
10
  function _typeof(o) {
9
11
  "@babel/helpers - typeof";
@@ -175,6 +177,30 @@ function addMonths(dirtyDate, dirtyAmount) {
175
177
  }
176
178
  }
177
179
 
180
+ /**
181
+ * @name isWeekend
182
+ * @category Weekday Helpers
183
+ * @summary Does the given date fall on a weekend?
184
+ *
185
+ * @description
186
+ * Does the given date fall on a weekend?
187
+ *
188
+ * @param {Date|Number} date - the date to check
189
+ * @returns {Boolean} the date falls on a weekend
190
+ * @throws {TypeError} 1 argument required
191
+ *
192
+ * @example
193
+ * // Does 5 October 2014 fall on a weekend?
194
+ * const result = isWeekend(new Date(2014, 9, 5))
195
+ * //=> true
196
+ */
197
+ function isWeekend(dirtyDate) {
198
+ requiredArgs(1, arguments);
199
+ var date = toDate(dirtyDate);
200
+ var day = date.getDay();
201
+ return day === 0 || day === 6;
202
+ }
203
+
178
204
  /**
179
205
  * @name addMilliseconds
180
206
  * @category Millisecond Helpers
@@ -2689,7 +2715,7 @@ function setYear(dirtyDate, dirtyYear) {
2689
2715
  return date;
2690
2716
  }
2691
2717
 
2692
- 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}.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-\\[14rem\\]{max-height:14rem!important}.min-h-\\[12rem\\]{min-height:12rem!important}.w-8{width:2rem!important}.w-\\[17\\.5rem\\]{width:17.5rem!important}.w-full{width:100%!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-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/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}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/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}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!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}.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-black-teal:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";
2718
+ 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-\\[14rem\\]{max-height:14rem!important}.min-h-\\[12rem\\]{min-height:12rem!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-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/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}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/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}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!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}.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-black-teal:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";
2693
2719
 
2694
2720
  const calendar = cva(['p-calendar bg-white w-[17.5rem] flex flex-col gap-4'], {
2695
2721
  variants: {
@@ -2699,7 +2725,7 @@ const calendar = cva(['p-calendar bg-white w-[17.5rem] flex flex-col gap-4'], {
2699
2725
  },
2700
2726
  },
2701
2727
  });
2702
- const header = cva(['flex items-center gap-1', 'w-full p-2', 'bg-off-white-300 rounded-lg'], {
2728
+ const header = cva(['flex items-center gap-2', 'w-full p-2', 'bg-off-white-300 rounded-lg'], {
2703
2729
  variants: {
2704
2730
  type: {
2705
2731
  day: 'justify-between',
@@ -2751,6 +2777,14 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2751
2777
  * Wether to disable the weekends
2752
2778
  */
2753
2779
  disableWeekends = false;
2780
+ /**
2781
+ * Wether to enable the today button
2782
+ */
2783
+ enableToday = true;
2784
+ /**
2785
+ * The text to display on the today tooltip
2786
+ */
2787
+ todayText = 'today';
2754
2788
  /**
2755
2789
  * The mode of the datepicker
2756
2790
  */
@@ -2767,6 +2801,7 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2767
2801
  _minDate;
2768
2802
  _maxDate;
2769
2803
  _disabledDates = [];
2804
+ _enableToday = true;
2770
2805
  _weekDays = Array.from(Array(7).keys());
2771
2806
  componentWillLoad() {
2772
2807
  if (this.disabledDates) {
@@ -2789,6 +2824,9 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2789
2824
  this._viewDate = this._maxDate;
2790
2825
  }
2791
2826
  }
2827
+ componentWillRender() {
2828
+ this._enableToday = this.enableToday && this._checkTodayButton();
2829
+ }
2792
2830
  componentDidRender() {
2793
2831
  if (this._view === 'year') {
2794
2832
  this._scrollYearIntoView();
@@ -2848,7 +2886,19 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2848
2886
  .filter(date => isValid(date));
2849
2887
  }
2850
2888
  render() {
2851
- return (h(Host, { key: '0c04ba601aaf4aa5c9803229649cf14ab7c5ca6a', class: calendar({ variant: this.variant }) }, this._getView()));
2889
+ return (h(Host, { key: '03682ec8ee594362384d4b99a84b7c96df273de6', class: calendar({ variant: this.variant }) }, this._getView()));
2890
+ }
2891
+ _checkTodayButton() {
2892
+ if (this._maxDate && isAfter(this._today, this._maxDate)) {
2893
+ return false;
2894
+ }
2895
+ if (this._minDate && isBefore(this._today, this._minDate)) {
2896
+ return false;
2897
+ }
2898
+ if (this.disableWeekends && isWeekend(this._today)) {
2899
+ return false;
2900
+ }
2901
+ return true;
2852
2902
  }
2853
2903
  _getView() {
2854
2904
  if (this._view === 'year') {
@@ -2885,7 +2935,9 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2885
2935
  nextFn = num => this._changeYear(num);
2886
2936
  nextType = 'year';
2887
2937
  }
2888
- return (h("div", { class: header({ type }) }, type !== 'year' && (h("p-button", { variant: 'secondary', iconOnly: true, icon: 'caret', iconRotate: 90, size: 'sm', onClick: () => nextFn(-1), disabled: !this._canSetAmount(nextType, -1) })), h("div", { class: 'flex gap-2' }, this.mode !== 'year' && (h("p-button", { variant: 'secondary', size: 'sm', onClick: () => this._changeView('month'), disabled: !this._canChangeView('month'), active: this._view === 'month' && this.mode !== 'month' }, format(this._viewDate, 'MMMM'))), h("p-button", { variant: 'secondary', size: 'sm', onClick: () => this._changeView('year'), disabled: !this._canChangeView('year'), active: this._view === 'year' && this.mode !== 'year' }, getYear(this._viewDate))), type !== 'year' && (h("p-button", { variant: 'secondary', iconOnly: true, icon: 'caret', iconRotate: -90, size: 'sm', onClick: () => nextFn(1), disabled: !this._canSetAmount(nextType, 1) }))));
2938
+ return (h("div", { class: header({ type }) }, type !== 'year' && (h("p-button", { variant: 'secondary', iconOnly: true, icon: 'caret', iconRotate: 90, size: 'sm', onClick: () => nextFn(-1), disabled: !this._canSetAmount(nextType, -1) })), h("div", { class: cn('flex gap-2', {
2939
+ 'flex-1': this._enableToday,
2940
+ }) }, this.mode !== 'year' && (h("p-button", { variant: 'secondary', size: 'sm', onClick: () => this._changeView('month'), disabled: !this._canChangeView('month'), active: this._view === 'month' && this.mode !== 'month' }, format(this._viewDate, 'MMMM'))), h("p-button", { variant: 'secondary', size: 'sm', onClick: () => this._changeView('year'), disabled: !this._canChangeView('year'), active: this._view === 'year' && this.mode !== 'year' }, getYear(this._viewDate)), this._enableToday && (h("p-tooltip", { class: 'ml-auto', content: this.todayText }, h("p-button", { variant: 'secondary', size: 'sm', icon: 'calendar', slot: 'trigger', iconOnly: true, onClick: () => this._setValue(this._today) })))), type !== 'year' && (h("p-button", { variant: 'secondary', iconOnly: true, icon: 'caret', iconRotate: -90, size: 'sm', onClick: () => nextFn(1), disabled: !this._canSetAmount(nextType, 1) }))));
2889
2941
  }
2890
2942
  _setYear(year) {
2891
2943
  const date = setYear(this._viewDate, year);
@@ -3067,13 +3119,16 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
3067
3119
  "minDate": [1, "min-date"],
3068
3120
  "maxDate": [1, "max-date"],
3069
3121
  "disableWeekends": [4, "disable-weekends"],
3122
+ "enableToday": [4, "enable-today"],
3123
+ "todayText": [1, "today-text"],
3070
3124
  "mode": [1],
3071
3125
  "_view": [32],
3072
3126
  "_viewDate": [32],
3073
3127
  "_value": [32],
3074
3128
  "_minDate": [32],
3075
3129
  "_maxDate": [32],
3076
- "_disabledDates": [32]
3130
+ "_disabledDates": [32],
3131
+ "_enableToday": [32]
3077
3132
  }, undefined, {
3078
3133
  "value": ["_parseValue"],
3079
3134
  "minDate": ["_parseMinDate"],
@@ -3084,7 +3139,7 @@ function defineCustomElement() {
3084
3139
  if (typeof customElements === "undefined") {
3085
3140
  return;
3086
3141
  }
3087
- const components = ["p-calendar", "p-button", "p-icon", "p-loader"];
3142
+ const components = ["p-calendar", "p-button", "p-icon", "p-loader", "p-portal", "p-tooltip"];
3088
3143
  components.forEach(tagName => { switch (tagName) {
3089
3144
  case "p-calendar":
3090
3145
  if (!customElements.get(tagName)) {
@@ -3093,15 +3148,25 @@ function defineCustomElement() {
3093
3148
  break;
3094
3149
  case "p-button":
3095
3150
  if (!customElements.get(tagName)) {
3096
- defineCustomElement$3();
3151
+ defineCustomElement$5();
3097
3152
  }
3098
3153
  break;
3099
3154
  case "p-icon":
3100
3155
  if (!customElements.get(tagName)) {
3101
- defineCustomElement$2();
3156
+ defineCustomElement$4();
3102
3157
  }
3103
3158
  break;
3104
3159
  case "p-loader":
3160
+ if (!customElements.get(tagName)) {
3161
+ defineCustomElement$3();
3162
+ }
3163
+ break;
3164
+ case "p-portal":
3165
+ if (!customElements.get(tagName)) {
3166
+ defineCustomElement$2();
3167
+ }
3168
+ break;
3169
+ case "p-tooltip":
3105
3170
  if (!customElements.get(tagName)) {
3106
3171
  defineCustomElement$1();
3107
3172
  }
@@ -3110,7 +3175,7 @@ function defineCustomElement() {
3110
3175
  }
3111
3176
  defineCustomElement();
3112
3177
 
3113
- export { Calendar as C, _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, defineCustomElement as d, getUTCISOWeek as e, getDefaultOptions as f, getUTCWeekYear as g, longFormatters as h, subMilliseconds as i, getTimezoneOffsetInMilliseconds as j, isProtectedWeekYearToken as k, locale as l, throwProtectedError as m, isProtectedDayOfYearToken as n, isValid as o, isBefore as p, isAfter as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, format as u, startOfDay as v, startOfMonth as w, isSameDay as x };
3114
- //# sourceMappingURL=p-CmU1ZQVL.js.map
3178
+ export { Calendar as C, _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, defineCustomElement as d, getUTCISOWeek as e, getDefaultOptions as f, getUTCWeekYear as g, longFormatters as h, subMilliseconds as i, getTimezoneOffsetInMilliseconds as j, isProtectedWeekYearToken as k, locale as l, throwProtectedError as m, isProtectedDayOfYearToken as n, isValid as o, isBefore as p, isAfter as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, format as u, startOfDay as v, startOfMonth as w, isSameDay as x, isWeekend as y };
3179
+ //# sourceMappingURL=p-moCN4c_b.js.map
3115
3180
 
3116
- //# sourceMappingURL=p-CmU1ZQVL.js.map
3181
+ //# sourceMappingURL=p-moCN4c_b.js.map