@paperless/core 3.19.2 → 3.19.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/dist/build/p-9781d974.entry.js +1 -0
- package/dist/build/p-a001874d.entry.js +1 -0
- package/dist/build/p-cdd2faed.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-submenu-item.cjs.entry.js +22 -16
- package/dist/cjs/p-submenu.cjs.entry.js +92 -9
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.css +1 -1
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +37 -14
- package/dist/collection/components/molecules/submenu/menu/submenu.component.css +1 -1
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +106 -8
- package/dist/collection/components/molecules/submenu/menu/submenu.stories.js +8 -2
- package/dist/components/p-submenu-item.js +1 -1
- package/dist/components/p-submenu.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-submenu-item.entry.js +23 -17
- package/dist/esm/p-submenu.entry.js +92 -9
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-9781d974.entry.js +1 -0
- package/dist/paperless/p-a001874d.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/submenu/item/submenu-item.component.d.ts +7 -0
- package/dist/types/components/molecules/submenu/menu/submenu.component.d.ts +15 -0
- package/dist/types/components/molecules/submenu/menu/submenu.stories.d.ts +8 -1
- package/dist/types/components.d.ts +19 -0
- package/hydrate/index.js +127 -35
- package/hydrate/index.mjs +127 -35
- package/package.json +1 -1
- package/dist/build/p-5b0fe9d2.entry.js +0 -1
- package/dist/build/p-81e96c69.entry.js +0 -1
- package/dist/build/p-b344aaa1.js +0 -1
- package/dist/paperless/p-5b0fe9d2.entry.js +0 -1
- package/dist/paperless/p-81e96c69.entry.js +0 -1
|
@@ -7,7 +7,7 @@ var cn = require('./cn-Cd68UVBT.js');
|
|
|
7
7
|
require('./clsx-BtxeOLZW.js');
|
|
8
8
|
require('./state-DM8SZBNO.js');
|
|
9
9
|
|
|
10
|
-
const submenuComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left
|
|
10
|
+
const submenuComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-6{left:1.5rem}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-\\[1\\]{z-index:1}.m-0{margin:0}.m-2{margin:.5rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.flex{display:flex}.size-4{height:1rem;width:1rem}.h-8{height:2rem}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-px{width:1px}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.bg-hurricane-400{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-200{--tw-bg-opacity:1;background-color:rgb(199 217 253/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.bg-off-white-400{--tw-bg-opacity:1;background-color:rgb(245 244 241/var(--tw-bg-opacity,1))}.bg-storm-500\\/30{background-color:rgba(24,30,41,.3)}.bg-transparent{background-color:transparent}.p-2{padding:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.transition-\\[max-height\\]{transition-duration:.15s;transition-property:max-height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\\/submenu-header:hover .group-hover\\/submenu-header\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-600\\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.3)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-storm-500\\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.3)}.dark\\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\\:text-indigo-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.group\\/submenu-header:hover .dark\\:group-hover\\/submenu-header\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-600\\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.3)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-storm-500\\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.3)}.dark\\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\\:text-indigo-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.group\\/submenu-header:hover .dark\\:group-hover\\/submenu-header\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
11
11
|
|
|
12
12
|
const header = index$1.cva([
|
|
13
13
|
'group/submenu-header',
|
|
@@ -16,6 +16,7 @@ const header = index$1.cva([
|
|
|
16
16
|
'rounded-lg',
|
|
17
17
|
'cursor-pointer',
|
|
18
18
|
'transition-colors',
|
|
19
|
+
'relative',
|
|
19
20
|
], {
|
|
20
21
|
variants: {
|
|
21
22
|
open: {
|
|
@@ -94,6 +95,36 @@ const Submenu = class {
|
|
|
94
95
|
*/
|
|
95
96
|
open = false;
|
|
96
97
|
get _el() { return index.getElement(this); }
|
|
98
|
+
_activeItemPosition = -1;
|
|
99
|
+
_showItemIndicator = false;
|
|
100
|
+
_headerOffset = 0;
|
|
101
|
+
_submenuItems = [];
|
|
102
|
+
_hoveringItem = undefined;
|
|
103
|
+
_itemActiveListener = () => {
|
|
104
|
+
const activeItemIndex = this._submenuItems.findIndex(i => i.active === true);
|
|
105
|
+
this.active = activeItemIndex !== -1;
|
|
106
|
+
if (activeItemIndex === -1) {
|
|
107
|
+
this._showItemIndicator = false;
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
this._setItemPosition(this._submenuItems[activeItemIndex]);
|
|
111
|
+
};
|
|
112
|
+
_itemMouseEnterListener = (event) => {
|
|
113
|
+
if (this._hoveringItem && this._hoveringItem === event.target) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
this._hoveringItem = event.target;
|
|
117
|
+
this._setItemPosition(this._hoveringItem);
|
|
118
|
+
};
|
|
119
|
+
_itemMouseLeaveListener = (event) => {
|
|
120
|
+
setTimeout(() => {
|
|
121
|
+
if (this._hoveringItem && this._hoveringItem !== event.target) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
this._hoveringItem = undefined;
|
|
125
|
+
this._itemActiveListener();
|
|
126
|
+
}, 100);
|
|
127
|
+
};
|
|
97
128
|
componentDidLoad() {
|
|
98
129
|
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
99
130
|
const hasActiveChild = [...submenuItems].some(i => i.active === true);
|
|
@@ -105,35 +136,87 @@ const Submenu = class {
|
|
|
105
136
|
}
|
|
106
137
|
this.open = true;
|
|
107
138
|
}
|
|
139
|
+
componentDidRender() {
|
|
140
|
+
this._calculateHeaderOffset();
|
|
141
|
+
}
|
|
142
|
+
disconnectedCallback() {
|
|
143
|
+
this._removeListeners();
|
|
144
|
+
}
|
|
108
145
|
render() {
|
|
109
146
|
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
110
147
|
const firstItem = getComputedStyle(submenuItems[0]);
|
|
111
148
|
const maxHeight = submenuItems.length *
|
|
112
149
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
113
150
|
16; // the margin of the content
|
|
114
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
151
|
+
return (index.h(themedHost_component.ThemedHost, { key: '98584c2906cf44bfc6d0a6ceeadbeac5decfc5b7' }, index.h("div", { key: '1ca2652294e276dbee1ad2e8fdde02d1bc758077', class: 'flex w-full flex-col' }, index.h("div", { key: '3ea18a2afbac997d8f5a4468e4cc725229db5732', class: cn.cn(header({
|
|
115
152
|
active: this.active,
|
|
116
153
|
open: this.open,
|
|
117
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (index.h("div", { key: '
|
|
154
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (index.h("div", { key: '45181da138600d02b6a5195cf16af0b38bb16041', class: indexContainer({
|
|
118
155
|
active: this.active,
|
|
119
156
|
open: this.open,
|
|
120
|
-
}) }, this.index)), index.h("div", { key: '
|
|
157
|
+
}) }, this.index)), index.h("div", { key: 'f01041af66063b671c3418a85dd6bae6092ee869', class: 'flex flex-1 flex-col' }, index.h("p", { key: '02884dad8820a7e8bb969ca6f69a9d86f65fe07a', class: cn.cn('m-0 text-sm', {
|
|
121
158
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
122
159
|
'text-storm-500 dark:text-white': this.active,
|
|
123
|
-
}) }, this.title), index.h("p", { key: '
|
|
160
|
+
}) }, this.title), index.h("p", { key: 'ed8e8933f2bdf88b593564ffbd528f30be8e0404', class: cn.cn('m-0 text-xs', {
|
|
124
161
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
125
162
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
126
|
-
}) }, this.subtitle)), index.h("p-icon", { key: '
|
|
163
|
+
}) }, this.subtitle)), index.h("p-icon", { key: 'c4ad449abe6686983031577c6e7eca6e416c43ef', class: cn.cn({
|
|
127
164
|
'text-storm-500 dark:text-white': this.active,
|
|
128
165
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
129
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), index.h("div", { key: '
|
|
166
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), index.h("div", { key: '86f1e812ee4da1903cf30f1066e45ff841664645', class: cn.cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
130
167
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
131
|
-
} }, index.h("div", { key: '
|
|
168
|
+
} }, index.h("div", { key: 'd8a9819377e081d2dc9a916901e7f6aae0d25bde', class: cn.cn('absolute left-6 top-0 z-0 w-px', {
|
|
132
169
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
133
170
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
134
171
|
}), style: {
|
|
135
172
|
height: `${maxHeight}px`,
|
|
136
|
-
} }), index.h("div", { key: '
|
|
173
|
+
} }), index.h("div", { key: '05e580e7d2cb16b1efbfd7705b0166b54081dea4', class: cn.cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
174
|
+
'bg-indigo-600': this._showItemIndicator,
|
|
175
|
+
'bg-transparent': !this._showItemIndicator,
|
|
176
|
+
}), style: {
|
|
177
|
+
transform: `translateY(${this._activeItemPosition}px)`,
|
|
178
|
+
} }), index.h("div", { key: 'b9b1bf668a1965732fe72eb3566eed336c356e29', class: 'z-10 my-2 flex flex-col' }, index.h("slot", { key: '654f4a19477c696fa01735d11fdd86d5d7efd543', onSlotchange: () => this._slotChanged() }))))));
|
|
179
|
+
}
|
|
180
|
+
onWindowResize() {
|
|
181
|
+
this._calculateHeaderOffset();
|
|
182
|
+
this._itemActiveListener();
|
|
183
|
+
}
|
|
184
|
+
_calculateHeaderOffset() {
|
|
185
|
+
const headerEl = this._el.shadowRoot?.querySelector(String.raw `.group\/submenu-header`);
|
|
186
|
+
if (!headerEl) {
|
|
187
|
+
this._activeItemPosition = -1;
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
this._headerOffset = headerEl.getBoundingClientRect().bottom;
|
|
191
|
+
}
|
|
192
|
+
_setItemPosition(item) {
|
|
193
|
+
if (!item) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
this._activeItemPosition =
|
|
197
|
+
item.getBoundingClientRect().top - this._headerOffset;
|
|
198
|
+
if (!this._showItemIndicator) {
|
|
199
|
+
setTimeout(() => (this._showItemIndicator = true), 50);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
_slotChanged() {
|
|
203
|
+
this._removeListeners();
|
|
204
|
+
const submenuItems = [...this._el.querySelectorAll('p-submenu-item')];
|
|
205
|
+
for (const item of submenuItems) {
|
|
206
|
+
item.addEventListener('activeChange', this._itemActiveListener);
|
|
207
|
+
item.addEventListener('mouseenter', this._itemMouseEnterListener);
|
|
208
|
+
item.addEventListener('mouseleave', this._itemMouseLeaveListener);
|
|
209
|
+
}
|
|
210
|
+
this._submenuItems = submenuItems;
|
|
211
|
+
}
|
|
212
|
+
_removeListeners() {
|
|
213
|
+
if (this._submenuItems.length > 0) {
|
|
214
|
+
for (const item of this._submenuItems) {
|
|
215
|
+
item.removeEventListener('activeChange', this._itemActiveListener);
|
|
216
|
+
item.removeEventListener('mouseenter', this._itemMouseEnterListener);
|
|
217
|
+
item.removeEventListener('mouseleave', this._itemMouseLeaveListener);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
137
220
|
}
|
|
138
221
|
};
|
|
139
222
|
Submenu.style = submenuComponentCss();
|
|
@@ -45,7 +45,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
45
45
|
|
|
46
46
|
patchBrowser().then(async (options) => {
|
|
47
47
|
await index.globalScripts();
|
|
48
|
-
return index.bootstrapLazy(JSON.parse("[[\"p-button_3.cjs\",[[769,\"p-button\",{\"label\":[1],\"as\":[1],\"underline\":[4],\"tabIndex\":[2,\"tab-index\"],\"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\"]]],[769,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[513,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table.cjs\",[[772,\"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],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"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],\"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],\"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],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"shadow\":[4],\"_locales\":[32],\"_extraHeaders\":[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\":0}],\"enableRowSelection\":[{\"_setRowSelectionData\":0}],\"rowSelectionLimit\":[{\"_setRowSelectionData\":0}],\"selectedRows\":[{\"_setRowSelectionData\":0}]}]]],[\"p-select.cjs\",[[576,\"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\":0}],\"items\":[{\"itemChanges\":0}],\"_showDropdown\":[{\"_showDropdownChanges\":0}],\"multi\":[{\"multiChanges\":0}]}]]],[\"p-datepicker.cjs\",[[576,\"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\":0}],\"minDate\":[{\"parseMinDate\":0}],\"maxDate\":[{\"parseMaxDate\":0}],\"disabledDates\":[{\"parseDisabledDates\":0}]}]]],[\"p-modal.cjs\",[[769,\"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.cjs\",[[769,\"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.cjs\",[[513,\"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.cjs\",[[769,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar.cjs\",[[769,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-accordion.cjs\",[[769,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4],\"label\":[1],\"labelVariant\":[1,\"label-variant\"],\"labelIcon\":[1,\"label-icon\"]}]]],[\"p-card-header.cjs\",[[769,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"divider\":[4]}]]],[\"p-navigation-item.cjs\",[[774,\"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-cropper.cjs\",[[513,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-dropzone.cjs\",[[769,\"p-dropzone\",{\"icon\":[1],\"showIcon\":[4,\"show-icon\"],\"acceptGroup\":[1,\"accept-group\"],\"fileId\":[1,\"file-id\"],\"loading\":[4],\"allowMultiple\":[4,\"allow-multiple\"],\"uploaded\":[4],\"addedString\":[1,\"added-string\"],\"dragFileString\":[1,\"drag-file-string\"],\"orClickString\":[1,\"or-click-string\"],\"_isOver\":[32]},[[1,\"drop\",\"onDrop\"],[1,\"dragover\",\"onDragOver\"],[1,\"dragleave\",\"onDragLeave\"]]]]],[\"p-stepper.cjs\",[[769,\"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\":0}],\"direction\":[{\"_onDirectionChange\":0}],\"activeStep\":[{\"_onActiveStepChange\":0}]}]]],[\"p-info-panel.cjs\",[[769,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-listing.cjs\",[[769,\"p-listing\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item.cjs\",[[769,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section.cjs\",[[772,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-submenu.cjs\",[[769,\"p-submenu\",{\"title\":[513],\"subtitle\":[513],\"index\":[514],\"showIndex\":[516,\"show-index\"],\"active\":[516],\"open\":[516]}]]],[\"p-submenu-item.cjs\",[[769,\"p-submenu-item\",{\"active\":[516],\"icon\":[513]}]]],[\"p-tab-container.cjs\",[[257,\"p-tab-container\"]]],[\"p-toast.cjs\",[[769,\"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.cjs\",[[772,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group.cjs\",[[769,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body.cjs\",[[257,\"p-card-body\"]]],[\"p-card-container.cjs\",[[769,\"p-card-container\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[4]}]]],[\"p-content-slider.cjs\",[[769,\"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.cjs\",[[513,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-layout.cjs\",[[769,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio.cjs\",[[836,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item.cjs\",[[769,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column.cjs\",[[512,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"headerAlign\":[1537,\"header-align\"],\"sticky\":[1544],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-extra-header.cjs\",[[512,\"p-table-extra-header\",{\"name\":[1537],\"sticky\":[1544],\"useSlot\":[1540,\"use-slot\"],\"align\":[1537],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-row-action.cjs\",[[512,\"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]}]]],[\"p-toast-container.cjs\",[[769,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle.cjs\",[[836,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar.cjs\",[[513,\"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\":0}],\"minDate\":[{\"_parseMinDate\":0}],\"maxDate\":[{\"_parseMaxDate\":0}],\"disabledDates\":[{\"_parseDisabledDates\":0}],\"mode\":[{\"_modeChange\":0}]}]]],[\"p-label.cjs\",[[769,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-range.cjs\",[[513,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar.cjs\",[[512,\"p-avatar\",{\"variant\":[1],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[{\"onSrchChange\":0}]}]]],[\"p-listing-line.cjs\",[[1,\"p-listing-line\"]]],[\"p-navigation-title.cjs\",[[257,\"p-navigation-title\"]]],[\"p-floating-menu-item.cjs\",[[772,\"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.cjs\",[[769,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[513,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration.cjs\",[[512,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3.cjs\",[[769,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-drawer-body\"],[769,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop.cjs\",[[769,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-smile.cjs\",[[512,\"p-smile\",{\"variant\":[1]}]]],[\"p-divider.cjs\",[[769,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-modal-body_4.cjs\",[[769,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-modal-footer\"],[769,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[769,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-badge_3.cjs\",[[769,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[257,\"p-segment-container\"],[257,\"p-badge\"]]],[\"p-tooltip.cjs\",[[769,\"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\":0}],\"content\":[{\"onContentChange\":0}]}]]],[\"p-checkbox_3.cjs\",[[836,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[769,\"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\"],\"manualChevron\":[4,\"manual-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[{\"onShowChange\":0}]}],[769,\"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.cjs\",[[769,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[769,\"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-field_3.cjs\",[[833,\"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],\"enablePasswordEye\":[4,\"enable-password-eye\"],\"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],\"_focused\":[32],\"_nonce\":[32],\"_type\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[{\"watchvalue\":0}]}],[769,\"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],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3.cjs\",[[513,\"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],\"_hasPaginationPages\":[32]}],[513,\"p-pagination-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16],\"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\":0}],\"pageSize\":[{\"pageChangeHandler\":0}],\"total\":[{\"pageChangeHandler\":0}]}],[769,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8.cjs\",[[513,\"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],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[769,\"p-table-header\",{\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"hideQuickFiltersOnMobile\":[4,\"hide-quick-filters-on-mobile\"],\"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],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-empty-state\",{\"illustration\":[1],\"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\"]}],[769,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[772,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"checkboxOffset\":[4,\"checkbox-offset\"],\"template\":[16]}],[769,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[260,\"p-table-container\"],[769,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
48
|
+
return index.bootstrapLazy(JSON.parse("[[\"p-button_3.cjs\",[[769,\"p-button\",{\"label\":[1],\"as\":[1],\"underline\":[4],\"tabIndex\":[2,\"tab-index\"],\"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\"]]],[769,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[513,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table.cjs\",[[772,\"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],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"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],\"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],\"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],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"shadow\":[4],\"_locales\":[32],\"_extraHeaders\":[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\":0}],\"enableRowSelection\":[{\"_setRowSelectionData\":0}],\"rowSelectionLimit\":[{\"_setRowSelectionData\":0}],\"selectedRows\":[{\"_setRowSelectionData\":0}]}]]],[\"p-select.cjs\",[[576,\"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\":0}],\"items\":[{\"itemChanges\":0}],\"_showDropdown\":[{\"_showDropdownChanges\":0}],\"multi\":[{\"multiChanges\":0}]}]]],[\"p-datepicker.cjs\",[[576,\"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\":0}],\"minDate\":[{\"parseMinDate\":0}],\"maxDate\":[{\"parseMaxDate\":0}],\"disabledDates\":[{\"parseDisabledDates\":0}]}]]],[\"p-modal.cjs\",[[769,\"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.cjs\",[[769,\"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.cjs\",[[513,\"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.cjs\",[[769,\"p-profile\",{\"dropdownLocation\":[1,\"dropdown-location\"],\"_dropdownOpen\":[32],\"_hasDropdownSlot\":[32]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-navbar.cjs\",[[769,\"p-navbar\",{\"_show\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-accordion.cjs\",[[769,\"p-accordion\",{\"variant\":[1],\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4],\"label\":[1],\"labelVariant\":[1,\"label-variant\"],\"labelIcon\":[1,\"label-icon\"]}]]],[\"p-card-header.cjs\",[[769,\"p-card-header\",{\"variant\":[1],\"header\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"divider\":[4]}]]],[\"p-navigation-item.cjs\",[[774,\"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-cropper.cjs\",[[513,\"p-cropper\",{\"value\":[1],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-dropzone.cjs\",[[769,\"p-dropzone\",{\"icon\":[1],\"showIcon\":[4,\"show-icon\"],\"acceptGroup\":[1,\"accept-group\"],\"fileId\":[1,\"file-id\"],\"loading\":[4],\"allowMultiple\":[4,\"allow-multiple\"],\"uploaded\":[4],\"addedString\":[1,\"added-string\"],\"dragFileString\":[1,\"drag-file-string\"],\"orClickString\":[1,\"or-click-string\"],\"_isOver\":[32]},[[1,\"drop\",\"onDrop\"],[1,\"dragover\",\"onDragOver\"],[1,\"dragleave\",\"onDragLeave\"]]]]],[\"p-stepper.cjs\",[[769,\"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\":0}],\"direction\":[{\"_onDirectionChange\":0}],\"activeStep\":[{\"_onActiveStepChange\":0}]}]]],[\"p-info-panel.cjs\",[[769,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-listing.cjs\",[[769,\"p-listing\",{\"_generatedOnce\":[32]}]]],[\"p-listing-item.cjs\",[[769,\"p-listing-item\",{\"icon\":[1]}]]],[\"p-navigation-section.cjs\",[[772,\"p-navigation-section\",{\"header\":[1]}]]],[\"p-submenu.cjs\",[[769,\"p-submenu\",{\"title\":[513],\"subtitle\":[513],\"index\":[514],\"showIndex\":[516,\"show-index\"],\"active\":[516],\"open\":[516],\"_activeItemPosition\":[32],\"_showItemIndicator\":[32]},[[9,\"resize\",\"onWindowResize\"]]]]],[\"p-submenu-item.cjs\",[[769,\"p-submenu-item\",{\"active\":[516],\"icon\":[513]}]]],[\"p-tab-container.cjs\",[[257,\"p-tab-container\"]]],[\"p-toast.cjs\",[[769,\"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.cjs\",[[772,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-button-group.cjs\",[[769,\"p-button-group\",{\"size\":[1]},[[0,\"slotchange\",\"slotchange\"]]]]],[\"p-card-body.cjs\",[[257,\"p-card-body\"]]],[\"p-card-container.cjs\",[[769,\"p-card-container\",{\"variant\":[1],\"bgClass\":[1,\"bg-class\"],\"active\":[4],\"hoverable\":[4],\"shadow\":[4],\"border\":[4]}]]],[\"p-content-slider.cjs\",[[769,\"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.cjs\",[[513,\"p-iban-icon\",{\"iban\":[513],\"variant\":[513]}]]],[\"p-layout.cjs\",[[769,\"p-layout\",{\"variant\":[1]}]]],[\"p-radio.cjs\",[[836,\"p-radio\",{\"value\":[1],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"checked\":[516],\"_nonce\":[32]}]]],[\"p-tab-item.cjs\",[[769,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column.cjs\",[[512,\"p-table-column\",{\"path\":[1537],\"variant\":[1537],\"name\":[1537],\"flex\":[1540],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"headerAlign\":[1537,\"header-align\"],\"sticky\":[1544],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-extra-header.cjs\",[[512,\"p-table-extra-header\",{\"name\":[1537],\"sticky\":[1544],\"useSlot\":[1540,\"use-slot\"],\"align\":[1537],\"parsedSizes\":[1040],\"sizes\":[1032]}]]],[\"p-table-row-action.cjs\",[[512,\"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]}]]],[\"p-toast-container.cjs\",[[769,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-toggle.cjs\",[[836,\"p-toggle\",{\"checked\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}]]],[\"p-calendar.cjs\",[[513,\"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\":0}],\"minDate\":[{\"_parseMinDate\":0}],\"maxDate\":[{\"_parseMaxDate\":0}],\"disabledDates\":[{\"_parseDisabledDates\":0}],\"mode\":[{\"_modeChange\":0}]}]]],[\"p-label.cjs\",[[769,\"p-label\",{\"variant\":[513],\"iconOnly\":[516,\"icon-only\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"keepMobileContent\":[516,\"keep-mobile-content\"]}]]],[\"p-range.cjs\",[[513,\"p-range\",{\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[2]}]]],[\"p-avatar.cjs\",[[512,\"p-avatar\",{\"variant\":[1],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[{\"onSrchChange\":0}]}]]],[\"p-listing-line.cjs\",[[1,\"p-listing-line\"]]],[\"p-navigation-title.cjs\",[[257,\"p-navigation-title\"]]],[\"p-floating-menu-item.cjs\",[[772,\"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.cjs\",[[769,\"p-stepper-item\",{\"number\":[2],\"direction\":[1],\"align\":[1],\"contentPosition\":[1,\"content-position\"],\"finished\":[4],\"active\":[4]}],[513,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-illustration.cjs\",[[512,\"p-illustration\",{\"variant\":[1]}]]],[\"p-drawer-body_3.cjs\",[[769,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-drawer-body\"],[769,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop.cjs\",[[769,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"],\"class\":[1]},[[2,\"click\",\"handleClick\"]]]]],[\"p-smile.cjs\",[[512,\"p-smile\",{\"variant\":[1]}]]],[\"p-divider.cjs\",[[769,\"p-divider\",{\"variant\":[513],\"alignContent\":[513,\"align-content\"]}]]],[\"p-modal-body_4.cjs\",[[769,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[257,\"p-modal-footer\"],[769,\"p-modal-body\",{\"roundedBottom\":[4,\"rounded-bottom\"],\"roundedTop\":[4,\"rounded-top\"]}],[769,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-badge_3.cjs\",[[769,\"p-segment-item\",{\"variant\":[1],\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[257,\"p-segment-container\"],[257,\"p-badge\"]]],[\"p-tooltip.cjs\",[[769,\"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\":0}],\"content\":[{\"onContentChange\":0}]}]]],[\"p-checkbox_3.cjs\",[[836,\"p-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"disabled\":[516],\"required\":[516],\"id\":[513],\"name\":[513],\"_nonce\":[32]}],[769,\"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\"],\"manualChevron\":[4,\"manual-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"],\"containerClass\":[1,\"container-class\"],\"isDatepicker\":[4,\"is-datepicker\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[{\"onShowChange\":0}]}],[769,\"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.cjs\",[[769,\"p-pagination-pages-item\",{\"variant\":[1],\"active\":[4],\"hover\":[4],\"disabled\":[4]}],[769,\"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-field_3.cjs\",[[833,\"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],\"enablePasswordEye\":[4,\"enable-password-eye\"],\"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],\"_focused\":[32],\"_nonce\":[32],\"_type\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"],[2,\"keyup\",\"handleKeyup\"],[2,\"keydown\",\"handleKeydown\"]],{\"value\":[{\"watchvalue\":0}]}],[769,\"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],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-helper\",{\"strategy\":[1],\"placement\":[1]}]]],[\"p-pagination_3.cjs\",[[513,\"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],\"_hasPaginationPages\":[32]}],[513,\"p-pagination-pages\",{\"page\":[1538],\"dropdownPageTemplate\":[16],\"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\":0}],\"pageSize\":[{\"pageChangeHandler\":0}],\"total\":[{\"pageChangeHandler\":0}]}],[769,\"p-pagination-size\",{\"size\":[1538],\"sizeOptions\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"dropdownIsOpen\":[32],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]]]],[\"p-empty-state_8.cjs\",[[513,\"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],\"tableHeaderHasAction\":[4,\"table-header-has-action\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_isPinned\":[32],\"_hasPaginationPages\":[32]},[[9,\"scroll\",\"onScroll\"]]],[769,\"p-table-header\",{\"quickFilters\":[1,\"quick-filters\"],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"hideQuickFiltersOnMobile\":[4,\"hide-quick-filters-on-mobile\"],\"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],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[769,\"p-empty-state\",{\"illustration\":[1],\"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\"]}],[769,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"],\"enableAmountSelected\":[4,\"enable-amount-selected\"],\"amount\":[2],\"enableClose\":[4,\"enable-close\"],\"amountSelectedTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[772,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[8],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"checkboxOffset\":[4,\"checkbox-offset\"],\"template\":[16]}],[769,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"checked\":[4],\"isLast\":[4,\"is-last\"]}],[260,\"p-table-container\"],[769,\"p-table-row-actions-container\",{\"checked\":[4]}]]]]"), options);
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
exports.setNonce = index.setNonce;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.
|
|
1
|
+
*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.w-full{width:100%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.pl-\[calc\(3rem\+2px\)\]{padding-left:calc(3rem + 2px)}.text-hurricane-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
3
|
import { cn } from "../../../../utils";
|
|
5
|
-
const content = cva([
|
|
6
|
-
'flex items-center gap-6',
|
|
7
|
-
'h-8 w-full pl-6',
|
|
8
|
-
'cursor-pointer',
|
|
9
|
-
'group/submenu-item',
|
|
10
|
-
], {
|
|
11
|
-
variants: {},
|
|
12
|
-
});
|
|
13
4
|
export class SubmenuItem {
|
|
14
5
|
/**
|
|
15
6
|
* Wether the submenu is active or not
|
|
@@ -19,14 +10,28 @@ export class SubmenuItem {
|
|
|
19
10
|
* Icon to show on the label
|
|
20
11
|
*/
|
|
21
12
|
icon = 'placeholder';
|
|
13
|
+
/**
|
|
14
|
+
* Event when the active state changes
|
|
15
|
+
*/
|
|
16
|
+
activeChange;
|
|
17
|
+
_lastActiveState = this.active;
|
|
18
|
+
componentDidRender() {
|
|
19
|
+
if (this._lastActiveState === this.active) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
this._lastActiveState = this.active;
|
|
23
|
+
this.activeChange.emit(this.active);
|
|
24
|
+
}
|
|
22
25
|
render() {
|
|
23
|
-
return (h(ThemedHost, { key: '
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
|
|
26
|
+
return (h(ThemedHost, { key: '38bbc84752e1aa8271568aad5c1fd46bfa435d9a' }, h("div", { key: 'a17fb921e57780d1ff572a3d1ba10331b045276e', class: cn([
|
|
27
|
+
'flex items-center',
|
|
28
|
+
'h-8 w-full pl-[calc(3rem+2px)]',
|
|
29
|
+
'cursor-pointer',
|
|
30
|
+
'group/submenu-item',
|
|
31
|
+
]) }, h("div", { key: 'd9c949c6f467524e0590a19774ae86c06e234fe5', class: cn('flex items-center gap-2 transition-colors', {
|
|
27
32
|
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
28
33
|
'text-indigo-600': this.active,
|
|
29
|
-
}) }, h("p-icon", { key: '
|
|
34
|
+
}) }, h("p-icon", { key: '8eed69a5fd4cef34ef69d7e5a96993289effc37e', variant: this.icon }), h("slot", { key: '5471376f37afb9566f21599ee0e86af42a00b370' })))));
|
|
30
35
|
}
|
|
31
36
|
static get is() { return "p-submenu-item"; }
|
|
32
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,4 +96,22 @@ export class SubmenuItem {
|
|
|
91
96
|
}
|
|
92
97
|
};
|
|
93
98
|
}
|
|
99
|
+
static get events() {
|
|
100
|
+
return [{
|
|
101
|
+
"method": "activeChange",
|
|
102
|
+
"name": "activeChange",
|
|
103
|
+
"bubbles": false,
|
|
104
|
+
"cancelable": true,
|
|
105
|
+
"composed": true,
|
|
106
|
+
"docs": {
|
|
107
|
+
"tags": [],
|
|
108
|
+
"text": "Event when the active state changes"
|
|
109
|
+
},
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "boolean",
|
|
112
|
+
"resolved": "boolean",
|
|
113
|
+
"references": {}
|
|
114
|
+
}
|
|
115
|
+
}];
|
|
116
|
+
}
|
|
94
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left
|
|
1
|
+
*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-6{left:1.5rem}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-\[1\]{z-index:1}.m-0{margin:0}.m-2{margin:.5rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.flex{display:flex}.size-4{height:1rem;width:1rem}.h-8{height:2rem}.w-\[2px\]{width:2px}.w-full{width:100%}.w-px{width:1px}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.bg-hurricane-400{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-200{--tw-bg-opacity:1;background-color:rgb(199 217 253/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.bg-off-white-400{--tw-bg-opacity:1;background-color:rgb(245 244 241/var(--tw-bg-opacity,1))}.bg-storm-500\/30{background-color:rgba(24,30,41,.3)}.bg-transparent{background-color:transparent}.p-2{padding:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.transition-\[max-height\]{transition-duration:.15s;transition-property:max-height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\/submenu-header:hover .group-hover\/submenu-header\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\:bg-indigo-600\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.3)}.dark\:bg-storm-500\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\:bg-storm-500\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.3)}.dark\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\:text-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\:text-indigo-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:hover\:bg-indigo-600\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.group\/submenu-header:hover .dark\:group-hover\/submenu-header\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\:bg-indigo-600\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.3)}.dark\:bg-storm-500\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\:bg-storm-500\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.3)}.dark\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\:text-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\:text-indigo-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:hover\:bg-indigo-600\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.group\/submenu-header:hover .dark\:group-hover\/submenu-header\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}
|
|
@@ -9,6 +9,7 @@ const header = cva([
|
|
|
9
9
|
'rounded-lg',
|
|
10
10
|
'cursor-pointer',
|
|
11
11
|
'transition-colors',
|
|
12
|
+
'relative',
|
|
12
13
|
], {
|
|
13
14
|
variants: {
|
|
14
15
|
open: {
|
|
@@ -87,6 +88,36 @@ export class Submenu {
|
|
|
87
88
|
* The host element
|
|
88
89
|
*/
|
|
89
90
|
_el;
|
|
91
|
+
_activeItemPosition = -1;
|
|
92
|
+
_showItemIndicator = false;
|
|
93
|
+
_headerOffset = 0;
|
|
94
|
+
_submenuItems = [];
|
|
95
|
+
_hoveringItem = undefined;
|
|
96
|
+
_itemActiveListener = () => {
|
|
97
|
+
const activeItemIndex = this._submenuItems.findIndex(i => i.active === true);
|
|
98
|
+
this.active = activeItemIndex !== -1;
|
|
99
|
+
if (activeItemIndex === -1) {
|
|
100
|
+
this._showItemIndicator = false;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
this._setItemPosition(this._submenuItems[activeItemIndex]);
|
|
104
|
+
};
|
|
105
|
+
_itemMouseEnterListener = (event) => {
|
|
106
|
+
if (this._hoveringItem && this._hoveringItem === event.target) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this._hoveringItem = event.target;
|
|
110
|
+
this._setItemPosition(this._hoveringItem);
|
|
111
|
+
};
|
|
112
|
+
_itemMouseLeaveListener = (event) => {
|
|
113
|
+
setTimeout(() => {
|
|
114
|
+
if (this._hoveringItem && this._hoveringItem !== event.target) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
this._hoveringItem = undefined;
|
|
118
|
+
this._itemActiveListener();
|
|
119
|
+
}, 100);
|
|
120
|
+
};
|
|
90
121
|
componentDidLoad() {
|
|
91
122
|
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
92
123
|
const hasActiveChild = [...submenuItems].some(i => i.active === true);
|
|
@@ -98,35 +129,87 @@ export class Submenu {
|
|
|
98
129
|
}
|
|
99
130
|
this.open = true;
|
|
100
131
|
}
|
|
132
|
+
componentDidRender() {
|
|
133
|
+
this._calculateHeaderOffset();
|
|
134
|
+
}
|
|
135
|
+
disconnectedCallback() {
|
|
136
|
+
this._removeListeners();
|
|
137
|
+
}
|
|
101
138
|
render() {
|
|
102
139
|
const submenuItems = this._el.querySelectorAll('p-submenu-item');
|
|
103
140
|
const firstItem = getComputedStyle(submenuItems[0]);
|
|
104
141
|
const maxHeight = submenuItems.length *
|
|
105
142
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
106
143
|
16; // the margin of the content
|
|
107
|
-
return (h(ThemedHost, { key: '
|
|
144
|
+
return (h(ThemedHost, { key: '98584c2906cf44bfc6d0a6ceeadbeac5decfc5b7' }, h("div", { key: '1ca2652294e276dbee1ad2e8fdde02d1bc758077', class: 'flex w-full flex-col' }, h("div", { key: '3ea18a2afbac997d8f5a4468e4cc725229db5732', class: cn(header({
|
|
108
145
|
active: this.active,
|
|
109
146
|
open: this.open,
|
|
110
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '
|
|
147
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '45181da138600d02b6a5195cf16af0b38bb16041', class: indexContainer({
|
|
111
148
|
active: this.active,
|
|
112
149
|
open: this.open,
|
|
113
|
-
}) }, this.index)), h("div", { key: '
|
|
150
|
+
}) }, this.index)), h("div", { key: 'f01041af66063b671c3418a85dd6bae6092ee869', class: 'flex flex-1 flex-col' }, h("p", { key: '02884dad8820a7e8bb969ca6f69a9d86f65fe07a', class: cn('m-0 text-sm', {
|
|
114
151
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
115
152
|
'text-storm-500 dark:text-white': this.active,
|
|
116
|
-
}) }, this.title), h("p", { key: '
|
|
153
|
+
}) }, this.title), h("p", { key: 'ed8e8933f2bdf88b593564ffbd528f30be8e0404', class: cn('m-0 text-xs', {
|
|
117
154
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
118
155
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
119
|
-
}) }, this.subtitle)), h("p-icon", { key: '
|
|
156
|
+
}) }, this.subtitle)), h("p-icon", { key: 'c4ad449abe6686983031577c6e7eca6e416c43ef', class: cn({
|
|
120
157
|
'text-storm-500 dark:text-white': this.active,
|
|
121
158
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
122
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: '
|
|
159
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: '86f1e812ee4da1903cf30f1066e45ff841664645', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
123
160
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
124
|
-
} }, h("div", { key: '
|
|
161
|
+
} }, h("div", { key: 'd8a9819377e081d2dc9a916901e7f6aae0d25bde', class: cn('absolute left-6 top-0 z-0 w-px', {
|
|
125
162
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
126
163
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
127
164
|
}), style: {
|
|
128
165
|
height: `${maxHeight}px`,
|
|
129
|
-
} }), h("div", { key: '
|
|
166
|
+
} }), h("div", { key: '05e580e7d2cb16b1efbfd7705b0166b54081dea4', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
167
|
+
'bg-indigo-600': this._showItemIndicator,
|
|
168
|
+
'bg-transparent': !this._showItemIndicator,
|
|
169
|
+
}), style: {
|
|
170
|
+
transform: `translateY(${this._activeItemPosition}px)`,
|
|
171
|
+
} }), h("div", { key: 'b9b1bf668a1965732fe72eb3566eed336c356e29', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: '654f4a19477c696fa01735d11fdd86d5d7efd543', onSlotchange: () => this._slotChanged() }))))));
|
|
172
|
+
}
|
|
173
|
+
onWindowResize() {
|
|
174
|
+
this._calculateHeaderOffset();
|
|
175
|
+
this._itemActiveListener();
|
|
176
|
+
}
|
|
177
|
+
_calculateHeaderOffset() {
|
|
178
|
+
const headerEl = this._el.shadowRoot?.querySelector(String.raw `.group\/submenu-header`);
|
|
179
|
+
if (!headerEl) {
|
|
180
|
+
this._activeItemPosition = -1;
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
this._headerOffset = headerEl.getBoundingClientRect().bottom;
|
|
184
|
+
}
|
|
185
|
+
_setItemPosition(item) {
|
|
186
|
+
if (!item) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
this._activeItemPosition =
|
|
190
|
+
item.getBoundingClientRect().top - this._headerOffset;
|
|
191
|
+
if (!this._showItemIndicator) {
|
|
192
|
+
setTimeout(() => (this._showItemIndicator = true), 50);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
_slotChanged() {
|
|
196
|
+
this._removeListeners();
|
|
197
|
+
const submenuItems = [...this._el.querySelectorAll('p-submenu-item')];
|
|
198
|
+
for (const item of submenuItems) {
|
|
199
|
+
item.addEventListener('activeChange', this._itemActiveListener);
|
|
200
|
+
item.addEventListener('mouseenter', this._itemMouseEnterListener);
|
|
201
|
+
item.addEventListener('mouseleave', this._itemMouseLeaveListener);
|
|
202
|
+
}
|
|
203
|
+
this._submenuItems = submenuItems;
|
|
204
|
+
}
|
|
205
|
+
_removeListeners() {
|
|
206
|
+
if (this._submenuItems.length > 0) {
|
|
207
|
+
for (const item of this._submenuItems) {
|
|
208
|
+
item.removeEventListener('activeChange', this._itemActiveListener);
|
|
209
|
+
item.removeEventListener('mouseenter', this._itemMouseEnterListener);
|
|
210
|
+
item.removeEventListener('mouseleave', this._itemMouseLeaveListener);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
130
213
|
}
|
|
131
214
|
static get is() { return "p-submenu"; }
|
|
132
215
|
static get encapsulation() { return "shadow"; }
|
|
@@ -264,5 +347,20 @@ export class Submenu {
|
|
|
264
347
|
}
|
|
265
348
|
};
|
|
266
349
|
}
|
|
350
|
+
static get states() {
|
|
351
|
+
return {
|
|
352
|
+
"_activeItemPosition": {},
|
|
353
|
+
"_showItemIndicator": {}
|
|
354
|
+
};
|
|
355
|
+
}
|
|
267
356
|
static get elementRef() { return "_el"; }
|
|
357
|
+
static get listeners() {
|
|
358
|
+
return [{
|
|
359
|
+
"name": "resize",
|
|
360
|
+
"method": "onWindowResize",
|
|
361
|
+
"target": "window",
|
|
362
|
+
"capture": false,
|
|
363
|
+
"passive": true
|
|
364
|
+
}];
|
|
365
|
+
}
|
|
268
366
|
}
|