@usecapsule/core-components 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/{p-5ed5e96c.entry.js → p-02072c68.entry.js} +2 -2
- package/dist/capsule/{p-5ed5e96c.entry.js.map → p-02072c68.entry.js.map} +1 -1
- package/dist/capsule/p-1474c545.entry.js +29 -0
- package/dist/capsule/{p-6e900654.entry.js.map → p-1474c545.entry.js.map} +1 -1
- package/dist/capsule/p-2c16694d.entry.js +2 -0
- package/dist/capsule/{p-397edab5.entry.js.map → p-2c16694d.entry.js.map} +1 -1
- package/dist/capsule/{p-52d6ebee.entry.js → p-41088cd4.entry.js} +2 -2
- package/dist/capsule/{p-52d6ebee.entry.js.map → p-41088cd4.entry.js.map} +1 -1
- package/dist/capsule/{p-f9351426.entry.js → p-6dcaee48.entry.js} +2 -2
- package/dist/capsule/{p-f9351426.entry.js.map → p-6dcaee48.entry.js.map} +1 -1
- package/dist/capsule/p-7dde3172.js +3 -0
- package/dist/capsule/p-7dde3172.js.map +1 -0
- package/dist/capsule/p-a6aaf3f4.entry.js +10 -0
- package/dist/capsule/{p-86e6cba5.entry.js.map → p-a6aaf3f4.entry.js.map} +1 -1
- package/dist/capsule/{p-70f95c93.entry.js → p-b976b6f0.entry.js} +2 -2
- package/dist/capsule/{p-70f95c93.entry.js.map → p-b976b6f0.entry.js.map} +1 -1
- package/dist/cjs/capsule.cjs.js +9 -9
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/cpsl-alert_33.cjs.entry.js +45 -39
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-528f7428.js +2103 -0
- package/dist/cjs/index-528f7428.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +2 -2
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -1
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +1 -1
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.css +1 -9
- package/dist/collection/components/cpsl-table/cpsl-table.js +7 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +1 -1
- package/dist/esm/capsule.js +10 -10
- package/dist/esm/capsule.js.map +1 -1
- package/dist/esm/cpsl-alert_33.entry.js +45 -39
- package/dist/esm/cpsl-alert_33.entry.js.map +1 -1
- package/dist/esm/cpsl-animation.entry.js +2 -2
- package/dist/esm/cpsl-col.entry.js +2 -2
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js +2 -2
- package/dist/esm/cpsl-modal-v2.entry.js +2 -2
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -1
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-b188f201.js +2072 -0
- package/dist/esm/index-b188f201.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/loader/cdn.js +3 -1
- package/dist/loader/index.cjs.js +3 -1
- package/dist/loader/index.es2017.js +3 -1
- package/dist/loader/index.js +3 -1
- package/dist/types/components/cpsl-table/cpsl-table.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +8 -3
- package/package.json +2 -2
- package/dist/capsule/p-397edab5.entry.js +0 -2
- package/dist/capsule/p-6e71539d.js +0 -3
- package/dist/capsule/p-6e71539d.js.map +0 -1
- package/dist/capsule/p-6e900654.entry.js +0 -29
- package/dist/capsule/p-86e6cba5.entry.js +0 -10
- package/dist/cjs/index-85125285.js +0 -1414
- package/dist/cjs/index-85125285.js.map +0 -1
- package/dist/esm/index-b9a060b3.js +0 -1383
- package/dist/esm/index-b9a060b3.js.map +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-b188f201.js';
|
2
2
|
import { a as DEFAULT_Z_INDICES, M as MOBILE_SIZE } from './constants-fce138fa.js';
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-1789f0cf.js';
|
4
4
|
|
@@ -29,7 +29,7 @@ const CpslAlert = class {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h(Host, { key: 'f7534f6c528225bc1c5704870eceb202304a8f37', class: { error: this.variant === 'error', warning: this.variant === 'warning', success: this.variant === 'success' } }, h("div", { key: 'fade95f15517a992708d924cd7a1ca17a6077c22', class: "alert-container" }, this.iconType && h("cpsl-icon", {
|
32
|
+
return (h(Host, { key: 'f7534f6c528225bc1c5704870eceb202304a8f37', class: { error: this.variant === 'error', warning: this.variant === 'warning', success: this.variant === 'success' } }, h("div", { key: 'fade95f15517a992708d924cd7a1ca17a6077c22', class: "alert-container" }, this.iconType && h("cpsl-icon", { icon: this.iconType }), h("slot", { key: '8a2ed501e583e444203fa6168c7eb10011ec57fe' }))));
|
33
33
|
}
|
34
34
|
};
|
35
35
|
CpslAlert.style = CpslAlertStyle0;
|
@@ -45,10 +45,10 @@ const CpslAppBar = class {
|
|
45
45
|
this.zIndexOverride = undefined;
|
46
46
|
}
|
47
47
|
render() {
|
48
|
-
return (h(Host, { key: '
|
48
|
+
return (h(Host, { key: '045bc58e1719b02dea67276200abb0cd05d6f717', style: Object.assign({ height: `${this.height}px` }, (Boolean(this.zIndexOverride) ? { zIndex: `${this.zIndexOverride}` } : {})) }, h("div", { key: 'e29aa3326057f15b83e4ca9e2718074fda98e177', class: "container", part: "container", style: {
|
49
49
|
position: this.position,
|
50
50
|
height: `${this.height}px`,
|
51
|
-
} }, h("slot", { key: '
|
51
|
+
} }, h("slot", { key: '566c990b33134045c54195b7c762f07049a6bd22' })), this.position === 'fixed' && (h("div", { style: {
|
52
52
|
height: `${this.height}px`,
|
53
53
|
} }))));
|
54
54
|
}
|
@@ -67,7 +67,7 @@ const CpslAvatar = class {
|
|
67
67
|
}
|
68
68
|
render() {
|
69
69
|
var _a;
|
70
|
-
return (h(Host, { key: '
|
70
|
+
return (h(Host, { key: 'c148e7d268c681fa6a7273c109b9ab418f433c24' }, h("span", { key: 'd1f977ab0c5d6f6758f84fb33ed9e72d9a1270c9', class: { round: this.variant === 'round' } }, h("img", { key: '3a13f96266ee6476df2154a09b433dcf7ba44daf', src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : 'avatar' }))));
|
71
71
|
}
|
72
72
|
};
|
73
73
|
CpslAvatar.style = CpslAvatarStyle0;
|
@@ -87,7 +87,7 @@ const CpslButton = class {
|
|
87
87
|
this.variant = 'primary';
|
88
88
|
}
|
89
89
|
render() {
|
90
|
-
return (h(Host, { key: '
|
90
|
+
return (h(Host, { key: 'c8c19be90600d9ca236b51e4e112d8350d7f611c', class: {
|
91
91
|
'primary': this.variant === 'primary',
|
92
92
|
'secondary': this.variant === 'secondary',
|
93
93
|
'ghost': this.variant === 'ghost',
|
@@ -96,7 +96,7 @@ const CpslButton = class {
|
|
96
96
|
'full-width': this.fullWidth,
|
97
97
|
'small': this.size === 'small',
|
98
98
|
'medium': this.size === 'medium',
|
99
|
-
} }, h(this.as, { key: '
|
99
|
+
} }, h(this.as, { key: '9ba756220f648f1d4123bd42df8d4db311800705', href: this.href, target: this.target, part: "button-native", class: "button-native" }, h("slot", { key: '7156e673a1a43ea808aeca1574b5f251c38bdc22', name: "start" }), h("slot", { key: 'a74790e4d6deb92b6e0380f6ca8551aacf5c3b8f' }), h("slot", { key: '73219152509968a55aeff2cdc56beefa9b9e5995', name: "end" }))));
|
100
100
|
}
|
101
101
|
};
|
102
102
|
CpslButton.style = CpslButtonStyle0;
|
@@ -138,7 +138,7 @@ const CpslButtonGroup = class {
|
|
138
138
|
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
139
139
|
}
|
140
140
|
render() {
|
141
|
-
return (h(Host, { key: '
|
141
|
+
return (h(Host, { key: 'e15232f4180db66b6b7bd21b5e22980f197514be' }, h("slot", { key: 'f3c566eaf9574fb38331e8a44c5c369d1edd5223' })));
|
142
142
|
}
|
143
143
|
get el() { return getElement(this); }
|
144
144
|
static get watchers() { return {
|
@@ -155,7 +155,7 @@ const CpslCard = class {
|
|
155
155
|
registerInstance(this, hostRef);
|
156
156
|
}
|
157
157
|
render() {
|
158
|
-
return (h(Host, { key: '
|
158
|
+
return (h(Host, { key: '8633aeaedaaf81af67835ee3ffc8964ec28ced92' }, h("div", { key: '432fabd329701f8ef51fc43ba0ca8af3d5182a47', class: { card: true }, part: "card-container" }, h("slot", { key: 'a23d1063d0a1c74ebc076fc67b63c4023f7f8565' }))));
|
159
159
|
}
|
160
160
|
};
|
161
161
|
CpslCard.style = CpslCardStyle0;
|
@@ -173,7 +173,7 @@ const CpslCheckbox = class {
|
|
173
173
|
this.checked = undefined;
|
174
174
|
}
|
175
175
|
render() {
|
176
|
-
return (h(Host, { key: '
|
176
|
+
return (h(Host, { key: 'b5d7963285854a20983f8655c8a9545b8d0735e9' }, h("input", { key: 'b822a505e826f06d47f1da51fff0c7f310d9c9ce', type: "checkbox", checked: this.checked }), h("span", { key: '3747cf548b8d88ceee19eae5c1df78cdc5f9c87e', onClick: this.handleCheckboxClick, class: { container: true, checked: this.checked } }, h("cpsl-icon", { key: '9d5d0cdba4b22bc2167aed23e7748201320a6553', icon: "check" }))));
|
177
177
|
}
|
178
178
|
};
|
179
179
|
CpslCheckbox.style = CpslCheckboxStyle0;
|
@@ -268,10 +268,10 @@ const CpslCodeInput = class {
|
|
268
268
|
}
|
269
269
|
render() {
|
270
270
|
var _a;
|
271
|
-
return (h(Host, { key: '
|
271
|
+
return (h(Host, { key: '2f52778c8b8b51ef7c875b53394e7275bd93412f' }, h("div", { key: 'e96c3deea7d1e4eaaef4c72fbaca702b6bb46cf1', class: "code-container" }, new Array(this.length).fill(0).map((_, i) => {
|
272
272
|
var _a;
|
273
273
|
return (h("input", { class: { 'code-input': true, 'error': Boolean(this.errorText) }, id: `code-input-${i}`, maxLength: 1, onKeyDown: ev => this.handleKeyDown(i, ev), onInput: ev => this.handleInput(i, ev), onFocus: () => this.handleFocus(i), onPaste: this.handlePaste, min: 0, max: 9, value: (_a = this.code) === null || _a === void 0 ? void 0 : _a[i], inputMode: this.type === 'number' ? 'numeric' : 'text' }));
|
274
|
-
})), (this.errorText || this.helperText) && (h("div", {
|
274
|
+
})), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("cpsl-icon", { icon: Boolean(this.errorText) ? 'alertCircle' : 'infoCircle' }), h("span", null, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
|
275
275
|
}
|
276
276
|
get el() { return getElement(this); }
|
277
277
|
};
|
@@ -285,7 +285,7 @@ const CpslDivider = class {
|
|
285
285
|
registerInstance(this, hostRef);
|
286
286
|
}
|
287
287
|
render() {
|
288
|
-
return (h(Host, { key: '
|
288
|
+
return (h(Host, { key: '1ed13a5022a89b899e6a16f168bff6b71c3c2ad8' }, h("div", { key: 'e9fec054de82d84298ac7cf7fc45f239a9a78442' }), h("slot", { key: 'c6ab3f0e787ee245d206b300c68192bfb3515aa6' }), h("div", { key: '5591e16b69c4cdce5cd5b9932923a189440b7fd5' })));
|
289
289
|
}
|
290
290
|
};
|
291
291
|
CpslDivider.style = CpslDividerStyle0;
|
@@ -326,12 +326,12 @@ const CpslDrawer = class {
|
|
326
326
|
const setHeight = this.anchor === 'top' || this.anchor === 'bottom';
|
327
327
|
const startingAnchor = (_a = `${this.anchorPosition}px`) !== null && _a !== void 0 ? _a : '0px';
|
328
328
|
const size = this.size === 'auto' ? 'auto' : `${this.size}px`;
|
329
|
-
return (h(Host, { key: '
|
329
|
+
return (h(Host, { key: 'c8f7717bd060bdd83edec49865d99d2bc885aace', style: Object.assign({ width: setHeight ? '100vw' : size, height: setHeight ? size : '100vh', transitionDuration: `${this.showTransition ? this.transitionDuration : 0}s`, transitionTimingFunction: `${this.transitionFunction}`, [this.anchor]: this.open || this.variant === 'permanent' ? startingAnchor : this.closedAnchorPosition, opacity: this.closedAnchorPosition === undefined ? '0' : '1' }, (Boolean(this.zIndexOverride) ? { zIndex: `${this.zIndexOverride}` } : {})), class: {
|
330
330
|
top: this.anchor === 'top',
|
331
331
|
bottom: this.anchor === 'bottom',
|
332
332
|
left: this.anchor === 'left',
|
333
333
|
right: this.anchor === 'right',
|
334
|
-
} }, this.variant === 'temporary' && !this.noOverlay && h("cpsl-overlay", {
|
334
|
+
} }, this.variant === 'temporary' && !this.noOverlay && h("cpsl-overlay", { open: this.open, zIndexOverride: DEFAULT_Z_INDICES.modal + 1 }), h("div", { key: 'f63a22d66da7ed0b7cb2bd0f9b68dbf7e7c4f985', id: "container", class: "container", part: "container" }, h("slot", { key: 'c5d208e37ea87f4ae95c5d9064218f1d1edbc304' }))));
|
335
335
|
}
|
336
336
|
get el() { return getElement(this); }
|
337
337
|
};
|
@@ -5143,7 +5143,7 @@ const CpslDropdown = class {
|
|
5143
5143
|
}
|
5144
5144
|
render() {
|
5145
5145
|
var _a, _b, _c;
|
5146
|
-
return (h(Host, { key: '
|
5146
|
+
return (h(Host, { key: '121a65b9e15c7fb81a1ecd98c30f2d3d47a0af2c' }, h("button", { key: 'bdea591df3159d30de22a3615362abcd3f222c65', class: "dropdown-button", onClick: this.toggleDropdown }, `${((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.selectedLabel) || ((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.label)} ${(_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.value}`, h("div", { key: '778a3ea1cc1d6c7df3b961acb2b687aefcce38b3', class: `chevron ${this.isOpen ? '' : 'closed'}`, innerHTML: Icons['chevronUp'] })), h("ul", { key: '490af95f8b21a330a7432e10b0591b4ed81aa1b7', class: { 'dropdown-options': true, 'open': this.isOpen }, style: { width: this.width } }, this.hasCpslSearch && (h("li", { class: "search-bar" }, h("input", { type: "text", placeholder: "Search...", value: this.searchQuery, onInput: this.handleSearchQueryChange }))), this.filteredItems.map(item => (h("li", { onClick: this.handleItemSelect(item) }, h("span", { innerHTML: Icons[item.icon] }), item.label, " ", h("span", { class: "dropdown-value" }, item.value)))))));
|
5147
5147
|
}
|
5148
5148
|
get el() { return getElement(this); }
|
5149
5149
|
static get watchers() { return {
|
@@ -5278,7 +5278,7 @@ const CpslFileUpload = class {
|
|
5278
5278
|
}
|
5279
5279
|
render() {
|
5280
5280
|
var _a, _b, _c;
|
5281
|
-
return (h(Host, { key: '
|
5281
|
+
return (h(Host, { key: '71d945bcac5d443719737781fd9ec5166952760d' }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("slot", { key: '63786e91e0a230d85344da507d0508ac1524cc88', name: "label" }), h("div", { key: '74e7296a0c8ef732094c0e7fab3e0a7db916694b', class: { 'container': true, 'error': Boolean(this.errorText), 'drag': this.dragOver, 'drag-error': this.dragError } }, h("div", { key: '1a3030a828d8e7a742f3dfbff784e213f845859e', class: { 'label-container': true } }, h("slot", { key: '1f77e4c6566deffe7cd830fccb96d21c22daee4b', name: "left-content" })), h("div", { key: '3dc0a113348d15d52aae929792de6ee48da795ca', class: { 'file-container': true } }, this.FileContent), h("input", { key: 'a6fc37d212b5e4284f4eeec56dc4e7a32ff8374b', id: this.inputId, type: "file", accept: (_b = (_a = this.fileTypes) === null || _a === void 0 ? void 0 : _a.join(', ')) !== null && _b !== void 0 ? _b : '*', files: Boolean(this.file) ? [this.file] : undefined, onDrop: this.handleDrop, onDragEnter: this.handleDragEnter, onDragLeave: this.handleDragLeave, onChange: this.handleInputChange })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_c = this.errorText) !== null && _c !== void 0 ? _c : this.helperText)))));
|
5282
5282
|
}
|
5283
5283
|
get el() { return getElement(this); }
|
5284
5284
|
};
|
@@ -5295,7 +5295,7 @@ const CpslIcon = class {
|
|
5295
5295
|
this.icon = undefined;
|
5296
5296
|
}
|
5297
5297
|
render() {
|
5298
|
-
return (h(Host, { key: '
|
5298
|
+
return (h(Host, { key: '06850dc9a6d40b95e8b92ea8722bedfa1dc7b36f', part: "icon", role: "img" }, !Boolean(this.icon) ? h("img", { src: this.src }) : h("div", { innerHTML: Icons[this.icon] })));
|
5299
5299
|
}
|
5300
5300
|
};
|
5301
5301
|
CpslIcon.style = CpslIconStyle0;
|
@@ -5441,7 +5441,7 @@ const CpslInput = class {
|
|
5441
5441
|
}
|
5442
5442
|
render() {
|
5443
5443
|
var _a;
|
5444
|
-
return (h(Host, { key: '
|
5444
|
+
return (h(Host, { key: '28937d4a0e8c5a4e7b7a00e610013e52fa171f3a', class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.focusedValue) || Boolean(this.value) } }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: '8a2c5e7d32c93af2b0d463563c48e8104c639604', class: { 'input-container': true, 'error-container': Boolean(this.errorText) } }, h("slot", { key: 'd24440dff32cd3837638565764d2683bf16414ca', name: "start" }), h("input", { key: 'a3df402a5fd5f9a9d2483a1f0b65f9061468df15', class: "native-input", ref: input => (this.nativeInput = input), id: this.inputId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, type: this.type, value: this.value, onInput: this.onInput, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.focusInput, onPaste: this.onPaste }), h("slot", { key: 'f7472b02d119b4a458252128da5e61ebbfbdee56', name: "end" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
|
5445
5445
|
}
|
5446
5446
|
get el() { return getElement(this); }
|
5447
5447
|
static get watchers() { return {
|
@@ -14864,7 +14864,7 @@ const CpslNavButtonGroup = class {
|
|
14864
14864
|
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
14865
14865
|
}
|
14866
14866
|
render() {
|
14867
|
-
return (h(Host, { key: '
|
14867
|
+
return (h(Host, { key: 'e5cf1902a3d5f8b6df197441e144987dcb016762' }, h("slot", { key: '56322f15e640f356fae1c9eb16f525753d91fdae' })));
|
14868
14868
|
}
|
14869
14869
|
get el() { return getElement(this); }
|
14870
14870
|
static get watchers() { return {
|
@@ -14904,7 +14904,7 @@ const CpslOverlay = class {
|
|
14904
14904
|
}
|
14905
14905
|
}
|
14906
14906
|
render() {
|
14907
|
-
return (h(Host, { key: '
|
14907
|
+
return (h(Host, { key: 'daa05884bc8489f8227873b6778e129bdf922ffd', style: Boolean(this.zIndexOverride) ? { zIndex: `${this.zIndexOverride}` } : {} }, h("slot", { key: 'd0783d37893a51fe16fe292c5847dc4acee627ee' })));
|
14908
14908
|
}
|
14909
14909
|
get el() { return getElement(this); }
|
14910
14910
|
static get watchers() { return {
|
@@ -14990,7 +14990,7 @@ const CpslPagination = class {
|
|
14990
14990
|
filteredPages.push(this.totalPages - 1);
|
14991
14991
|
}
|
14992
14992
|
}
|
14993
|
-
return (h(Host, { key: '
|
14993
|
+
return (h(Host, { key: '42ae13b8cdb18ea35db7abc8195d49e36ee4494e' }, h("cpsl-button-group", { key: 'a031f2cda1cbd10724ef65cd2fd74b5b237b9841', selectedId: `${this.currentPage}` }, h("cpsl-button", { key: '83d653a99ce0eea881eb6332c9d7088b328c20dd', class: "arrow-button", onClick: this.handlePrevClick }, h("cpsl-icon", { key: '2e6650d7c873a9e2de4922c08c5b5b2fe27f2b33', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, h("cpsl-text", { variant: "bodyS" }, page + 1)))), h("cpsl-button", { key: '4cd4c8623368c96f3457d818a0542fd7ab560182', class: "arrow-button", onClick: this.handleNextClick }, h("cpsl-icon", { key: '52865869846d7afbe7a66f44f9564913caf97380', class: "icon", icon: "arrowNarrow" })))));
|
14994
14994
|
}
|
14995
14995
|
static get watchers() { return {
|
14996
14996
|
"currentPage": ["watchChange"]
|
@@ -15007,7 +15007,7 @@ const CpslPill = class {
|
|
15007
15007
|
this.text = undefined;
|
15008
15008
|
}
|
15009
15009
|
render() {
|
15010
|
-
return (h(Host, { key: '
|
15010
|
+
return (h(Host, { key: 'c57c4206cb82aef700747dee7712ed15ff5907b9' }, h("div", { key: 'bc60013838c2d7a7632269b711a506aa83e5b98c', class: "pill-container" }, h("span", { key: '6eb81137bfbe02e9fa68a5ef1399b7d73b6bc89b' }, this.text))));
|
15011
15011
|
}
|
15012
15012
|
};
|
15013
15013
|
CpslPill.style = CpslPillStyle0;
|
@@ -15220,7 +15220,7 @@ const CpslPopover = class {
|
|
15220
15220
|
}
|
15221
15221
|
render() {
|
15222
15222
|
var _a;
|
15223
|
-
return (h(Host, { key: '
|
15223
|
+
return (h(Host, { key: '0932bff390ad54961067dcae19e121dc2ed701a0', class: {
|
15224
15224
|
'open': this.open,
|
15225
15225
|
'transform-h-left': this.transformOriginHorizontal === 'left',
|
15226
15226
|
'transform-h-center': this.transformOriginHorizontal === 'center',
|
@@ -15228,7 +15228,7 @@ const CpslPopover = class {
|
|
15228
15228
|
'transform-v-top': this.transformOriginVertical === 'top',
|
15229
15229
|
'transform-v-center': this.transformOriginVertical === 'center',
|
15230
15230
|
'transform-v-bottom': this.transformOriginVertical === 'bottom',
|
15231
|
-
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, h("div", { key: '
|
15231
|
+
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, h("div", { key: 'a320096955a8ba71b14f8620fbe69eed66b4dc5d', id: "container", class: { container: true, open: this.open } }, h("slot", { key: '745bbee183c48bdbe079d7219690c556e9a9b442' }))));
|
15232
15232
|
}
|
15233
15233
|
get el() { return getElement(this); }
|
15234
15234
|
static get watchers() { return {
|
@@ -15312,7 +15312,7 @@ const CpslQrCode = class {
|
|
15312
15312
|
qrCode.append(container);
|
15313
15313
|
}
|
15314
15314
|
render() {
|
15315
|
-
return (h(Host, { key: '
|
15315
|
+
return (h(Host, { key: '7f549a58192515bbb5a8b42948f042e7b4eaf271' }, h("div", { key: '4464496f4e8236abcdbde9e6e0f20f2e04b5b392', id: "qr-container", class: "qr-container" })));
|
15316
15316
|
}
|
15317
15317
|
get el() { return getElement(this); }
|
15318
15318
|
};
|
@@ -15333,7 +15333,7 @@ const CpslRadio = class {
|
|
15333
15333
|
this.checked = undefined;
|
15334
15334
|
}
|
15335
15335
|
render() {
|
15336
|
-
return (h(Host, { key: '
|
15336
|
+
return (h(Host, { key: '15b4fdf30799927941280b3f11f4611e4e4d27b2' }, h("input", { key: 'd5bf9704061977610d98b99a6188933f720ffce3', type: "radio", checked: this.checked }), h("span", { key: 'd56242703448531efc847167b55013b420f17715', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
|
15337
15337
|
}
|
15338
15338
|
};
|
15339
15339
|
CpslRadio.style = CpslRadioStyle0;
|
@@ -15429,7 +15429,7 @@ const CpslSelect = class {
|
|
15429
15429
|
}
|
15430
15430
|
render() {
|
15431
15431
|
var _a, _b, _c, _d;
|
15432
|
-
return (h(Host, { key: '
|
15432
|
+
return (h(Host, { key: '96b15a986afbf40228adfb0ddfb5934ea79a9df0', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (h("label", { class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: 'b43bb6ef5670aff411a82391c5695f8840412f85', id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && h("slot", { name: "selected-item" }), h("div", { key: 'fa5654cfbeb30c963fd918599c4fc304e9d894c5', class: "selected-container-content", id: "selected-container-content" }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (h("cpsl-text", { class: { 'selected-text': true, 'placeholder': !Boolean(this.selectedValue) } }, !Boolean(this.selectedValue) ? (_a = this.placeholder) !== null && _a !== void 0 ? _a : 'Select' : (_c = (_b = this.formatValue) === null || _b === void 0 ? void 0 : _b.call(this, this.selectedValue)) !== null && _c !== void 0 ? _c : this.selectedValue))), h("cpsl-icon", { key: '063de47032a31e2c7d114467cc4eaedfcf8d59a8', class: { 'chevron': true, 'open': this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: "chevronUp" }), h("input", { key: '760922353c0971b766d80ac45430ebc806833a9a', id: this.inputId, disabled: this.disabled, class: { disabled: this.disabled }, value: this.selectedValue, onFocus: this.onFocus, onBlur: this.onBlur, onKeyPress: this.handleEnterPress, inputmode: "none" })), (this.errorText || this.helperText) && (h("div", { class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", null, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), h("cpsl-popover", { key: 'fcbf94fcc199d5415dc62faa3b7a0280f16418fa', autoWidth: false, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, h("div", { key: '95aa9ce659bf279c502b0f8b6e068765a1f29d5d', class: "dropdown" }, h("div", { key: '4b83c05b33d370d9ce8fa7450b11b24c75ddb025', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, h("slot", { key: 'a94a087322953b56c4b9e488b5e23ab6f020d37f', name: "items" }))))));
|
15433
15433
|
}
|
15434
15434
|
get el() { return getElement(this); }
|
15435
15435
|
static get watchers() { return {
|
@@ -15453,7 +15453,7 @@ const CpslSelectItem = class {
|
|
15453
15453
|
this.value = undefined;
|
15454
15454
|
}
|
15455
15455
|
render() {
|
15456
|
-
return (h(Host, { key: '
|
15456
|
+
return (h(Host, { key: '5841f3aa3d70c17dcdfc8b1e0517ac822667ec87' }, h("div", { key: 'cbac6744fdce3f011765f0588f51fe89112239ad', class: "outer-container", onClick: this.handleItemClick }, h("div", { key: '30aee519e6dfd394a01d7ff9c503752cff1c7d64', class: { 'inner-container': true, 'selected': this.selected } }, h("slot", { key: '9458a0da2d73be3de5703c0dde0b6208cdd8a196' })))));
|
15457
15457
|
}
|
15458
15458
|
};
|
15459
15459
|
CpslSelectItem.style = CpslSelectItemStyle0;
|
@@ -15578,7 +15578,7 @@ const CpslSlideButton = class {
|
|
15578
15578
|
return this.el.shadowRoot.getElementById('end-icon');
|
15579
15579
|
}
|
15580
15580
|
render() {
|
15581
|
-
return (h(Host, { key: '
|
15581
|
+
return (h(Host, { key: '0538d1828e3eed534326536946e16b205e34fd96' }, h("div", { key: 'dfca014b41bcdb615a0fd8ce6242cf361a0399d7', id: "slider-container", class: "slider-container" }, h("div", { key: '8cad818d06a7fcc8b7e5a22b7714a6faf777db16', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '0692e2b89ba22df7dca29d3b927810492591dd51', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '865dc1b876daa97033541efeb32779ac07078179', id: "slider", class: { slider: true, disabled: this.disabled } }, h("cpsl-icon", { key: '2e5e0049eee016583715ae1a33dff74e36c6a515', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), h("cpsl-icon", { key: '6e484c8497bf2e7777ebf93d3af141477d8f82e8', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), h("span", { key: 'b7b8064fa212af5802ee21c170133ef0e32ff14c', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), h("span", { key: 'b42e78a763a983bb17e7d02ed51253982be4546f', id: "end-text", class: "end-text" }, this.endText))));
|
15582
15582
|
}
|
15583
15583
|
get el() { return getElement(this); }
|
15584
15584
|
};
|
@@ -15594,13 +15594,13 @@ const CpslSpinner = class {
|
|
15594
15594
|
this.speed = 1;
|
15595
15595
|
}
|
15596
15596
|
render() {
|
15597
|
-
return (h(Host, { key: '
|
15597
|
+
return (h(Host, { key: '146fc6a1a8101f6738263e432b49ed6c927d8eb3', style: {
|
15598
15598
|
'height': `${this.size}px`,
|
15599
15599
|
'width': `${this.size}px`,
|
15600
15600
|
'animation': `spin ${this.speed}s linear infinite`,
|
15601
15601
|
'-webkit-animation': `spin ${this.speed}s linear infinite`,
|
15602
15602
|
'-moz-animation': `spin ${this.speed}s linear infinite`,
|
15603
|
-
} }, h("svg", { key: '
|
15603
|
+
} }, h("svg", { key: '2f7fadd536c94b7919180bcb38a64e54cf8ff073', height: this.size, width: this.size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 54 54", fill: "none" }, h("path", { key: '427351f7b255cbf337f8b1d45272339b3fef873e', d: "M43.1586 17C39.8082 11.5978 33.8243 8 27 8C16.5066 8 8 16.5066 8 27C8 37.4934 16.5066 46 27 46C33.8242 46 39.8082 42.4022 43.1586 37", "stroke-width": "6", "stroke-linecap": "round" }), h("circle", { key: '43787fa0376df4defda8a47f5c5c8d01258dde10', cx: "45", cy: "27", r: "5" }))));
|
15604
15604
|
}
|
15605
15605
|
};
|
15606
15606
|
CpslSpinner.style = CpslSpinnerStyle0;
|
@@ -15618,7 +15618,7 @@ const CpslSwitch = class {
|
|
15618
15618
|
this.checked = undefined;
|
15619
15619
|
}
|
15620
15620
|
render() {
|
15621
|
-
return (h(Host, { key: '
|
15621
|
+
return (h(Host, { key: '5757a05c5149c8fb785bcb796d7c110f4725bbfa' }, h("input", { key: 'fdbbc3cdac8674bc3bbcf5563302a763d3678905', type: "checkbox", checked: this.checked }), h("span", { key: '471c0ae137ad553c6b7186a08722e156959ed3cc', onClick: this.handleSwitchClick, class: { container: true, checked: this.checked } }, h("span", { key: '53bbfd9b807c36bc49130ad71611d274757b5fb1', class: { thumb: true, checked: this.checked } }))));
|
15622
15622
|
}
|
15623
15623
|
};
|
15624
15624
|
CpslSwitch.style = CpslSwitchStyle0;
|
@@ -15650,13 +15650,13 @@ const CpslTab = class {
|
|
15650
15650
|
}
|
15651
15651
|
}
|
15652
15652
|
render() {
|
15653
|
-
return (h(Host, { key: '
|
15653
|
+
return (h(Host, { key: 'b899e8122b57fdf859c43d9cf9ade27af3bf5c5f', onClick: this.onTabClicked }, h("div", { key: 'f96ead5f65606af3fe63c708af511adfb022f386', class: { 'tab-container': true } }, h("slot", { key: '780d6deda346635aaced9c3dfa875b44ffece7eb' }))));
|
15654
15654
|
}
|
15655
15655
|
get el() { return getElement(this); }
|
15656
15656
|
};
|
15657
15657
|
CpslTab.style = CpslTabStyle0;
|
15658
15658
|
|
15659
|
-
const cpslTableCss = ":host{--container-border-radius:var(--cpsl-border-radius-table-container);--container-border-color:var(--cpsl-color-background-16);--container-background-color:var(--cpsl-color-background-0);--container-border-width:1px;--container-header-padding-top:24px;--container-header-padding-bottom:24px;--container-header-padding-start:24px;--container-header-padding-end:24px;--container-header-border-width:1px;--container-header-border-color:var(--cpsl-color-background-16);--container-footer-padding-top:16px;--container-footer-padding-bottom:16px;--container-footer-padding-start:24px;--container-footer-padding-end:24px;--container-footer-border-width:1px;--container-footer-border-color:var(--cpsl-color-background-8);--table-header-padding-top:16px;--table-header-padding-bottom:16px;--table-header-padding-start:24px;--table-header-padding-end:24px;--table-header-background-color:var(--cpsl-color-background-4);--table-header-border-color:var(--cpsl-color-background-16);--table-header-border-width:1px;--table-content-padding-top:16px;--table-content-padding-bottom:16px;--table-content-padding-start:24px;--table-content-padding-end:24px;--table-content-border-color:var(--cpsl-color-background-8);--table-content-border-width:1px;display:block}:host cpsl-card{height:100%;--card-padding-top:0px;--card-padding-bottom:0px;--card-padding-start:0px;--card-padding-end:0px;--card-border-width:var(--container-border-width);--card-border-color:var(--container-border-color);--card-border-radius:var(--container-border-radius);--card-background-color:var(--container-background-color)}:host cpsl-card::part(card-container){height:100%;display:flex;flex-direction:column}.content{overflow:auto;position:
|
15659
|
+
const cpslTableCss = ":host{--container-border-radius:var(--cpsl-border-radius-table-container);--container-border-color:var(--cpsl-color-background-16);--container-background-color:var(--cpsl-color-background-0);--container-border-width:1px;--container-header-padding-top:24px;--container-header-padding-bottom:24px;--container-header-padding-start:24px;--container-header-padding-end:24px;--container-header-border-width:1px;--container-header-border-color:var(--cpsl-color-background-16);--container-footer-padding-top:16px;--container-footer-padding-bottom:16px;--container-footer-padding-start:24px;--container-footer-padding-end:24px;--container-footer-border-width:1px;--container-footer-border-color:var(--cpsl-color-background-8);--table-header-padding-top:16px;--table-header-padding-bottom:16px;--table-header-padding-start:24px;--table-header-padding-end:24px;--table-header-background-color:var(--cpsl-color-background-4);--table-header-border-color:var(--cpsl-color-background-16);--table-header-border-width:1px;--table-content-padding-top:16px;--table-content-padding-bottom:16px;--table-content-padding-start:24px;--table-content-padding-end:24px;--table-content-border-color:var(--cpsl-color-background-8);--table-content-border-width:1px;display:block}:host cpsl-card{height:100%;--card-padding-top:0px;--card-padding-bottom:0px;--card-padding-start:0px;--card-padding-end:0px;--card-border-width:var(--container-border-width);--card-border-color:var(--container-border-color);--card-border-radius:var(--container-border-radius);--card-background-color:var(--container-background-color)}:host cpsl-card::part(card-container){height:100%;display:flex;flex-direction:column}.content{flex:1;overflow:auto;position:relative}.overlay{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.overlay.horizontal-scroll:not(.vertical-scroll){box-shadow:-24px 0px 24px -24px rgba(0, 0, 0, 0.1) inset}.overlay.vertical-scroll:not(.horizontal-scroll){box-shadow:0px -24px 24px -24px rgba(0, 0, 0, 0.1) inset}.overlay.horizontal-scroll.vertical-scroll{box-shadow:-24px -24px 24px -24px rgba(0, 0, 0, 0.1) inset}.table-wrapper{overflow:auto;height:100%}.container-header{display:none;-webkit-padding-start:var(--container-header-padding-start);padding-inline-start:var(--container-header-padding-start);-webkit-padding-end:var(--container-header-padding-end);padding-inline-end:var(--container-header-padding-end);padding-top:var(--container-header-padding-top);padding-bottom:var(--container-header-padding-bottom);border-bottom:var(--container-header-border-width) solid var(--container-header-border-color)}.container-footer{display:none;-webkit-padding-start:var(--container-footer-padding-start);padding-inline-start:var(--container-footer-padding-start);-webkit-padding-end:var(--container-footer-padding-end);padding-inline-end:var(--container-footer-padding-end);padding-top:var(--container-footer-padding-top);padding-bottom:var(--container-footer-padding-bottom);border-top:var(--container-footer-border-width) solid var(--container-footer-border-color)}.shown{display:block}";
|
15660
15660
|
const CpslTableStyle0 = cpslTableCss;
|
15661
15661
|
|
15662
15662
|
const CpslTable = class {
|
@@ -15696,11 +15696,17 @@ const CpslTable = class {
|
|
15696
15696
|
get contentContainerEl() {
|
15697
15697
|
return this.el.shadowRoot.getElementById('content-container');
|
15698
15698
|
}
|
15699
|
+
get headerEl() {
|
15700
|
+
return this.el.shadowRoot.getElementById('header-container');
|
15701
|
+
}
|
15699
15702
|
get containerSlotEl() {
|
15700
15703
|
return this.el.querySelector('[slot="content"]');
|
15701
15704
|
}
|
15705
|
+
get footerEl() {
|
15706
|
+
return this.el.shadowRoot.getElementById('footer-container');
|
15707
|
+
}
|
15702
15708
|
render() {
|
15703
|
-
return (h(Host, { key: '
|
15709
|
+
return (h(Host, { key: 'c697e33ff0d764f2a99ea98fbbedbb8b3813fb2d' }, h("cpsl-card", { key: 'a1ac41d42ef793cd3d5acd2e7d0468586351b3b4', part: "table-container", style: { position: 'relative' } }, h("div", { key: '5dcce6e3711ce9bdee0e890ab697c2452abdf29e', id: "header-container", class: { 'container-header': true, 'shown': Boolean(this.containerHeaderEl) } }, h("slot", { key: '6256e32a37806f8f6e1fb62a5bc61f937ee16c19', name: "header" })), h("div", { key: 'd151946e88ed755bac82490a237a9336be339abc', id: "content-container", class: { 'content': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll }, part: "content" }, h("slot", { key: '2afa462b208482a645e88060b74ef8150e4fc0d0', name: "content" })), this.headerEl && this.contentContainerEl && this.footerEl && (h("div", { style: { top: `${this.headerEl.clientHeight + 2}px`, height: `${this.contentContainerEl.clientHeight}px` }, class: { 'overlay': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll } })), h("div", { key: '0c8aceeb251955750a45017d5d44eb9be9e2fafc', id: "footer-container", class: { 'container-footer': true, 'shown': Boolean(this.containerFooterEl) } }, h("slot", { key: '0e9f35d9f1d50654a1cca75e008a3cc162fb316c', name: "footer" })))));
|
15704
15710
|
}
|
15705
15711
|
get el() { return getElement(this); }
|
15706
15712
|
};
|
@@ -15759,7 +15765,7 @@ const CpslTabs = class {
|
|
15759
15765
|
const tabsPosition = this.el.getBoundingClientRect();
|
15760
15766
|
const tabsBorderWidth = +getComputedStyle(this.el).getPropertyValue('--tabs-border-width').slice(0, -2);
|
15761
15767
|
const selectedTabRect = this.selectedTabRect;
|
15762
|
-
return (h(Host, { key: '
|
15768
|
+
return (h(Host, { key: 'f12c604fc3dadd8088792f02b42bd36618afa298', class: { 'full-width': this.fullWidth }, onCpslTabButtonClick: this.onTabClicked }, h("div", { key: 'be9cfe9c9e069c9593c40d32f474dd23bb8a63fd', class: "tabs-container" }, h("slot", { key: '50ec843d4ae261a0c4f0034d6f60366f5114f55c' }), h("div", { key: '814c5513a2945059ff240912b26a7936a0ee7478', class: { slider: true, loaded: this.loaded }, style: { width: `${selectedTabRect.width}px`, left: `${selectedTabRect.x - tabsPosition.x - tabsBorderWidth * 2}px` } }))));
|
15763
15769
|
}
|
15764
15770
|
get el() { return getElement(this); }
|
15765
15771
|
static get watchers() { return {
|
@@ -15809,7 +15815,7 @@ const CpslText = class {
|
|
15809
15815
|
}
|
15810
15816
|
}
|
15811
15817
|
render() {
|
15812
|
-
return (h(Host, { key: '
|
15818
|
+
return (h(Host, { key: '97db3be68cbcd4a59851a74bfefac921b9f7efc0', class: {
|
15813
15819
|
'primary': this.color === 'primary',
|
15814
15820
|
'secondary': this.color === 'secondary',
|
15815
15821
|
'tertiary': this.color === 'tertiary',
|
@@ -15846,7 +15852,7 @@ const CpslTileButton = class {
|
|
15846
15852
|
this.icon = undefined;
|
15847
15853
|
}
|
15848
15854
|
render() {
|
15849
|
-
return (h(Host, { key: '
|
15855
|
+
return (h(Host, { key: 'e12a3acf1adac28cb7ed464426bd50b48e5727d8' }, h("button", { key: '005df699f7b93807598568cd6542907f851d0234', class: "button-native" }, h("cpsl-icon", { key: 'af574fff1782925d1bc8d4146538fb179f63dead', exportparts: "icon", src: this.src, icon: this.icon }), h("slot", { key: 'b6a1d9557e7dbf974411496c7a29b1c0e5d648f3' }))));
|
15850
15856
|
}
|
15851
15857
|
};
|
15852
15858
|
CpslTileButton.style = CpslTileButtonStyle0;
|