@paperless/core 2.0.1-beta.23 → 2.0.1-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/build/{p-5b93f608.entry.js → p-0669c7e2.entry.js} +2 -2
- package/dist/build/{p-020a97e3.entry.js → p-20ea5e27.entry.js} +2 -2
- package/dist/build/p-20ea5e27.entry.js.map +1 -0
- package/dist/build/p-3b276ae0.entry.js +2 -0
- package/dist/build/p-3b276ae0.entry.js.map +1 -0
- package/dist/build/p-3ffe9aca.js +2 -0
- package/dist/build/{p-3feb4bd9.entry.js → p-401ff01b.entry.js} +2 -2
- package/dist/build/{p-5cecb014.entry.js → p-479bdcc8.entry.js} +2 -2
- package/dist/build/{p-d9c32e3e.entry.js → p-4e31af7e.entry.js} +2 -2
- package/dist/build/{p-9cc50361.entry.js → p-83055eac.entry.js} +2 -2
- package/dist/build/{p-46d0e091.entry.js → p-8b1a485b.entry.js} +2 -2
- package/dist/build/p-cb8ecae7.entry.js +2 -0
- package/dist/build/p-cb8ecae7.entry.js.map +1 -0
- package/dist/{paperless/p-0a6d3edd.entry.js → build/p-ccbd2de0.entry.js} +2 -2
- package/dist/build/p-dbbf732c.entry.js +2 -0
- package/dist/build/p-dbbf732c.entry.js.map +1 -0
- package/dist/build/p-e5a54d05.entry.js +2 -0
- package/dist/build/p-e5a54d05.entry.js.map +1 -0
- package/dist/build/{p-ec082bfe.entry.js → p-f56de35e.entry.js} +2 -2
- package/dist/build/p-fc9cfbd1.entry.js +2 -0
- package/dist/build/{p-0ce335d4.entry.js → p-fde8b75b.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-3f9bbc0c.js +16 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{p-field_3.cjs.entry.js → p-field_2.cjs.entry.js} +18 -20
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +4 -4
- package/dist/cjs/{p-portal_2.cjs.entry.js → p-helper_2.cjs.entry.js} +10 -15
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +4 -1
- package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +130 -0
- package/dist/cjs/p-input-group.cjs.entry.js.map +1 -0
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
- package/dist/cjs/p-portal.cjs.entry.js +29 -0
- package/dist/cjs/p-portal.cjs.entry.js.map +1 -0
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js +4 -1
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field.component.js +37 -3
- package/dist/collection/components/molecules/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +486 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -0
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/components/field.component.js +18 -3
- package/dist/components/field.component.js.map +1 -1
- package/dist/components/p-icon-deprecated.js +4 -1
- package/dist/components/p-icon-deprecated.js.map +1 -1
- package/dist/components/p-input-group.d.ts +11 -0
- package/dist/components/p-input-group.js +192 -0
- package/dist/components/p-input-group.js.map +1 -0
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-row.component.js +2 -2
- package/dist/esm/index-2ef94580.js +16 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{p-field_3.entry.js → p-field_2.entry.js} +19 -20
- package/dist/esm/p-field_2.entry.js.map +1 -0
- package/dist/esm/p-floating-menu-container_8.entry.js +4 -4
- package/dist/esm/{p-portal_2.entry.js → p-helper_2.entry.js} +11 -16
- package/dist/esm/p-helper_2.entry.js.map +1 -0
- package/dist/esm/p-icon-deprecated.entry.js +4 -1
- package/dist/esm/p-icon-deprecated.entry.js.map +1 -1
- package/dist/esm/p-input-group.entry.js +126 -0
- package/dist/esm/p-input-group.entry.js.map +1 -0
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +1 -1
- package/dist/esm/p-portal.entry.js +25 -0
- package/dist/esm/p-portal.entry.js.map +1 -0
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-5b93f608.entry.js → p-0669c7e2.entry.js} +2 -2
- package/dist/paperless/{p-020a97e3.entry.js → p-20ea5e27.entry.js} +2 -2
- package/dist/paperless/p-20ea5e27.entry.js.map +1 -0
- package/dist/paperless/p-3b276ae0.entry.js +2 -0
- package/dist/paperless/p-3b276ae0.entry.js.map +1 -0
- package/dist/paperless/{p-3feb4bd9.entry.js → p-401ff01b.entry.js} +2 -2
- package/dist/paperless/{p-5cecb014.entry.js → p-479bdcc8.entry.js} +2 -2
- package/dist/paperless/{p-d9c32e3e.entry.js → p-4e31af7e.entry.js} +2 -2
- package/dist/paperless/{p-9cc50361.entry.js → p-83055eac.entry.js} +2 -2
- package/dist/paperless/{p-46d0e091.entry.js → p-8b1a485b.entry.js} +2 -2
- package/dist/paperless/p-cb8ecae7.entry.js +2 -0
- package/dist/paperless/p-cb8ecae7.entry.js.map +1 -0
- package/dist/{build/p-0a6d3edd.entry.js → paperless/p-ccbd2de0.entry.js} +2 -2
- package/dist/paperless/p-dbbf732c.entry.js +2 -0
- package/dist/paperless/p-dbbf732c.entry.js.map +1 -0
- package/dist/paperless/p-e5a54d05.entry.js +2 -0
- package/dist/paperless/p-e5a54d05.entry.js.map +1 -0
- package/dist/paperless/{p-ec082bfe.entry.js → p-f56de35e.entry.js} +2 -2
- package/dist/paperless/p-fc9cfbd1.entry.js +2 -0
- package/dist/paperless/{p-0ce335d4.entry.js → p-fde8b75b.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +1 -0
- package/dist/types/components/molecules/field/field.component.d.ts +6 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +82 -0
- package/dist/types/components.d.ts +149 -0
- package/hydrate/index.js +187 -21
- package/hydrate/index.mjs +187 -21
- package/package.json +1 -1
- package/dist/build/p-020a97e3.entry.js.map +0 -1
- package/dist/build/p-14e20144.entry.js +0 -2
- package/dist/build/p-14e20144.entry.js.map +0 -1
- package/dist/build/p-3a4ff7f6.entry.js +0 -2
- package/dist/build/p-3a4ff7f6.entry.js.map +0 -1
- package/dist/build/p-b9eb5691.js +0 -2
- package/dist/build/p-dceb94a4.entry.js +0 -2
- package/dist/cjs/p-field_3.cjs.entry.js.map +0 -1
- package/dist/cjs/p-portal_2.cjs.entry.js.map +0 -1
- package/dist/esm/p-field_3.entry.js.map +0 -1
- package/dist/esm/p-portal_2.entry.js.map +0 -1
- package/dist/paperless/p-020a97e3.entry.js.map +0 -1
- package/dist/paperless/p-14e20144.entry.js +0 -2
- package/dist/paperless/p-14e20144.entry.js.map +0 -1
- package/dist/paperless/p-3a4ff7f6.entry.js +0 -2
- package/dist/paperless/p-3a4ff7f6.entry.js.map +0 -1
- package/dist/paperless/p-dceb94a4.entry.js +0 -2
- /package/dist/build/{p-5b93f608.entry.js.map → p-0669c7e2.entry.js.map} +0 -0
- /package/dist/build/{p-3feb4bd9.entry.js.map → p-401ff01b.entry.js.map} +0 -0
- /package/dist/build/{p-5cecb014.entry.js.map → p-479bdcc8.entry.js.map} +0 -0
- /package/dist/build/{p-d9c32e3e.entry.js.map → p-4e31af7e.entry.js.map} +0 -0
- /package/dist/build/{p-9cc50361.entry.js.map → p-83055eac.entry.js.map} +0 -0
- /package/dist/build/{p-46d0e091.entry.js.map → p-8b1a485b.entry.js.map} +0 -0
- /package/dist/build/{p-0a6d3edd.entry.js.map → p-ccbd2de0.entry.js.map} +0 -0
- /package/dist/build/{p-ec082bfe.entry.js.map → p-f56de35e.entry.js.map} +0 -0
- /package/dist/build/{p-dceb94a4.entry.js.map → p-fc9cfbd1.entry.js.map} +0 -0
- /package/dist/build/{p-0ce335d4.entry.js.map → p-fde8b75b.entry.js.map} +0 -0
- /package/dist/paperless/{p-5b93f608.entry.js.map → p-0669c7e2.entry.js.map} +0 -0
- /package/dist/paperless/{p-3feb4bd9.entry.js.map → p-401ff01b.entry.js.map} +0 -0
- /package/dist/paperless/{p-5cecb014.entry.js.map → p-479bdcc8.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9c32e3e.entry.js.map → p-4e31af7e.entry.js.map} +0 -0
- /package/dist/paperless/{p-9cc50361.entry.js.map → p-83055eac.entry.js.map} +0 -0
- /package/dist/paperless/{p-46d0e091.entry.js.map → p-8b1a485b.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a6d3edd.entry.js.map → p-ccbd2de0.entry.js.map} +0 -0
- /package/dist/paperless/{p-ec082bfe.entry.js.map → p-f56de35e.entry.js.map} +0 -0
- /package/dist/paperless/{p-dceb94a4.entry.js.map → p-fc9cfbd1.entry.js.map} +0 -0
- /package/dist/paperless/{p-0ce335d4.entry.js.map → p-fde8b75b.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -22775,6 +22775,7 @@ class Field {
|
|
|
22775
22775
|
this.placeholder = undefined;
|
|
22776
22776
|
this.helper = undefined;
|
|
22777
22777
|
this.required = true;
|
|
22778
|
+
this.autofocus = false;
|
|
22778
22779
|
this.error = undefined;
|
|
22779
22780
|
this.errorPlacement = undefined;
|
|
22780
22781
|
this.disabled = false;
|
|
@@ -22795,18 +22796,21 @@ class Field {
|
|
|
22795
22796
|
inputRefChange;
|
|
22796
22797
|
get _el() { return getElement(this); }
|
|
22797
22798
|
_inputRef;
|
|
22799
|
+
componentDidLoad() {
|
|
22800
|
+
this._checkAutoFocus();
|
|
22801
|
+
}
|
|
22798
22802
|
render() {
|
|
22799
22803
|
const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, } = this._getSlotInfo();
|
|
22800
|
-
return (hAsync(Host, { key: '
|
|
22804
|
+
return (hAsync(Host, { key: 'cf990118b7fb2b397a4ed1d00026893fb5d65651', class: 'p-field' }, hAsync("p-field-container", { key: '8957ddbafafbe9be741359ae9c4265bb5c2ab08d', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required }, hasLabelSlot && (hAsync("slot", { key: 'f60081c6a1485f8066715a2e422ea5903f0963a8', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: 'e4b78626d1a79acb5b95692158b5809a4b24dd63', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: '4346e4bc124d1de2ceb4ee4005eb9b661bf677dd', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '6d0408efce0e27da7d14dfb4aa9fffb38d3b927a', name: 'error', slot: 'error' })), hAsync("div", { key: 'cf6aed5c63d0652a7fa0ca66c562a7c79d57dafa', class: field({
|
|
22801
22805
|
error: !!this.error?.length,
|
|
22802
22806
|
disabled: this.disabled,
|
|
22803
22807
|
focused: this.focused || this._focused,
|
|
22804
22808
|
size: this.size,
|
|
22805
|
-
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
22809
|
+
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: 'fb6c0aa6cebc783dc15a44462bc04e89fcd13f13', class: prefixAndSuffic({
|
|
22806
22810
|
error: !!this.error?.length,
|
|
22807
22811
|
disabled: this.disabled,
|
|
22808
22812
|
focused: this.focused || this._focused,
|
|
22809
|
-
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
22813
|
+
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '2822280cb543d2315d062b00b52729f1603b8c6f', class: prefixAndSuffic({
|
|
22810
22814
|
error: !!this.error?.length,
|
|
22811
22815
|
disabled: this.disabled,
|
|
22812
22816
|
focused: this.focused || this._focused,
|
|
@@ -22892,6 +22896,16 @@ class Field {
|
|
|
22892
22896
|
this.value = value;
|
|
22893
22897
|
this.valueChange.emit(value);
|
|
22894
22898
|
}
|
|
22899
|
+
_checkAutoFocus() {
|
|
22900
|
+
if (!this.autofocus) {
|
|
22901
|
+
return;
|
|
22902
|
+
}
|
|
22903
|
+
if (!this._inputRef) {
|
|
22904
|
+
setTimeout(() => this._checkAutoFocus(), 100);
|
|
22905
|
+
return;
|
|
22906
|
+
}
|
|
22907
|
+
this._focusInput();
|
|
22908
|
+
}
|
|
22895
22909
|
static get style() { return PFieldStyle0; }
|
|
22896
22910
|
static get cmpMeta() { return {
|
|
22897
22911
|
"$flags$": 9,
|
|
@@ -22911,6 +22925,7 @@ class Field {
|
|
|
22911
22925
|
"placeholder": [1],
|
|
22912
22926
|
"helper": [1],
|
|
22913
22927
|
"required": [516],
|
|
22928
|
+
"autofocus": [516],
|
|
22914
22929
|
"error": [513],
|
|
22915
22930
|
"errorPlacement": [1, "error-placement"],
|
|
22916
22931
|
"disabled": [516],
|
|
@@ -22923,7 +22938,7 @@ class Field {
|
|
|
22923
22938
|
},
|
|
22924
22939
|
"$listeners$": [[0, "focusin", "handleFocusIn"], [0, "focusout", "handleFocusOut"]],
|
|
22925
22940
|
"$lazyBundleId$": "-",
|
|
22926
|
-
"$attrsToReflect$": [["required", "required"], ["error", "error"], ["disabled", "disabled"], ["focused", "focused"], ["forceShowTooltip", "force-show-tooltip"], ["selectAllOnFocus", "select-all-on-focus"]]
|
|
22941
|
+
"$attrsToReflect$": [["required", "required"], ["autofocus", "autofocus"], ["error", "error"], ["disabled", "disabled"], ["focused", "focused"], ["forceShowTooltip", "force-show-tooltip"], ["selectAllOnFocus", "select-all-on-focus"]]
|
|
22927
22942
|
}; }
|
|
22928
22943
|
}
|
|
22929
22944
|
|
|
@@ -23191,6 +23206,9 @@ class Icon {
|
|
|
23191
23206
|
this.rotate = 0;
|
|
23192
23207
|
this.flip = 'none';
|
|
23193
23208
|
}
|
|
23209
|
+
componentDidLoad() {
|
|
23210
|
+
console.warn('[p-icon-deprecated] Deprecated, please use p-icon');
|
|
23211
|
+
}
|
|
23194
23212
|
render() {
|
|
23195
23213
|
const icon = iconsDeprecated[this.variant];
|
|
23196
23214
|
const styles = {
|
|
@@ -23227,7 +23245,7 @@ class Icon {
|
|
|
23227
23245
|
'-rotate-270': this.rotate === -270,
|
|
23228
23246
|
'-rotate-315': this.rotate === -315,
|
|
23229
23247
|
};
|
|
23230
|
-
return (hAsync(Host, { key: '
|
|
23248
|
+
return (hAsync(Host, { key: '5dea07a6c18881f4b6b0ff852886c7ef36819530', class: styles, innerHTML: icon }));
|
|
23231
23249
|
}
|
|
23232
23250
|
static get style() { return PIconDeprecatedStyle0; }
|
|
23233
23251
|
static get cmpMeta() { return {
|
|
@@ -23330,6 +23348,153 @@ class InputError {
|
|
|
23330
23348
|
}; }
|
|
23331
23349
|
}
|
|
23332
23350
|
|
|
23351
|
+
const inputGroupComponentCss = ".mb-\\[2px\\]{margin-bottom:2px!important}.box-border{box-sizing:border-box!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.py-\\[calc\\(0\\.75rem-1px\\)\\]{padding-bottom:calc(.75rem - 1px)!important;padding-top:calc(.75rem - 1px)!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.tracking-wider{letter-spacing:.05em!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;outline:2px solid transparent!important;outline-offset:2px!important;width:100%}:host .input-label{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity,1));font-size:.75rem;font-weight:600;letter-spacing:.05em;line-height:1rem;margin-bottom:2px;text-transform:uppercase}:host .input-header{align-items:flex-end;display:flex;gap:.5rem;margin-bottom:2px}:host .content{display:flex;width:100%}:host .content .prefix,:host .content .suffix{--tw-text-opacity:1;box-sizing:border-box;color:rgb(81 83 107/var(--tw-text-opacity,1));flex:1 1 0%;height:100%}:host .content .prefix{border-bottom-right-radius:0;border-right-width:0!important;border-top-right-radius:0;order:1;padding-right:.5rem}:host .content .suffix{border-bottom-left-radius:0;border-left-width:0!important;border-top-left-radius:0;order:3;padding-left:.5rem}:host(.focused),:host(:focus),:host(:focus-within),:host([focused]){outline:2px solid transparent!important;outline-offset:2px!important}:host(.focused) .prefix,:host(.focused) .suffix,:host(:focus) .prefix,:host(:focus) .suffix,:host(:focus-within) .prefix,:host(:focus-within) .suffix,:host([focused]) .prefix,:host([focused]) .suffix{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}:host(.error) .prefix,:host(.error) .suffix,:host([error]) .prefix,:host([error]) .suffix{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity,1))}:host(.error) .suffix,:host([error]) .suffix{align-items:flex-start;padding-bottom:calc(.75rem - 1px);padding-top:calc(.75rem - 1px)}:host(.size-small.error) .suffix,:host(.size-small[error]) .suffix{padding-bottom:.5rem;padding-top:.5rem}.static{position:static!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.justify-between{justify-content:space-between!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity,1))!important}";
|
|
23352
|
+
var PInputGroupStyle0 = inputGroupComponentCss;
|
|
23353
|
+
|
|
23354
|
+
class InputGroup {
|
|
23355
|
+
constructor(hostRef) {
|
|
23356
|
+
registerInstance(this, hostRef);
|
|
23357
|
+
this.size = 'medium';
|
|
23358
|
+
this.prefix = undefined;
|
|
23359
|
+
this.suffix = undefined;
|
|
23360
|
+
this.icon = undefined;
|
|
23361
|
+
this.iconFlip = undefined;
|
|
23362
|
+
this.iconRotate = undefined;
|
|
23363
|
+
this.iconPosition = 'start';
|
|
23364
|
+
this.label = undefined;
|
|
23365
|
+
this.helper = undefined;
|
|
23366
|
+
this.required = undefined;
|
|
23367
|
+
this.error = undefined;
|
|
23368
|
+
this.disabled = false;
|
|
23369
|
+
this.focused = false;
|
|
23370
|
+
this.forceShowTooltip = false;
|
|
23371
|
+
this.focusMethod = 'focus';
|
|
23372
|
+
this.errorVariant = 'auto';
|
|
23373
|
+
this._forceShowTooltip = false;
|
|
23374
|
+
}
|
|
23375
|
+
get _el() { return getElement(this); }
|
|
23376
|
+
_whitelistedTags = ['input', 'textarea'];
|
|
23377
|
+
componentDidLoad() {
|
|
23378
|
+
console.warn('[p-input-group] Deprecated, please use p-field');
|
|
23379
|
+
}
|
|
23380
|
+
componentWillRender() {
|
|
23381
|
+
this._setInputClasses();
|
|
23382
|
+
}
|
|
23383
|
+
render() {
|
|
23384
|
+
const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
|
|
23385
|
+
return (hAsync(Host, { key: '9848be9dc18dbb66de4ffaeb0fd6377204355127', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, hAsync("div", { key: '4d4035d525fe79a6afbd669bf49302fbd96ee4a9', class: 'flex items-end justify-between' }, label && (hAsync("div", { key: '859e6c72d70ddd2b62c72170be460452d0d87d11', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && hAsync("span", { key: '19c99b31a2d0f5b6f03971b6441e459653e3af13', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (hAsync("div", { key: '3e2abec6c63ae8d26b42316d48516992c2bc699b', class: 'input-header' }, hasHeaderSlot && hAsync("slot", { key: '1d100f887f1345ccfcf11e97d7667dd94355f026', name: 'header' }), helper && (hAsync("p-helper", { key: '9dbf5401cd26db9421c526bd406c683829abd877', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), hAsync("p-tooltip", { key: '71ef03a090b4311c14d7c935809f147140791e9e', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
|
|
23386
|
+
errorVariant === 'element' &&
|
|
23387
|
+
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, hAsync("div", { key: '21bda229af33f22f4080ef66cd2b2821f755edd6', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '21f4e49db797a4ee2e6caee81d952858cc550567', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
|
|
23388
|
+
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
23389
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '033bc354c872c0b9fb351182d7466515642d3f9b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (hAsync("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (hAsync("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), hAsync("slot", { key: '1dc6aa666c99246ba2d532c435987875528af5f6', name: 'input' })))));
|
|
23390
|
+
}
|
|
23391
|
+
handleFocusIn() {
|
|
23392
|
+
this._forceShowTooltip = true;
|
|
23393
|
+
}
|
|
23394
|
+
handleFocusOut() {
|
|
23395
|
+
this._forceShowTooltip = false;
|
|
23396
|
+
}
|
|
23397
|
+
/*
|
|
23398
|
+
With this, we shall hack the system in ways no one would ever have thought.
|
|
23399
|
+
|
|
23400
|
+
<div class="pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none"></div>
|
|
23401
|
+
*/
|
|
23402
|
+
_setInputClasses() {
|
|
23403
|
+
const input = this._el.querySelector(':scope > [slot="input"]');
|
|
23404
|
+
if (!input) {
|
|
23405
|
+
return;
|
|
23406
|
+
}
|
|
23407
|
+
const tagName = input.tagName.toLowerCase();
|
|
23408
|
+
if (this._whitelistedTags.indexOf(tagName) === -1) {
|
|
23409
|
+
return;
|
|
23410
|
+
}
|
|
23411
|
+
if (!input.classList.contains('p-input')) {
|
|
23412
|
+
input.classList.add('p-input');
|
|
23413
|
+
}
|
|
23414
|
+
const { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } = this._getSlotInfo();
|
|
23415
|
+
if (suffix ||
|
|
23416
|
+
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
23417
|
+
(this.icon && this.iconPosition === 'end')) {
|
|
23418
|
+
input.classList.add('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
|
|
23419
|
+
}
|
|
23420
|
+
else {
|
|
23421
|
+
input.classList.remove('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
|
|
23422
|
+
}
|
|
23423
|
+
if (prefix || (this.icon && this.iconPosition === 'start')) {
|
|
23424
|
+
input.classList.add('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
|
|
23425
|
+
}
|
|
23426
|
+
else {
|
|
23427
|
+
input.classList.remove('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
|
|
23428
|
+
}
|
|
23429
|
+
if (this.size === 'small' && !input.classList.contains('size-small')) {
|
|
23430
|
+
input.classList.add('size-small');
|
|
23431
|
+
}
|
|
23432
|
+
if (this.size !== 'small' && input.classList.contains('size-small')) {
|
|
23433
|
+
input.classList.remove('size-small');
|
|
23434
|
+
}
|
|
23435
|
+
}
|
|
23436
|
+
_getSlotInfo() {
|
|
23437
|
+
const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
|
|
23438
|
+
const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
|
|
23439
|
+
const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
|
|
23440
|
+
const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
|
|
23441
|
+
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
23442
|
+
const helper = hasHelperSlot ? hAsync("slot", { name: 'helper' }) : this.helper;
|
|
23443
|
+
const label = hasLabelSlot ? hAsync("slot", { name: 'label' }) : this.label;
|
|
23444
|
+
const prefix = hasPrefixSlot ? hAsync("slot", { name: 'prefix' }) : this.prefix;
|
|
23445
|
+
const suffix = hasSuffixSlot ? hAsync("slot", { name: 'suffix' }) : this.suffix;
|
|
23446
|
+
const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
|
|
23447
|
+
return {
|
|
23448
|
+
hasHelperSlot,
|
|
23449
|
+
hasLabelSlot,
|
|
23450
|
+
hasPrefixSlot,
|
|
23451
|
+
hasSuffixSlot,
|
|
23452
|
+
hasHeaderSlot,
|
|
23453
|
+
helper,
|
|
23454
|
+
label,
|
|
23455
|
+
prefix,
|
|
23456
|
+
suffix,
|
|
23457
|
+
errorAndErrorIsNotBoolean,
|
|
23458
|
+
errorVariant: this.errorVariant === 'auto'
|
|
23459
|
+
? this._el.offsetWidth <= 72
|
|
23460
|
+
? 'element'
|
|
23461
|
+
: 'icon'
|
|
23462
|
+
: this.errorVariant,
|
|
23463
|
+
};
|
|
23464
|
+
}
|
|
23465
|
+
_focusInput() {
|
|
23466
|
+
const input = this._el.querySelector(':scope > [slot="input"]');
|
|
23467
|
+
input[this.focusMethod]();
|
|
23468
|
+
}
|
|
23469
|
+
static get style() { return PInputGroupStyle0; }
|
|
23470
|
+
static get cmpMeta() { return {
|
|
23471
|
+
"$flags$": 9,
|
|
23472
|
+
"$tagName$": "p-input-group",
|
|
23473
|
+
"$members$": {
|
|
23474
|
+
"size": [1],
|
|
23475
|
+
"prefix": [1],
|
|
23476
|
+
"suffix": [1],
|
|
23477
|
+
"icon": [1],
|
|
23478
|
+
"iconFlip": [1, "icon-flip"],
|
|
23479
|
+
"iconRotate": [2, "icon-rotate"],
|
|
23480
|
+
"iconPosition": [1, "icon-position"],
|
|
23481
|
+
"label": [1],
|
|
23482
|
+
"helper": [1],
|
|
23483
|
+
"required": [516],
|
|
23484
|
+
"error": [513],
|
|
23485
|
+
"disabled": [516],
|
|
23486
|
+
"focused": [516],
|
|
23487
|
+
"forceShowTooltip": [516, "force-show-tooltip"],
|
|
23488
|
+
"focusMethod": [1, "focus-method"],
|
|
23489
|
+
"errorVariant": [1, "error-variant"],
|
|
23490
|
+
"_forceShowTooltip": [32]
|
|
23491
|
+
},
|
|
23492
|
+
"$listeners$": [[0, "focusin", "handleFocusIn"], [0, "focusout", "handleFocusOut"]],
|
|
23493
|
+
"$lazyBundleId$": "-",
|
|
23494
|
+
"$attrsToReflect$": [["required", "required"], ["error", "error"], ["disabled", "disabled"], ["focused", "focused"], ["forceShowTooltip", "force-show-tooltip"]]
|
|
23495
|
+
}; }
|
|
23496
|
+
}
|
|
23497
|
+
|
|
23333
23498
|
const labelComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-100{--tw-bg-opacity:1!important;background-color:rgb(255 246 194/var(--tw-bg-opacity,1))!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-positive-green-100{--tw-bg-opacity:1!important;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-white-700{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-dark-teal-800{--tw-text-opacity:1!important;color:rgb(1 37 33/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.text-positive-green-800{--tw-text-opacity:1!important;color:rgb(47 100 7/var(--tw-text-opacity,1))!important}.text-supportive-lilac-900{--tw-text-opacity:1!important;color:rgb(80 9 179/var(--tw-text-opacity,1))!important}@media (min-width:64rem){.desktop-xs\\:block{display:block!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:py-0{padding-bottom:0!important;padding-top:0!important}}";
|
|
23334
23499
|
var PLabelStyle0 = labelComponentCss;
|
|
23335
23500
|
|
|
@@ -23370,14 +23535,14 @@ class Label {
|
|
|
23370
23535
|
this.keepMobileContent = false;
|
|
23371
23536
|
}
|
|
23372
23537
|
render() {
|
|
23373
|
-
return (hAsync(Host, { key: '
|
|
23538
|
+
return (hAsync(Host, { key: '04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0', class: 'p-label' }, hAsync("div", { key: '7dfd0871e52cef46c49f0c30e58facfa603c5d0f', class: label({
|
|
23374
23539
|
variant: this.variant,
|
|
23375
23540
|
iconOnly: this.iconOnly,
|
|
23376
23541
|
keepMobileContent: this.keepMobileContent,
|
|
23377
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
23542
|
+
}) }, this.icon && (hAsync("p-icon", { key: 'b70587122206d6b26785cbf5e9e8219219aeb7d0', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (hAsync("div", { key: '5426ae86e86f205b04130628923f3d53747c85d5', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
|
|
23378
23543
|
hidden: !this.keepMobileContent,
|
|
23379
23544
|
'desktop-xs:block': !this.keepMobileContent,
|
|
23380
|
-
}) }, hAsync("slot", { key: '
|
|
23545
|
+
}) }, hAsync("slot", { key: '62413d44b71c12291cb13997e839774d2b047fdd' }))))));
|
|
23381
23546
|
}
|
|
23382
23547
|
static get style() { return PLabelStyle0; }
|
|
23383
23548
|
static get cmpMeta() { return {
|
|
@@ -23817,7 +23982,7 @@ class Navbar {
|
|
|
23817
23982
|
this._show = false;
|
|
23818
23983
|
}
|
|
23819
23984
|
render() {
|
|
23820
|
-
return (hAsync(Host, { key: '
|
|
23985
|
+
return (hAsync(Host, { key: '5702b79e2c26e706ad4101b89f53de842fcb80b6', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, hAsync("p-backdrop", { key: 'c5fa86a7922261ce0c52a30f397a912da999b705', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: 'cea2c0276187ee5e86eea96879774d34d4439828', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: '7da029ff6de0ce27e5652a2995e1350384a0c83f', class: 'flex w-full items-center justify-between layout-1280:hidden' }, hAsync("p-button", { key: '5bd366656745c2998e979bfb4650e17290c3e288', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), hAsync("div", { key: '5fc3e1b70f45905c8a6dfbf85251a5edc8571b78', class: 'flex w-full flex-col items-stretch' }, hAsync("slot", { key: '99f3a9c3bcf2f53b1bb69c14fd30d8f3dd850a23', name: 'company' })), hAsync("div", { key: '47dbf4bb5cde7b785401df9584ed6ae155329be1', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: '8220bc3836bb64fe353d1585003d005cb5c04bd4', name: 'content' })), hAsync("div", { key: 'a04e5098279b15f9526fcba60ce000e552d6b3b4', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, hAsync("slot", { key: '6902b1780e7e8e9642caa22e467adc938c335c2c', name: 'user' }))), hAsync("div", { key: '54e624bd9bed375fe496a7ebb0ea26a92c6cf5f5', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: '8b8df57e642e4e4fdc1848271c8104f3489ad269', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), hAsync("slot", { key: 'ea415e56ec47a30ca4005d0c138f2c6bdc7abf22', name: 'topbar' }))));
|
|
23821
23986
|
}
|
|
23822
23987
|
handleCloseNavbar() {
|
|
23823
23988
|
this._show = false;
|
|
@@ -23884,10 +24049,10 @@ class NavigationItem {
|
|
|
23884
24049
|
render() {
|
|
23885
24050
|
const TagType = this.as;
|
|
23886
24051
|
const active = this.active || this.class?.includes('active');
|
|
23887
|
-
return (hAsync(Host, { key: '
|
|
24052
|
+
return (hAsync(Host, { key: '6b12fc10340027d176fc9fa9699ff62a9f200c06', class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { key: '447c6dfb9e7cd9a426dfc83a786117ecd809ed23', class: navigationItem({
|
|
23888
24053
|
icon: !!this.icon,
|
|
23889
24054
|
active,
|
|
23890
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
24055
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: 'ee2fb03620b46d75f34887c1426abe3090dd50f8', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '92ae190b1b415939e23476403dfc7ea7065db3f6', variant: this.icon })), hAsync("span", { key: 'd56fbd8fdffc8a20b98d4d4a25dd68eb1e2548e0', class: this.counter && 'has-counter' }, hAsync("slot", { key: 'd1baea6b23dab3cc3db75ab4c6c5b660977475c6' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: 'd50225f39e08b412b622055438584ad9aa02b4c1' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '10ab89e057f00442ad0dab32c0342ad16daf667a', class: 'ml-auto' }))));
|
|
23891
24056
|
}
|
|
23892
24057
|
static get style() { return PNavigationItemStyle0; }
|
|
23893
24058
|
static get cmpMeta() { return {
|
|
@@ -23918,7 +24083,7 @@ class NavigationSection {
|
|
|
23918
24083
|
this.header = undefined;
|
|
23919
24084
|
}
|
|
23920
24085
|
render() {
|
|
23921
|
-
return (hAsync(Host, { key: '
|
|
24086
|
+
return (hAsync(Host, { key: '2278321f85bd2cc19317f416174aee1d2797ff56', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: '2eba4771425254e503d02470d0b7caeb18cac710' }, this.header)), hAsync("div", { key: 'bf1ffb4905308dbc7694e911ca171be4686e0300', class: 'flex flex-col' }, hAsync("slot", { key: 'e646b3ae3781eea037ff358dc59937d847f2b956' }))));
|
|
23922
24087
|
}
|
|
23923
24088
|
static get style() { return PNavigationSectionStyle0; }
|
|
23924
24089
|
static get cmpMeta() { return {
|
|
@@ -24038,7 +24203,7 @@ class Pagination {
|
|
|
24038
24203
|
this._generate();
|
|
24039
24204
|
}
|
|
24040
24205
|
render() {
|
|
24041
|
-
return (hAsync(Host, { key: '
|
|
24206
|
+
return (hAsync(Host, { key: '3568c3e866dcd2ffee3fb8acd34a81d63e564068', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
|
|
24042
24207
|
if (p.type === 'previous' || p.type === 'next') {
|
|
24043
24208
|
return (hAsync("p-pagination-item", { onClick: () => p.type === 'previous'
|
|
24044
24209
|
? this._previousClick()
|
|
@@ -24271,7 +24436,7 @@ class Profile {
|
|
|
24271
24436
|
}
|
|
24272
24437
|
render() {
|
|
24273
24438
|
const content = this._getContent();
|
|
24274
|
-
return (hAsync(Host, { key: '
|
|
24439
|
+
return (hAsync(Host, { key: 'a9482eb4aab89a3dff60ec39ecc2be00b1b8036f', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (hAsync("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, hAsync("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), hAsync("div", { slot: 'items' }, hAsync("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
24275
24440
|
}
|
|
24276
24441
|
slotchange() {
|
|
24277
24442
|
this._checkDropdownSlot();
|
|
@@ -24668,7 +24833,7 @@ class Select {
|
|
|
24668
24833
|
}
|
|
24669
24834
|
}
|
|
24670
24835
|
render() {
|
|
24671
|
-
return (hAsync(Host, { key: '
|
|
24836
|
+
return (hAsync(Host, { key: 'f62a834435e5a23ac883458bbbc6584fc475585a', class: 'p-select' }, hAsync("p-dropdown", { key: 'f052fca097cd93660e1319d9e697cddfa849adbb', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, hAsync("p-field-container", { key: 'abeced0d91a257f87f02cd6c22ee150ed66b3c4f', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, hAsync("p-button", { key: 'ac9f12fbab1e18cb05c406b90d9d615220626ed3', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, hAsync("div", { key: '00962c1d7e8cc69860a071cf4f4ff48ae096c43d', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
|
|
24672
24837
|
}
|
|
24673
24838
|
documentClickHandler({ target }) {
|
|
24674
24839
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -25149,7 +25314,7 @@ class Stepper {
|
|
|
25149
25314
|
this._generateSteps(true);
|
|
25150
25315
|
}
|
|
25151
25316
|
render() {
|
|
25152
|
-
return (hAsync(Host, { key: '
|
|
25317
|
+
return (hAsync(Host, { key: '8fa52e3d517deebb230039f2938893a14fb5613e', class: 'p-stepper' }, hAsync("slot", { key: '385c27e425dad328346910e77f42d7fdc32183b8', onSlotchange: this._onSlotChange })));
|
|
25153
25318
|
}
|
|
25154
25319
|
_onActiveStepChange() {
|
|
25155
25320
|
this._generateSteps();
|
|
@@ -26006,7 +26171,7 @@ class TableCell {
|
|
|
26006
26171
|
};
|
|
26007
26172
|
}
|
|
26008
26173
|
render() {
|
|
26009
|
-
return (hAsync(Host, { key: '
|
|
26174
|
+
return (hAsync(Host, { key: 'fdd68a4b75fa75a0301b2721d81a069cac64d098', class: {
|
|
26010
26175
|
'p-table-cell': true,
|
|
26011
26176
|
[`variant-${this.variant}`]: true,
|
|
26012
26177
|
...this._getColumnClasses(),
|
|
@@ -26156,7 +26321,7 @@ class TableFooter {
|
|
|
26156
26321
|
}
|
|
26157
26322
|
render() {
|
|
26158
26323
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
|
|
26159
|
-
return (hAsync(Host, { key: '
|
|
26324
|
+
return (hAsync(Host, { key: '8c85669efe0bdc3f14fe0dfb5cbca5a38451b2ca', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (hAsync("p-page-size-select", { key: '69cb04177926201d314ab138ac72452d9a32ccd3', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (hAsync("p-loader", { key: '4601f2a8736bb05af33159769bfba2e1854c8cdf', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (hAsync("p-pagination", { key: 'e9c672d24d92cb973482a37b16f8a1210fb17345', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (hAsync("p-button", { key: '3f6942fb87389cb69281e397134f857d2cedb87c', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
|
|
26160
26325
|
}
|
|
26161
26326
|
async _setLocales() {
|
|
26162
26327
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -27225,9 +27390,9 @@ class TableRow {
|
|
|
27225
27390
|
this.enableHover = true;
|
|
27226
27391
|
}
|
|
27227
27392
|
render() {
|
|
27228
|
-
return (hAsync(Host, { key: '
|
|
27393
|
+
return (hAsync(Host, { key: '962ec4f0187a22416270df391edb910c6584fc57', class: `p-table-row variant-${this.variant} ${this.enableHover &&
|
|
27229
27394
|
this.variant === 'default' &&
|
|
27230
|
-
'enable-hover'} group` }, hAsync("div", { key: '
|
|
27395
|
+
'enable-hover'} group` }, hAsync("div", { key: '45deb1c2a22e4afdf99b3e4f407f8ceedc3769fc', class: "content" }, hAsync("slot", { key: 'd9bae05aad34f48ef13598e432813ffacab3d3f6' })), this.variant === 'default' && hAsync("p-divider", { key: 'efdc3dcb43ea3f74786495f62ceaf7b6a62908d6', class: "m-0" })));
|
|
27231
27396
|
}
|
|
27232
27397
|
static get style() { return PTableRowStyle0; }
|
|
27233
27398
|
static get cmpMeta() { return {
|
|
@@ -27301,7 +27466,7 @@ class Toast {
|
|
|
27301
27466
|
*/
|
|
27302
27467
|
action;
|
|
27303
27468
|
render() {
|
|
27304
|
-
return (hAsync(Host, { key: '
|
|
27469
|
+
return (hAsync(Host, { key: '8037040911805538a87e382891c638dc02b60206', class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, hAsync("div", { key: '3d62bfbdc62f0aad9f0b2aa399b881498328329c', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: '6025fc8d67bdaeff8e43ae6b65aed1c12a42a107', class: 'font-semibold text-storm' }, this.header?.length ? this.header : hAsync("slot", { name: 'header' })), hAsync("p", { key: '39b41b1033a0b4eaaca958949556cae1037d0019', class: 'w-full text-sm text-storm-medium' }, this.content?.length ? this.content : hAsync("slot", { name: 'content' }))), this.enableAction && (hAsync("p-button", { key: '0b58b68d606925c26007d2e00437a3e2c69bfd0f', variant: 'secondary', iconOnly: true, size: 'sm', icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' }))));
|
|
27305
27470
|
}
|
|
27306
27471
|
_onClick() {
|
|
27307
27472
|
if (this.enableAction) {
|
|
@@ -27756,6 +27921,7 @@ registerComponents([
|
|
|
27756
27921
|
Illustration,
|
|
27757
27922
|
InfoPanel,
|
|
27758
27923
|
InputError,
|
|
27924
|
+
InputGroup,
|
|
27759
27925
|
Label,
|
|
27760
27926
|
Layout,
|
|
27761
27927
|
Loader,
|