@cumulus-ui/components 0.5.10 → 0.5.12
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/button/internal.d.ts.map +1 -1
- package/dist/content-layout/internal.d.ts +6 -0
- package/dist/content-layout/internal.d.ts.map +1 -1
- package/dist/index.js +285 -199
- package/dist/item-card/internal.d.ts +2 -0
- package/dist/item-card/internal.d.ts.map +1 -1
- package/dist/prompt-input/internal.d.ts +4 -0
- package/dist/prompt-input/internal.d.ts.map +1 -1
- package/dist/property-filter/internal.d.ts +3 -0
- package/dist/property-filter/internal.d.ts.map +1 -1
- package/dist/slider/internal.d.ts +2 -0
- package/dist/slider/internal.d.ts.map +1 -1
- package/dist/table/internal.d.ts +3 -0
- package/dist/table/internal.d.ts.map +1 -1
- package/dist/token/internal.d.ts +1 -0
- package/dist/token/internal.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/internal/collection-controller.d.ts +0 -72
- package/dist/internal/collection-controller.d.ts.map +0 -1
- package/dist/internal/components/dropdown/internal.d.ts +0 -27
- package/dist/internal/components/dropdown/internal.d.ts.map +0 -1
- package/dist/internal/components/dropdown/styles.d.ts +0 -2
- package/dist/internal/components/dropdown/styles.d.ts.map +0 -1
- package/dist/internal/components/navigable-group/index.d.ts +0 -3
- package/dist/internal/components/navigable-group/index.d.ts.map +0 -1
- package/dist/internal/components/navigable-group/navigable-group-controller.d.ts +0 -42
- package/dist/internal/components/navigable-group/navigable-group-controller.d.ts.map +0 -1
- package/dist/internal/hooks/use-controllable.d.ts +0 -25
- package/dist/internal/hooks/use-controllable.d.ts.map +0 -1
- package/dist/internal/hooks/use-focus-tracker.d.ts +0 -24
- package/dist/internal/hooks/use-focus-tracker.d.ts.map +0 -1
- package/dist/internal/slot-utils.d.ts +0 -10
- package/dist/internal/slot-utils.d.ts.map +0 -1
- package/dist/internal/styles/global.d.ts +0 -3
- package/dist/internal/styles/global.d.ts.map +0 -1
- package/dist/internal/theming.d.ts +0 -2
- package/dist/internal/theming.d.ts.map +0 -1
- package/dist/internal/utils/debounce.d.ts +0 -8
- package/dist/internal/utils/debounce.d.ts.map +0 -1
- package/dist/internal/utils/dom.d.ts +0 -12
- package/dist/internal/utils/dom.d.ts.map +0 -1
- package/dist/internal/utils/strings.d.ts +0 -5
- package/dist/internal/utils/strings.d.ts.map +0 -1
- package/dist/internal/utils/throttle.d.ts +0 -7
- package/dist/internal/utils/throttle.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1124,6 +1124,7 @@ var CsButtonInternal = class extends Base {
|
|
|
1124
1124
|
e.stopPropagation();
|
|
1125
1125
|
return;
|
|
1126
1126
|
}
|
|
1127
|
+
e.stopPropagation();
|
|
1127
1128
|
if (this.href) {
|
|
1128
1129
|
const isModified = e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey;
|
|
1129
1130
|
if (!isModified) {
|
|
@@ -9515,6 +9516,9 @@ var CsContentLayoutInternal = class extends CsBaseElement {
|
|
|
9515
9516
|
this.headerVariant = "default";
|
|
9516
9517
|
this.defaultPadding = false;
|
|
9517
9518
|
this._hasHeader = false;
|
|
9519
|
+
this._hasNotifications = false;
|
|
9520
|
+
this._hasBreadcrumbs = false;
|
|
9521
|
+
this._hasSecondaryHeader = false;
|
|
9518
9522
|
}
|
|
9519
9523
|
static {
|
|
9520
9524
|
this.styles = [sharedStyles, componentStyles24, hostStyles26];
|
|
@@ -9524,6 +9528,21 @@ var CsContentLayoutInternal = class extends CsBaseElement {
|
|
|
9524
9528
|
this._hasHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
9525
9529
|
this.requestUpdate();
|
|
9526
9530
|
}
|
|
9531
|
+
_onNotificationsSlotChange(e) {
|
|
9532
|
+
const slot = e.target;
|
|
9533
|
+
this._hasNotifications = slot.assignedNodes({ flatten: true }).length > 0;
|
|
9534
|
+
this.requestUpdate();
|
|
9535
|
+
}
|
|
9536
|
+
_onBreadcrumbsSlotChange(e) {
|
|
9537
|
+
const slot = e.target;
|
|
9538
|
+
this._hasBreadcrumbs = slot.assignedNodes({ flatten: true }).length > 0;
|
|
9539
|
+
this.requestUpdate();
|
|
9540
|
+
}
|
|
9541
|
+
_onSecondaryHeaderSlotChange(e) {
|
|
9542
|
+
const slot = e.target;
|
|
9543
|
+
this._hasSecondaryHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
9544
|
+
this.requestUpdate();
|
|
9545
|
+
}
|
|
9527
9546
|
render() {
|
|
9528
9547
|
const layoutClasses = {
|
|
9529
9548
|
"layout": true,
|
|
@@ -9546,8 +9565,11 @@ var CsContentLayoutInternal = class extends CsBaseElement {
|
|
|
9546
9565
|
<div class=${classMap23(backgroundClasses)}>
|
|
9547
9566
|
${this.headerBackgroundStyle ? html27`<div class="header-background" style="background: ${this.headerBackgroundStyle}"></div>` : nothing10}
|
|
9548
9567
|
</div>
|
|
9568
|
+
${this._hasNotifications ? html27`<div class="notifications"><slot name="notifications" @slotchange=${this._onNotificationsSlotChange}></slot></div>` : html27`<slot name="notifications" @slotchange=${this._onNotificationsSlotChange} style="display:none"></slot>`}
|
|
9569
|
+
${this._hasBreadcrumbs ? html27`<div class="breadcrumbs"><slot name="breadcrumbs" @slotchange=${this._onBreadcrumbsSlotChange}></slot></div>` : html27`<slot name="breadcrumbs" @slotchange=${this._onBreadcrumbsSlotChange} style="display:none"></slot>`}
|
|
9549
9570
|
<div class=${classMap23(headerClasses)}>
|
|
9550
9571
|
<slot name="header" @slotchange=${this._onHeaderSlotChange}></slot>
|
|
9572
|
+
${this._hasSecondaryHeader ? html27`<div class="secondary-header"><slot name="secondary-header" @slotchange=${this._onSecondaryHeaderSlotChange}></slot></div>` : html27`<slot name="secondary-header" @slotchange=${this._onSecondaryHeaderSlotChange} style="display:none"></slot>`}
|
|
9551
9573
|
</div>
|
|
9552
9574
|
<div class="content">
|
|
9553
9575
|
<slot></slot>
|
|
@@ -10149,6 +10171,7 @@ var CsTokenInternal = class extends CsBaseElement {
|
|
|
10149
10171
|
this.description = "";
|
|
10150
10172
|
this.disabled = false;
|
|
10151
10173
|
this.readOnly = false;
|
|
10174
|
+
this.dismissible = false;
|
|
10152
10175
|
this.dismissLabel = "Remove";
|
|
10153
10176
|
this.variant = "normal";
|
|
10154
10177
|
this._onDismiss = () => {
|
|
@@ -10161,7 +10184,7 @@ var CsTokenInternal = class extends CsBaseElement {
|
|
|
10161
10184
|
}
|
|
10162
10185
|
render() {
|
|
10163
10186
|
const isInline = this.variant === "inline";
|
|
10164
|
-
const showDismiss = !this.disabled && !this.readOnly;
|
|
10187
|
+
const showDismiss = this.dismissible && !this.disabled && !this.readOnly;
|
|
10165
10188
|
const boxClasses = {
|
|
10166
10189
|
"token-box": !isInline,
|
|
10167
10190
|
"token-box-inline": isInline,
|
|
@@ -10247,6 +10270,9 @@ __decorateClass([
|
|
|
10247
10270
|
__decorateClass([
|
|
10248
10271
|
property28({ type: Boolean, reflect: true })
|
|
10249
10272
|
], CsTokenInternal.prototype, "readOnly", 2);
|
|
10273
|
+
__decorateClass([
|
|
10274
|
+
property28({ type: Boolean, reflect: true })
|
|
10275
|
+
], CsTokenInternal.prototype, "dismissible", 2);
|
|
10250
10276
|
__decorateClass([
|
|
10251
10277
|
property28({ type: String })
|
|
10252
10278
|
], CsTokenInternal.prototype, "dismissLabel", 2);
|
|
@@ -12179,7 +12205,7 @@ var CsToggleButton = class extends CsToggleButtonInternal {
|
|
|
12179
12205
|
customElements.define("cs-toggle-button", CsToggleButton);
|
|
12180
12206
|
|
|
12181
12207
|
// src/slider/internal.ts
|
|
12182
|
-
import { css as css76, html as html35 } from "lit";
|
|
12208
|
+
import { css as css76, html as html35, nothing as nothing16 } from "lit";
|
|
12183
12209
|
import { property as property34 } from "lit/decorators.js";
|
|
12184
12210
|
import { classMap as classMap31 } from "lit/directives/class-map.js";
|
|
12185
12211
|
import { ifDefined as ifDefined17 } from "lit/directives/if-defined.js";
|
|
@@ -12592,6 +12618,8 @@ var CsSliderInternal = class extends CsBaseElement {
|
|
|
12592
12618
|
this.max = 100;
|
|
12593
12619
|
this.step = 1;
|
|
12594
12620
|
this.disabled = false;
|
|
12621
|
+
this.hideFillLine = false;
|
|
12622
|
+
this.tickMarks = [];
|
|
12595
12623
|
this.ariaLabel = null;
|
|
12596
12624
|
this.ariaDescription = null;
|
|
12597
12625
|
this._onInput = (e) => {
|
|
@@ -12631,10 +12659,14 @@ var CsSliderInternal = class extends CsBaseElement {
|
|
|
12631
12659
|
<div class="root">
|
|
12632
12660
|
<div class="slider">
|
|
12633
12661
|
<div class=${classMap31(trackClasses)}></div>
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12662
|
+
${this.hideFillLine ? nothing16 : html35`<div
|
|
12663
|
+
class=${classMap31(rangeClasses)}
|
|
12664
|
+
style="--awsui-slider-range-inline-size-6b9ypa: ${percent}%"
|
|
12665
|
+
></div>`}
|
|
12666
|
+
${this.tickMarks.length > 0 ? html35`<div class="tick-marks">${this.tickMarks.map((tick) => {
|
|
12667
|
+
const tickPercent = this.max === this.min ? 0 : (tick - this.min) / (this.max - this.min) * 100;
|
|
12668
|
+
return html35`<div class="tick-mark" style="inset-inline-start: ${tickPercent}%"></div>`;
|
|
12669
|
+
})}</div>` : nothing16}
|
|
12638
12670
|
<input
|
|
12639
12671
|
type="range"
|
|
12640
12672
|
class=${classMap31(thumbClasses)}
|
|
@@ -12674,6 +12706,12 @@ __decorateClass([
|
|
|
12674
12706
|
__decorateClass([
|
|
12675
12707
|
property34({ type: Boolean, reflect: true })
|
|
12676
12708
|
], CsSliderInternal.prototype, "disabled", 2);
|
|
12709
|
+
__decorateClass([
|
|
12710
|
+
property34({ type: Boolean, reflect: true })
|
|
12711
|
+
], CsSliderInternal.prototype, "hideFillLine", 2);
|
|
12712
|
+
__decorateClass([
|
|
12713
|
+
property34({ attribute: false })
|
|
12714
|
+
], CsSliderInternal.prototype, "tickMarks", 2);
|
|
12677
12715
|
__decorateClass([
|
|
12678
12716
|
property34({ type: String })
|
|
12679
12717
|
], CsSliderInternal.prototype, "ariaLabel", 2);
|
|
@@ -12953,6 +12991,18 @@ var CsPromptInputInternal = class extends CsBaseElement {
|
|
|
12953
12991
|
this.actionButtonIconName = "send";
|
|
12954
12992
|
this.disableActionButton = false;
|
|
12955
12993
|
this.ariaLabel = null;
|
|
12994
|
+
this._hasSecondaryContent = false;
|
|
12995
|
+
this._hasSecondaryActions = false;
|
|
12996
|
+
this._onSecondaryContentSlotChange = (e) => {
|
|
12997
|
+
const slot = e.target;
|
|
12998
|
+
this._hasSecondaryContent = slot.assignedNodes({ flatten: true }).length > 0;
|
|
12999
|
+
this.requestUpdate();
|
|
13000
|
+
};
|
|
13001
|
+
this._onSecondaryActionsSlotChange = (e) => {
|
|
13002
|
+
const slot = e.target;
|
|
13003
|
+
this._hasSecondaryActions = slot.assignedNodes({ flatten: true }).length > 0;
|
|
13004
|
+
this.requestUpdate();
|
|
13005
|
+
};
|
|
12956
13006
|
this._onTextareaInput = (e) => {
|
|
12957
13007
|
const textarea = e.target;
|
|
12958
13008
|
this.value = textarea.value;
|
|
@@ -12995,6 +13045,7 @@ var CsPromptInputInternal = class extends CsBaseElement {
|
|
|
12995
13045
|
};
|
|
12996
13046
|
return html36`
|
|
12997
13047
|
<div class=${classMap32(rootClasses)}>
|
|
13048
|
+
${this._hasSecondaryContent ? html36`<div class="secondary-content"><slot name="secondary-content" @slotchange=${this._onSecondaryContentSlotChange}></slot></div>` : html36`<slot name="secondary-content" @slotchange=${this._onSecondaryContentSlotChange} style="display:none"></slot>`}
|
|
12998
13049
|
<div class="textarea-wrapper">
|
|
12999
13050
|
<textarea
|
|
13000
13051
|
class=${classMap32(textareaClasses)}
|
|
@@ -13007,6 +13058,7 @@ var CsPromptInputInternal = class extends CsBaseElement {
|
|
|
13007
13058
|
@input=${this._onTextareaInput}
|
|
13008
13059
|
@keydown=${this._onTextareaKeyDown}
|
|
13009
13060
|
></textarea>
|
|
13061
|
+
${this._hasSecondaryActions ? html36`<span class="secondary-actions"><slot name="secondary-actions" @slotchange=${this._onSecondaryActionsSlotChange}></slot></span>` : html36`<slot name="secondary-actions" @slotchange=${this._onSecondaryActionsSlotChange} style="display:none"></slot>`}
|
|
13010
13062
|
<span class="primary-action">
|
|
13011
13063
|
<cs-button
|
|
13012
13064
|
class="action-button"
|
|
@@ -13354,7 +13406,7 @@ var CsFileInput = class extends CsFileInputInternal {
|
|
|
13354
13406
|
customElements.define("cs-file-input", CsFileInput);
|
|
13355
13407
|
|
|
13356
13408
|
// src/tabs/internal.ts
|
|
13357
|
-
import { css as css84, html as html39, nothing as
|
|
13409
|
+
import { css as css84, html as html39, nothing as nothing17 } from "lit";
|
|
13358
13410
|
import { property as property38, state as state9 } from "lit/decorators.js";
|
|
13359
13411
|
import { classMap as classMap34 } from "lit/directives/class-map.js";
|
|
13360
13412
|
import { ifDefined as ifDefined20 } from "lit/directives/if-defined.js";
|
|
@@ -13823,7 +13875,7 @@ var CsTabsInternal = class extends CsBaseElement {
|
|
|
13823
13875
|
tabindex=${tab.id === activeId ? 0 : -1}
|
|
13824
13876
|
>
|
|
13825
13877
|
<slot name=${tab.id}></slot>
|
|
13826
|
-
${tab.content != null && tab.id === activeId ? html39`<span>${tab.content}</span>` :
|
|
13878
|
+
${tab.content != null && tab.id === activeId ? html39`<span>${tab.content}</span>` : nothing17}
|
|
13827
13879
|
</div>
|
|
13828
13880
|
`)}
|
|
13829
13881
|
</div>` : this.tabs.map((tab) => html39`
|
|
@@ -13838,7 +13890,7 @@ var CsTabsInternal = class extends CsBaseElement {
|
|
|
13838
13890
|
tabindex=${tab.id === activeId ? 0 : -1}
|
|
13839
13891
|
>
|
|
13840
13892
|
<slot name=${tab.id}></slot>
|
|
13841
|
-
${tab.content != null && tab.id === activeId ? html39`<span>${tab.content}</span>` :
|
|
13893
|
+
${tab.content != null && tab.id === activeId ? html39`<span>${tab.content}</span>` : nothing17}
|
|
13842
13894
|
</div>
|
|
13843
13895
|
`)}
|
|
13844
13896
|
</div>
|
|
@@ -13877,7 +13929,7 @@ var CsTabs = class extends CsTabsInternal {
|
|
|
13877
13929
|
customElements.define("cs-tabs", CsTabs);
|
|
13878
13930
|
|
|
13879
13931
|
// src/expandable-section/internal.ts
|
|
13880
|
-
import { css as css86, html as html40, nothing as
|
|
13932
|
+
import { css as css86, html as html40, nothing as nothing18 } from "lit";
|
|
13881
13933
|
import { property as property39, state as state10 } from "lit/decorators.js";
|
|
13882
13934
|
import { classMap as classMap35 } from "lit/directives/class-map.js";
|
|
13883
13935
|
|
|
@@ -14231,7 +14283,7 @@ var CsExpandableSectionInternal = class extends CsBaseElement {
|
|
|
14231
14283
|
_renderHeadingContent() {
|
|
14232
14284
|
const headerTextContent = html40`
|
|
14233
14285
|
<span class="header-text">${this.headerText}</span>
|
|
14234
|
-
${this.headerCounter ? html40`<span class="header-counter"> ${this.headerCounter}</span>` :
|
|
14286
|
+
${this.headerCounter ? html40`<span class="header-counter"> ${this.headerCounter}</span>` : nothing18}
|
|
14235
14287
|
`;
|
|
14236
14288
|
return headerTextContent;
|
|
14237
14289
|
}
|
|
@@ -14314,7 +14366,7 @@ var CsExpandableSectionInternal = class extends CsBaseElement {
|
|
|
14314
14366
|
</div>
|
|
14315
14367
|
<div class=${isContainer ? "header-container" : "header-text-wrapper"}>
|
|
14316
14368
|
${this._renderHeading()}
|
|
14317
|
-
${this.headerDescription ? html40`<span class="header-description">${this.headerDescription}</span>` :
|
|
14369
|
+
${this.headerDescription ? html40`<span class="header-description">${this.headerDescription}</span>` : nothing18}
|
|
14318
14370
|
</div>
|
|
14319
14371
|
</div>
|
|
14320
14372
|
<slot name="headerActions"></slot>
|
|
@@ -14363,7 +14415,7 @@ var CsExpandableSection = class extends CsExpandableSectionInternal {
|
|
|
14363
14415
|
customElements.define("cs-expandable-section", CsExpandableSection);
|
|
14364
14416
|
|
|
14365
14417
|
// src/button-dropdown/internal.ts
|
|
14366
|
-
import { css as css89, html as html41, nothing as
|
|
14418
|
+
import { css as css89, html as html41, nothing as nothing19 } from "lit";
|
|
14367
14419
|
import { property as property40, state as state11, query as query2 } from "lit/decorators.js";
|
|
14368
14420
|
import { classMap as classMap36 } from "lit/directives/class-map.js";
|
|
14369
14421
|
import { ifDefined as ifDefined21 } from "lit/directives/if-defined.js";
|
|
@@ -14887,7 +14939,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14887
14939
|
tabindex=${tabIndex}
|
|
14888
14940
|
@click=${this._onTriggerClick}
|
|
14889
14941
|
>
|
|
14890
|
-
${this.loading ? html41`<span class="icon icon-left"><cs-icon name="status-in-progress"></cs-icon></span>` :
|
|
14942
|
+
${this.loading ? html41`<span class="icon icon-left"><cs-icon name="status-in-progress"></cs-icon></span>` : nothing19}
|
|
14891
14943
|
<slot></slot>
|
|
14892
14944
|
<span class=${classMap36(caretClasses)}>
|
|
14893
14945
|
<cs-icon name="caret-down-filled"></cs-icon>
|
|
@@ -14896,7 +14948,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14896
14948
|
`;
|
|
14897
14949
|
}
|
|
14898
14950
|
_renderItems() {
|
|
14899
|
-
if (!this._open) return
|
|
14951
|
+
if (!this._open) return nothing19;
|
|
14900
14952
|
const flatItems = this._flatItems();
|
|
14901
14953
|
return html41`
|
|
14902
14954
|
<div class="dropdown" role="menu">
|
|
@@ -14930,12 +14982,12 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14930
14982
|
if (item.disabled) e.preventDefault();
|
|
14931
14983
|
}}
|
|
14932
14984
|
>
|
|
14933
|
-
${item.iconName ? html41`<span class="button-dropdown-item-element--icon"><cs-icon name=${item.iconName}></cs-icon></span>` :
|
|
14985
|
+
${item.iconName ? html41`<span class="button-dropdown-item-element--icon"><cs-icon name=${item.iconName}></cs-icon></span>` : nothing19}
|
|
14934
14986
|
<span>${item.text}</span>
|
|
14935
14987
|
</a>
|
|
14936
14988
|
` : html41`
|
|
14937
14989
|
<span class=${classMap36(menuItemClasses)} tabindex="-1">
|
|
14938
|
-
${item.iconName ? html41`<span class="button-dropdown-item-element--icon"><cs-icon name=${item.iconName}></cs-icon></span>` :
|
|
14990
|
+
${item.iconName ? html41`<span class="button-dropdown-item-element--icon"><cs-icon name=${item.iconName}></cs-icon></span>` : nothing19}
|
|
14939
14991
|
<span>${item.text}</span>
|
|
14940
14992
|
</span>
|
|
14941
14993
|
`}
|
|
@@ -15478,7 +15530,7 @@ var CsBreadcrumbGroup = class extends CsBreadcrumbGroupInternal {
|
|
|
15478
15530
|
customElements.define("cs-breadcrumb-group", CsBreadcrumbGroup);
|
|
15479
15531
|
|
|
15480
15532
|
// src/select/internal.ts
|
|
15481
|
-
import { css as css97, html as html44, nothing as
|
|
15533
|
+
import { css as css97, html as html44, nothing as nothing20 } from "lit";
|
|
15482
15534
|
import { property as property43, state as state12, query as query3 } from "lit/decorators.js";
|
|
15483
15535
|
import { classMap as classMap38 } from "lit/directives/class-map.js";
|
|
15484
15536
|
import { ifDefined as ifDefined24 } from "lit/directives/if-defined.js";
|
|
@@ -16025,12 +16077,12 @@ var CsSelectInternal = class extends Base6 {
|
|
|
16025
16077
|
<div class="option-content">
|
|
16026
16078
|
<div class="option-label">
|
|
16027
16079
|
${opt.label || opt.value || ""}
|
|
16028
|
-
${opt.labelTag ? html44`<span class="option-label-tag">${opt.labelTag}</span>` :
|
|
16080
|
+
${opt.labelTag ? html44`<span class="option-label-tag">${opt.labelTag}</span>` : nothing20}
|
|
16029
16081
|
</div>
|
|
16030
|
-
${opt.description ? html44`<div class="option-description">${opt.description}</div>` :
|
|
16031
|
-
${opt.tags && opt.tags.length > 0 ? html44`<div class="option-tags">${opt.tags.join(", ")}</div>` :
|
|
16082
|
+
${opt.description ? html44`<div class="option-description">${opt.description}</div>` : nothing20}
|
|
16083
|
+
${opt.tags && opt.tags.length > 0 ? html44`<div class="option-tags">${opt.tags.join(", ")}</div>` : nothing20}
|
|
16032
16084
|
</div>
|
|
16033
|
-
${isSelected ? html44`<span class="selected-icon"><cs-icon name="check"></cs-icon></span>` :
|
|
16085
|
+
${isSelected ? html44`<span class="selected-icon"><cs-icon name="check"></cs-icon></span>` : nothing20}
|
|
16034
16086
|
</li>
|
|
16035
16087
|
`;
|
|
16036
16088
|
}
|
|
@@ -16062,7 +16114,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
16062
16114
|
@click=${(e) => e.stopPropagation()}
|
|
16063
16115
|
/>
|
|
16064
16116
|
</div>
|
|
16065
|
-
` :
|
|
16117
|
+
` : nothing20}
|
|
16066
16118
|
<ul class="option-list" role="listbox" aria-label=${ifDefined24(this.ariaLabel || void 0)}>
|
|
16067
16119
|
${items}
|
|
16068
16120
|
</ul>
|
|
@@ -16102,7 +16154,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
16102
16154
|
<div class="dropdown" @click=${(e) => e.stopPropagation()}>
|
|
16103
16155
|
${this._renderDropdownContent()}
|
|
16104
16156
|
</div>
|
|
16105
|
-
` :
|
|
16157
|
+
` : nothing20}
|
|
16106
16158
|
</div>
|
|
16107
16159
|
`;
|
|
16108
16160
|
}
|
|
@@ -16159,7 +16211,7 @@ var CsSelect = class extends CsSelectInternal {
|
|
|
16159
16211
|
customElements.define("cs-select", CsSelect);
|
|
16160
16212
|
|
|
16161
16213
|
// src/multiselect/internal.ts
|
|
16162
|
-
import { css as css99, html as html45, nothing as
|
|
16214
|
+
import { css as css99, html as html45, nothing as nothing21 } from "lit";
|
|
16163
16215
|
import { property as property44, state as state13, query as query4 } from "lit/decorators.js";
|
|
16164
16216
|
import { classMap as classMap39 } from "lit/directives/class-map.js";
|
|
16165
16217
|
import { ifDefined as ifDefined25 } from "lit/directives/if-defined.js";
|
|
@@ -16649,9 +16701,9 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16649
16701
|
<div class="option-content">
|
|
16650
16702
|
<div class="option-label">
|
|
16651
16703
|
${opt.label || opt.value || ""}
|
|
16652
|
-
${opt.labelTag ? html45`<span class="option-label-tag">${opt.labelTag}</span>` :
|
|
16704
|
+
${opt.labelTag ? html45`<span class="option-label-tag">${opt.labelTag}</span>` : nothing21}
|
|
16653
16705
|
</div>
|
|
16654
|
-
${opt.description ? html45`<div class="option-description">${opt.description}</div>` :
|
|
16706
|
+
${opt.description ? html45`<div class="option-description">${opt.description}</div>` : nothing21}
|
|
16655
16707
|
</div>
|
|
16656
16708
|
</li>
|
|
16657
16709
|
`;
|
|
@@ -16684,14 +16736,14 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16684
16736
|
@click=${(e) => e.stopPropagation()}
|
|
16685
16737
|
/>
|
|
16686
16738
|
</div>
|
|
16687
|
-
` :
|
|
16739
|
+
` : nothing21}
|
|
16688
16740
|
<ul class="option-list" role="listbox" aria-multiselectable="true" aria-label=${ifDefined25(this.ariaLabel || void 0)}>
|
|
16689
16741
|
${items}
|
|
16690
16742
|
</ul>
|
|
16691
16743
|
`;
|
|
16692
16744
|
}
|
|
16693
16745
|
_renderTokens() {
|
|
16694
|
-
if (this.hideTokens || this.selectedOptions.length === 0) return
|
|
16746
|
+
if (this.hideTokens || this.selectedOptions.length === 0) return nothing21;
|
|
16695
16747
|
const tokenItems = this.selectedOptions.map((opt) => ({
|
|
16696
16748
|
label: opt.label || opt.value || "",
|
|
16697
16749
|
description: opt.description,
|
|
@@ -16741,7 +16793,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16741
16793
|
<div class="dropdown" @click=${(e) => e.stopPropagation()}>
|
|
16742
16794
|
${this._renderDropdownContent()}
|
|
16743
16795
|
</div>
|
|
16744
|
-
` :
|
|
16796
|
+
` : nothing21}
|
|
16745
16797
|
${this._renderTokens()}
|
|
16746
16798
|
</div>
|
|
16747
16799
|
`;
|
|
@@ -16802,7 +16854,7 @@ var CsMultiselect = class extends CsMultiselectInternal {
|
|
|
16802
16854
|
customElements.define("cs-multiselect", CsMultiselect);
|
|
16803
16855
|
|
|
16804
16856
|
// src/autosuggest/internal.ts
|
|
16805
|
-
import { css as css102, html as html46, nothing as
|
|
16857
|
+
import { css as css102, html as html46, nothing as nothing22 } from "lit";
|
|
16806
16858
|
import { property as property45, state as state14, query as query5 } from "lit/decorators.js";
|
|
16807
16859
|
import { classMap as classMap40 } from "lit/directives/class-map.js";
|
|
16808
16860
|
import { ifDefined as ifDefined26 } from "lit/directives/if-defined.js";
|
|
@@ -17233,7 +17285,7 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17233
17285
|
>
|
|
17234
17286
|
${filtered.map((opt, i) => this._renderOption(opt, i))}
|
|
17235
17287
|
</div>
|
|
17236
|
-
` :
|
|
17288
|
+
` : nothing22}
|
|
17237
17289
|
</div>
|
|
17238
17290
|
</div>
|
|
17239
17291
|
`;
|
|
@@ -17633,7 +17685,7 @@ var CsSegmentedControl = class extends CsSegmentedControlInternal {
|
|
|
17633
17685
|
customElements.define("cs-segmented-control", CsSegmentedControl);
|
|
17634
17686
|
|
|
17635
17687
|
// src/cards/internal.ts
|
|
17636
|
-
import { css as css106, html as html48, nothing as
|
|
17688
|
+
import { css as css106, html as html48, nothing as nothing23 } from "lit";
|
|
17637
17689
|
import { property as property47, state as state15 } from "lit/decorators.js";
|
|
17638
17690
|
import { classMap as classMap42 } from "lit/directives/class-map.js";
|
|
17639
17691
|
|
|
@@ -17896,14 +17948,14 @@ var CsCardsInternal = class extends CsBaseElement {
|
|
|
17896
17948
|
}
|
|
17897
17949
|
_renderCardSections(item) {
|
|
17898
17950
|
const sections = this.cardDefinition.sections;
|
|
17899
|
-
if (!sections?.length) return
|
|
17951
|
+
if (!sections?.length) return nothing23;
|
|
17900
17952
|
const visible = this.visibleSections;
|
|
17901
17953
|
return html48`${sections.filter((section) => !visible || !section.id || visible.includes(section.id)).map((section) => {
|
|
17902
17954
|
const width = section.width ?? 100;
|
|
17903
17955
|
return html48`
|
|
17904
17956
|
<div class="section" style="inline-size: ${width}%">
|
|
17905
|
-
${section.header ? html48`<div class="section-header">${section.header}</div>` :
|
|
17906
|
-
${section.content ? html48`<div class="section-content">${section.content(item)}</div>` :
|
|
17957
|
+
${section.header ? html48`<div class="section-header">${section.header}</div>` : nothing23}
|
|
17958
|
+
${section.content ? html48`<div class="section-content">${section.content(item)}</div>` : nothing23}
|
|
17907
17959
|
</div>
|
|
17908
17960
|
`;
|
|
17909
17961
|
})}`;
|
|
@@ -17927,7 +17979,7 @@ var CsCardsInternal = class extends CsBaseElement {
|
|
|
17927
17979
|
<cs-container variant="default">
|
|
17928
17980
|
<div slot="header" style="position: relative;">
|
|
17929
17981
|
<div class=${classMap42(cardHeaderClasses)}>
|
|
17930
|
-
${headerContent ??
|
|
17982
|
+
${headerContent ?? nothing23}
|
|
17931
17983
|
</div>
|
|
17932
17984
|
${isSelectable ? html48`
|
|
17933
17985
|
<div class="selection-control">
|
|
@@ -17938,7 +17990,7 @@ var CsCardsInternal = class extends CsBaseElement {
|
|
|
17938
17990
|
@change=${() => this._onSelectionChange(item)}
|
|
17939
17991
|
></cs-checkbox>
|
|
17940
17992
|
</div>
|
|
17941
|
-
` :
|
|
17993
|
+
` : nothing23}
|
|
17942
17994
|
</div>
|
|
17943
17995
|
${this._renderCardSections(item)}
|
|
17944
17996
|
</cs-container>
|
|
@@ -17968,7 +18020,7 @@ var CsCardsInternal = class extends CsBaseElement {
|
|
|
17968
18020
|
${showLoading ? html48`
|
|
17969
18021
|
<div class="loading" role="status">
|
|
17970
18022
|
<cs-spinner size="large"></cs-spinner>
|
|
17971
|
-
${this.loadingText ? html48`<span>${this.loadingText}</span>` :
|
|
18023
|
+
${this.loadingText ? html48`<span>${this.loadingText}</span>` : nothing23}
|
|
17972
18024
|
</div>
|
|
17973
18025
|
` : showEmpty ? html48`
|
|
17974
18026
|
<div class="empty">
|
|
@@ -18030,7 +18082,7 @@ var CsCards = class extends CsCardsInternal {
|
|
|
18030
18082
|
customElements.define("cs-cards", CsCards);
|
|
18031
18083
|
|
|
18032
18084
|
// src/collection-preferences/internal.ts
|
|
18033
|
-
import { css as css108, html as html49, nothing as
|
|
18085
|
+
import { css as css108, html as html49, nothing as nothing24 } from "lit";
|
|
18034
18086
|
import { property as property48, state as state16 } from "lit/decorators.js";
|
|
18035
18087
|
|
|
18036
18088
|
// src/collection-preferences/styles.ts
|
|
@@ -18279,11 +18331,11 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18279
18331
|
this._draft = { ...this._draft, visibleContent: current };
|
|
18280
18332
|
}
|
|
18281
18333
|
_renderPageSizePreference() {
|
|
18282
|
-
if (!this.pageSizePreference) return
|
|
18334
|
+
if (!this.pageSizePreference) return nothing24;
|
|
18283
18335
|
const pref = this.pageSizePreference;
|
|
18284
18336
|
return html49`
|
|
18285
18337
|
<div class="panel-section">
|
|
18286
|
-
${pref.title ? html49`<div class="panel-section-title">${pref.title}</div>` :
|
|
18338
|
+
${pref.title ? html49`<div class="panel-section-title">${pref.title}</div>` : nothing24}
|
|
18287
18339
|
<div class="page-size-options" role="radiogroup" aria-label=${pref.title ?? "Page size"}>
|
|
18288
18340
|
${pref.options.map((opt) => html49`
|
|
18289
18341
|
<label class="page-size-option">
|
|
@@ -18298,7 +18350,7 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18298
18350
|
`;
|
|
18299
18351
|
}
|
|
18300
18352
|
_renderWrapLinesPreference() {
|
|
18301
|
-
if (!this.wrapLinesPreference) return
|
|
18353
|
+
if (!this.wrapLinesPreference) return nothing24;
|
|
18302
18354
|
const pref = this.wrapLinesPreference;
|
|
18303
18355
|
return html49`
|
|
18304
18356
|
<div class="panel-section">
|
|
@@ -18306,12 +18358,12 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18306
18358
|
.checked=${this._draft.wrapLines ?? false}
|
|
18307
18359
|
@change=${(e) => this._onWrapLinesChange(e.detail.checked)}
|
|
18308
18360
|
>${pref.label ?? "Wrap lines"}</cs-checkbox>
|
|
18309
|
-
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` :
|
|
18361
|
+
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` : nothing24}
|
|
18310
18362
|
</div>
|
|
18311
18363
|
`;
|
|
18312
18364
|
}
|
|
18313
18365
|
_renderStripedRowsPreference() {
|
|
18314
|
-
if (!this.stripedRowsPreference) return
|
|
18366
|
+
if (!this.stripedRowsPreference) return nothing24;
|
|
18315
18367
|
const pref = this.stripedRowsPreference;
|
|
18316
18368
|
return html49`
|
|
18317
18369
|
<div class="panel-section">
|
|
@@ -18319,12 +18371,12 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18319
18371
|
.checked=${this._draft.stripedRows ?? false}
|
|
18320
18372
|
@change=${(e) => this._onStripedRowsChange(e.detail.checked)}
|
|
18321
18373
|
>${pref.label ?? "Striped rows"}</cs-checkbox>
|
|
18322
|
-
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` :
|
|
18374
|
+
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` : nothing24}
|
|
18323
18375
|
</div>
|
|
18324
18376
|
`;
|
|
18325
18377
|
}
|
|
18326
18378
|
_renderContentDensityPreference() {
|
|
18327
|
-
if (!this.contentDensityPreference) return
|
|
18379
|
+
if (!this.contentDensityPreference) return nothing24;
|
|
18328
18380
|
const pref = this.contentDensityPreference;
|
|
18329
18381
|
return html49`
|
|
18330
18382
|
<div class="panel-section">
|
|
@@ -18332,17 +18384,17 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18332
18384
|
.checked=${this._draft.contentDensity === "compact"}
|
|
18333
18385
|
@change=${(e) => this._onContentDensityChange(e.detail.checked)}
|
|
18334
18386
|
>${pref.label ?? "Compact mode"}</cs-checkbox>
|
|
18335
|
-
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` :
|
|
18387
|
+
${pref.description ? html49`<div class="content-display-description">${pref.description}</div>` : nothing24}
|
|
18336
18388
|
</div>
|
|
18337
18389
|
`;
|
|
18338
18390
|
}
|
|
18339
18391
|
_renderVisibleContentPreference() {
|
|
18340
|
-
if (!this.visibleContentPreference) return
|
|
18392
|
+
if (!this.visibleContentPreference) return nothing24;
|
|
18341
18393
|
const pref = this.visibleContentPreference;
|
|
18342
18394
|
const visibleIds = this._draft.visibleContent ?? [];
|
|
18343
18395
|
return html49`
|
|
18344
18396
|
<div class="panel-section">
|
|
18345
|
-
${pref.title ? html49`<div class="panel-section-title">${pref.title}</div>` :
|
|
18397
|
+
${pref.title ? html49`<div class="panel-section-title">${pref.title}</div>` : nothing24}
|
|
18346
18398
|
${pref.options.map((group) => html49`
|
|
18347
18399
|
<div class="visible-content-group">
|
|
18348
18400
|
<div class="visible-content-group-label">${group.label}</div>
|
|
@@ -18386,7 +18438,7 @@ var CsCollectionPreferencesInternal = class extends CsBaseElement {
|
|
|
18386
18438
|
<cs-button variant="primary" @click=${this._confirm}>${this.confirmLabel}</cs-button>
|
|
18387
18439
|
</div>
|
|
18388
18440
|
</div>
|
|
18389
|
-
` :
|
|
18441
|
+
` : nothing24}
|
|
18390
18442
|
</div>
|
|
18391
18443
|
`;
|
|
18392
18444
|
}
|
|
@@ -18434,7 +18486,7 @@ var CsCollectionPreferences = class extends CsCollectionPreferencesInternal {
|
|
|
18434
18486
|
customElements.define("cs-collection-preferences", CsCollectionPreferences);
|
|
18435
18487
|
|
|
18436
18488
|
// src/progress-bar/internal.ts
|
|
18437
|
-
import { css as css110, html as html50, nothing as
|
|
18489
|
+
import { css as css110, html as html50, nothing as nothing25 } from "lit";
|
|
18438
18490
|
import { property as property49 } from "lit/decorators.js";
|
|
18439
18491
|
import { classMap as classMap43 } from "lit/directives/class-map.js";
|
|
18440
18492
|
|
|
@@ -18687,7 +18739,7 @@ var CsProgressBarInternal = class extends CsBaseElement {
|
|
|
18687
18739
|
@click=${this._onResultButtonClick}
|
|
18688
18740
|
>${this.resultButtonText}</button>
|
|
18689
18741
|
</span>
|
|
18690
|
-
` :
|
|
18742
|
+
` : nothing25}
|
|
18691
18743
|
</div>
|
|
18692
18744
|
`}
|
|
18693
18745
|
|
|
@@ -18726,7 +18778,7 @@ var CsProgressBar = class extends CsProgressBarInternal {
|
|
|
18726
18778
|
customElements.define("cs-progress-bar", CsProgressBar);
|
|
18727
18779
|
|
|
18728
18780
|
// src/steps/internal.ts
|
|
18729
|
-
import { css as css112, html as html51, nothing as
|
|
18781
|
+
import { css as css112, html as html51, nothing as nothing26 } from "lit";
|
|
18730
18782
|
import { property as property50 } from "lit/decorators.js";
|
|
18731
18783
|
import { classMap as classMap44 } from "lit/directives/class-map.js";
|
|
18732
18784
|
|
|
@@ -18882,10 +18934,10 @@ var CsStepsInternal = class extends CsBaseElement {
|
|
|
18882
18934
|
</span>
|
|
18883
18935
|
<span class="title">${step.header}</span>
|
|
18884
18936
|
</div>
|
|
18885
|
-
${!isLast ? html51`<hr class="connector" aria-hidden="true" />` :
|
|
18937
|
+
${!isLast ? html51`<hr class="connector" aria-hidden="true" />` : nothing26}
|
|
18886
18938
|
${step.details ? html51`
|
|
18887
18939
|
<div class="details">${step.details}</div>
|
|
18888
|
-
` :
|
|
18940
|
+
` : nothing26}
|
|
18889
18941
|
</li>
|
|
18890
18942
|
`;
|
|
18891
18943
|
}
|
|
@@ -18901,14 +18953,14 @@ var CsStepsInternal = class extends CsBaseElement {
|
|
|
18901
18953
|
>
|
|
18902
18954
|
${this._renderIcon(step)}
|
|
18903
18955
|
</span>
|
|
18904
|
-
${!isLast ? html51`<hr class="connector" aria-hidden="true" />` :
|
|
18956
|
+
${!isLast ? html51`<hr class="connector" aria-hidden="true" />` : nothing26}
|
|
18905
18957
|
</div>
|
|
18906
18958
|
<div class="horizontal-header">
|
|
18907
18959
|
<span class="title">${step.header}</span>
|
|
18908
18960
|
</div>
|
|
18909
18961
|
${step.details ? html51`
|
|
18910
18962
|
<div class="details">${step.details}</div>
|
|
18911
|
-
` :
|
|
18963
|
+
` : nothing26}
|
|
18912
18964
|
</li>
|
|
18913
18965
|
`;
|
|
18914
18966
|
}
|
|
@@ -18956,7 +19008,7 @@ var CsSteps = class extends CsStepsInternal {
|
|
|
18956
19008
|
customElements.define("cs-steps", CsSteps);
|
|
18957
19009
|
|
|
18958
19010
|
// src/key-value-pairs/internal.ts
|
|
18959
|
-
import { css as css114, html as html52, nothing as
|
|
19011
|
+
import { css as css114, html as html52, nothing as nothing27 } from "lit";
|
|
18960
19012
|
import { property as property51 } from "lit/decorators.js";
|
|
18961
19013
|
|
|
18962
19014
|
// src/key-value-pairs/styles.ts
|
|
@@ -19052,7 +19104,7 @@ var CsKeyValuePairsInternal = class extends CsBaseElement {
|
|
|
19052
19104
|
<div class="pair">
|
|
19053
19105
|
<dt class="term">
|
|
19054
19106
|
<span class="key-label">${pair.label}</span>
|
|
19055
|
-
${pair.info ? html52`<span class="info">${pair.info}</span>` :
|
|
19107
|
+
${pair.info ? html52`<span class="info">${pair.info}</span>` : nothing27}
|
|
19056
19108
|
</dt>
|
|
19057
19109
|
<dd class="detail">${pair.value}</dd>
|
|
19058
19110
|
</div>
|
|
@@ -19061,7 +19113,7 @@ var CsKeyValuePairsInternal = class extends CsBaseElement {
|
|
|
19061
19113
|
_renderGroup(group) {
|
|
19062
19114
|
return html52`
|
|
19063
19115
|
<div class="group">
|
|
19064
|
-
${group.title ? html52`<div class="group-title"><strong>${group.title}</strong></div>` :
|
|
19116
|
+
${group.title ? html52`<div class="group-title"><strong>${group.title}</strong></div>` : nothing27}
|
|
19065
19117
|
<dl class="group-list">
|
|
19066
19118
|
${group.items.map((pair) => this._renderPair(pair))}
|
|
19067
19119
|
</dl>
|
|
@@ -19117,7 +19169,7 @@ var CsKeyValuePairs = class extends CsKeyValuePairsInternal {
|
|
|
19117
19169
|
customElements.define("cs-key-value-pairs", CsKeyValuePairs);
|
|
19118
19170
|
|
|
19119
19171
|
// src/property-filter/internal.ts
|
|
19120
|
-
import { css as css116, html as html53, nothing as
|
|
19172
|
+
import { css as css116, html as html53, nothing as nothing28 } from "lit";
|
|
19121
19173
|
import { property as property52, state as state17 } from "lit/decorators.js";
|
|
19122
19174
|
import { createRef as createRef6, ref as ref6 } from "lit/directives/ref.js";
|
|
19123
19175
|
|
|
@@ -19386,7 +19438,14 @@ var CsPropertyFilterInternal = class extends CsBaseElement {
|
|
|
19386
19438
|
this.filteringOptions = [];
|
|
19387
19439
|
this.disabled = false;
|
|
19388
19440
|
this.filteringPlaceholder = "Filter by text";
|
|
19441
|
+
this.filteringConstraintText = "";
|
|
19389
19442
|
this._inputValue = "";
|
|
19443
|
+
this._hasCustomControl = false;
|
|
19444
|
+
this._onCustomControlSlotChange = (e) => {
|
|
19445
|
+
const slot = e.target;
|
|
19446
|
+
this._hasCustomControl = slot.assignedNodes({ flatten: true }).length > 0;
|
|
19447
|
+
this.requestUpdate();
|
|
19448
|
+
};
|
|
19390
19449
|
this._inputRef = createRef6();
|
|
19391
19450
|
}
|
|
19392
19451
|
static {
|
|
@@ -19444,6 +19503,7 @@ var CsPropertyFilterInternal = class extends CsBaseElement {
|
|
|
19444
19503
|
return html53`
|
|
19445
19504
|
<div class="root">
|
|
19446
19505
|
<div class="search-field">
|
|
19506
|
+
${this._hasCustomControl ? html53`<div class="custom-control"><slot name="custom-control" @slotchange=${this._onCustomControlSlotChange}></slot></div>` : html53`<slot name="custom-control" @slotchange=${this._onCustomControlSlotChange} style="display:none"></slot>`}
|
|
19447
19507
|
<div class="input-wrapper">
|
|
19448
19508
|
<input
|
|
19449
19509
|
${ref6(this._inputRef)}
|
|
@@ -19459,20 +19519,24 @@ var CsPropertyFilterInternal = class extends CsBaseElement {
|
|
|
19459
19519
|
</div>
|
|
19460
19520
|
</div>
|
|
19461
19521
|
|
|
19522
|
+
${this.filteringConstraintText ? html53`
|
|
19523
|
+
<div class="filtering-constraint-text">${this.filteringConstraintText}</div>
|
|
19524
|
+
` : nothing28}
|
|
19525
|
+
|
|
19462
19526
|
${hasTokens ? html53`
|
|
19463
19527
|
<div class="tokens">
|
|
19464
19528
|
<ul class="token-list" role="list">
|
|
19465
19529
|
${this.query.tokens.map((token, i) => html53`
|
|
19466
|
-
${i > 0 ? html53`<li class="operation-label" aria-hidden="true">${operationLabel}</li>` :
|
|
19530
|
+
${i > 0 ? html53`<li class="operation-label" aria-hidden="true">${operationLabel}</li>` : nothing28}
|
|
19467
19531
|
${this._renderToken(token, i)}
|
|
19468
19532
|
`)}
|
|
19469
19533
|
</ul>
|
|
19470
19534
|
</div>
|
|
19471
|
-
` :
|
|
19535
|
+
` : nothing28}
|
|
19472
19536
|
|
|
19473
19537
|
${this.countText && hasTokens ? html53`
|
|
19474
19538
|
<div class="results">${this.countText}</div>
|
|
19475
|
-
` :
|
|
19539
|
+
` : nothing28}
|
|
19476
19540
|
</div>
|
|
19477
19541
|
`;
|
|
19478
19542
|
}
|
|
@@ -19495,6 +19559,9 @@ __decorateClass([
|
|
|
19495
19559
|
__decorateClass([
|
|
19496
19560
|
property52({ type: String })
|
|
19497
19561
|
], CsPropertyFilterInternal.prototype, "countText", 2);
|
|
19562
|
+
__decorateClass([
|
|
19563
|
+
property52({ type: String })
|
|
19564
|
+
], CsPropertyFilterInternal.prototype, "filteringConstraintText", 2);
|
|
19498
19565
|
__decorateClass([
|
|
19499
19566
|
state17()
|
|
19500
19567
|
], CsPropertyFilterInternal.prototype, "_inputValue", 2);
|
|
@@ -19505,7 +19572,7 @@ var CsPropertyFilter = class extends CsPropertyFilterInternal {
|
|
|
19505
19572
|
customElements.define("cs-property-filter", CsPropertyFilter);
|
|
19506
19573
|
|
|
19507
19574
|
// src/table/internal.ts
|
|
19508
|
-
import { css as css118, html as html54, nothing as
|
|
19575
|
+
import { css as css118, html as html54, nothing as nothing29 } from "lit";
|
|
19509
19576
|
import { property as property53 } from "lit/decorators.js";
|
|
19510
19577
|
import { classMap as classMap45 } from "lit/directives/class-map.js";
|
|
19511
19578
|
|
|
@@ -19853,9 +19920,11 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19853
19920
|
this.wrapLines = false;
|
|
19854
19921
|
this.stickyHeader = false;
|
|
19855
19922
|
this.contentDensity = "comfortable";
|
|
19923
|
+
this.resizableColumns = false;
|
|
19856
19924
|
this._hasHeader = false;
|
|
19857
19925
|
this._hasFilter = false;
|
|
19858
19926
|
this._hasPagination = false;
|
|
19927
|
+
this._hasFooter = false;
|
|
19859
19928
|
this._onHeaderSlotChange = (e) => {
|
|
19860
19929
|
const slot = e.target;
|
|
19861
19930
|
this._hasHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
@@ -19871,6 +19940,11 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19871
19940
|
this._hasPagination = slot.assignedNodes({ flatten: true }).length > 0;
|
|
19872
19941
|
this.requestUpdate();
|
|
19873
19942
|
};
|
|
19943
|
+
this._onFooterSlotChange = (e) => {
|
|
19944
|
+
const slot = e.target;
|
|
19945
|
+
this._hasFooter = slot.assignedNodes({ flatten: true }).length > 0;
|
|
19946
|
+
this.requestUpdate();
|
|
19947
|
+
};
|
|
19874
19948
|
/** Stops selection-cell clicks from triggering the row click handler. */
|
|
19875
19949
|
this._onSelectionCellClick = (e) => {
|
|
19876
19950
|
e.stopPropagation();
|
|
@@ -19915,7 +19989,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19915
19989
|
}
|
|
19916
19990
|
_getAriaSort(col) {
|
|
19917
19991
|
const isSortable = !!(col.sortingField || col.sortingComparator);
|
|
19918
|
-
if (!isSortable) return
|
|
19992
|
+
if (!isSortable) return nothing29;
|
|
19919
19993
|
if (!this.sortingColumn) return "none";
|
|
19920
19994
|
if (!this._isSameColumn(col, this.sortingColumn)) return "none";
|
|
19921
19995
|
return this.sortingDescending ? "descending" : "ascending";
|
|
@@ -19967,7 +20041,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19967
20041
|
};
|
|
19968
20042
|
return html54`
|
|
19969
20043
|
<div class=${classMap45(rootClasses)}>
|
|
19970
|
-
<div class=${classMap45(headerSecondaryClasses)} style=${this._hasHeader || this._hasTools ?
|
|
20044
|
+
<div class=${classMap45(headerSecondaryClasses)} style=${this._hasHeader || this._hasTools ? nothing29 : "display:none"}>
|
|
19971
20045
|
<div class=${classMap45(headerControlsClasses)}>
|
|
19972
20046
|
<slot name="header" @slotchange=${this._onHeaderSlotChange}></slot>
|
|
19973
20047
|
${this._hasTools ? html54`
|
|
@@ -19988,6 +20062,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19988
20062
|
</div>
|
|
19989
20063
|
</div>
|
|
19990
20064
|
${this.loading ? this._renderLoading() : this.items.length === 0 ? this._renderEmpty() : this._renderTable()}
|
|
20065
|
+
${this._hasFooter ? html54`<div class="footer"><slot name="footer" @slotchange=${this._onFooterSlotChange}></slot></div>` : html54`<slot name="footer" @slotchange=${this._onFooterSlotChange} style="display:none"></slot>`}
|
|
19991
20066
|
</div>
|
|
19992
20067
|
`;
|
|
19993
20068
|
}
|
|
@@ -19995,7 +20070,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
19995
20070
|
return html54`
|
|
19996
20071
|
<div class="table-loading" role="status">
|
|
19997
20072
|
<cs-spinner size="normal"></cs-spinner>
|
|
19998
|
-
${this.loadingText ? html54`<span>${this.loadingText}</span>` :
|
|
20073
|
+
${this.loadingText ? html54`<span>${this.loadingText}</span>` : nothing29}
|
|
19999
20074
|
</div>
|
|
20000
20075
|
`;
|
|
20001
20076
|
}
|
|
@@ -20016,7 +20091,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
20016
20091
|
<table class="table" role="table">
|
|
20017
20092
|
<thead>
|
|
20018
20093
|
<tr>
|
|
20019
|
-
${this._hasSelection ? this._renderSelectionHeader() :
|
|
20094
|
+
${this._hasSelection ? this._renderSelectionHeader() : nothing29}
|
|
20020
20095
|
${this.columnDefinitions.map((col) => this._renderHeaderCell(col))}
|
|
20021
20096
|
</tr>
|
|
20022
20097
|
</thead>
|
|
@@ -20062,11 +20137,11 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
20062
20137
|
<th
|
|
20063
20138
|
class=${classMap45(cellClasses)}
|
|
20064
20139
|
aria-sort=${ariaSort}
|
|
20065
|
-
style=${widthStyle ??
|
|
20140
|
+
style=${widthStyle ?? nothing29}
|
|
20066
20141
|
@click=${() => this._onSort(col)}
|
|
20067
20142
|
>
|
|
20068
20143
|
<span class="header-cell-text">${col.header}</span>
|
|
20069
|
-
${isSortable ? html54`<span class=${classMap45(iconClasses)}><cs-icon name="caret-down-filled" size="small"></cs-icon></span>` :
|
|
20144
|
+
${isSortable ? html54`<span class=${classMap45(iconClasses)}><cs-icon name="caret-down-filled" size="small"></cs-icon></span>` : nothing29}
|
|
20070
20145
|
</th>
|
|
20071
20146
|
`;
|
|
20072
20147
|
}
|
|
@@ -20079,7 +20154,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
20079
20154
|
};
|
|
20080
20155
|
return html54`
|
|
20081
20156
|
<tr class=${classMap45(rowClasses)} @click=${() => this._onRowClick(item, index)}>
|
|
20082
|
-
${this._hasSelection ? this._renderSelectionCell(item) :
|
|
20157
|
+
${this._hasSelection ? this._renderSelectionCell(item) : nothing29}
|
|
20083
20158
|
${this.columnDefinitions.map((col) => this._renderBodyCell(item, col, index))}
|
|
20084
20159
|
</tr>
|
|
20085
20160
|
`;
|
|
@@ -20116,7 +20191,7 @@ var CsTableInternal = class extends CsBaseElement {
|
|
|
20116
20191
|
};
|
|
20117
20192
|
const widthStyle = col.width ? `width: ${typeof col.width === "number" ? `${col.width}px` : col.width}` : void 0;
|
|
20118
20193
|
return html54`
|
|
20119
|
-
<td class=${classMap45(cellClasses)} style=${widthStyle ??
|
|
20194
|
+
<td class=${classMap45(cellClasses)} style=${widthStyle ?? nothing29}>
|
|
20120
20195
|
<span class="body-cell-content">${col.cell(item)}</span>
|
|
20121
20196
|
</td>
|
|
20122
20197
|
`;
|
|
@@ -20167,6 +20242,9 @@ __decorateClass([
|
|
|
20167
20242
|
__decorateClass([
|
|
20168
20243
|
property53({ type: String })
|
|
20169
20244
|
], CsTableInternal.prototype, "contentDensity", 2);
|
|
20245
|
+
__decorateClass([
|
|
20246
|
+
property53({ type: Boolean, reflect: true })
|
|
20247
|
+
], CsTableInternal.prototype, "resizableColumns", 2);
|
|
20170
20248
|
__decorateClass([
|
|
20171
20249
|
property53({ attribute: false })
|
|
20172
20250
|
], CsTableInternal.prototype, "ariaLabels", 2);
|
|
@@ -20177,7 +20255,7 @@ var CsTable = class extends CsTableInternal {
|
|
|
20177
20255
|
customElements.define("cs-table", CsTable);
|
|
20178
20256
|
|
|
20179
20257
|
// src/form/internal.ts
|
|
20180
|
-
import { css as css120, html as html55, nothing as
|
|
20258
|
+
import { css as css120, html as html55, nothing as nothing30 } from "lit";
|
|
20181
20259
|
import { property as property54 } from "lit/decorators.js";
|
|
20182
20260
|
|
|
20183
20261
|
// src/form/styles.ts
|
|
@@ -20261,7 +20339,7 @@ var CsFormInternal = class extends CsBaseElement {
|
|
|
20261
20339
|
type="error"
|
|
20262
20340
|
status-icon-aria-label=${this.errorIconAriaLabel || "Error"}
|
|
20263
20341
|
>${this.errorText}</cs-alert>
|
|
20264
|
-
` :
|
|
20342
|
+
` : nothing30}
|
|
20265
20343
|
<slot></slot>
|
|
20266
20344
|
</div>
|
|
20267
20345
|
|
|
@@ -20703,7 +20781,7 @@ var CsModal = class extends CsModalInternal {
|
|
|
20703
20781
|
customElements.define("cs-modal", CsModal);
|
|
20704
20782
|
|
|
20705
20783
|
// src/file-upload/internal.ts
|
|
20706
|
-
import { css as css124, html as html57, nothing as
|
|
20784
|
+
import { css as css124, html as html57, nothing as nothing31 } from "lit";
|
|
20707
20785
|
import { property as property56 } from "lit/decorators.js";
|
|
20708
20786
|
import { classMap as classMap47 } from "lit/directives/class-map.js";
|
|
20709
20787
|
import { ifDefined as ifDefined29 } from "lit/directives/if-defined.js";
|
|
@@ -20901,15 +20979,15 @@ var CsFileUploadInternal = class extends CsBaseElement {
|
|
|
20901
20979
|
};
|
|
20902
20980
|
return html57`
|
|
20903
20981
|
<li class=${classMap47(itemClasses)}>
|
|
20904
|
-
${this.showFileThumbnail && isImage ? html57`<img class="file-thumbnail" src=${this._getThumbnailUrl(file)} alt="" />` :
|
|
20982
|
+
${this.showFileThumbnail && isImage ? html57`<img class="file-thumbnail" src=${this._getThumbnailUrl(file)} alt="" />` : nothing31}
|
|
20905
20983
|
<div class="file-info">
|
|
20906
20984
|
<div class="file-name">${file.name}</div>
|
|
20907
20985
|
<div class="file-metadata">
|
|
20908
|
-
${this.showFileSize ? html57`<span>${this._formatFileSize(file.size)}</span>` :
|
|
20909
|
-
${this.showFileSize && this.showFileLastModified ? html57`<span> · </span>` :
|
|
20910
|
-
${this.showFileLastModified ? html57`<span>${this._formatLastModified(new Date(file.lastModified))}</span>` :
|
|
20986
|
+
${this.showFileSize ? html57`<span>${this._formatFileSize(file.size)}</span>` : nothing31}
|
|
20987
|
+
${this.showFileSize && this.showFileLastModified ? html57`<span> · </span>` : nothing31}
|
|
20988
|
+
${this.showFileLastModified ? html57`<span>${this._formatLastModified(new Date(file.lastModified))}</span>` : nothing31}
|
|
20911
20989
|
</div>
|
|
20912
|
-
${error ? html57`<div class="file-error">${error}</div>` :
|
|
20990
|
+
${error ? html57`<div class="file-error">${error}</div>` : nothing31}
|
|
20913
20991
|
</div>
|
|
20914
20992
|
<button
|
|
20915
20993
|
class="dismiss-button"
|
|
@@ -20931,7 +21009,7 @@ var CsFileUploadInternal = class extends CsBaseElement {
|
|
|
20931
21009
|
};
|
|
20932
21010
|
return html57`
|
|
20933
21011
|
<div class="file-upload-root">
|
|
20934
|
-
${this.label ? html57`<label class="label">${this.label}</label>` :
|
|
21012
|
+
${this.label ? html57`<label class="label">${this.label}</label>` : nothing31}
|
|
20935
21013
|
|
|
20936
21014
|
<cs-file-input
|
|
20937
21015
|
variant="button"
|
|
@@ -20943,15 +21021,15 @@ var CsFileUploadInternal = class extends CsBaseElement {
|
|
|
20943
21021
|
@change=${this._onFileInputChange}
|
|
20944
21022
|
>${uploadButtonText}</cs-file-input>
|
|
20945
21023
|
|
|
20946
|
-
${this.constraintText ? html57`<div class="constraint-text hints">${this.constraintText}</div>` :
|
|
21024
|
+
${this.constraintText ? html57`<div class="constraint-text hints">${this.constraintText}</div>` : nothing31}
|
|
20947
21025
|
|
|
20948
|
-
${this.errorText ? html57`<div class="error-text">${this.errorText}</div>` :
|
|
21026
|
+
${this.errorText ? html57`<div class="error-text">${this.errorText}</div>` : nothing31}
|
|
20949
21027
|
|
|
20950
21028
|
${hasFiles ? html57`
|
|
20951
21029
|
<ul class=${classMap47(listClasses)} role="list">
|
|
20952
21030
|
${this.value.map((file, i) => this._renderFileItem(file, i))}
|
|
20953
21031
|
</ul>
|
|
20954
|
-
` :
|
|
21032
|
+
` : nothing31}
|
|
20955
21033
|
</div>
|
|
20956
21034
|
`;
|
|
20957
21035
|
}
|
|
@@ -21008,7 +21086,7 @@ var CsFileUpload = class extends CsFileUploadInternal {
|
|
|
21008
21086
|
customElements.define("cs-file-upload", CsFileUpload);
|
|
21009
21087
|
|
|
21010
21088
|
// src/calendar/internal.ts
|
|
21011
|
-
import { css as css126, html as html58, nothing as
|
|
21089
|
+
import { css as css126, html as html58, nothing as nothing32 } from "lit";
|
|
21012
21090
|
import { property as property57, state as state18 } from "lit/decorators.js";
|
|
21013
21091
|
import { classMap as classMap48 } from "lit/directives/class-map.js";
|
|
21014
21092
|
import { ifDefined as ifDefined30 } from "lit/directives/if-defined.js";
|
|
@@ -21504,7 +21582,7 @@ var CsCalendarInternal = class extends CsBaseElement {
|
|
|
21504
21582
|
role="gridcell"
|
|
21505
21583
|
tabindex=${this._getTabIndex(day)}
|
|
21506
21584
|
aria-selected=${isSelected ? "true" : "false"}
|
|
21507
|
-
aria-disabled=${!isEnabled ? "true" :
|
|
21585
|
+
aria-disabled=${!isEnabled ? "true" : nothing32}
|
|
21508
21586
|
data-date=${day.date}
|
|
21509
21587
|
@click=${() => this._onDateClick(day.date)}
|
|
21510
21588
|
>
|
|
@@ -21708,7 +21786,7 @@ var CsDateInput = class extends CsDateInputInternal {
|
|
|
21708
21786
|
customElements.define("cs-date-input", CsDateInput);
|
|
21709
21787
|
|
|
21710
21788
|
// src/date-picker/internal.ts
|
|
21711
|
-
import { css as css130, html as html60, nothing as
|
|
21789
|
+
import { css as css130, html as html60, nothing as nothing33 } from "lit";
|
|
21712
21790
|
import { property as property59, state as state19, query as query6 } from "lit/decorators.js";
|
|
21713
21791
|
import { ifDefined as ifDefined32 } from "lit/directives/if-defined.js";
|
|
21714
21792
|
import { consume as consume3 } from "@lit/context";
|
|
@@ -21947,7 +22025,7 @@ var CsDatePickerInternal = class extends Base10 {
|
|
|
21947
22025
|
></cs-calendar>
|
|
21948
22026
|
</div>
|
|
21949
22027
|
</div>
|
|
21950
|
-
` :
|
|
22028
|
+
` : nothing33}
|
|
21951
22029
|
</div>
|
|
21952
22030
|
</div>
|
|
21953
22031
|
`;
|
|
@@ -22014,7 +22092,7 @@ var CsDatePicker = class extends CsDatePickerInternal {
|
|
|
22014
22092
|
customElements.define("cs-date-picker", CsDatePicker);
|
|
22015
22093
|
|
|
22016
22094
|
// src/date-range-picker/internal.ts
|
|
22017
|
-
import { css as css133, html as html61, nothing as
|
|
22095
|
+
import { css as css133, html as html61, nothing as nothing34 } from "lit";
|
|
22018
22096
|
import { property as property60, state as state20, query as query7 } from "lit/decorators.js";
|
|
22019
22097
|
import { classMap as classMap50 } from "lit/directives/class-map.js";
|
|
22020
22098
|
import { ifDefined as ifDefined33 } from "lit/directives/if-defined.js";
|
|
@@ -22627,7 +22705,7 @@ var CsDateRangePickerInternal = class extends Base11 {
|
|
|
22627
22705
|
}
|
|
22628
22706
|
// ── Render ──────────────────────────────────────────────────────────
|
|
22629
22707
|
_renderModeSwitch() {
|
|
22630
|
-
if (!this._showModeSwitch) return
|
|
22708
|
+
if (!this._showModeSwitch) return nothing34;
|
|
22631
22709
|
const absLabel = this.i18nStrings?.absoluteModeTitle ?? "Absolute";
|
|
22632
22710
|
const relLabel = this.i18nStrings?.relativeModeTitle ?? "Relative";
|
|
22633
22711
|
return html61`
|
|
@@ -22715,7 +22793,7 @@ var CsDateRangePickerInternal = class extends Base11 {
|
|
|
22715
22793
|
<cs-icon name="status-negative" size="small"></cs-icon>
|
|
22716
22794
|
<span>${this._errorMessage}</span>
|
|
22717
22795
|
</div>
|
|
22718
|
-
` :
|
|
22796
|
+
` : nothing34}
|
|
22719
22797
|
<div class="footer-button-wrapper">
|
|
22720
22798
|
<cs-button variant="link" @click=${this._onCancel}>${cancelLabel}</cs-button>
|
|
22721
22799
|
</div>
|
|
@@ -22775,7 +22853,7 @@ var CsDateRangePickerInternal = class extends Base11 {
|
|
|
22775
22853
|
</div>
|
|
22776
22854
|
${this._renderFooter()}
|
|
22777
22855
|
</div>
|
|
22778
|
-
` :
|
|
22856
|
+
` : nothing34}
|
|
22779
22857
|
</div>
|
|
22780
22858
|
`;
|
|
22781
22859
|
}
|
|
@@ -22856,7 +22934,7 @@ var CsDateRangePicker = class extends CsDateRangePickerInternal {
|
|
|
22856
22934
|
customElements.define("cs-date-range-picker", CsDateRangePicker);
|
|
22857
22935
|
|
|
22858
22936
|
// src/attribute-editor/internal.ts
|
|
22859
|
-
import { css as css136, html as html63, nothing as
|
|
22937
|
+
import { css as css136, html as html63, nothing as nothing36 } from "lit";
|
|
22860
22938
|
import { property as property62 } from "lit/decorators.js";
|
|
22861
22939
|
|
|
22862
22940
|
// src/attribute-editor/styles.ts
|
|
@@ -22984,7 +23062,7 @@ var componentStyles60 = css134`
|
|
|
22984
23062
|
`;
|
|
22985
23063
|
|
|
22986
23064
|
// src/input/internal.ts
|
|
22987
|
-
import { css as css135, html as html62, nothing as
|
|
23065
|
+
import { css as css135, html as html62, nothing as nothing35 } from "lit";
|
|
22988
23066
|
import { property as property61 } from "lit/decorators.js";
|
|
22989
23067
|
import { classMap as classMap51 } from "lit/directives/class-map.js";
|
|
22990
23068
|
import { ifDefined as ifDefined34 } from "lit/directives/if-defined.js";
|
|
@@ -23131,7 +23209,7 @@ var CsInputInternal = class extends Base12 {
|
|
|
23131
23209
|
<cs-icon name="close" size="small"></cs-icon>
|
|
23132
23210
|
</button>
|
|
23133
23211
|
</span>
|
|
23134
|
-
` :
|
|
23212
|
+
` : nothing35}
|
|
23135
23213
|
</div>
|
|
23136
23214
|
</div>
|
|
23137
23215
|
`;
|
|
@@ -23246,7 +23324,7 @@ var CsAttributeEditorInternal = class extends CsBaseElement {
|
|
|
23246
23324
|
@click=${this._handleRemoveClick(itemIndex)}
|
|
23247
23325
|
>${this.removeButtonText}</cs-button>
|
|
23248
23326
|
</div>
|
|
23249
|
-
` :
|
|
23327
|
+
` : nothing36}
|
|
23250
23328
|
</div>
|
|
23251
23329
|
`;
|
|
23252
23330
|
}
|
|
@@ -23256,9 +23334,9 @@ var CsAttributeEditorInternal = class extends CsBaseElement {
|
|
|
23256
23334
|
const gridCols = cols > 0 ? `repeat(${cols}, 1fr) auto` : "1fr";
|
|
23257
23335
|
return html63`
|
|
23258
23336
|
<div class="root" style="grid-template-columns: ${gridCols}">
|
|
23259
|
-
${!hasItems && this.empty ? html63`<div class="empty empty-appear">${this.empty}</div>` :
|
|
23337
|
+
${!hasItems && this.empty ? html63`<div class="empty empty-appear">${this.empty}</div>` : nothing36}
|
|
23260
23338
|
${this.items.map((item, idx) => html63`
|
|
23261
|
-
${idx > 0 ? html63`<div class="divider"></div>` :
|
|
23339
|
+
${idx > 0 ? html63`<div class="divider"></div>` : nothing36}
|
|
23262
23340
|
${this._renderRow(item, idx)}
|
|
23263
23341
|
`)}
|
|
23264
23342
|
<div class="add-row">
|
|
@@ -23301,7 +23379,7 @@ var CsAttributeEditor = class extends CsAttributeEditorInternal {
|
|
|
23301
23379
|
customElements.define("cs-attribute-editor", CsAttributeEditor);
|
|
23302
23380
|
|
|
23303
23381
|
// src/tag-editor/internal.ts
|
|
23304
|
-
import { css as css138, html as html64, nothing as
|
|
23382
|
+
import { css as css138, html as html64, nothing as nothing37 } from "lit";
|
|
23305
23383
|
import { property as property63 } from "lit/decorators.js";
|
|
23306
23384
|
import { classMap as classMap52 } from "lit/directives/class-map.js";
|
|
23307
23385
|
|
|
@@ -23504,9 +23582,9 @@ var CsTagEditorInternal = class extends CsBaseElement {
|
|
|
23504
23582
|
const limitReached = this.tagLimit != null && this.tags.length >= this.tagLimit;
|
|
23505
23583
|
return html64`
|
|
23506
23584
|
<div class="root">
|
|
23507
|
-
${this.loading ? html64`<div class="loading">Loading...</div>` :
|
|
23585
|
+
${this.loading ? html64`<div class="loading">Loading...</div>` : nothing37}
|
|
23508
23586
|
<div class="tag-list">
|
|
23509
|
-
${this.tags.length === 0 && !this.loading ? html64`<div>${this.i18nStrings?.emptyTags ?? "No tags"}</div>` :
|
|
23587
|
+
${this.tags.length === 0 && !this.loading ? html64`<div>${this.i18nStrings?.emptyTags ?? "No tags"}</div>` : nothing37}
|
|
23510
23588
|
${this.tags.map((tag, idx) => this._renderTagRow(tag, idx))}
|
|
23511
23589
|
</div>
|
|
23512
23590
|
<div class="add-section">
|
|
@@ -23564,7 +23642,7 @@ var CsTagEditor = class extends CsTagEditorInternal {
|
|
|
23564
23642
|
customElements.define("cs-tag-editor", CsTagEditor);
|
|
23565
23643
|
|
|
23566
23644
|
// src/wizard/internal.ts
|
|
23567
|
-
import { css as css140, html as html65, nothing as
|
|
23645
|
+
import { css as css140, html as html65, nothing as nothing38 } from "lit";
|
|
23568
23646
|
import { property as property64 } from "lit/decorators.js";
|
|
23569
23647
|
import { classMap as classMap53 } from "lit/directives/class-map.js";
|
|
23570
23648
|
|
|
@@ -23941,15 +24019,15 @@ var CsWizardInternal = class extends CsBaseElement {
|
|
|
23941
24019
|
class="navigation-link"
|
|
23942
24020
|
role=${isEnabled ? "button" : "text"}
|
|
23943
24021
|
tabindex=${isEnabled ? "0" : "-1"}
|
|
23944
|
-
aria-current=${isActive ? "step" :
|
|
23945
|
-
aria-disabled=${isDisabled ? "true" :
|
|
23946
|
-
@click=${isEnabled ? () => this._onStepClick(i) :
|
|
24022
|
+
aria-current=${isActive ? "step" : nothing38}
|
|
24023
|
+
aria-disabled=${isDisabled ? "true" : nothing38}
|
|
24024
|
+
@click=${isEnabled ? () => this._onStepClick(i) : nothing38}
|
|
23947
24025
|
@keydown=${isEnabled ? (e) => {
|
|
23948
24026
|
if (e.key === "Enter" || e.key === " ") {
|
|
23949
24027
|
e.preventDefault();
|
|
23950
24028
|
this._onStepClick(i);
|
|
23951
24029
|
}
|
|
23952
|
-
} :
|
|
24030
|
+
} : nothing38}
|
|
23953
24031
|
>
|
|
23954
24032
|
<span class="circle"></span>
|
|
23955
24033
|
<span class="title">${step.title}${optionalLabel}</span>
|
|
@@ -23972,7 +24050,7 @@ var CsWizardInternal = class extends CsBaseElement {
|
|
|
23972
24050
|
${this._stepNumberLabel(this._clampedIndex + 1)}
|
|
23973
24051
|
<span>${step.title}${optionalLabel}</span>
|
|
23974
24052
|
</h2>
|
|
23975
|
-
${step.description ? html65`<p>${step.description}</p>` :
|
|
24053
|
+
${step.description ? html65`<p>${step.description}</p>` : nothing38}
|
|
23976
24054
|
</div>
|
|
23977
24055
|
</div>
|
|
23978
24056
|
`;
|
|
@@ -23986,7 +24064,7 @@ var CsWizardInternal = class extends CsBaseElement {
|
|
|
23986
24064
|
<cs-alert type="error" aria-label=${this.i18nStrings?.errorIconAriaLabel ?? "Error"}>
|
|
23987
24065
|
${step.errorText}
|
|
23988
24066
|
</cs-alert>
|
|
23989
|
-
` :
|
|
24067
|
+
` : nothing38}
|
|
23990
24068
|
<div class="step-content">${step.content}</div>
|
|
23991
24069
|
</div>
|
|
23992
24070
|
`;
|
|
@@ -24007,7 +24085,7 @@ var CsWizardInternal = class extends CsBaseElement {
|
|
|
24007
24085
|
variant="normal"
|
|
24008
24086
|
@click=${() => this._onPrevious()}
|
|
24009
24087
|
>${this._previousText}</cs-button>
|
|
24010
|
-
` :
|
|
24088
|
+
` : nothing38}
|
|
24011
24089
|
<cs-button
|
|
24012
24090
|
variant="primary"
|
|
24013
24091
|
?loading=${this.isLoadingNextStep}
|
|
@@ -24882,7 +24960,7 @@ var CsCodeEditor = class extends CsCodeEditorInternal {
|
|
|
24882
24960
|
customElements.define("cs-code-editor", CsCodeEditor);
|
|
24883
24961
|
|
|
24884
24962
|
// src/top-navigation/internal.ts
|
|
24885
|
-
import { css as css144, html as html67, nothing as
|
|
24963
|
+
import { css as css144, html as html67, nothing as nothing39 } from "lit";
|
|
24886
24964
|
import { property as property66 } from "lit/decorators.js";
|
|
24887
24965
|
import { classMap as classMap55 } from "lit/directives/class-map.js";
|
|
24888
24966
|
import { ifDefined as ifDefined35 } from "lit/directives/if-defined.js";
|
|
@@ -25283,7 +25361,7 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
25283
25361
|
});
|
|
25284
25362
|
}
|
|
25285
25363
|
_renderIdentity() {
|
|
25286
|
-
if (!this.identity) return
|
|
25364
|
+
if (!this.identity) return nothing39;
|
|
25287
25365
|
const hasLogo = !!this.identity.logo;
|
|
25288
25366
|
const identityClasses = {
|
|
25289
25367
|
"identity": true,
|
|
@@ -25296,8 +25374,8 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
25296
25374
|
href=${ifDefined35(this.identity.href)}
|
|
25297
25375
|
@click=${(e) => this._onIdentityClick(e)}
|
|
25298
25376
|
>
|
|
25299
|
-
${hasLogo ? html67`<img class="logo" src=${this.identity.logo.src} alt=${ifDefined35(this.identity.logo.alt)} />` :
|
|
25300
|
-
${this.identity.title ? html67`<span class="title">${this.identity.title}</span>` :
|
|
25377
|
+
${hasLogo ? html67`<img class="logo" src=${this.identity.logo.src} alt=${ifDefined35(this.identity.logo.alt)} />` : nothing39}
|
|
25378
|
+
${this.identity.title ? html67`<span class="title">${this.identity.title}</span>` : nothing39}
|
|
25301
25379
|
</a>
|
|
25302
25380
|
</div>
|
|
25303
25381
|
`;
|
|
@@ -25320,9 +25398,9 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
25320
25398
|
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
25321
25399
|
@click=${(e) => this._onUtilityButtonClick(utility, e)}
|
|
25322
25400
|
>
|
|
25323
|
-
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` :
|
|
25324
|
-
${utility.text ? html67`<span>${utility.text}</span>` :
|
|
25325
|
-
${utility.external ? html67`<span class="utility-button-external-icon"><cs-icon name="external" size="inherit"></cs-icon></span>` :
|
|
25401
|
+
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` : nothing39}
|
|
25402
|
+
${utility.text ? html67`<span>${utility.text}</span>` : nothing39}
|
|
25403
|
+
${utility.external ? html67`<span class="utility-button-external-icon"><cs-icon name="external" size="inherit"></cs-icon></span>` : nothing39}
|
|
25326
25404
|
</a>
|
|
25327
25405
|
</div>
|
|
25328
25406
|
`;
|
|
@@ -25335,8 +25413,8 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
25335
25413
|
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
25336
25414
|
@click=${(e) => this._onUtilityButtonClick(utility, e)}
|
|
25337
25415
|
>
|
|
25338
|
-
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` :
|
|
25339
|
-
${utility.text ? html67`<span>${utility.text}</span>` :
|
|
25416
|
+
${utility.iconName ? html67`<span class="utility-link-icon"><cs-icon name=${utility.iconName}></cs-icon></span>` : nothing39}
|
|
25417
|
+
${utility.text ? html67`<span>${utility.text}</span>` : nothing39}
|
|
25340
25418
|
</button>
|
|
25341
25419
|
</div>
|
|
25342
25420
|
`;
|
|
@@ -25353,7 +25431,7 @@ var CsTopNavigationInternal = class extends CsBaseElement {
|
|
|
25353
25431
|
variant="normal"
|
|
25354
25432
|
aria-label=${ifDefined35(utility.ariaLabel)}
|
|
25355
25433
|
>
|
|
25356
|
-
${utility.iconName ? html67`<cs-icon name=${utility.iconName}></cs-icon>` :
|
|
25434
|
+
${utility.iconName ? html67`<cs-icon name=${utility.iconName}></cs-icon>` : nothing39}
|
|
25357
25435
|
${utility.text ?? ""}
|
|
25358
25436
|
</cs-button-dropdown>
|
|
25359
25437
|
</div>
|
|
@@ -25399,7 +25477,7 @@ var CsTopNavigation = class extends CsTopNavigationInternal {
|
|
|
25399
25477
|
customElements.define("cs-top-navigation", CsTopNavigation);
|
|
25400
25478
|
|
|
25401
25479
|
// src/side-navigation/internal.ts
|
|
25402
|
-
import { css as css146, html as html68, nothing as
|
|
25480
|
+
import { css as css146, html as html68, nothing as nothing40 } from "lit";
|
|
25403
25481
|
import { property as property67, state as state21 } from "lit/decorators.js";
|
|
25404
25482
|
import { classMap as classMap56 } from "lit/directives/class-map.js";
|
|
25405
25483
|
import { ifDefined as ifDefined36 } from "lit/directives/if-defined.js";
|
|
@@ -25715,7 +25793,7 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25715
25793
|
});
|
|
25716
25794
|
}
|
|
25717
25795
|
_renderHeader() {
|
|
25718
|
-
if (!this.header) return
|
|
25796
|
+
if (!this.header) return nothing40;
|
|
25719
25797
|
const hasLogo = !!this.header.logo;
|
|
25720
25798
|
const headerLinkClasses = {
|
|
25721
25799
|
"header-link": true,
|
|
@@ -25731,8 +25809,8 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25731
25809
|
e
|
|
25732
25810
|
)}
|
|
25733
25811
|
>
|
|
25734
|
-
${hasLogo ? html68`<img class="header-logo" src=${this.header.logo.src} alt=${ifDefined36(this.header.logo.alt)} />` :
|
|
25735
|
-
${this.header.text ? html68`<span class="header-link-text">${this.header.text}</span>` :
|
|
25812
|
+
${hasLogo ? html68`<img class="header-logo" src=${this.header.logo.src} alt=${ifDefined36(this.header.logo.alt)} />` : nothing40}
|
|
25813
|
+
${this.header.text ? html68`<span class="header-link-text">${this.header.text}</span>` : nothing40}
|
|
25736
25814
|
</a>
|
|
25737
25815
|
</div>
|
|
25738
25816
|
<hr class="divider divider-header" />
|
|
@@ -25749,13 +25827,13 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25749
25827
|
<a
|
|
25750
25828
|
class=${classMap56(linkClasses)}
|
|
25751
25829
|
href=${item.href}
|
|
25752
|
-
aria-current=${isActive ? "page" :
|
|
25753
|
-
target=${item.external ? "_blank" :
|
|
25754
|
-
rel=${item.external ? "noopener" :
|
|
25830
|
+
aria-current=${isActive ? "page" : nothing40}
|
|
25831
|
+
target=${item.external ? "_blank" : nothing40}
|
|
25832
|
+
rel=${item.external ? "noopener" : nothing40}
|
|
25755
25833
|
@click=${(e) => this._onLinkClick(item, e)}
|
|
25756
25834
|
>
|
|
25757
25835
|
${item.text}
|
|
25758
|
-
${item.external ? html68`<span class="external-icon"><cs-icon name="external" size="inherit"></cs-icon></span>` :
|
|
25836
|
+
${item.external ? html68`<span class="external-icon"><cs-icon name="external" size="inherit"></cs-icon></span>` : nothing40}
|
|
25759
25837
|
</a>
|
|
25760
25838
|
</li>
|
|
25761
25839
|
`;
|
|
@@ -25781,7 +25859,7 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25781
25859
|
</span>
|
|
25782
25860
|
</button>
|
|
25783
25861
|
</div>
|
|
25784
|
-
${expanded ? html68`<ul class="list">${item.items.map((child) => this._renderItem(child))}</ul>` :
|
|
25862
|
+
${expanded ? html68`<ul class="list">${item.items.map((child) => this._renderItem(child))}</ul>` : nothing40}
|
|
25785
25863
|
</div>
|
|
25786
25864
|
</li>
|
|
25787
25865
|
`;
|
|
@@ -25812,13 +25890,13 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25812
25890
|
<a
|
|
25813
25891
|
class=${classMap56(linkClasses)}
|
|
25814
25892
|
href=${item.href}
|
|
25815
|
-
aria-current=${isActive ? "page" :
|
|
25893
|
+
aria-current=${isActive ? "page" : nothing40}
|
|
25816
25894
|
@click=${(e) => this._onLinkClick(item, e)}
|
|
25817
25895
|
>
|
|
25818
25896
|
${item.text}
|
|
25819
25897
|
</a>
|
|
25820
25898
|
</div>
|
|
25821
|
-
${expanded ? html68`<ul class="list list-variant-expandable-link-group">${item.items.map((child) => this._renderItem(child))}</ul>` :
|
|
25899
|
+
${expanded ? html68`<ul class="list list-variant-expandable-link-group">${item.items.map((child) => this._renderItem(child))}</ul>` : nothing40}
|
|
25822
25900
|
</div>
|
|
25823
25901
|
</li>
|
|
25824
25902
|
`;
|
|
@@ -25834,12 +25912,12 @@ var CsSideNavigationInternal = class extends CsBaseElement {
|
|
|
25834
25912
|
<a
|
|
25835
25913
|
class=${classMap56(linkClasses)}
|
|
25836
25914
|
href=${item.href}
|
|
25837
|
-
aria-current=${isActive ? "page" :
|
|
25915
|
+
aria-current=${isActive ? "page" : nothing40}
|
|
25838
25916
|
@click=${(e) => this._onLinkClick(item, e)}
|
|
25839
25917
|
>
|
|
25840
25918
|
${item.text}
|
|
25841
25919
|
</a>
|
|
25842
|
-
${item.items.length ? html68`<ul class="list">${item.items.map((child) => this._renderItem(child))}</ul>` :
|
|
25920
|
+
${item.items.length ? html68`<ul class="list">${item.items.map((child) => this._renderItem(child))}</ul>` : nothing40}
|
|
25843
25921
|
</li>
|
|
25844
25922
|
`;
|
|
25845
25923
|
}
|
|
@@ -26446,7 +26524,7 @@ var CsDrawer = class extends CsDrawerInternal {
|
|
|
26446
26524
|
customElements.define("cs-drawer", CsDrawer);
|
|
26447
26525
|
|
|
26448
26526
|
// src/split-panel/internal.ts
|
|
26449
|
-
import { css as css152, html as html71, nothing as
|
|
26527
|
+
import { css as css152, html as html71, nothing as nothing41 } from "lit";
|
|
26450
26528
|
import { property as property70, state as state22 } from "lit/decorators.js";
|
|
26451
26529
|
import { classMap as classMap58 } from "lit/directives/class-map.js";
|
|
26452
26530
|
|
|
@@ -26867,7 +26945,7 @@ var CsSplitPanelInternal = class extends CsBaseElement {
|
|
|
26867
26945
|
@click=${this._onPreferencesClick}
|
|
26868
26946
|
></cs-button>
|
|
26869
26947
|
<div class="divider"></div>
|
|
26870
|
-
` :
|
|
26948
|
+
` : nothing41}
|
|
26871
26949
|
<cs-button
|
|
26872
26950
|
variant="icon"
|
|
26873
26951
|
icon-name="angle-down"
|
|
@@ -26900,7 +26978,7 @@ var CsSplitPanelInternal = class extends CsBaseElement {
|
|
|
26900
26978
|
@click=${this._onPreferencesClick}
|
|
26901
26979
|
></cs-button>
|
|
26902
26980
|
<div class="divider"></div>
|
|
26903
|
-
` :
|
|
26981
|
+
` : nothing41}
|
|
26904
26982
|
<cs-button
|
|
26905
26983
|
variant="icon"
|
|
26906
26984
|
icon-name="close"
|
|
@@ -27265,7 +27343,7 @@ var CsTextarea = class extends CsTextareaInternal {
|
|
|
27265
27343
|
customElements.define("cs-textarea", CsTextarea);
|
|
27266
27344
|
|
|
27267
27345
|
// src/text-filter/internal.ts
|
|
27268
|
-
import { css as css156, html as html74, nothing as
|
|
27346
|
+
import { css as css156, html as html74, nothing as nothing42 } from "lit";
|
|
27269
27347
|
import { property as property73 } from "lit/decorators.js";
|
|
27270
27348
|
|
|
27271
27349
|
// src/text-filter/styles.ts
|
|
@@ -27356,7 +27434,7 @@ var CsTextFilterInternal = class extends CsBaseElement {
|
|
|
27356
27434
|
@change=${this._onInputChange}
|
|
27357
27435
|
></cs-input>
|
|
27358
27436
|
</div>
|
|
27359
|
-
${showResults ? html74`<span class="results">${this.countText}</span>` :
|
|
27437
|
+
${showResults ? html74`<span class="results">${this.countText}</span>` : nothing42}
|
|
27360
27438
|
</div>
|
|
27361
27439
|
`;
|
|
27362
27440
|
}
|
|
@@ -27519,7 +27597,7 @@ var CsTimeInput = class extends CsTimeInputInternal {
|
|
|
27519
27597
|
customElements.define("cs-time-input", CsTimeInput);
|
|
27520
27598
|
|
|
27521
27599
|
// src/hotspot/internal.ts
|
|
27522
|
-
import { css as css160, html as html76, nothing as
|
|
27600
|
+
import { css as css160, html as html76, nothing as nothing43 } from "lit";
|
|
27523
27601
|
import { property as property75, state as state23 } from "lit/decorators.js";
|
|
27524
27602
|
import { classMap as classMap61 } from "lit/directives/class-map.js";
|
|
27525
27603
|
import { consume as consume7 } from "@lit/context";
|
|
@@ -27635,7 +27713,7 @@ var CsHotspotInternal = class extends CsBaseElement {
|
|
|
27635
27713
|
@click=${this._onHotspotClick}
|
|
27636
27714
|
></cs-button>
|
|
27637
27715
|
</div>
|
|
27638
|
-
` :
|
|
27716
|
+
` : nothing43;
|
|
27639
27717
|
const currentStep = this._currentStep;
|
|
27640
27718
|
const popoverContent = this._popoverOpen && isActive && currentStep && ctx ? html76`
|
|
27641
27719
|
<div class="annotation-popover" role="dialog" aria-label="Annotation">
|
|
@@ -27656,7 +27734,7 @@ var CsHotspotInternal = class extends CsBaseElement {
|
|
|
27656
27734
|
<cs-button variant="link" @click=${this._onPrevious}>
|
|
27657
27735
|
${ctx.i18nStrings.previousButtonText}
|
|
27658
27736
|
</cs-button>
|
|
27659
|
-
` :
|
|
27737
|
+
` : nothing43}
|
|
27660
27738
|
${currentStep.globalIndex < ctx.totalSteps - 1 ? html76`
|
|
27661
27739
|
<cs-button variant="primary" @click=${this._onNext}>
|
|
27662
27740
|
${ctx.i18nStrings.nextButtonText}
|
|
@@ -27668,7 +27746,7 @@ var CsHotspotInternal = class extends CsBaseElement {
|
|
|
27668
27746
|
`}
|
|
27669
27747
|
</div>
|
|
27670
27748
|
</div>
|
|
27671
|
-
` :
|
|
27749
|
+
` : nothing43;
|
|
27672
27750
|
return html76`
|
|
27673
27751
|
<div class="wrapper">
|
|
27674
27752
|
<div class="elementWrapper">
|
|
@@ -27702,7 +27780,7 @@ var CsHotspot = class extends CsHotspotInternal {
|
|
|
27702
27780
|
customElements.define("cs-hotspot", CsHotspot);
|
|
27703
27781
|
|
|
27704
27782
|
// src/tutorial-panel/internal.ts
|
|
27705
|
-
import { css as css162, html as html77, nothing as
|
|
27783
|
+
import { css as css162, html as html77, nothing as nothing44 } from "lit";
|
|
27706
27784
|
import { property as property76, state as state24 } from "lit/decorators.js";
|
|
27707
27785
|
import { classMap as classMap62 } from "lit/directives/class-map.js";
|
|
27708
27786
|
|
|
@@ -27803,7 +27881,7 @@ var CsTutorialPanelInternal = class extends CsBaseElement {
|
|
|
27803
27881
|
${this.i18nStrings.tutorialListDownloadLinkText}
|
|
27804
27882
|
</cs-link>
|
|
27805
27883
|
</div>
|
|
27806
|
-
` :
|
|
27884
|
+
` : nothing44}
|
|
27807
27885
|
|
|
27808
27886
|
<ul class="tutorial-list" role="list">
|
|
27809
27887
|
${this.tutorials.map((tutorial) => this._renderTutorialItem(tutorial))}
|
|
@@ -27824,11 +27902,11 @@ var CsTutorialPanelInternal = class extends CsBaseElement {
|
|
|
27824
27902
|
<cs-status-indicator type="success">
|
|
27825
27903
|
${this.i18nStrings.tutorialCompletedText}
|
|
27826
27904
|
</cs-status-indicator>
|
|
27827
|
-
` :
|
|
27905
|
+
` : nothing44}
|
|
27828
27906
|
|
|
27829
27907
|
${isDisabled && tutorial.prerequisitesAlert ? html77`
|
|
27830
27908
|
<div class="prerequisites-alert">${tutorial.prerequisitesAlert}</div>
|
|
27831
|
-
` :
|
|
27909
|
+
` : nothing44}
|
|
27832
27910
|
|
|
27833
27911
|
<div class="tutorial-description">${tutorial.description}</div>
|
|
27834
27912
|
|
|
@@ -27839,7 +27917,7 @@ var CsTutorialPanelInternal = class extends CsBaseElement {
|
|
|
27839
27917
|
aria-label=${this.i18nStrings.labelLearnMoreLink ?? this.i18nStrings.learnMoreLinkText}>
|
|
27840
27918
|
${this.i18nStrings.learnMoreLinkText}
|
|
27841
27919
|
</cs-link>
|
|
27842
|
-
` :
|
|
27920
|
+
` : nothing44}
|
|
27843
27921
|
</div>
|
|
27844
27922
|
|
|
27845
27923
|
<cs-button
|
|
@@ -27901,7 +27979,7 @@ var CsTutorialPanelInternal = class extends CsBaseElement {
|
|
|
27901
27979
|
<div class="completed-screen">
|
|
27902
27980
|
<cs-icon name="status-positive" size="big"></cs-icon>
|
|
27903
27981
|
<h2>${this.i18nStrings.completionScreenTitle}</h2>
|
|
27904
|
-
${tutorial ? html77`<p>${tutorial.completedScreenDescription}</p>` :
|
|
27982
|
+
${tutorial ? html77`<p>${tutorial.completedScreenDescription}</p>` : nothing44}
|
|
27905
27983
|
<div class="completed-actions">
|
|
27906
27984
|
<cs-button variant="primary" @click=${this._onBackToList}>
|
|
27907
27985
|
${this.i18nStrings.dismissTutorialButtonText}
|
|
@@ -27910,7 +27988,7 @@ var CsTutorialPanelInternal = class extends CsBaseElement {
|
|
|
27910
27988
|
<cs-button variant="link" @click=${() => fireNonCancelableEvent(this, "feedbackClick", { tutorial })}>
|
|
27911
27989
|
${this.i18nStrings.feedbackLinkText}
|
|
27912
27990
|
</cs-button>
|
|
27913
|
-
` :
|
|
27991
|
+
` : nothing44}
|
|
27914
27992
|
</div>
|
|
27915
27993
|
</div>
|
|
27916
27994
|
</div>
|
|
@@ -27955,7 +28033,7 @@ var CsTutorialPanel = class extends CsTutorialPanelInternal {
|
|
|
27955
28033
|
customElements.define("cs-tutorial-panel", CsTutorialPanel);
|
|
27956
28034
|
|
|
27957
28035
|
// src/app-layout/internal.ts
|
|
27958
|
-
import { css as css173, html as html78, nothing as
|
|
28036
|
+
import { css as css173, html as html78, nothing as nothing45 } from "lit";
|
|
27959
28037
|
import { property as property77 } from "lit/decorators.js";
|
|
27960
28038
|
import { classMap as classMap63 } from "lit/directives/class-map.js";
|
|
27961
28039
|
|
|
@@ -29498,7 +29576,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29498
29576
|
>
|
|
29499
29577
|
<slot name="navigation"></slot>
|
|
29500
29578
|
</div>
|
|
29501
|
-
` :
|
|
29579
|
+
` : nothing45}
|
|
29502
29580
|
|
|
29503
29581
|
<div
|
|
29504
29582
|
class=${classMap63(layoutMainClasses)}
|
|
@@ -29528,7 +29606,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29528
29606
|
>
|
|
29529
29607
|
<slot name="tools"></slot>
|
|
29530
29608
|
</div>
|
|
29531
|
-
` :
|
|
29609
|
+
` : nothing45}
|
|
29532
29610
|
</div>
|
|
29533
29611
|
|
|
29534
29612
|
${!this.navigationHide && !this.navigationOpen ? html78`
|
|
@@ -29540,7 +29618,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29540
29618
|
>
|
|
29541
29619
|
<cs-icon name="menu"></cs-icon>
|
|
29542
29620
|
</button>
|
|
29543
|
-
` :
|
|
29621
|
+
` : nothing45}
|
|
29544
29622
|
|
|
29545
29623
|
${!this.navigationHide && this.navigationOpen ? html78`
|
|
29546
29624
|
<button
|
|
@@ -29551,7 +29629,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29551
29629
|
>
|
|
29552
29630
|
<cs-icon name="close"></cs-icon>
|
|
29553
29631
|
</button>
|
|
29554
|
-
` :
|
|
29632
|
+
` : nothing45}
|
|
29555
29633
|
|
|
29556
29634
|
${!this.toolsHide && !this.toolsOpen ? html78`
|
|
29557
29635
|
<button
|
|
@@ -29562,7 +29640,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29562
29640
|
>
|
|
29563
29641
|
<cs-icon name="status-info"></cs-icon>
|
|
29564
29642
|
</button>
|
|
29565
|
-
` :
|
|
29643
|
+
` : nothing45}
|
|
29566
29644
|
|
|
29567
29645
|
${!this.toolsHide && this.toolsOpen ? html78`
|
|
29568
29646
|
<button
|
|
@@ -29573,7 +29651,7 @@ var CsAppLayoutInternal = class extends CsBaseElement {
|
|
|
29573
29651
|
>
|
|
29574
29652
|
<cs-icon name="close"></cs-icon>
|
|
29575
29653
|
</button>
|
|
29576
|
-
` :
|
|
29654
|
+
` : nothing45}
|
|
29577
29655
|
|
|
29578
29656
|
<slot name="drawers" style="display:none"></slot>
|
|
29579
29657
|
</div>
|
|
@@ -29623,7 +29701,7 @@ var CsAppLayout = class extends CsAppLayoutInternal {
|
|
|
29623
29701
|
customElements.define("cs-app-layout", CsAppLayout);
|
|
29624
29702
|
|
|
29625
29703
|
// src/file-token-group/internal.ts
|
|
29626
|
-
import { css as css175, html as html79, nothing as
|
|
29704
|
+
import { css as css175, html as html79, nothing as nothing46 } from "lit";
|
|
29627
29705
|
import { property as property78, state as state25 } from "lit/decorators.js";
|
|
29628
29706
|
import { classMap as classMap64 } from "lit/directives/class-map.js";
|
|
29629
29707
|
|
|
@@ -29912,7 +29990,7 @@ var CsFileTokenGroupInternal = class extends CsBaseElement {
|
|
|
29912
29990
|
return file.type.startsWith("image/");
|
|
29913
29991
|
}
|
|
29914
29992
|
_renderThumbnail(file) {
|
|
29915
|
-
if (!this.showFileThumbnail || !this._isImageFile(file)) return
|
|
29993
|
+
if (!this.showFileThumbnail || !this._isImageFile(file)) return nothing46;
|
|
29916
29994
|
const url = URL.createObjectURL(file);
|
|
29917
29995
|
return html79`
|
|
29918
29996
|
<div class="file-option-thumbnail">
|
|
@@ -29961,12 +30039,12 @@ var CsFileTokenGroupInternal = class extends CsBaseElement {
|
|
|
29961
30039
|
<div class=${classMap64(metadataClasses)}>
|
|
29962
30040
|
<div class="file-name-container" tabindex="0">
|
|
29963
30041
|
<div class="file-option-name">${file.name}</div>
|
|
29964
|
-
${this.showFileSize && file.size != null ? html79`<div class="file-option-size">${this._formatSize(file.size)}</div>` :
|
|
29965
|
-
${this.showFileLastModified && file.lastModified ? html79`<div class="file-option-last-modified">${this._formatLastModified(new Date(file.lastModified))}</div>` :
|
|
30042
|
+
${this.showFileSize && file.size != null ? html79`<div class="file-option-size">${this._formatSize(file.size)}</div>` : nothing46}
|
|
30043
|
+
${this.showFileLastModified && file.lastModified ? html79`<div class="file-option-last-modified">${this._formatLastModified(new Date(file.lastModified))}</div>` : nothing46}
|
|
29966
30044
|
</div>
|
|
29967
30045
|
</div>
|
|
29968
30046
|
</div>
|
|
29969
|
-
${loading ? html79`<div class="file-loading-overlay${!hasThumbnail ? " file-loading-overlay-single-row" : ""}"><cs-spinner size="normal"></cs-spinner></div>` :
|
|
30047
|
+
${loading ? html79`<div class="file-loading-overlay${!hasThumbnail ? " file-loading-overlay-single-row" : ""}"><cs-spinner size="normal"></cs-spinner></div>` : nothing46}
|
|
29970
30048
|
${showDismiss ? html79`
|
|
29971
30049
|
<button
|
|
29972
30050
|
class="dismiss-button"
|
|
@@ -29976,16 +30054,16 @@ var CsFileTokenGroupInternal = class extends CsBaseElement {
|
|
|
29976
30054
|
>
|
|
29977
30055
|
<cs-icon name="close" size="small"></cs-icon>
|
|
29978
30056
|
</button>
|
|
29979
|
-
` :
|
|
30057
|
+
` : nothing46}
|
|
29980
30058
|
</div>
|
|
29981
30059
|
${errorText ? html79`<div class="file-error-text">
|
|
29982
30060
|
<cs-icon name="status-negative" size="small"></cs-icon>
|
|
29983
30061
|
<span>${errorText}</span>
|
|
29984
|
-
</div>` :
|
|
30062
|
+
</div>` : nothing46}
|
|
29985
30063
|
${!errorText && warningText ? html79`<div class="file-warning-text">
|
|
29986
30064
|
<cs-icon name="status-warning" size="small"></cs-icon>
|
|
29987
30065
|
<span>${warningText}</span>
|
|
29988
|
-
</div>` :
|
|
30066
|
+
</div>` : nothing46}
|
|
29989
30067
|
</li>
|
|
29990
30068
|
`;
|
|
29991
30069
|
}
|
|
@@ -30018,7 +30096,7 @@ var CsFileTokenGroupInternal = class extends CsBaseElement {
|
|
|
30018
30096
|
>
|
|
30019
30097
|
${this._expanded ? showFewerLabel : showMoreLabel}
|
|
30020
30098
|
</button>
|
|
30021
|
-
` :
|
|
30099
|
+
` : nothing46}
|
|
30022
30100
|
</div>
|
|
30023
30101
|
`;
|
|
30024
30102
|
}
|
|
@@ -30275,6 +30353,7 @@ var CsItemCardInternal = class extends CsBaseElement {
|
|
|
30275
30353
|
this._hasFooter = false;
|
|
30276
30354
|
this._hasActions = false;
|
|
30277
30355
|
this._hasDescription = false;
|
|
30356
|
+
this._hasIcon = false;
|
|
30278
30357
|
this._onHeaderSlotChange = (e) => {
|
|
30279
30358
|
const slot = e.target;
|
|
30280
30359
|
this._hasHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
@@ -30295,6 +30374,11 @@ var CsItemCardInternal = class extends CsBaseElement {
|
|
|
30295
30374
|
this._hasDescription = slot.assignedNodes({ flatten: true }).length > 0;
|
|
30296
30375
|
this.requestUpdate();
|
|
30297
30376
|
};
|
|
30377
|
+
this._onIconSlotChange = (e) => {
|
|
30378
|
+
const slot = e.target;
|
|
30379
|
+
this._hasIcon = slot.assignedNodes({ flatten: true }).length > 0;
|
|
30380
|
+
this.requestUpdate();
|
|
30381
|
+
};
|
|
30298
30382
|
}
|
|
30299
30383
|
static {
|
|
30300
30384
|
this.styles = [sharedStyles, componentStyles76, hostStyles78];
|
|
@@ -30334,8 +30418,9 @@ var CsItemCardInternal = class extends CsBaseElement {
|
|
|
30334
30418
|
return html80`
|
|
30335
30419
|
<div class=${classMap65(rootClasses)} style=${styleMap(rootStyleOverrides)}>
|
|
30336
30420
|
<div class="inner-card">
|
|
30337
|
-
${this._hasHeader || this._hasActions || this._hasDescription ? html80`
|
|
30421
|
+
${this._hasHeader || this._hasActions || this._hasDescription || this._hasIcon ? html80`
|
|
30338
30422
|
<div class=${classMap65(headerClasses)}>
|
|
30423
|
+
${this._hasIcon ? html80`<div class="icon"><slot name="icon" @slotchange=${this._onIconSlotChange}></slot></div>` : html80`<slot name="icon" @slotchange=${this._onIconSlotChange} style="display:none"></slot>`}
|
|
30339
30424
|
<div class="header-inner">
|
|
30340
30425
|
<slot name="header" @slotchange=${this._onHeaderSlotChange}></slot>
|
|
30341
30426
|
</div>
|
|
@@ -30343,6 +30428,7 @@ var CsItemCardInternal = class extends CsBaseElement {
|
|
|
30343
30428
|
${this._hasActions ? html80`<div class="actions"><slot name="actions" @slotchange=${this._onActionsSlotChange}></slot></div>` : html80`<slot name="actions" @slotchange=${this._onActionsSlotChange} style="display:none"></slot>`}
|
|
30344
30429
|
</div>
|
|
30345
30430
|
` : html80`
|
|
30431
|
+
<slot name="icon" @slotchange=${this._onIconSlotChange} style="display:none"></slot>
|
|
30346
30432
|
<slot name="header" @slotchange=${this._onHeaderSlotChange} style="display:none"></slot>
|
|
30347
30433
|
<slot name="description" @slotchange=${this._onDescriptionSlotChange} style="display:none"></slot>
|
|
30348
30434
|
<slot name="actions" @slotchange=${this._onActionsSlotChange} style="display:none"></slot>
|
|
@@ -30387,7 +30473,7 @@ var CsItemCard = class extends CsItemCardInternal {
|
|
|
30387
30473
|
customElements.define("cs-item-card", CsItemCard);
|
|
30388
30474
|
|
|
30389
30475
|
// src/panel-layout/internal.ts
|
|
30390
|
-
import { css as css179, html as html81, nothing as
|
|
30476
|
+
import { css as css179, html as html81, nothing as nothing47 } from "lit";
|
|
30391
30477
|
import { property as property80, state as state26 } from "lit/decorators.js";
|
|
30392
30478
|
import { classMap as classMap66 } from "lit/directives/class-map.js";
|
|
30393
30479
|
import { styleMap as styleMap2 } from "lit/directives/style-map.js";
|
|
@@ -30567,7 +30653,7 @@ var CsPanelLayoutInternal = class extends CsBaseElement {
|
|
|
30567
30653
|
handle?.focus();
|
|
30568
30654
|
}
|
|
30569
30655
|
_renderHandle() {
|
|
30570
|
-
if (!this.resizable || this.display !== "all") return
|
|
30656
|
+
if (!this.resizable || this.display !== "all") return nothing47;
|
|
30571
30657
|
const ariaLabel = this.i18nStrings?.resizeHandleAriaLabel ?? "Resize panel";
|
|
30572
30658
|
const tooltip = this.i18nStrings?.resizeHandleTooltipText;
|
|
30573
30659
|
return html81`
|
|
@@ -30579,7 +30665,7 @@ var CsPanelLayoutInternal = class extends CsBaseElement {
|
|
|
30579
30665
|
aria-valuemin=${this.minPanelSize ?? MIN_DEFAULT}
|
|
30580
30666
|
aria-valuemax=${this.maxPanelSize ?? this.clientWidth}
|
|
30581
30667
|
aria-label=${ariaLabel}
|
|
30582
|
-
title=${tooltip ??
|
|
30668
|
+
title=${tooltip ?? nothing47}
|
|
30583
30669
|
tabindex="0"
|
|
30584
30670
|
@pointerdown=${this._onPointerDown}
|
|
30585
30671
|
@pointermove=${this._onPointerMove}
|
|
@@ -30614,24 +30700,24 @@ var CsPanelLayoutInternal = class extends CsBaseElement {
|
|
|
30614
30700
|
const panelFirst = this.panelPosition === "side-start";
|
|
30615
30701
|
const panelSection = html81`
|
|
30616
30702
|
<div class="panel" style=${styleMap2(panelStyle)}>
|
|
30617
|
-
${!panelFirst ? html81`<div class="handle">${this._renderHandle()}</div>` :
|
|
30703
|
+
${!panelFirst ? html81`<div class="handle">${this._renderHandle()}</div>` : nothing47}
|
|
30618
30704
|
<div
|
|
30619
30705
|
class="panel-content"
|
|
30620
|
-
tabindex=${this.panelFocusable ? "0" :
|
|
30621
|
-
aria-label=${this.panelFocusable?.ariaLabel ??
|
|
30622
|
-
aria-labelledby=${this.panelFocusable?.ariaLabelledby ??
|
|
30706
|
+
tabindex=${this.panelFocusable ? "0" : nothing47}
|
|
30707
|
+
aria-label=${this.panelFocusable?.ariaLabel ?? nothing47}
|
|
30708
|
+
aria-labelledby=${this.panelFocusable?.ariaLabelledby ?? nothing47}
|
|
30623
30709
|
>
|
|
30624
30710
|
<slot name="panel"></slot>
|
|
30625
30711
|
</div>
|
|
30626
|
-
${panelFirst ? html81`<div class="handle">${this._renderHandle()}</div>` :
|
|
30712
|
+
${panelFirst ? html81`<div class="handle">${this._renderHandle()}</div>` : nothing47}
|
|
30627
30713
|
</div>
|
|
30628
30714
|
`;
|
|
30629
30715
|
const mainSection = html81`
|
|
30630
30716
|
<div
|
|
30631
30717
|
class="content"
|
|
30632
|
-
tabindex=${this.mainFocusable ? "0" :
|
|
30633
|
-
aria-label=${this.mainFocusable?.ariaLabel ??
|
|
30634
|
-
aria-labelledby=${this.mainFocusable?.ariaLabelledby ??
|
|
30718
|
+
tabindex=${this.mainFocusable ? "0" : nothing47}
|
|
30719
|
+
aria-label=${this.mainFocusable?.ariaLabel ?? nothing47}
|
|
30720
|
+
aria-labelledby=${this.mainFocusable?.ariaLabelledby ?? nothing47}
|
|
30635
30721
|
>
|
|
30636
30722
|
<slot name="main"></slot>
|
|
30637
30723
|
</div>
|
|
@@ -30687,7 +30773,7 @@ var CsPanelLayout = class extends CsPanelLayoutInternal {
|
|
|
30687
30773
|
customElements.define("cs-panel-layout", CsPanelLayout);
|
|
30688
30774
|
|
|
30689
30775
|
// src/s3-resource-selector/internal.ts
|
|
30690
|
-
import { css as css181, html as html82, nothing as
|
|
30776
|
+
import { css as css181, html as html82, nothing as nothing48 } from "lit";
|
|
30691
30777
|
import { property as property81, state as state27 } from "lit/decorators.js";
|
|
30692
30778
|
|
|
30693
30779
|
// src/s3-resource-selector/styles.ts
|
|
@@ -30947,12 +31033,12 @@ var CsS3ResourceSelectorInternal = class extends CsBaseElement {
|
|
|
30947
31033
|
.value=${this._uri}
|
|
30948
31034
|
placeholder=${placeholder}
|
|
30949
31035
|
?invalid=${this.invalid}
|
|
30950
|
-
aria-describedby=${this.inputAriaDescribedby ??
|
|
31036
|
+
aria-describedby=${this.inputAriaDescribedby ?? nothing48}
|
|
30951
31037
|
@change=${this._onUriChange}
|
|
30952
31038
|
style="flex:1"
|
|
30953
31039
|
></cs-input>
|
|
30954
31040
|
<cs-button @click=${this._openModal}>${browseLabel}</cs-button>
|
|
30955
|
-
${this.viewHref ? html82`<cs-button variant="normal" href=${this.viewHref}>${strings?.inContextViewButton ?? "View"}</cs-button>` :
|
|
31041
|
+
${this.viewHref ? html82`<cs-button variant="normal" href=${this.viewHref}>${strings?.inContextViewButton ?? "View"}</cs-button>` : nothing48}
|
|
30956
31042
|
</div>
|
|
30957
31043
|
|
|
30958
31044
|
<slot name="alert"></slot>
|
|
@@ -31073,7 +31159,7 @@ var CsS3ResourceSelector = class extends CsS3ResourceSelectorInternal {
|
|
|
31073
31159
|
customElements.define("cs-s3-resource-selector", CsS3ResourceSelector);
|
|
31074
31160
|
|
|
31075
31161
|
// src/app-layout-toolbar/internal.ts
|
|
31076
|
-
import { css as css182, html as html83, nothing as
|
|
31162
|
+
import { css as css182, html as html83, nothing as nothing49 } from "lit";
|
|
31077
31163
|
import { property as property82 } from "lit/decorators.js";
|
|
31078
31164
|
import { classMap as classMap67 } from "lit/directives/class-map.js";
|
|
31079
31165
|
var toolbarStyles = css182`
|
|
@@ -31083,8 +31169,8 @@ var toolbarStyles = css182`
|
|
|
31083
31169
|
gap: 4px;
|
|
31084
31170
|
height: 48px;
|
|
31085
31171
|
padding: 0 12px;
|
|
31086
|
-
background: var(--color-background-container-content
|
|
31087
|
-
border-bottom: 1px solid var(--color-border-divider-default
|
|
31172
|
+
background: var(--color-background-container-content, #ffffff);
|
|
31173
|
+
border-bottom: 1px solid var(--color-border-divider-default, #e9ebed);
|
|
31088
31174
|
box-sizing: border-box;
|
|
31089
31175
|
}
|
|
31090
31176
|
|
|
@@ -31100,7 +31186,7 @@ var toolbarStyles = css182`
|
|
|
31100
31186
|
border: none;
|
|
31101
31187
|
border-radius: 8px;
|
|
31102
31188
|
background: transparent;
|
|
31103
|
-
color: var(--color-text-interactive-default
|
|
31189
|
+
color: var(--color-text-interactive-default, #414d5c);
|
|
31104
31190
|
cursor: pointer;
|
|
31105
31191
|
position: relative;
|
|
31106
31192
|
}
|
|
@@ -31108,19 +31194,19 @@ var toolbarStyles = css182`
|
|
|
31108
31194
|
.toolbar__nav-trigger:hover,
|
|
31109
31195
|
.toolbar__tools-trigger:hover,
|
|
31110
31196
|
.toolbar__drawer-trigger:hover {
|
|
31111
|
-
background: var(--color-background-button-normal-hover
|
|
31197
|
+
background: var(--color-background-button-normal-hover, #f2f3f3);
|
|
31112
31198
|
}
|
|
31113
31199
|
|
|
31114
31200
|
.toolbar__nav-trigger:focus-visible,
|
|
31115
31201
|
.toolbar__tools-trigger:focus-visible,
|
|
31116
31202
|
.toolbar__drawer-trigger:focus-visible {
|
|
31117
|
-
outline: 2px solid var(--color-border-item-focused
|
|
31203
|
+
outline: 2px solid var(--color-border-item-focused, #0972d3);
|
|
31118
31204
|
outline-offset: 2px;
|
|
31119
31205
|
}
|
|
31120
31206
|
|
|
31121
31207
|
.toolbar__drawer-trigger--active {
|
|
31122
|
-
background: var(--color-background-button-normal-active
|
|
31123
|
-
color: var(--color-text-interactive-active
|
|
31208
|
+
background: var(--color-background-button-normal-active, #e9ebed);
|
|
31209
|
+
color: var(--color-text-interactive-active, #0972d3);
|
|
31124
31210
|
}
|
|
31125
31211
|
|
|
31126
31212
|
.toolbar__breadcrumbs {
|
|
@@ -31132,7 +31218,7 @@ var toolbarStyles = css182`
|
|
|
31132
31218
|
.toolbar__separator {
|
|
31133
31219
|
width: 1px;
|
|
31134
31220
|
height: 24px;
|
|
31135
|
-
background: var(--color-border-divider-default
|
|
31221
|
+
background: var(--color-border-divider-default, #e9ebed);
|
|
31136
31222
|
margin: 0 4px;
|
|
31137
31223
|
flex-shrink: 0;
|
|
31138
31224
|
}
|
|
@@ -31144,11 +31230,11 @@ var toolbarStyles = css182`
|
|
|
31144
31230
|
width: 8px;
|
|
31145
31231
|
height: 8px;
|
|
31146
31232
|
border-radius: 50%;
|
|
31147
|
-
background: var(--color-background-notification-badge
|
|
31233
|
+
background: var(--color-background-notification-badge, #d91515);
|
|
31148
31234
|
}
|
|
31149
31235
|
|
|
31150
31236
|
.toolbar__drawer-panel {
|
|
31151
|
-
border-left: 1px solid var(--color-border-divider-default
|
|
31237
|
+
border-left: 1px solid var(--color-border-divider-default, #e9ebed);
|
|
31152
31238
|
}
|
|
31153
31239
|
`;
|
|
31154
31240
|
var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
@@ -31217,7 +31303,7 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31217
31303
|
<cs-icon name="menu"></cs-icon>
|
|
31218
31304
|
</button>
|
|
31219
31305
|
<div class="toolbar__separator"></div>
|
|
31220
|
-
` :
|
|
31306
|
+
` : nothing49}
|
|
31221
31307
|
|
|
31222
31308
|
<div class="toolbar__breadcrumbs">
|
|
31223
31309
|
<slot name="breadcrumbs"></slot>
|
|
@@ -31234,10 +31320,10 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31234
31320
|
@click=${() => this._handleToggleDrawer(drawer.id)}
|
|
31235
31321
|
>
|
|
31236
31322
|
<cs-icon name="${drawer.trigger?.iconName ?? "status-info"}"></cs-icon>
|
|
31237
|
-
${drawer.badge ? html83`<span class="toolbar__badge"></span>` :
|
|
31323
|
+
${drawer.badge ? html83`<span class="toolbar__badge"></span>` : nothing49}
|
|
31238
31324
|
</button>
|
|
31239
31325
|
`)}
|
|
31240
|
-
` :
|
|
31326
|
+
` : nothing49}
|
|
31241
31327
|
|
|
31242
31328
|
${!this.toolsHide ? html83`
|
|
31243
31329
|
<div class="toolbar__separator"></div>
|
|
@@ -31250,7 +31336,7 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31250
31336
|
>
|
|
31251
31337
|
<cs-icon name="status-info"></cs-icon>
|
|
31252
31338
|
</button>
|
|
31253
|
-
` :
|
|
31339
|
+
` : nothing49}
|
|
31254
31340
|
</div>
|
|
31255
31341
|
|
|
31256
31342
|
<div class="layout">
|
|
@@ -31263,7 +31349,7 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31263
31349
|
>
|
|
31264
31350
|
<slot name="navigation"></slot>
|
|
31265
31351
|
</div>
|
|
31266
|
-
` :
|
|
31352
|
+
` : nothing49}
|
|
31267
31353
|
|
|
31268
31354
|
<div
|
|
31269
31355
|
class=${classMap67(layoutMainClasses)}
|
|
@@ -31290,7 +31376,7 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31290
31376
|
>
|
|
31291
31377
|
<slot name="tools"></slot>
|
|
31292
31378
|
</div>
|
|
31293
|
-
` :
|
|
31379
|
+
` : nothing49}
|
|
31294
31380
|
|
|
31295
31381
|
${activeDrawer ? html83`
|
|
31296
31382
|
<div
|
|
@@ -31301,7 +31387,7 @@ var CsAppLayoutToolbarInternal = class extends CsAppLayoutInternal {
|
|
|
31301
31387
|
>
|
|
31302
31388
|
<slot name="drawer-${activeDrawer.id}"></slot>
|
|
31303
31389
|
</div>
|
|
31304
|
-
` :
|
|
31390
|
+
` : nothing49}
|
|
31305
31391
|
</div>
|
|
31306
31392
|
|
|
31307
31393
|
<slot name="drawers" style="display:none"></slot>
|