@getflip/swirl-components 0.60.1 → 0.62.0
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/components.json +64 -6
- package/dist/cjs/swirl-console-layout.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text.cjs.entry.js +1 -1
- package/dist/collection/components/swirl-console-layout/swirl-console-layout.js +11 -3
- package/dist/collection/components/swirl-text/swirl-text.css +26 -0
- package/dist/collection/components/swirl-text/swirl-text.js +1 -1
- package/dist/components/swirl-console-layout.js +1 -1
- package/dist/components/swirl-text2.js +1 -1
- package/dist/esm/swirl-console-layout.entry.js +1 -1
- package/dist/esm/swirl-text.entry.js +1 -1
- package/dist/swirl-components/{p-5bf27fd2.entry.js → p-4820eae0.entry.js} +1 -1
- package/dist/swirl-components/p-cc84df11.entry.js +8 -0
- package/dist/swirl-components/swirl-components.css +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-console-layout/swirl-console-layout.d.ts +9 -1
- package/dist/types/components/swirl-text/swirl-text.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/vscode-data.json +6 -0
- package/dist/swirl-components/p-6faadd4b.entry.js +0 -8
package/components.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-05-
|
|
2
|
+
"timestamp": "2023-05-25T08:49:59",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "3.0.0",
|
|
@@ -4033,7 +4033,32 @@
|
|
|
4033
4033
|
"encapsulation": "shadow",
|
|
4034
4034
|
"tag": "swirl-console-layout",
|
|
4035
4035
|
"docs": "",
|
|
4036
|
-
"docsTags": [
|
|
4036
|
+
"docsTags": [
|
|
4037
|
+
{
|
|
4038
|
+
"name": "slot",
|
|
4039
|
+
"text": "content - The main content"
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"name": "slot",
|
|
4043
|
+
"text": "content-header-tools - Button positioned next to the heading"
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"name": "slot",
|
|
4047
|
+
"text": "heading - The main content's heading (only rendered if \"heading\" prop is not set)."
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
"name": "slot",
|
|
4051
|
+
"text": "navigation - The main navigation"
|
|
4052
|
+
},
|
|
4053
|
+
{
|
|
4054
|
+
"name": "slot",
|
|
4055
|
+
"text": "overlays - Overlays like dialogs, modals and toasts"
|
|
4056
|
+
},
|
|
4057
|
+
{
|
|
4058
|
+
"name": "slot",
|
|
4059
|
+
"text": "user - The signed in user information at the bottom of the sidebar"
|
|
4060
|
+
}
|
|
4061
|
+
],
|
|
4037
4062
|
"usage": {},
|
|
4038
4063
|
"props": [
|
|
4039
4064
|
{
|
|
@@ -4082,8 +4107,8 @@
|
|
|
4082
4107
|
"type": "string"
|
|
4083
4108
|
}
|
|
4084
4109
|
],
|
|
4085
|
-
"optional":
|
|
4086
|
-
"required":
|
|
4110
|
+
"optional": true,
|
|
4111
|
+
"required": false
|
|
4087
4112
|
},
|
|
4088
4113
|
{
|
|
4089
4114
|
"name": "helpButonLabel",
|
|
@@ -4283,7 +4308,32 @@
|
|
|
4283
4308
|
}
|
|
4284
4309
|
],
|
|
4285
4310
|
"styles": [],
|
|
4286
|
-
"slots": [
|
|
4311
|
+
"slots": [
|
|
4312
|
+
{
|
|
4313
|
+
"name": "content",
|
|
4314
|
+
"docs": "The main content"
|
|
4315
|
+
},
|
|
4316
|
+
{
|
|
4317
|
+
"name": "content-header-tools",
|
|
4318
|
+
"docs": "Button positioned next to the heading"
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
"name": "heading",
|
|
4322
|
+
"docs": "The main content's heading (only rendered if \"heading\" prop is not set)."
|
|
4323
|
+
},
|
|
4324
|
+
{
|
|
4325
|
+
"name": "navigation",
|
|
4326
|
+
"docs": "The main navigation"
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
"name": "overlays",
|
|
4330
|
+
"docs": "Overlays like dialogs, modals and toasts"
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
"name": "user",
|
|
4334
|
+
"docs": "The signed in user information at the bottom of the sidebar"
|
|
4335
|
+
}
|
|
4336
|
+
],
|
|
4287
4337
|
"parts": [],
|
|
4288
4338
|
"dependents": [],
|
|
4289
4339
|
"dependencies": [
|
|
@@ -19217,7 +19267,7 @@
|
|
|
19217
19267
|
},
|
|
19218
19268
|
{
|
|
19219
19269
|
"name": "size",
|
|
19220
|
-
"type": "\"base\" | \"lg\" | \"sm\"",
|
|
19270
|
+
"type": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\"",
|
|
19221
19271
|
"mutable": false,
|
|
19222
19272
|
"attr": "size",
|
|
19223
19273
|
"reflectToAttr": false,
|
|
@@ -19225,6 +19275,10 @@
|
|
|
19225
19275
|
"docsTags": [],
|
|
19226
19276
|
"default": "\"base\"",
|
|
19227
19277
|
"values": [
|
|
19278
|
+
{
|
|
19279
|
+
"value": "2xl",
|
|
19280
|
+
"type": "string"
|
|
19281
|
+
},
|
|
19228
19282
|
{
|
|
19229
19283
|
"value": "base",
|
|
19230
19284
|
"type": "string"
|
|
@@ -19236,6 +19290,10 @@
|
|
|
19236
19290
|
{
|
|
19237
19291
|
"value": "sm",
|
|
19238
19292
|
"type": "string"
|
|
19293
|
+
},
|
|
19294
|
+
{
|
|
19295
|
+
"value": "xl",
|
|
19296
|
+
"type": "string"
|
|
19239
19297
|
}
|
|
19240
19298
|
],
|
|
19241
19299
|
"optional": true,
|
|
@@ -122,7 +122,7 @@ const SwirlConsoleLayout = class {
|
|
|
122
122
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
123
123
|
: "<swirl-icon-menu></swirl-icon-menu>", label: this.sidebarActive
|
|
124
124
|
? this.hideNavigationButtonLabel
|
|
125
|
-
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), index.h("div", { class: "console-layout__app-name" }, this.appName && (index.h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (index.h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), index.h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, index.h("header", { class: "console-layout__content-header" }, this.showBackButton && (index.h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), index.h("div", { class: "console-layout__heading-container" }, index.h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (index.h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading))), index.h("div", { class: "console-layout__content-header-tools" }, index.h("slot", { name: "content-header-tools" }))), index.h("div", { class: "console-layout__integration" }, index.h("slot", { name: "content" }))), index.h("div", { class: "console-layout__overlays" }, index.h("slot", { name: "overlays" }))))));
|
|
125
|
+
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), index.h("div", { class: "console-layout__app-name" }, this.appName && (index.h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (index.h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), index.h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, index.h("header", { class: "console-layout__content-header" }, this.showBackButton && (index.h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), Boolean(this.heading) && (index.h("div", { class: "console-layout__heading-container" }, index.h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (index.h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading)))), !Boolean(this.heading) && (index.h("div", { class: "console-layout__heading-container" }, index.h("slot", { name: "heading" }))), index.h("div", { class: "console-layout__content-header-tools" }, index.h("slot", { name: "content-header-tools" }))), index.h("div", { class: "console-layout__integration" }, index.h("slot", { name: "content" }))), index.h("div", { class: "console-layout__overlays" }, index.h("slot", { name: "overlays" }))))));
|
|
126
126
|
}
|
|
127
127
|
get el() { return index.getElement(this); }
|
|
128
128
|
};
|
|
@@ -169,7 +169,7 @@ function shave(target, maxHeight, opts) {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
172
|
+
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
173
173
|
|
|
174
174
|
const SwirlText = class {
|
|
175
175
|
constructor(hostRef) {
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
2
|
import classnames from "classnames";
|
|
3
3
|
import { isMobileViewport } from "../../utils";
|
|
4
|
+
/**
|
|
5
|
+
* @slot content - The main content
|
|
6
|
+
* @slot content-header-tools - Button positioned next to the heading
|
|
7
|
+
* @slot heading - The main content's heading (only rendered if "heading" prop is not set).
|
|
8
|
+
* @slot navigation - The main navigation
|
|
9
|
+
* @slot overlays - Overlays like dialogs, modals and toasts
|
|
10
|
+
* @slot user - The signed in user information at the bottom of the sidebar
|
|
11
|
+
*/
|
|
4
12
|
export class SwirlConsoleLayout {
|
|
5
13
|
constructor() {
|
|
6
14
|
this.onBackButtonClick = (event) => {
|
|
@@ -112,7 +120,7 @@ export class SwirlConsoleLayout {
|
|
|
112
120
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
113
121
|
: "<swirl-icon-menu></swirl-icon-menu>", label: this.sidebarActive
|
|
114
122
|
? this.hideNavigationButtonLabel
|
|
115
|
-
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
123
|
+
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading)))), !Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("slot", { name: "heading" }))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
116
124
|
}
|
|
117
125
|
static get is() { return "swirl-console-layout"; }
|
|
118
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,8 +179,8 @@ export class SwirlConsoleLayout {
|
|
|
171
179
|
"resolved": "string",
|
|
172
180
|
"references": {}
|
|
173
181
|
},
|
|
174
|
-
"required":
|
|
175
|
-
"optional":
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": true,
|
|
176
184
|
"docs": {
|
|
177
185
|
"tags": [],
|
|
178
186
|
"text": ""
|
|
@@ -76,6 +76,32 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.text--size-xl {
|
|
80
|
+
font-size: var(--s-font-size-xl);
|
|
81
|
+
line-height: var(--s-line-height-xl);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px) {
|
|
85
|
+
|
|
86
|
+
.text--size-xl {
|
|
87
|
+
font-size: var(--s-font-size-lg);
|
|
88
|
+
line-height: var(--s-line-height-lg)
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.text--size-2xl {
|
|
93
|
+
font-size: var(--s-font-size-2xl);
|
|
94
|
+
line-height: var(--s-line-height-2xl);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px) {
|
|
98
|
+
|
|
99
|
+
.text--size-2xl {
|
|
100
|
+
font-size: var(--s-font-size-xl);
|
|
101
|
+
line-height: var(--s-line-height-xl)
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
79
105
|
.text--weight-normal {
|
|
80
106
|
font-weight: var(--s-font-weight-normal);
|
|
81
107
|
}
|
|
@@ -211,7 +211,7 @@ export class SwirlText {
|
|
|
211
211
|
"mutable": false,
|
|
212
212
|
"complexType": {
|
|
213
213
|
"original": "SwirlTextSize",
|
|
214
|
-
"resolved": "\"base\" | \"lg\" | \"sm\"",
|
|
214
|
+
"resolved": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\"",
|
|
215
215
|
"references": {
|
|
216
216
|
"SwirlTextSize": {
|
|
217
217
|
"location": "local",
|
|
@@ -123,7 +123,7 @@ const SwirlConsoleLayout$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
123
123
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
124
124
|
: "<swirl-icon-menu></swirl-icon-menu>", label: this.sidebarActive
|
|
125
125
|
? this.hideNavigationButtonLabel
|
|
126
|
-
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
126
|
+
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading)))), !Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("slot", { name: "heading" }))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
127
127
|
}
|
|
128
128
|
get el() { return this; }
|
|
129
129
|
static get style() { return swirlConsoleLayoutCss; }
|
|
@@ -165,7 +165,7 @@ function shave(target, maxHeight, opts) {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
168
|
+
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
169
169
|
|
|
170
170
|
const SwirlText = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
171
171
|
constructor() {
|
|
@@ -118,7 +118,7 @@ const SwirlConsoleLayout = class {
|
|
|
118
118
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
119
119
|
: "<swirl-icon-menu></swirl-icon-menu>", label: this.sidebarActive
|
|
120
120
|
? this.hideNavigationButtonLabel
|
|
121
|
-
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
121
|
+
: this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), h("div", { class: "console-layout__app-name" }, this.appName && (h("swirl-heading", { as: "h1", headingId: "app-name", level: 4, text: this.appName }))), this.showHelpButton && (h("swirl-button", { class: "console-layout__help-button", hideLabel: true, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick }))), h("section", { "aria-labelledby": "heading", class: "console-layout__content" }, h("header", { class: "console-layout__content-header" }, this.showBackButton && (h("swirl-button", { class: "console-layout__back-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick })), Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("swirl-heading", { as: "h2", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && (h("swirl-text", { class: "console-layout__subheading", color: "subdued" }, this.subheading)))), !Boolean(this.heading) && (h("div", { class: "console-layout__heading-container" }, h("slot", { name: "heading" }))), h("div", { class: "console-layout__content-header-tools" }, h("slot", { name: "content-header-tools" }))), h("div", { class: "console-layout__integration" }, h("slot", { name: "content" }))), h("div", { class: "console-layout__overlays" }, h("slot", { name: "overlays" }))))));
|
|
122
122
|
}
|
|
123
123
|
get el() { return getElement(this); }
|
|
124
124
|
};
|
|
@@ -165,7 +165,7 @@ function shave(target, maxHeight, opts) {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
168
|
+
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
|
|
169
169
|
|
|
170
170
|
const SwirlText = class {
|
|
171
171
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as a,h as t,H as e,g as i}from"./p-05c15d47.js";import{c as s}from"./p-b7898321.js";import{i as l}from"./p-438b3941.js";const n=class{constructor(t){o(this,t),this.backButtonClick=a(this,"backButtonClick",7),this.helpButtonClick=a(this,"helpButtonClick",7),this.onBackButtonClick=o=>{this.backButtonClick.emit(o)},this.onHelpButtonClick=o=>{this.helpButtonClick.emit(o)},this.onMobileNavigationToggleClick=()=>{this.toggleSidebar()},this.onClick=o=>{var a;const t=o.target,e=Boolean(t.closest(".console-layout__mobile-navigation-button")),i="overlays"===(null===(a=t.closest("[slot]"))||void 0===a?void 0:a.slot);o.composedPath().includes(this.sidebarEl)||e||i||!this.sidebarActive||this.deactivateSidebar()},this.onKeyDown=o=>{"Escape"===o.code&&this.sidebarActive&&this.deactivateSidebar()},this.appName=void 0,this.backButonLabel="Back",this.heading=void 0,this.helpButonLabel="Help",this.hideNavigationButtonLabel="Hide main navigation",this.logoText="Admin",this.showNavigationButtonLabel="Show main navigation",this.navigationLabel="Main",this.showBackButton=void 0,this.showHelpButton=void 0,this.subheading=void 0,this.sidebarActive=void 0}componentDidLoad(){queueMicrotask((()=>{l()?this.deactivateSidebar():this.activateSidebar()}))}onWindowResize(){const o=l();o||this.sidebarActive?o&&this.deactivateSidebar():this.activateSidebar()}async toggleSidebar(){this.sidebarActive?this.deactivateSidebar():this.activateSidebar()}async showSidebar(){this.sidebarActive||this.activateSidebar()}async hideSidebar(){this.sidebarActive&&this.deactivateSidebar()}activateSidebar(){var o;this.sidebarActive=!0,this.sidebarEl.removeAttribute("inert"),l()&&(null===(o=this.el.querySelector("swirl-tree-navigation-item"))||void 0===o||o.focus())}deactivateSidebar(){this.sidebarActive=!1,l()&&this.sidebarEl.setAttribute("inert","")}render(){const o=s("console-layout",{"console-layout--sidebar-active":this.sidebarActive,"console-layout--empty-app-bar":!Boolean(this.appName)&&!this.showHelpButton});return t(e,null,t("div",{class:o,onClick:this.onClick,onKeyDown:this.onKeyDown},t("div",{"aria-hidden":String(!this.sidebarActive),class:"console-layout__sidebar",ref:o=>this.sidebarEl=o},t("header",{class:"console-layout__header"},t("div",{class:"console-layout__logo"},t("svg",{class:"console-layout__logo-mark",fill:"none",height:"26",viewBox:"0 0 16 26",width:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z",fill:"#145AF5"}),t("path",{d:"M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z",fill:"#145AF5"}),t("path",{d:"M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z",fill:"#80A8F4"}),t("path",{d:"M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z",fill:"#80A8F4"})),t("swirl-text",{class:"console-layout__logo-text",weight:"medium"},this.logoText))),t("nav",{"aria-label":this.navigationLabel,class:"console-layout__navigation"},t("slot",{name:"navigation"})),t("div",{class:"console-layout__user"},t("slot",{name:"user"}))),t("main",{"aria-labelledby":Boolean(this.appName)?"app-name":void 0,class:"console-layout__main"},t("header",{class:"console-layout__app-bar"},t("span",{class:"console-layout__mobile-navigation-button"},t("swirl-button",{swirlAriaExpanded:String(this.sidebarActive),hideLabel:!0,icon:this.sidebarActive?"<swirl-icon-close></swirl-icon-close>":"<swirl-icon-menu></swirl-icon-menu>",label:this.sidebarActive?this.hideNavigationButtonLabel:this.showNavigationButtonLabel,onClick:this.onMobileNavigationToggleClick})),t("div",{class:"console-layout__app-name"},this.appName&&t("swirl-heading",{as:"h1",headingId:"app-name",level:4,text:this.appName})),this.showHelpButton&&t("swirl-button",{class:"console-layout__help-button",hideLabel:!0,icon:"<swirl-icon-help></swirl-icon-help>",label:this.helpButonLabel,onClick:this.onHelpButtonClick})),t("section",{"aria-labelledby":"heading",class:"console-layout__content"},t("header",{class:"console-layout__content-header"},this.showBackButton&&t("swirl-button",{class:"console-layout__back-button",hideLabel:!0,icon:"<swirl-icon-arrow-back></swirl-icon-arrow-back>",label:this.backButonLabel,onClick:this.onBackButtonClick}),t("div",{class:"console-layout__heading-container"},t("swirl-heading",{as:"h2",class:"console-layout__heading",headingId:"heading",level:1,text:this.heading}),this.subheading&&t("swirl-text",{class:"console-layout__subheading",color:"subdued"},this.subheading)),t("div",{class:"console-layout__content-header-tools"},t("slot",{name:"content-header-tools"}))),t("div",{class:"console-layout__integration"},t("slot",{name:"content"}))),t("div",{class:"console-layout__overlays"},t("slot",{name:"overlays"})))))}get el(){return i(this)}};n.style=':host{display:block;width:100%;height:100vh}:host *{box-sizing:border-box}.console-layout{display:grid;width:100%;height:100%;grid-template-columns:1fr;grid-template-areas:"main"}@media (min-width: 768px){.console-layout{grid-template-columns:20rem 1fr;grid-template-areas:"sidebar main"}}@media (max-width: 767px){.console-layout--sidebar-active .console-layout__sidebar{transform:translate3d(0, 0, 0);box-shadow:0 0 1rem rgba(0, 0, 0, 0.06)}}@media (min-width: 768px){.console-layout--empty-app-bar .console-layout__main{grid-template-areas:"content";grid-template-rows:1fr}}@media (min-width: 768px){.console-layout--empty-app-bar .console-layout__app-bar{display:none}}.console-layout__sidebar{position:fixed;z-index:var(--s-z-30);top:4rem;bottom:0;left:0;display:grid;overflow-x:hidden;overflow-y:auto;width:100%;max-width:20rem;border-right:var(--s-border-width-default) solid var(--s-border-default);transition:transform 0.15s, box-shadow 0.15s;transform:translate3d(-100%, 0, 0);grid-template-rows:auto 1fr auto;grid-template-areas:"header"\n "navigation"\n "user"}@media (prefers-reduced-motion){.console-layout__sidebar{transition:none}}@media (min-width: 768px){.console-layout__sidebar{position:static;top:auto;left:auto;max-width:none;height:100%;transform:none;box-shadow:none;grid-area:sidebar}}.console-layout__header{overflow:hidden;min-width:0;padding:var(--s-space-20) var(--s-space-24);background-color:var(--s-background-default);grid-area:header}.console-layout__navigation{overflow-x:hidden;overflow-y:auto;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);background-color:var(--s-background-default);grid-area:navigation}.console-layout__user{overflow:hidden;margin-top:var(--s-border-width-default);padding:var(--s-space-16) var(--s-space-24) var(--s-space-24);border-top:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:user}.console-layout__main{display:grid;overflow-x:hidden;overflow-y:auto;width:100%;height:100%;grid-area:main;gap:var(--s-border-width-default);grid-template-rows:4rem 1fr;grid-template-areas:"app-bar"\n "content"}.console-layout__app-bar{position:sticky;z-index:var(--s-z-30);top:0;display:flex;min-width:0;padding-right:var(--s-space-16);padding-left:var(--s-space-16);align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);gap:var(--s-space-12);grid-area:app-bar}@media (min-width: 768px){.console-layout__app-bar{padding-right:2.5rem;padding-left:2.5rem}}@media (min-width: 768px){.console-layout__mobile-navigation-button{display:none}}.console-layout__app-name{min-width:0;flex-grow:1}.console-layout__app-name .heading{overflow:hidden;font-weight:var(--s-font-weight-regular);white-space:nowrap;text-overflow:ellipsis}.console-layout__help-button{flex-shrink:0}.console-layout__content{display:flex;min-width:0;padding:var(--s-space-16);background-color:var(--s-background-default);flex-direction:column;grid-area:content}@media (min-width: 768px){.console-layout__content{padding:2.5rem}}.console-layout__integration{flex-grow:1}.console-layout__logo{display:flex;min-width:0;align-items:center;gap:var(--s-space-12)}.console-layout__logo-mark{flex-shrink:0}.console-layout__logo-text{min-width:0}.console-layout__logo-text::part(text){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.console-layout__content-header{display:flex;margin-bottom:var(--s-space-24);flex-shrink:0;gap:var(--s-space-16)}.console-layout__back-button{position:relative;top:calc(-1 * var(--s-space-2));flex-shrink:0}.console-layout__heading-container{flex-grow:1}.console-layout__subheading{margin-top:var(--s-space-8)}.console-layout__content-header-tools{display:flex;flex-shrink:0}';export{n as swirl_console_layout}
|
|
1
|
+
import{r as o,c as a,h as t,H as e,g as i}from"./p-05c15d47.js";import{c as s}from"./p-b7898321.js";import{i as l}from"./p-438b3941.js";const n=class{constructor(t){o(this,t),this.backButtonClick=a(this,"backButtonClick",7),this.helpButtonClick=a(this,"helpButtonClick",7),this.onBackButtonClick=o=>{this.backButtonClick.emit(o)},this.onHelpButtonClick=o=>{this.helpButtonClick.emit(o)},this.onMobileNavigationToggleClick=()=>{this.toggleSidebar()},this.onClick=o=>{var a;const t=o.target,e=Boolean(t.closest(".console-layout__mobile-navigation-button")),i="overlays"===(null===(a=t.closest("[slot]"))||void 0===a?void 0:a.slot);o.composedPath().includes(this.sidebarEl)||e||i||!this.sidebarActive||this.deactivateSidebar()},this.onKeyDown=o=>{"Escape"===o.code&&this.sidebarActive&&this.deactivateSidebar()},this.appName=void 0,this.backButonLabel="Back",this.heading=void 0,this.helpButonLabel="Help",this.hideNavigationButtonLabel="Hide main navigation",this.logoText="Admin",this.showNavigationButtonLabel="Show main navigation",this.navigationLabel="Main",this.showBackButton=void 0,this.showHelpButton=void 0,this.subheading=void 0,this.sidebarActive=void 0}componentDidLoad(){queueMicrotask((()=>{l()?this.deactivateSidebar():this.activateSidebar()}))}onWindowResize(){const o=l();o||this.sidebarActive?o&&this.deactivateSidebar():this.activateSidebar()}async toggleSidebar(){this.sidebarActive?this.deactivateSidebar():this.activateSidebar()}async showSidebar(){this.sidebarActive||this.activateSidebar()}async hideSidebar(){this.sidebarActive&&this.deactivateSidebar()}activateSidebar(){var o;this.sidebarActive=!0,this.sidebarEl.removeAttribute("inert"),l()&&(null===(o=this.el.querySelector("swirl-tree-navigation-item"))||void 0===o||o.focus())}deactivateSidebar(){this.sidebarActive=!1,l()&&this.sidebarEl.setAttribute("inert","")}render(){const o=s("console-layout",{"console-layout--sidebar-active":this.sidebarActive,"console-layout--empty-app-bar":!Boolean(this.appName)&&!this.showHelpButton});return t(e,null,t("div",{class:o,onClick:this.onClick,onKeyDown:this.onKeyDown},t("div",{"aria-hidden":String(!this.sidebarActive),class:"console-layout__sidebar",ref:o=>this.sidebarEl=o},t("header",{class:"console-layout__header"},t("div",{class:"console-layout__logo"},t("svg",{class:"console-layout__logo-mark",fill:"none",height:"26",viewBox:"0 0 16 26",width:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z",fill:"#145AF5"}),t("path",{d:"M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z",fill:"#145AF5"}),t("path",{d:"M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z",fill:"#80A8F4"}),t("path",{d:"M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z",fill:"#80A8F4"})),t("swirl-text",{class:"console-layout__logo-text",weight:"medium"},this.logoText))),t("nav",{"aria-label":this.navigationLabel,class:"console-layout__navigation"},t("slot",{name:"navigation"})),t("div",{class:"console-layout__user"},t("slot",{name:"user"}))),t("main",{"aria-labelledby":Boolean(this.appName)?"app-name":void 0,class:"console-layout__main"},t("header",{class:"console-layout__app-bar"},t("span",{class:"console-layout__mobile-navigation-button"},t("swirl-button",{swirlAriaExpanded:String(this.sidebarActive),hideLabel:!0,icon:this.sidebarActive?"<swirl-icon-close></swirl-icon-close>":"<swirl-icon-menu></swirl-icon-menu>",label:this.sidebarActive?this.hideNavigationButtonLabel:this.showNavigationButtonLabel,onClick:this.onMobileNavigationToggleClick})),t("div",{class:"console-layout__app-name"},this.appName&&t("swirl-heading",{as:"h1",headingId:"app-name",level:4,text:this.appName})),this.showHelpButton&&t("swirl-button",{class:"console-layout__help-button",hideLabel:!0,icon:"<swirl-icon-help></swirl-icon-help>",label:this.helpButonLabel,onClick:this.onHelpButtonClick})),t("section",{"aria-labelledby":"heading",class:"console-layout__content"},t("header",{class:"console-layout__content-header"},this.showBackButton&&t("swirl-button",{class:"console-layout__back-button",hideLabel:!0,icon:"<swirl-icon-arrow-back></swirl-icon-arrow-back>",label:this.backButonLabel,onClick:this.onBackButtonClick}),Boolean(this.heading)&&t("div",{class:"console-layout__heading-container"},t("swirl-heading",{as:"h2",class:"console-layout__heading",headingId:"heading",level:1,text:this.heading}),this.subheading&&t("swirl-text",{class:"console-layout__subheading",color:"subdued"},this.subheading)),!Boolean(this.heading)&&t("div",{class:"console-layout__heading-container"},t("slot",{name:"heading"})),t("div",{class:"console-layout__content-header-tools"},t("slot",{name:"content-header-tools"}))),t("div",{class:"console-layout__integration"},t("slot",{name:"content"}))),t("div",{class:"console-layout__overlays"},t("slot",{name:"overlays"})))))}get el(){return i(this)}};n.style=':host{display:block;width:100%;height:100vh}:host *{box-sizing:border-box}.console-layout{display:grid;width:100%;height:100%;grid-template-columns:1fr;grid-template-areas:"main"}@media (min-width: 768px){.console-layout{grid-template-columns:20rem 1fr;grid-template-areas:"sidebar main"}}@media (max-width: 767px){.console-layout--sidebar-active .console-layout__sidebar{transform:translate3d(0, 0, 0);box-shadow:0 0 1rem rgba(0, 0, 0, 0.06)}}@media (min-width: 768px){.console-layout--empty-app-bar .console-layout__main{grid-template-areas:"content";grid-template-rows:1fr}}@media (min-width: 768px){.console-layout--empty-app-bar .console-layout__app-bar{display:none}}.console-layout__sidebar{position:fixed;z-index:var(--s-z-30);top:4rem;bottom:0;left:0;display:grid;overflow-x:hidden;overflow-y:auto;width:100%;max-width:20rem;border-right:var(--s-border-width-default) solid var(--s-border-default);transition:transform 0.15s, box-shadow 0.15s;transform:translate3d(-100%, 0, 0);grid-template-rows:auto 1fr auto;grid-template-areas:"header"\n "navigation"\n "user"}@media (prefers-reduced-motion){.console-layout__sidebar{transition:none}}@media (min-width: 768px){.console-layout__sidebar{position:static;top:auto;left:auto;max-width:none;height:100%;transform:none;box-shadow:none;grid-area:sidebar}}.console-layout__header{overflow:hidden;min-width:0;padding:var(--s-space-20) var(--s-space-24);background-color:var(--s-background-default);grid-area:header}.console-layout__navigation{overflow-x:hidden;overflow-y:auto;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);background-color:var(--s-background-default);grid-area:navigation}.console-layout__user{overflow:hidden;margin-top:var(--s-border-width-default);padding:var(--s-space-16) var(--s-space-24) var(--s-space-24);border-top:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:user}.console-layout__main{display:grid;overflow-x:hidden;overflow-y:auto;width:100%;height:100%;grid-area:main;gap:var(--s-border-width-default);grid-template-rows:4rem 1fr;grid-template-areas:"app-bar"\n "content"}.console-layout__app-bar{position:sticky;z-index:var(--s-z-30);top:0;display:flex;min-width:0;padding-right:var(--s-space-16);padding-left:var(--s-space-16);align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);gap:var(--s-space-12);grid-area:app-bar}@media (min-width: 768px){.console-layout__app-bar{padding-right:2.5rem;padding-left:2.5rem}}@media (min-width: 768px){.console-layout__mobile-navigation-button{display:none}}.console-layout__app-name{min-width:0;flex-grow:1}.console-layout__app-name .heading{overflow:hidden;font-weight:var(--s-font-weight-regular);white-space:nowrap;text-overflow:ellipsis}.console-layout__help-button{flex-shrink:0}.console-layout__content{display:flex;min-width:0;padding:var(--s-space-16);background-color:var(--s-background-default);flex-direction:column;grid-area:content}@media (min-width: 768px){.console-layout__content{padding:2.5rem}}.console-layout__integration{flex-grow:1}.console-layout__logo{display:flex;min-width:0;align-items:center;gap:var(--s-space-12)}.console-layout__logo-mark{flex-shrink:0}.console-layout__logo-text{min-width:0}.console-layout__logo-text::part(text){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.console-layout__content-header{display:flex;margin-bottom:var(--s-space-24);flex-shrink:0;gap:var(--s-space-16)}.console-layout__back-button{position:relative;top:calc(-1 * var(--s-space-2));flex-shrink:0}.console-layout__heading-container{flex-grow:1}.console-layout__subheading{margin-top:var(--s-space-8)}.console-layout__content-header-tools{display:flex;flex-shrink:0}';export{n as swirl_console_layout}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{r as t,h as e,H as i,g as s}from"./p-05c15d47.js";import{c as r}from"./p-b7898321.js";import{b as n}from"./p-f83a5757.js";
|
|
2
|
+
/**
|
|
3
|
+
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
4
|
+
@version v5.0.2
|
|
5
|
+
@link https://github.com/yowainwright/shave#readme
|
|
6
|
+
@author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
|
|
7
|
+
@license MIT
|
|
8
|
+
**/function o(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var s,r,n=i.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(s=n.next()).done;)o.push(s.value)}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return o}function l(t,e,i){if(i||2===arguments.length)for(var s,r=0,n=e.length;r<n;r++)!s&&r in e||(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}const a=class{constructor(e){t(this,e),this.align="start",this.as="p",this.balance=void 0,this.color="default",this.fontFamily="text",this.fontStyle="normal",this.lines=void 0,this.size="base",this.truncate=void 0,this.weight="normal"}componentDidRender(){this.rebalance(),this.handleTruncation()}onWindowResize(){this.rebalance(),this.handleTruncation()}handleTruncation(){if(!this.truncate||!Boolean(this.lines)||1===this.lines)return;const t=+window.getComputedStyle(this.textEl,null).getPropertyValue("line-height").replace("px","");t>0&&function(t,e,i){if(void 0===i&&(i={}),void 0===e||isNaN(e))throw Error("maxHeight is required");var s=function(t){return"string"==typeof t?l([],o(document.querySelectorAll(t)),!1):"length"in t?l([],o(t),!1):[t]}(t);if(s.length)for(var r=i.character,n=void 0===r?"…":r,a=i.classname,h=void 0===a?"js-shave":a,x=i.spaces,c=void 0===x||x,d=i.charclassname,f=void 0===d?"js-shave-char":d,v=i.link,w=void 0===v?{}:v,g="boolean"!=typeof c||c,m=w&&"{}"!==JSON.stringify(w)&&w.href,u=m?"a":"span",p=0;p<s.length;p+=1){var z=s[p],b=z.style,y=z.querySelector("."+h),$=void 0===z.textContent?"innerText":"textContent";y&&(z.removeChild(z.querySelector("."+f)),z[$]=z[$]);var j=z[$],N=g?j.split(" "):j;if(!(N.length<2)){var B=b.height;b.height="auto";var S=b.maxHeight;if(b.maxHeight="none",z.offsetHeight<=e)b.height=B,b.maxHeight=S;else{var A=m&&w.textContent?w.textContent:n,C=document.createElement(u),H={className:f,textContent:A};for(var R in H)C[R]=H[R],C.textContent=n;if(m)for(var T in w)C[T]=w[T];for(var k=N.length-1,q=0,D=void 0;q<k;)D=q+k+1>>1,z[$]=g?N.slice(0,D).join(" "):N.slice(0,D),z.insertAdjacentElement("beforeend",C),z.offsetHeight>e?k=D-1:q=D;z[$]=g?N.slice(0,k).join(" "):N.slice(0,k),z.insertAdjacentElement("beforeend",C);var E=g?" ".concat(N.slice(k).join(" ")):N.slice(k),J=document.createTextNode(E),O=document.createElement("span");O.classList.add(h),O.style.display="none",O.appendChild(J),z.insertAdjacentElement("beforeend",O),b.height=B,b.maxHeight=S}}}}(this.textEl,t*this.lines)}rebalance(){this.balance&&Boolean(this.textEl)&&n(this.textEl)}render(){const t=this.as,s=r("text",`text--align-${this.align}`,`text--color-${this.color}`,`text--font-family-${this.fontFamily}`,`text--font-style-${this.fontStyle}`,`text--size-${this.size}`,`text--weight-${this.weight}`,{"text--truncate":this.truncate&&(!Boolean(this.lines)||1===this.lines)});return e(i,null,e(t,{class:s,ref:t=>this.textEl=t},e("slot",null)))}get el(){return s(this)}};a.style=".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{a as swirl_text}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
(var(--s-line-height-xl) - var(--s-font-size-xl)) / 2
|
|
9
9
|
)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text--size-2xl){--skeleton-text-line-padding:calc(
|
|
10
10
|
(var(--s-line-height-2xl) - var(--s-font-size-2xl)) / 2
|
|
11
|
-
)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-sm){height:var(--s-line-height-sm)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-base){height:var(--s-line-height-base)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-lg){height:var(--s-line-height-lg)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-xl){height:var(--s-line-height-xl)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-2xl){height:var(--s-line-height-2xl)}}html.disable-desktop-style-tweaks .text--size-lg{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}html.disable-desktop-style-tweaks .text-input__clear-button,html.disable-desktop-style-tweaks .text-input__password-toggle{top:calc(-1 * var(--s-space-12))}html.disable-desktop-style-tweaks .text-input__stepper{top:-1.4375rem}html.disable-desktop-style-tweaks ::part(toast__icon){margin-top:calc(-1 * var(--s-space-2))}}@font-face{font-family:"Inter var experimental";font-weight:100 900;font-display:swap;src:url("/fonts/Inter.var.woff2") format("woff2-variations"),
|
|
11
|
+
)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-sm){height:var(--s-line-height-sm)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-base){height:var(--s-line-height-base)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-lg){height:var(--s-line-height-lg)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-xl){height:var(--s-line-height-xl)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){html.disable-desktop-style-tweaks ::part(skeleton-text__line--size-2xl){height:var(--s-line-height-2xl)}}html.disable-desktop-style-tweaks .text--size-lg{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}html.disable-desktop-style-tweaks .text--size-xl{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}html.disable-desktop-style-tweaks .text--size-2xl{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}html.disable-desktop-style-tweaks .text-input__clear-button,html.disable-desktop-style-tweaks .text-input__password-toggle{top:calc(-1 * var(--s-space-12))}html.disable-desktop-style-tweaks .text-input__stepper{top:-1.4375rem}html.disable-desktop-style-tweaks ::part(toast__icon){margin-top:calc(-1 * var(--s-space-2))}}@font-face{font-family:"Inter var experimental";font-weight:100 900;font-display:swap;src:url("/fonts/Inter.var.woff2") format("woff2-variations"),
|
|
12
12
|
url("/fonts/Inter.var.woff2") format("woff2")}:root{--swirl-avatar-group-border-color:var(--s-background-default);--swirl-badge-border-color:var(--s-background-default);--swirl-button-border-top-right-radius:var(--s-border-radius-base);--swirl-button-border-top-left-radius:var(--s-border-radius-base);--swirl-button-border-bottom-right-radius:var(--s-border-radius-base);--swirl-button-border-bottom-left-radius:var(--s-border-radius-base);--swirl-carousel-gradient:255, 255, 255;--swirl-icon-button-border-top-right-radius:50%;--swirl-icon-button-border-top-left-radius:50%;--swirl-icon-button-border-bottom-right-radius:50%;--swirl-icon-button-border-bottom-left-radius:50%;--swirl-ghost-button-background-default:var(--s-background-default);--swirl-ghost-button-background-hovered:var(--s-background-hovered);--swirl-ghost-button-background-pressed:var(--s-background-pressed);--swirl-table-sticky-left-shadow:none;--swirl-table-sticky-right-shadow:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){:root{--swirl-button-border-top-right-radius:var(--s-border-radius-sm);--swirl-button-border-top-left-radius:var(--s-border-radius-sm);--swirl-button-border-bottom-right-radius:var(--s-border-radius-sm);--swirl-button-border-bottom-left-radius:var(--s-border-radius-sm)}}*,*::before,*::after{box-sizing:border-box}html.theme-dark{color-scheme:dark;--swirl-carousel-gradient:25, 26, 28}body{background-color:var(--s-background-default);font-family:var(--s-font-family-text);font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-normal);color:var(--s-text-default);-webkit-font-smoothing:antialiased}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-05c15d47.js";export{s as setNonce}from"./p-05c15d47.js";(()=>{const i=import.meta.url,l={};return""!==i&&(l.resourcesUrl=new URL(".",i).href),e(l)})().then((e=>i(JSON.parse('[["p-fd8dd92d",[[1,"file-manager",{"selectedDirectory":[32],"selectedFile":[32]}]]],["p-9ad9ce19",[[1,"swirl-pdf-reader",{"autoZoomLabel":[1,"auto-zoom-label"],"closeButtonLabel":[1,"close-button-label"],"downloadButtonLabel":[1,"download-button-label"],"file":[1],"fileTypeLabel":[1,"file-type-label"],"label":[1],"menuLabel":[1,"menu-label"],"menuTriggerLabel":[1,"menu-trigger-label"],"printButtonLabel":[1,"print-button-label"],"sideBySideButtonLabel":[1,"side-by-side-button-label"],"thumbnailButtonLabel":[1,"thumbnail-button-label"],"thumbnailsButtonLabel":[1,"thumbnails-button-label"],"thumbnailsLabel":[1,"thumbnails-label"],"zoomInButtonLabel":[1,"zoom-in-button-label"],"zoomOutButtonLabel":[1,"zoom-out-button-label"],"zoomSelectLabel":[1,"zoom-select-label"],"active":[32],"closing":[32],"downloading":[32],"thumbnails":[32],"showThumbnails":[32],"viewMode":[32],"visiblePages":[32],"zoom":[32],"zoomSteps":[32],"open":[64],"close":[64]},[[9,"resize","onWindowResize"]]]]],["p-063afb09",[[2,"swirl-autocomplete",{"autoSelect":[4,"auto-select"],"clearable":[4],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"generateSuggestions":[1040],"inline":[4],"invalid":[4],"maxLength":[2,"max-length"],"menuLabel":[1,"menu-label"],"mode":[1],"required":[4],"spellCheck":[4,"spell-check"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537],"active":[32],"loading":[32],"position":[32],"suggestions":[32]},[[8,"click","onWindowClick"]]]]],["p-f5a94ea4",[[1,"swirl-lightbox",{"closeButtonLabel":[1,"close-button-label"],"downloadButtonLabel":[1,"download-button-label"],"label":[1],"menuLabel":[1,"menu-label"],"menuTriggerLabel":[1,"menu-trigger-label"],"nextSlideButtonLabel":[1,"next-slide-button-label"],"previousSlideButtonLabel":[1,"previous-slide-button-label"],"activeSlideIndex":[32],"closing":[32],"slides":[32],"open":[64],"close":[64],"activateSlide":[64]}]]],["p-73a4a99a",[[1,"swirl-inline-notification",{"heading":[1],"importance":[1],"intent":[1]}]]],["p-457e9e49",[[1,"swirl-pagination",{"firstPageButtonLabel":[1,"first-page-button-label"],"lastPageButtonLabel":[1,"last-page-button-label"],"label":[1],"nextButtonLabel":[1,"next-button-label"],"page":[2],"pageLabel":[1,"page-label"],"pages":[2],"pageSelectLabel":[1,"page-select-label"],"pageSize":[2,"page-size"],"pageSizeOptions":[16],"pageSizeSelectLabel":[1,"page-size-select-label"],"prevButtonLabel":[1,"prev-button-label"],"showPageSizeSelect":[4,"show-page-size-select"],"variant":[1]}]]],["p-4f44b9e7",[[1,"swirl-resource-list-file-item",{"description":[1],"errorMessage":[1,"error-message"],"icon":[1],"label":[1],"loading":[4],"removable":[4],"removeButtonLabel":[1,"remove-button-label"]}]]],["p-e5cec3a4",[[6,"swirl-select",{"disabled":[4],"inline":[4],"invalid":[4],"label":[1],"multiSelect":[4,"multi-select"],"required":[4],"selectId":[1,"select-id"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1040],"options":[32],"open":[32],"placement":[32]},[[8,"focusin","onWindowFocusIn"]]]]],["p-40546623",[[2,"swirl-date-input",{"autoFocus":[4,"auto-focus"],"autoSelect":[4,"auto-select"],"datePickerLabel":[1,"date-picker-label"],"datePickerTriggerLabel":[1,"date-picker-trigger-label"],"disabled":[4],"format":[1],"inline":[4],"invalid":[4],"labels":[16],"locale":[1],"placeholder":[1],"required":[4],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537],"iconSize":[32]}]]],["p-165f0d02",[[4,"swirl-modal",{"closeButtonLabel":[1,"close-button-label"],"hideCloseButton":[4,"hide-close-button"],"hideLabel":[4,"hide-label"],"label":[1],"maxWidth":[1,"max-width"],"padded":[4],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"variant":[1],"isOpen":[32],"closing":[32],"hasCustomHeader":[32],"hasCustomFooter":[32],"scrollable":[32],"scrolled":[32],"scrolledDown":[32],"open":[64],"close":[64]},[[9,"resize","onWindowResize"]]]]],["p-5bf27fd2",[[1,"swirl-console-layout",{"appName":[1,"app-name"],"backButonLabel":[1,"back-buton-label"],"heading":[1],"helpButonLabel":[1,"help-buton-label"],"hideNavigationButtonLabel":[1,"hide-navigation-button-label"],"logoText":[1,"logo-text"],"showNavigationButtonLabel":[1,"show-navigation-button-label"],"navigationLabel":[1,"navigation-label"],"showBackButton":[4,"show-back-button"],"showHelpButton":[4,"show-help-button"],"subheading":[1],"sidebarActive":[32],"toggleSidebar":[64],"showSidebar":[64],"hideSidebar":[64]},[[9,"resize","onWindowResize"]]]]],["p-4d7560a7",[[1,"swirl-dialog",{"hideLabel":[4,"hide-label"],"intent":[1],"label":[1],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"closing":[32],"open":[64],"close":[64]}]]],["p-d5a55beb",[[2,"swirl-checkbox",{"checked":[1032],"description":[1],"disabled":[4],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaLabel":[1,"swirl-aria-label"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"invalid":[4],"label":[1],"value":[1]}]]],["p-c0cf7a5e",[[2,"swirl-file-uploader",{"accept":[1],"ctaLabel":[1,"cta-label"],"description":[1],"disabled":[4],"dragDropLabel":[1,"drag-drop-label"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"label":[1],"multiple":[4],"showDropzone":[4,"show-dropzone"],"uploadButtonLabel":[1,"upload-button-label"],"reset":[64]}]]],["p-ec92d2e5",[[6,"swirl-form-control",{"description":[1],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"inline":[4],"invalid":[4],"label":[1],"labelPosition":[1,"label-position"],"hasFocus":[32],"inputValue":[32]},[[8,"click","onWindowClick"]]]]],["p-64b92967",[[1,"swirl-toast",{"accessibleDismissLabel":[1,"accessible-dismiss-label"],"content":[1],"dismissLabel":[1,"dismiss-label"],"duration":[2],"icon":[1],"intent":[1],"toastId":[1,"toast-id"]}]]],["p-7d702522",[[1,"swirl-toast-provider",{"globalDuration":[2,"global-duration"],"toasts":[32],"clearAll":[64],"dismiss":[64],"toast":[64]}]]],["p-77daca19",[[2,"swirl-search",{"autoFocus":[4,"auto-focus"],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"inputName":[1,"input-name"],"inputId":[1,"input-id"],"label":[1],"placeholder":[1],"value":[1025],"variant":[1]},[[8,"keydown","onKeyDown"]]]]],["p-9426ae2f",[[1,"swirl-table",{"caption":[1],"emptyStateLabel":[1,"empty-state-label"],"label":[1],"empty":[32],"scrollable":[32],"scrolled":[32],"scrolledToEnd":[32],"rerender":[64]},[[9,"resize","onWindowResize"]]]]],["p-c009d887",[[1,"swirl-table-column",{"sort":[1],"sortable":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"sticky":[4],"width":[1]}]]],["p-490aca41",[[1,"swirl-app-bar",{"backButtonLabel":[1,"back-button-label"],"closeButtonLabel":[1,"close-button-label"],"stepUpButtonLabel":[1,"step-up-button-label"],"stepDownButtonLabel":[1,"step-down-button-label"],"showBackButton":[4,"show-back-button"],"showCloseButton":[4,"show-close-button"],"showStepperControls":[4,"show-stepper-controls"],"hasCta":[32]}]]],["p-c8e629b7",[[1,"swirl-avatar",{"badge":[1],"badgePosition":[1,"badge-position"],"color":[1],"icon":[1],"initials":[1],"interactive":[4],"label":[1],"showLabel":[4,"show-label"],"size":[1],"src":[1],"variant":[1],"imageAvailable":[32]}]]],["p-5b691374",[[1,"swirl-banner",{"actionLabel":[1,"action-label"],"content":[1],"dismissable":[4],"dismissLabel":[1,"dismiss-label"],"importance":[1],"intent":[1],"showIcon":[4,"show-icon"],"size":[1]}]]],["p-61a52a24",[[1,"swirl-carousel",{"label":[1],"nextSlideButtonLabel":[1,"next-slide-button-label"],"previousSlideButtonLabel":[1,"previous-slide-button-label"],"loopAround":[4,"loop-around"],"isAtEnd":[32],"isAtStart":[32],"isScrollable":[32],"scrollToSlide":[64]},[[9,"resize","onWindowResize"]]]]],["p-8c8a717e",[[2,"swirl-radio",{"checked":[1032],"description":[1],"disabled":[4],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"invalid":[4],"label":[1],"value":[1]}]]],["p-793efeb4",[[1,"swirl-shell-layout",{"hideSidebar":[4,"hide-sidebar"],"mainNavigationLabel":[1,"main-navigation-label"],"sidebarToggleLabel":[1,"sidebar-toggle-label"],"collapsedSidebar":[32],"collapsing":[32],"sidebarHovered":[32],"collapseSidebar":[64],"extendSidebar":[64]}]]],["p-8e64456c",[[1,"swirl-shell-navigation-item",{"active":[4],"badgeLabel":[1,"badge-label"],"label":[1]}]]],["p-394568d3",[[2,"swirl-switch",{"checked":[1028],"disabled":[4],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"label":[1],"size":[1],"value":[1]},[[9,"pointerup","onWindowPointerUp"]]]]],["p-42d9aace",[[6,"swirl-tabs",{"initialTab":[1,"initial-tab"],"label":[1],"activeTab":[32],"tabBarTabs":[32],"activateTab":[64]}]]],["p-01aff357",[[1,"swirl-tag",{"intent":[1],"label":[1],"removable":[4],"removalButtonLabel":[1,"removal-button-label"]}]]],["p-c783221d",[[1,"swirl-video-thumbnail",{"durationLabel":[1,"duration-label"],"duration":[1],"label":[1],"src":[1]}]]],["p-ddd49304",[[1,"swirl-action-list-section",{"label":[1]}]]],["p-e7489a17",[[1,"swirl-app-icon",{"icon":[1],"src":[1],"hideBorder":[4,"hide-border"],"imageAvailable":[32]}]]],["p-a8acfcc3",[[1,"swirl-avatar-group",{"badge":[1]}]]],["p-a9cacf6f",[[1,"swirl-card",{"as":[1],"borderRadius":[1,"border-radius"],"elevated":[4],"height":[1],"highlighted":[4],"href":[1],"imageAspectRatio":[1,"image-aspect-ratio"],"intent":[1],"isBorderless":[4,"is-borderless"],"interactive":[4],"justifyContent":[1,"justify-content"],"linkTarget":[1,"link-target"],"padding":[1],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockStart":[1,"padding-block-start"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineStart":[1,"padding-inline-start"],"swirlAriaLabel":[1,"swirl-aria-label"]}]]],["p-5540e1a5",[[1,"swirl-carousel-slide",{"label":[1],"minHeight":[1,"min-height"],"width":[1]}]]],["p-3a763e22",[[1,"swirl-chip",{"icon":[1],"intent":[1],"interactive":[4],"label":[1],"variant":[1]}]]],["p-83392d53",[[1,"swirl-columns",{"columns":[1],"spacing":[1]}]]],["p-9cf47daf",[[1,"swirl-description-list"]]],["p-c92fef2d",[[1,"swirl-description-list-item",{"bordered":[4],"orientation":[1],"term":[1]}]]],["p-24a2fc70",[[6,"swirl-form-group",{"orientation":[1]}]]],["p-568a81e4",[[1,"swirl-icon",{"glyph":[1],"size":[2]}]]],["p-b20dc745",[[1,"swirl-icon-add-photo",{"size":[2]}]]],["p-6f5a740c",[[1,"swirl-icon-admin-panel-settings",{"size":[2]}]]],["p-616fef83",[[1,"swirl-icon-ai",{"size":[2]}]]],["p-4002c5ae",[[1,"swirl-icon-arrow-back",{"size":[2]}]]],["p-1760180b",[[1,"swirl-icon-arrow-forward",{"size":[2]}]]],["p-7c2b4953",[[1,"swirl-icon-arrow-right-small",{"size":[2]}]]],["p-59a5aafb",[[1,"swirl-icon-attachment",{"size":[2]}]]],["p-637b01cf",[[1,"swirl-icon-bar-chart",{"size":[2]}]]],["p-904b5a82",[[1,"swirl-icon-block",{"size":[2]}]]],["p-51e63ec1",[[1,"swirl-icon-bookmark",{"size":[2]}]]],["p-d9724ad8",[[1,"swirl-icon-chat-bubble",{"size":[2]}]]],["p-8444953b",[[1,"swirl-icon-chats-filled",{"size":[2]}]]],["p-1901ff35",[[1,"swirl-icon-chats-outlined",{"size":[2]}]]],["p-ff74e4c3",[[1,"swirl-icon-check",{"size":[2]}]]],["p-cf4767a5",[[1,"swirl-icon-chevron-left",{"size":[2]}]]],["p-fe5a1737",[[1,"swirl-icon-chevron-right",{"size":[2]}]]],["p-ae6f7f6d",[[1,"swirl-icon-close-small",{"size":[2]}]]],["p-cd83c309",[[1,"swirl-icon-column",{"size":[2]}]]],["p-498e2b6e",[[1,"swirl-icon-comment",{"size":[2]}]]],["p-6ad5a67b",[[1,"swirl-icon-copy",{"size":[2]}]]],["p-82be9389",[[1,"swirl-icon-date-range",{"size":[2]}]]],["p-f9bbeefe",[[1,"swirl-icon-delete",{"size":[2]}]]],["p-93023904",[[1,"swirl-icon-description",{"size":[2]}]]],["p-77d3f063",[[1,"swirl-icon-double-arrow-left",{"size":[2]}]]],["p-d781dcfb",[[1,"swirl-icon-double-arrow-right",{"size":[2]}]]],["p-3a7170ec",[[1,"swirl-icon-download",{"size":[2]}]]],["p-7a832eb6",[[1,"swirl-icon-edit",{"size":[2]}]]],["p-4c3c4647",[[1,"swirl-icon-emoji-mood",{"size":[2]}]]],["p-3ef45c79",[[1,"swirl-icon-emoji-satisfied",{"size":[2]}]]],["p-ada20ae7",[[1,"swirl-icon-filter",{"size":[2]}]]],["p-91cc9591",[[1,"swirl-icon-folder",{"size":[2]}]]],["p-290b3a5e",[[1,"swirl-icon-gif",{"size":[2]}]]],["p-1c4fa7e9",[[1,"swirl-icon-group-assign",{"size":[2]}]]],["p-1782d1ea",[[1,"swirl-icon-groups",{"size":[2]}]]],["p-8decc967",[[1,"swirl-icon-groups-custom",{"size":[2]}]]],["p-e08e9e53",[[1,"swirl-icon-groups-filled",{"size":[2]}]]],["p-9648bfbf",[[1,"swirl-icon-groups-outlined",{"size":[2]}]]],["p-c3c29b93",[[1,"swirl-icon-help",{"size":[2]}]]],["p-50bd9548",[[1,"swirl-icon-highlight",{"size":[2]}]]],["p-7b2c3fd3",[[1,"swirl-icon-home",{"size":[2]}]]],["p-fe33a054",[[1,"swirl-icon-image",{"size":[2]}]]],["p-04fec5d6",[[1,"swirl-icon-improve-text",{"size":[2]}]]],["p-c0d20490",[[1,"swirl-icon-insert-below",{"size":[2]}]]],["p-2071b460",[[1,"swirl-icon-insert-on-top",{"size":[2]}]]],["p-5282350f",[[1,"swirl-icon-inventory",{"size":[2]}]]],["p-6ef1f4ef",[[1,"swirl-icon-like",{"size":[2]}]]],["p-28fdee3b",[[1,"swirl-icon-link",{"size":[2]}]]],["p-f7f1c29f",[[1,"swirl-icon-lock",{"size":[2]}]]],["p-3c9f6731",[[1,"swirl-icon-lock-person",{"size":[2]}]]],["p-1091d3dc",[[1,"swirl-icon-logout",{"size":[2]}]]],["p-cc85dade",[[1,"swirl-icon-long-text",{"size":[2]}]]],["p-fff59050",[[1,"swirl-icon-mail",{"size":[2]}]]],["p-f8b08507",[[1,"swirl-icon-manage-accounts",{"size":[2]}]]],["p-18727d9f",[[1,"swirl-icon-mark-chat-read",{"size":[2]}]]],["p-c2237c6c",[[1,"swirl-icon-mark-chat-unread",{"size":[2]}]]],["p-7c2ca02f",[[1,"swirl-icon-mention",{"size":[2]}]]],["p-3a182222",[[1,"swirl-icon-menu",{"size":[2]}]]],["p-8b7e33aa",[[1,"swirl-icon-menu-filled",{"size":[2]}]]],["p-a4d24a90",[[1,"swirl-icon-menu-outlined",{"size":[2]}]]],["p-fa2ebe9e",[[1,"swirl-icon-message",{"size":[2]}]]],["p-453dc25e",[[1,"swirl-icon-more-horizontal",{"size":[2]}]]],["p-5d744993",[[1,"swirl-icon-news-filled",{"size":[2]}]]],["p-0336b920",[[1,"swirl-icon-news-outlined",{"size":[2]}]]],["p-2ea247c5",[[1,"swirl-icon-notifications",{"size":[2]}]]],["p-398854b7",[[1,"swirl-icon-notifications-active",{"size":[2]}]]],["p-9f341e18",[[1,"swirl-icon-notifications-off",{"size":[2]}]]],["p-92f1a11f",[[1,"swirl-icon-open-in-new",{"size":[2]}]]],["p-e793fedc",[[1,"swirl-icon-people-alt",{"size":[2]}]]],["p-fad5447d",[[1,"swirl-icon-person-off",{"size":[2]}]]],["p-387a3853",[[1,"swirl-icon-phone",{"size":[2]}]]],["p-f7d6cae3",[[1,"swirl-icon-play-arrow",{"size":[2]}]]],["p-2c4d446e",[[1,"swirl-icon-poll",{"size":[2]}]]],["p-85aa0c88",[[1,"swirl-icon-print",{"size":[2]}]]],["p-b626b11e",[[1,"swirl-icon-recieved",{"size":[2]}]]],["p-7fecab0f",[[1,"swirl-icon-reply",{"size":[2]}]]],["p-6eec9b50",[[1,"swirl-icon-roadmap",{"size":[2]}]]],["p-66643855",[[1,"swirl-icon-search-strong",{"size":[2]}]]],["p-4e5fd3bf",[[1,"swirl-icon-send",{"size":[2]}]]],["p-bea1351f",[[1,"swirl-icon-settings",{"size":[2]}]]],["p-1c85f997",[[1,"swirl-icon-short-text",{"size":[2]}]]],["p-9688313e",[[1,"swirl-icon-simplify",{"size":[2]}]]],["p-2836c9c7",[[1,"swirl-icon-spellcheck",{"size":[2]}]]],["p-a4ad540a",[[1,"swirl-icon-sync",{"size":[2]}]]],["p-a9f9ef54",[[1,"swirl-icon-tasks-filled",{"size":[2]}]]],["p-85c38084",[[1,"swirl-icon-tasks-outlined",{"size":[2]}]]],["p-2071a452",[[1,"swirl-icon-time-filled",{"size":[2]}]]],["p-649f1a2f",[[1,"swirl-icon-time-outlined",{"size":[2]}]]],["p-b4a68dac",[[1,"swirl-icon-undo",{"size":[2]}]]],["p-530a0003",[[1,"swirl-icon-unlock-person",{"size":[2]}]]],["p-20fd87e7",[[1,"swirl-icon-user-assign",{"size":[2]}]]],["p-b39a0256",[[1,"swirl-icon-video-camera",{"size":[2]}]]],["p-a72780ca",[[1,"swirl-icon-video-library",{"size":[2]}]]],["p-3af4f4aa",[[1,"swirl-icon-voice",{"size":[2]}]]],["p-c2d3b142",[[1,"swirl-inline-status",{"icon":[1],"intent":[1],"message":[1],"size":[1],"iconSize":[32]}]]],["p-cad6b8ef",[[1,"swirl-link",{"color":[1],"href":[1],"label":[1],"target":[1]}]]],["p-d82fce3d",[[4,"swirl-list"]]],["p-f5c1afb6",[[1,"swirl-option-list-section",{"label":[1]}]]],["p-825ca193",[[1,"swirl-progress-indicator",{"label":[1],"size":[1],"value":[2],"variant":[1]}]]],["p-8317b681",[[6,"swirl-radio-group",{"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537]}]]],["p-cb87c1ac",[[1,"swirl-skeleton-box",{"animated":[4],"aspectRatio":[1,"aspect-ratio"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1]}]]],["p-0154afb3",[[1,"swirl-skeleton-text",{"animated":[4],"lines":[2],"size":[1]}]]],["p-891737c7",[[1,"swirl-tab",{"active":[4],"label":[1],"tabId":[1,"tab-id"]}]]],["p-0dc66712",[[1,"swirl-table-cell"]]],["p-7412f5ee",[[1,"swirl-table-row",{"highlighted":[4],"index":[2]}]]],["p-1aa44f84",[[1,"swirl-table-row-group",{"label":[1]}]]],["p-c3badef7",[[6,"swirl-theme-provider",{"config":[16],"getActiveTheme":[64],"getPreferredTheme":[64],"setPreferredTheme":[64],"resetPreferredTheme":[64]}]]],["p-ee72d3d0",[[1,"swirl-tooltip",{"content":[1],"delay":[2],"position":[1],"actualPosition":[32],"visible":[32]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[9,"resize","onWindowResize"],[9,"scroll","onWindowScroll"]]]]],["p-791d8d8f",[[1,"swirl-tree-navigation-item",{"active":[4],"icon":[1],"label":[1]}]]],["p-b78ef534",[[2,"swirl-text-input",{"autoComplete":[1,"auto-complete"],"autoFocus":[4,"auto-focus"],"autoGrow":[4,"auto-grow"],"autoSelect":[4,"auto-select"],"clearable":[4],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"disableDynamicWidth":[4,"disable-dynamic-width"],"swirlAriaAutocomplete":[1,"swirl-aria-autocomplete"],"swirlAriaControls":[1,"swirl-aria-controls"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaExpanded":[1,"swirl-aria-expanded"],"swirlRole":[1,"swirl-role"],"inline":[4],"invalid":[4],"maxLength":[2,"max-length"],"max":[2],"min":[2],"mode":[1],"placeholder":[1],"prefixLabel":[1,"prefix-label"],"required":[4],"rows":[2],"showCharacterCounter":[4,"show-character-counter"],"spellCheck":[4,"spell-check"],"suffixLabel":[1,"suffix-label"],"step":[2],"passwordToggleLabel":[1,"password-toggle-label"],"type":[1],"value":[1537],"iconSize":[32],"showPassword":[32]}]]],["p-cb0aca8f",[[1,"swirl-badge",{"icon":[1],"intent":[1],"label":[1],"size":[1],"variant":[1]}]]],["p-2ee1c66d",[[1,"swirl-icon-cloud-upload",{"size":[2]}]]],["p-5f53b9ed",[[1,"swirl-icon-person",{"size":[2]}]]],["p-c731c32c",[[1,"swirl-icon-search",{"size":[2]}]]],["p-dedd69be",[[2,"swirl-tab-bar",{"disableTabSemantics":[4,"disable-tab-semantics"],"label":[1],"tabs":[16]}]]],["p-8189d59b",[[1,"swirl-date-picker",{"labels":[16],"locale":[1],"range":[4],"startDate":[16],"value":[1040]}],[1,"swirl-icon-today",{"size":[2]}]]],["p-2acbafe5",[[1,"swirl-button-group",{"orientation":[1],"segmented":[4],"stretch":[4],"wrap":[4]}]]],["p-5636fc57",[[1,"swirl-icon-arrow-downward",{"size":[2]}],[1,"swirl-icon-arrow-upward",{"size":[2]}]]],["p-ada769a2",[[2,"wc-datepicker",{"clearButtonContent":[1,"clear-button-content"],"disabled":[4],"disableDate":[16],"elementClassName":[1,"element-class-name"],"firstDayOfWeek":[2,"first-day-of-week"],"range":[4],"labels":[16],"locale":[1],"nextMonthButtonContent":[1,"next-month-button-content"],"nextYearButtonContent":[1,"next-year-button-content"],"previousMonthButtonContent":[1,"previous-month-button-content"],"previousYearButtonContent":[1,"previous-year-button-content"],"showClearButton":[4,"show-clear-button"],"showMonthStepper":[4,"show-month-stepper"],"showTodayButton":[4,"show-today-button"],"showYearStepper":[4,"show-year-stepper"],"startDate":[1,"start-date"],"todayButtonContent":[1,"today-button-content"],"value":[1040],"currentDate":[32],"hoveredDate":[32],"weekdays":[32]}]]],["p-3ddaceac",[[1,"swirl-icon-check-circle",{"size":[2]}],[1,"swirl-icon-info",{"size":[2]}],[1,"swirl-icon-warning",{"size":[2]}]]],["p-ddecb3fb",[[1,"swirl-icon-arrow-left",{"size":[2]}],[1,"swirl-icon-arrow-right",{"size":[2]}],[1,"swirl-icon-more-vertikal",{"size":[2]}],[1,"swirl-thumbnail",{"alt":[1],"format":[1],"size":[1],"src":[1]}]]],["p-bb84c103",[[2,"swirl-heading",{"align":[1],"as":[1],"balance":[4],"headingId":[1,"heading-id"],"level":[2],"lines":[2],"text":[1],"truncate":[4]},[[9,"resize","onWindowResize"]]]]],["p-b006fef3",[[1,"swirl-icon-check-strong",{"size":[2]}]]],["p-83e3fa78",[[1,"swirl-icon-close",{"size":[2]}]]],["p-92fd5b6e",[[1,"swirl-icon-expand-more",{"size":[2]}]]],["p-f1f97749",[[1,"swirl-popover",{"animation":[1],"disableScrollLock":[4,"disable-scroll-lock"],"enableFlip":[4,"enable-flip"],"fullscreenBottomSheet":[4,"fullscreen-bottom-sheet"],"label":[1],"maxHeight":[1,"max-height"],"offset":[2],"placement":[1],"popoverId":[1,"popover-id"],"trigger":[1],"useContainerWidth":[8,"use-container-width"],"active":[32],"closing":[32],"position":[32],"close":[64],"open":[64]},[[8,"focusin","onWindowFocusIn"],[8,"click","onWindowClick"]]]]],["p-fffab440",[[1,"swirl-icon-add",{"size":[2]}],[1,"swirl-icon-file-copy",{"size":[2]}],[1,"swirl-icon-fullscreen",{"size":[2]}],[1,"swirl-icon-fullscreen-exit",{"size":[2]}],[1,"swirl-icon-menu-book",{"size":[2]}],[1,"swirl-icon-remove",{"size":[2]}]]],["p-5a715e12",[[1,"swirl-action-list"],[1,"swirl-action-list-item",{"disabled":[4],"description":[1],"icon":[1],"intent":[1],"label":[1],"size":[1],"suffix":[1]}],[1,"swirl-separator",{"orientation":[1],"spacing":[1]}]]],["p-6faadd4b",[[6,"swirl-text",{"align":[1],"as":[1],"balance":[4],"color":[1],"fontFamily":[1,"font-family"],"fontStyle":[1,"font-style"],"lines":[2],"size":[1],"truncate":[4],"weight":[1]},[[9,"resize","onWindowResize"]]]]],["p-5fdfd6ff",[[1,"swirl-stack",{"align":[1],"as":[1],"justify":[1],"orientation":[1],"spacing":[1],"wrap":[4]}]]],["p-8dfc39cb",[[1,"swirl-app-layout",{"appName":[1,"app-name"],"backToNavigationViewButtonLabel":[1,"back-to-navigation-view-button-label"],"ctaIcon":[1,"cta-icon"],"ctaLabel":[1,"cta-label"],"navigationBackButtonLabel":[1,"navigation-back-button-label"],"navigationLabel":[1,"navigation-label"],"showNavigationBackButton":[4,"show-navigation-back-button"],"sidebarCloseButtonLabel":[1,"sidebar-close-button-label"],"sidebarHeading":[1,"sidebar-heading"],"transitionStyle":[1,"transition-style"],"hasNavigation":[32],"hasSidebar":[32],"mobileView":[32],"sidebarActive":[32],"sidebarClosing":[32],"transitioningFrom":[32],"transitioningTo":[32],"showSidebar":[64],"hideSidebar":[64],"toggleSidebar":[64],"changeMobileView":[64]}],[1,"swirl-empty-state",{"heading":[1],"illustration":[1]}],[1,"swirl-resource-list-item",{"checked":[1028],"description":[1],"disabled":[4],"hideDivider":[4,"hide-divider"],"href":[1],"label":[1],"labelWeight":[1,"label-weight"],"menuTriggerId":[1,"menu-trigger-id"],"menuTriggerLabel":[1,"menu-trigger-label"],"meta":[1],"selectable":[4],"value":[1],"hasMedia":[32]}],[1,"swirl-resource-list",{"label":[1]}],[1,"swirl-box",{"bordered":[4],"centerBlock":[4,"center-block"],"centerInline":[4,"center-inline"],"cover":[4],"maxWidth":[1,"max-width"],"overflow":[1],"padding":[1],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockStart":[1,"padding-block-start"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineStart":[1,"padding-inline-start"]}],[1,"swirl-icon-file",{"size":[2]}],[1,"swirl-icon-folder-shared",{"size":[2]}]]],["p-c78c2b0f",[[1,"swirl-icon-visibility",{"size":[2]}],[1,"swirl-icon-visibility-off",{"size":[2]}],[1,"swirl-icon-cancel",{"size":[2]}],[1,"swirl-icon-expand-less",{"size":[2]}]]],["p-0f3b28e9",[[1,"swirl-visually-hidden"]]],["p-5e837595",[[2,"swirl-option-list-item",{"allowDrag":[4,"allow-drag"],"context":[1025],"disabled":[4],"dragging":[4],"dragHandleDescription":[1,"drag-handle-description"],"dragHandleLabel":[1,"drag-handle-label"],"icon":[1],"label":[1],"selected":[1028],"value":[1],"iconSize":[32]}],[6,"swirl-option-list",{"allowDrag":[4,"allow-drag"],"assistiveTextItemGrabbed":[1,"assistive-text-item-grabbed"],"assistiveTextItemMoving":[1,"assistive-text-item-moving"],"assistiveTextItemMoved":[1,"assistive-text-item-moved"],"disabled":[4],"label":[1],"optionListId":[1,"option-list-id"],"multiSelect":[4,"multi-select"],"value":[1040],"assistiveText":[32]}],[1,"swirl-icon-check-small",{"size":[2]}],[1,"swirl-icon-drag-handle",{"size":[2]}]]],["p-d463715d",[[2,"swirl-button",{"disabled":[4],"download":[1],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaExpanded":[1,"swirl-aria-expanded"],"swirlAriaLabel":[1,"swirl-aria-label"],"form":[1],"hideLabel":[4,"hide-label"],"href":[1],"icon":[1],"iconPosition":[1,"icon-position"],"intent":[1],"label":[1],"name":[1],"pill":[4],"size":[1],"target":[1],"type":[1],"value":[1],"variant":[1]}]]],["p-6ff9eaeb",[[1,"swirl-inline-error",{"message":[1],"size":[1]}],[1,"swirl-spinner",{"label":[1],"size":[8]}],[1,"swirl-icon-error",{"size":[2]}]]],["p-9b0a9699",[[1,"swirl-file-viewer",{"active":[4],"autoplay":[4],"description":[1],"errorMessage":[1,"error-message"],"file":[1],"thumbnailUrl":[1,"thumbnail-url"],"type":[1],"typeUnsupportedMessage":[1,"type-unsupported-message"],"viewMode":[1,"view-mode"],"zoom":[8],"download":[64],"print":[64]}],[1,"swirl-file-viewer-csv",{"errorMessage":[1,"error-message"],"file":[1],"data":[32],"error":[32],"loading":[32]}],[1,"swirl-file-viewer-image",{"description":[1],"errorMessage":[1,"error-message"],"file":[1],"maxZoom":[2,"max-zoom"],"error":[32],"loading":[32],"getZoom":[64],"resetZoom":[64]}],[1,"swirl-file-viewer-pdf",{"errorMessage":[1,"error-message"],"file":[1],"singlePageMode":[4,"single-page-mode"],"viewMode":[1,"view-mode"],"zoom":[8],"doc":[32],"error":[32],"loading":[32],"renderedPages":[32],"scrolledDown":[32],"singlePageModePage":[32],"visiblePages":[32],"getThumbnails":[64],"print":[64],"nextPage":[64],"previousPage":[64],"setPage":[64]},[[9,"resize","onWindowResize"]]],[1,"swirl-file-viewer-text",{"errorMessage":[1,"error-message"],"file":[1],"error":[32],"loading":[32],"text":[32]}],[1,"swirl-file-viewer-audio",{"autoplay":[4],"file":[1],"type":[1]}],[1,"swirl-file-viewer-video",{"autoplay":[4],"file":[1],"type":[1]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as i}from"./p-05c15d47.js";export{s as setNonce}from"./p-05c15d47.js";(()=>{const i=import.meta.url,l={};return""!==i&&(l.resourcesUrl=new URL(".",i).href),e(l)})().then((e=>i(JSON.parse('[["p-fd8dd92d",[[1,"file-manager",{"selectedDirectory":[32],"selectedFile":[32]}]]],["p-9ad9ce19",[[1,"swirl-pdf-reader",{"autoZoomLabel":[1,"auto-zoom-label"],"closeButtonLabel":[1,"close-button-label"],"downloadButtonLabel":[1,"download-button-label"],"file":[1],"fileTypeLabel":[1,"file-type-label"],"label":[1],"menuLabel":[1,"menu-label"],"menuTriggerLabel":[1,"menu-trigger-label"],"printButtonLabel":[1,"print-button-label"],"sideBySideButtonLabel":[1,"side-by-side-button-label"],"thumbnailButtonLabel":[1,"thumbnail-button-label"],"thumbnailsButtonLabel":[1,"thumbnails-button-label"],"thumbnailsLabel":[1,"thumbnails-label"],"zoomInButtonLabel":[1,"zoom-in-button-label"],"zoomOutButtonLabel":[1,"zoom-out-button-label"],"zoomSelectLabel":[1,"zoom-select-label"],"active":[32],"closing":[32],"downloading":[32],"thumbnails":[32],"showThumbnails":[32],"viewMode":[32],"visiblePages":[32],"zoom":[32],"zoomSteps":[32],"open":[64],"close":[64]},[[9,"resize","onWindowResize"]]]]],["p-063afb09",[[2,"swirl-autocomplete",{"autoSelect":[4,"auto-select"],"clearable":[4],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"generateSuggestions":[1040],"inline":[4],"invalid":[4],"maxLength":[2,"max-length"],"menuLabel":[1,"menu-label"],"mode":[1],"required":[4],"spellCheck":[4,"spell-check"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537],"active":[32],"loading":[32],"position":[32],"suggestions":[32]},[[8,"click","onWindowClick"]]]]],["p-f5a94ea4",[[1,"swirl-lightbox",{"closeButtonLabel":[1,"close-button-label"],"downloadButtonLabel":[1,"download-button-label"],"label":[1],"menuLabel":[1,"menu-label"],"menuTriggerLabel":[1,"menu-trigger-label"],"nextSlideButtonLabel":[1,"next-slide-button-label"],"previousSlideButtonLabel":[1,"previous-slide-button-label"],"activeSlideIndex":[32],"closing":[32],"slides":[32],"open":[64],"close":[64],"activateSlide":[64]}]]],["p-73a4a99a",[[1,"swirl-inline-notification",{"heading":[1],"importance":[1],"intent":[1]}]]],["p-457e9e49",[[1,"swirl-pagination",{"firstPageButtonLabel":[1,"first-page-button-label"],"lastPageButtonLabel":[1,"last-page-button-label"],"label":[1],"nextButtonLabel":[1,"next-button-label"],"page":[2],"pageLabel":[1,"page-label"],"pages":[2],"pageSelectLabel":[1,"page-select-label"],"pageSize":[2,"page-size"],"pageSizeOptions":[16],"pageSizeSelectLabel":[1,"page-size-select-label"],"prevButtonLabel":[1,"prev-button-label"],"showPageSizeSelect":[4,"show-page-size-select"],"variant":[1]}]]],["p-4f44b9e7",[[1,"swirl-resource-list-file-item",{"description":[1],"errorMessage":[1,"error-message"],"icon":[1],"label":[1],"loading":[4],"removable":[4],"removeButtonLabel":[1,"remove-button-label"]}]]],["p-e5cec3a4",[[6,"swirl-select",{"disabled":[4],"inline":[4],"invalid":[4],"label":[1],"multiSelect":[4,"multi-select"],"required":[4],"selectId":[1,"select-id"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1040],"options":[32],"open":[32],"placement":[32]},[[8,"focusin","onWindowFocusIn"]]]]],["p-40546623",[[2,"swirl-date-input",{"autoFocus":[4,"auto-focus"],"autoSelect":[4,"auto-select"],"datePickerLabel":[1,"date-picker-label"],"datePickerTriggerLabel":[1,"date-picker-trigger-label"],"disabled":[4],"format":[1],"inline":[4],"invalid":[4],"labels":[16],"locale":[1],"placeholder":[1],"required":[4],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537],"iconSize":[32]}]]],["p-165f0d02",[[4,"swirl-modal",{"closeButtonLabel":[1,"close-button-label"],"hideCloseButton":[4,"hide-close-button"],"hideLabel":[4,"hide-label"],"label":[1],"maxWidth":[1,"max-width"],"padded":[4],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"variant":[1],"isOpen":[32],"closing":[32],"hasCustomHeader":[32],"hasCustomFooter":[32],"scrollable":[32],"scrolled":[32],"scrolledDown":[32],"open":[64],"close":[64]},[[9,"resize","onWindowResize"]]]]],["p-4820eae0",[[1,"swirl-console-layout",{"appName":[1,"app-name"],"backButonLabel":[1,"back-buton-label"],"heading":[1],"helpButonLabel":[1,"help-buton-label"],"hideNavigationButtonLabel":[1,"hide-navigation-button-label"],"logoText":[1,"logo-text"],"showNavigationButtonLabel":[1,"show-navigation-button-label"],"navigationLabel":[1,"navigation-label"],"showBackButton":[4,"show-back-button"],"showHelpButton":[4,"show-help-button"],"subheading":[1],"sidebarActive":[32],"toggleSidebar":[64],"showSidebar":[64],"hideSidebar":[64]},[[9,"resize","onWindowResize"]]]]],["p-4d7560a7",[[1,"swirl-dialog",{"hideLabel":[4,"hide-label"],"intent":[1],"label":[1],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"closing":[32],"open":[64],"close":[64]}]]],["p-d5a55beb",[[2,"swirl-checkbox",{"checked":[1032],"description":[1],"disabled":[4],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaLabel":[1,"swirl-aria-label"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"invalid":[4],"label":[1],"value":[1]}]]],["p-c0cf7a5e",[[2,"swirl-file-uploader",{"accept":[1],"ctaLabel":[1,"cta-label"],"description":[1],"disabled":[4],"dragDropLabel":[1,"drag-drop-label"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"label":[1],"multiple":[4],"showDropzone":[4,"show-dropzone"],"uploadButtonLabel":[1,"upload-button-label"],"reset":[64]}]]],["p-ec92d2e5",[[6,"swirl-form-control",{"description":[1],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"inline":[4],"invalid":[4],"label":[1],"labelPosition":[1,"label-position"],"hasFocus":[32],"inputValue":[32]},[[8,"click","onWindowClick"]]]]],["p-64b92967",[[1,"swirl-toast",{"accessibleDismissLabel":[1,"accessible-dismiss-label"],"content":[1],"dismissLabel":[1,"dismiss-label"],"duration":[2],"icon":[1],"intent":[1],"toastId":[1,"toast-id"]}]]],["p-7d702522",[[1,"swirl-toast-provider",{"globalDuration":[2,"global-duration"],"toasts":[32],"clearAll":[64],"dismiss":[64],"toast":[64]}]]],["p-77daca19",[[2,"swirl-search",{"autoFocus":[4,"auto-focus"],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"inputName":[1,"input-name"],"inputId":[1,"input-id"],"label":[1],"placeholder":[1],"value":[1025],"variant":[1]},[[8,"keydown","onKeyDown"]]]]],["p-9426ae2f",[[1,"swirl-table",{"caption":[1],"emptyStateLabel":[1,"empty-state-label"],"label":[1],"empty":[32],"scrollable":[32],"scrolled":[32],"scrolledToEnd":[32],"rerender":[64]},[[9,"resize","onWindowResize"]]]]],["p-c009d887",[[1,"swirl-table-column",{"sort":[1],"sortable":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"sticky":[4],"width":[1]}]]],["p-490aca41",[[1,"swirl-app-bar",{"backButtonLabel":[1,"back-button-label"],"closeButtonLabel":[1,"close-button-label"],"stepUpButtonLabel":[1,"step-up-button-label"],"stepDownButtonLabel":[1,"step-down-button-label"],"showBackButton":[4,"show-back-button"],"showCloseButton":[4,"show-close-button"],"showStepperControls":[4,"show-stepper-controls"],"hasCta":[32]}]]],["p-c8e629b7",[[1,"swirl-avatar",{"badge":[1],"badgePosition":[1,"badge-position"],"color":[1],"icon":[1],"initials":[1],"interactive":[4],"label":[1],"showLabel":[4,"show-label"],"size":[1],"src":[1],"variant":[1],"imageAvailable":[32]}]]],["p-5b691374",[[1,"swirl-banner",{"actionLabel":[1,"action-label"],"content":[1],"dismissable":[4],"dismissLabel":[1,"dismiss-label"],"importance":[1],"intent":[1],"showIcon":[4,"show-icon"],"size":[1]}]]],["p-61a52a24",[[1,"swirl-carousel",{"label":[1],"nextSlideButtonLabel":[1,"next-slide-button-label"],"previousSlideButtonLabel":[1,"previous-slide-button-label"],"loopAround":[4,"loop-around"],"isAtEnd":[32],"isAtStart":[32],"isScrollable":[32],"scrollToSlide":[64]},[[9,"resize","onWindowResize"]]]]],["p-8c8a717e",[[2,"swirl-radio",{"checked":[1032],"description":[1],"disabled":[4],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"invalid":[4],"label":[1],"value":[1]}]]],["p-793efeb4",[[1,"swirl-shell-layout",{"hideSidebar":[4,"hide-sidebar"],"mainNavigationLabel":[1,"main-navigation-label"],"sidebarToggleLabel":[1,"sidebar-toggle-label"],"collapsedSidebar":[32],"collapsing":[32],"sidebarHovered":[32],"collapseSidebar":[64],"extendSidebar":[64]}]]],["p-8e64456c",[[1,"swirl-shell-navigation-item",{"active":[4],"badgeLabel":[1,"badge-label"],"label":[1]}]]],["p-394568d3",[[2,"swirl-switch",{"checked":[1028],"disabled":[4],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"label":[1],"size":[1],"value":[1]},[[9,"pointerup","onWindowPointerUp"]]]]],["p-42d9aace",[[6,"swirl-tabs",{"initialTab":[1,"initial-tab"],"label":[1],"activeTab":[32],"tabBarTabs":[32],"activateTab":[64]}]]],["p-01aff357",[[1,"swirl-tag",{"intent":[1],"label":[1],"removable":[4],"removalButtonLabel":[1,"removal-button-label"]}]]],["p-c783221d",[[1,"swirl-video-thumbnail",{"durationLabel":[1,"duration-label"],"duration":[1],"label":[1],"src":[1]}]]],["p-ddd49304",[[1,"swirl-action-list-section",{"label":[1]}]]],["p-e7489a17",[[1,"swirl-app-icon",{"icon":[1],"src":[1],"hideBorder":[4,"hide-border"],"imageAvailable":[32]}]]],["p-a8acfcc3",[[1,"swirl-avatar-group",{"badge":[1]}]]],["p-a9cacf6f",[[1,"swirl-card",{"as":[1],"borderRadius":[1,"border-radius"],"elevated":[4],"height":[1],"highlighted":[4],"href":[1],"imageAspectRatio":[1,"image-aspect-ratio"],"intent":[1],"isBorderless":[4,"is-borderless"],"interactive":[4],"justifyContent":[1,"justify-content"],"linkTarget":[1,"link-target"],"padding":[1],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockStart":[1,"padding-block-start"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineStart":[1,"padding-inline-start"],"swirlAriaLabel":[1,"swirl-aria-label"]}]]],["p-5540e1a5",[[1,"swirl-carousel-slide",{"label":[1],"minHeight":[1,"min-height"],"width":[1]}]]],["p-3a763e22",[[1,"swirl-chip",{"icon":[1],"intent":[1],"interactive":[4],"label":[1],"variant":[1]}]]],["p-83392d53",[[1,"swirl-columns",{"columns":[1],"spacing":[1]}]]],["p-9cf47daf",[[1,"swirl-description-list"]]],["p-c92fef2d",[[1,"swirl-description-list-item",{"bordered":[4],"orientation":[1],"term":[1]}]]],["p-24a2fc70",[[6,"swirl-form-group",{"orientation":[1]}]]],["p-568a81e4",[[1,"swirl-icon",{"glyph":[1],"size":[2]}]]],["p-b20dc745",[[1,"swirl-icon-add-photo",{"size":[2]}]]],["p-6f5a740c",[[1,"swirl-icon-admin-panel-settings",{"size":[2]}]]],["p-616fef83",[[1,"swirl-icon-ai",{"size":[2]}]]],["p-4002c5ae",[[1,"swirl-icon-arrow-back",{"size":[2]}]]],["p-1760180b",[[1,"swirl-icon-arrow-forward",{"size":[2]}]]],["p-7c2b4953",[[1,"swirl-icon-arrow-right-small",{"size":[2]}]]],["p-59a5aafb",[[1,"swirl-icon-attachment",{"size":[2]}]]],["p-637b01cf",[[1,"swirl-icon-bar-chart",{"size":[2]}]]],["p-904b5a82",[[1,"swirl-icon-block",{"size":[2]}]]],["p-51e63ec1",[[1,"swirl-icon-bookmark",{"size":[2]}]]],["p-d9724ad8",[[1,"swirl-icon-chat-bubble",{"size":[2]}]]],["p-8444953b",[[1,"swirl-icon-chats-filled",{"size":[2]}]]],["p-1901ff35",[[1,"swirl-icon-chats-outlined",{"size":[2]}]]],["p-ff74e4c3",[[1,"swirl-icon-check",{"size":[2]}]]],["p-cf4767a5",[[1,"swirl-icon-chevron-left",{"size":[2]}]]],["p-fe5a1737",[[1,"swirl-icon-chevron-right",{"size":[2]}]]],["p-ae6f7f6d",[[1,"swirl-icon-close-small",{"size":[2]}]]],["p-cd83c309",[[1,"swirl-icon-column",{"size":[2]}]]],["p-498e2b6e",[[1,"swirl-icon-comment",{"size":[2]}]]],["p-6ad5a67b",[[1,"swirl-icon-copy",{"size":[2]}]]],["p-82be9389",[[1,"swirl-icon-date-range",{"size":[2]}]]],["p-f9bbeefe",[[1,"swirl-icon-delete",{"size":[2]}]]],["p-93023904",[[1,"swirl-icon-description",{"size":[2]}]]],["p-77d3f063",[[1,"swirl-icon-double-arrow-left",{"size":[2]}]]],["p-d781dcfb",[[1,"swirl-icon-double-arrow-right",{"size":[2]}]]],["p-3a7170ec",[[1,"swirl-icon-download",{"size":[2]}]]],["p-7a832eb6",[[1,"swirl-icon-edit",{"size":[2]}]]],["p-4c3c4647",[[1,"swirl-icon-emoji-mood",{"size":[2]}]]],["p-3ef45c79",[[1,"swirl-icon-emoji-satisfied",{"size":[2]}]]],["p-ada20ae7",[[1,"swirl-icon-filter",{"size":[2]}]]],["p-91cc9591",[[1,"swirl-icon-folder",{"size":[2]}]]],["p-290b3a5e",[[1,"swirl-icon-gif",{"size":[2]}]]],["p-1c4fa7e9",[[1,"swirl-icon-group-assign",{"size":[2]}]]],["p-1782d1ea",[[1,"swirl-icon-groups",{"size":[2]}]]],["p-8decc967",[[1,"swirl-icon-groups-custom",{"size":[2]}]]],["p-e08e9e53",[[1,"swirl-icon-groups-filled",{"size":[2]}]]],["p-9648bfbf",[[1,"swirl-icon-groups-outlined",{"size":[2]}]]],["p-c3c29b93",[[1,"swirl-icon-help",{"size":[2]}]]],["p-50bd9548",[[1,"swirl-icon-highlight",{"size":[2]}]]],["p-7b2c3fd3",[[1,"swirl-icon-home",{"size":[2]}]]],["p-fe33a054",[[1,"swirl-icon-image",{"size":[2]}]]],["p-04fec5d6",[[1,"swirl-icon-improve-text",{"size":[2]}]]],["p-c0d20490",[[1,"swirl-icon-insert-below",{"size":[2]}]]],["p-2071b460",[[1,"swirl-icon-insert-on-top",{"size":[2]}]]],["p-5282350f",[[1,"swirl-icon-inventory",{"size":[2]}]]],["p-6ef1f4ef",[[1,"swirl-icon-like",{"size":[2]}]]],["p-28fdee3b",[[1,"swirl-icon-link",{"size":[2]}]]],["p-f7f1c29f",[[1,"swirl-icon-lock",{"size":[2]}]]],["p-3c9f6731",[[1,"swirl-icon-lock-person",{"size":[2]}]]],["p-1091d3dc",[[1,"swirl-icon-logout",{"size":[2]}]]],["p-cc85dade",[[1,"swirl-icon-long-text",{"size":[2]}]]],["p-fff59050",[[1,"swirl-icon-mail",{"size":[2]}]]],["p-f8b08507",[[1,"swirl-icon-manage-accounts",{"size":[2]}]]],["p-18727d9f",[[1,"swirl-icon-mark-chat-read",{"size":[2]}]]],["p-c2237c6c",[[1,"swirl-icon-mark-chat-unread",{"size":[2]}]]],["p-7c2ca02f",[[1,"swirl-icon-mention",{"size":[2]}]]],["p-3a182222",[[1,"swirl-icon-menu",{"size":[2]}]]],["p-8b7e33aa",[[1,"swirl-icon-menu-filled",{"size":[2]}]]],["p-a4d24a90",[[1,"swirl-icon-menu-outlined",{"size":[2]}]]],["p-fa2ebe9e",[[1,"swirl-icon-message",{"size":[2]}]]],["p-453dc25e",[[1,"swirl-icon-more-horizontal",{"size":[2]}]]],["p-5d744993",[[1,"swirl-icon-news-filled",{"size":[2]}]]],["p-0336b920",[[1,"swirl-icon-news-outlined",{"size":[2]}]]],["p-2ea247c5",[[1,"swirl-icon-notifications",{"size":[2]}]]],["p-398854b7",[[1,"swirl-icon-notifications-active",{"size":[2]}]]],["p-9f341e18",[[1,"swirl-icon-notifications-off",{"size":[2]}]]],["p-92f1a11f",[[1,"swirl-icon-open-in-new",{"size":[2]}]]],["p-e793fedc",[[1,"swirl-icon-people-alt",{"size":[2]}]]],["p-fad5447d",[[1,"swirl-icon-person-off",{"size":[2]}]]],["p-387a3853",[[1,"swirl-icon-phone",{"size":[2]}]]],["p-f7d6cae3",[[1,"swirl-icon-play-arrow",{"size":[2]}]]],["p-2c4d446e",[[1,"swirl-icon-poll",{"size":[2]}]]],["p-85aa0c88",[[1,"swirl-icon-print",{"size":[2]}]]],["p-b626b11e",[[1,"swirl-icon-recieved",{"size":[2]}]]],["p-7fecab0f",[[1,"swirl-icon-reply",{"size":[2]}]]],["p-6eec9b50",[[1,"swirl-icon-roadmap",{"size":[2]}]]],["p-66643855",[[1,"swirl-icon-search-strong",{"size":[2]}]]],["p-4e5fd3bf",[[1,"swirl-icon-send",{"size":[2]}]]],["p-bea1351f",[[1,"swirl-icon-settings",{"size":[2]}]]],["p-1c85f997",[[1,"swirl-icon-short-text",{"size":[2]}]]],["p-9688313e",[[1,"swirl-icon-simplify",{"size":[2]}]]],["p-2836c9c7",[[1,"swirl-icon-spellcheck",{"size":[2]}]]],["p-a4ad540a",[[1,"swirl-icon-sync",{"size":[2]}]]],["p-a9f9ef54",[[1,"swirl-icon-tasks-filled",{"size":[2]}]]],["p-85c38084",[[1,"swirl-icon-tasks-outlined",{"size":[2]}]]],["p-2071a452",[[1,"swirl-icon-time-filled",{"size":[2]}]]],["p-649f1a2f",[[1,"swirl-icon-time-outlined",{"size":[2]}]]],["p-b4a68dac",[[1,"swirl-icon-undo",{"size":[2]}]]],["p-530a0003",[[1,"swirl-icon-unlock-person",{"size":[2]}]]],["p-20fd87e7",[[1,"swirl-icon-user-assign",{"size":[2]}]]],["p-b39a0256",[[1,"swirl-icon-video-camera",{"size":[2]}]]],["p-a72780ca",[[1,"swirl-icon-video-library",{"size":[2]}]]],["p-3af4f4aa",[[1,"swirl-icon-voice",{"size":[2]}]]],["p-c2d3b142",[[1,"swirl-inline-status",{"icon":[1],"intent":[1],"message":[1],"size":[1],"iconSize":[32]}]]],["p-cad6b8ef",[[1,"swirl-link",{"color":[1],"href":[1],"label":[1],"target":[1]}]]],["p-d82fce3d",[[4,"swirl-list"]]],["p-f5c1afb6",[[1,"swirl-option-list-section",{"label":[1]}]]],["p-825ca193",[[1,"swirl-progress-indicator",{"label":[1],"size":[1],"value":[2],"variant":[1]}]]],["p-8317b681",[[6,"swirl-radio-group",{"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"value":[1537]}]]],["p-cb87c1ac",[[1,"swirl-skeleton-box",{"animated":[4],"aspectRatio":[1,"aspect-ratio"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1]}]]],["p-0154afb3",[[1,"swirl-skeleton-text",{"animated":[4],"lines":[2],"size":[1]}]]],["p-891737c7",[[1,"swirl-tab",{"active":[4],"label":[1],"tabId":[1,"tab-id"]}]]],["p-0dc66712",[[1,"swirl-table-cell"]]],["p-7412f5ee",[[1,"swirl-table-row",{"highlighted":[4],"index":[2]}]]],["p-1aa44f84",[[1,"swirl-table-row-group",{"label":[1]}]]],["p-c3badef7",[[6,"swirl-theme-provider",{"config":[16],"getActiveTheme":[64],"getPreferredTheme":[64],"setPreferredTheme":[64],"resetPreferredTheme":[64]}]]],["p-ee72d3d0",[[1,"swirl-tooltip",{"content":[1],"delay":[2],"position":[1],"actualPosition":[32],"visible":[32]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[9,"resize","onWindowResize"],[9,"scroll","onWindowScroll"]]]]],["p-791d8d8f",[[1,"swirl-tree-navigation-item",{"active":[4],"icon":[1],"label":[1]}]]],["p-b78ef534",[[2,"swirl-text-input",{"autoComplete":[1,"auto-complete"],"autoFocus":[4,"auto-focus"],"autoGrow":[4,"auto-grow"],"autoSelect":[4,"auto-select"],"clearable":[4],"clearButtonLabel":[1,"clear-button-label"],"disabled":[4],"disableDynamicWidth":[4,"disable-dynamic-width"],"swirlAriaAutocomplete":[1,"swirl-aria-autocomplete"],"swirlAriaControls":[1,"swirl-aria-controls"],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaExpanded":[1,"swirl-aria-expanded"],"swirlRole":[1,"swirl-role"],"inline":[4],"invalid":[4],"maxLength":[2,"max-length"],"max":[2],"min":[2],"mode":[1],"placeholder":[1],"prefixLabel":[1,"prefix-label"],"required":[4],"rows":[2],"showCharacterCounter":[4,"show-character-counter"],"spellCheck":[4,"spell-check"],"suffixLabel":[1,"suffix-label"],"step":[2],"passwordToggleLabel":[1,"password-toggle-label"],"type":[1],"value":[1537],"iconSize":[32],"showPassword":[32]}]]],["p-cb0aca8f",[[1,"swirl-badge",{"icon":[1],"intent":[1],"label":[1],"size":[1],"variant":[1]}]]],["p-2ee1c66d",[[1,"swirl-icon-cloud-upload",{"size":[2]}]]],["p-5f53b9ed",[[1,"swirl-icon-person",{"size":[2]}]]],["p-c731c32c",[[1,"swirl-icon-search",{"size":[2]}]]],["p-dedd69be",[[2,"swirl-tab-bar",{"disableTabSemantics":[4,"disable-tab-semantics"],"label":[1],"tabs":[16]}]]],["p-8189d59b",[[1,"swirl-date-picker",{"labels":[16],"locale":[1],"range":[4],"startDate":[16],"value":[1040]}],[1,"swirl-icon-today",{"size":[2]}]]],["p-2acbafe5",[[1,"swirl-button-group",{"orientation":[1],"segmented":[4],"stretch":[4],"wrap":[4]}]]],["p-5636fc57",[[1,"swirl-icon-arrow-downward",{"size":[2]}],[1,"swirl-icon-arrow-upward",{"size":[2]}]]],["p-ada769a2",[[2,"wc-datepicker",{"clearButtonContent":[1,"clear-button-content"],"disabled":[4],"disableDate":[16],"elementClassName":[1,"element-class-name"],"firstDayOfWeek":[2,"first-day-of-week"],"range":[4],"labels":[16],"locale":[1],"nextMonthButtonContent":[1,"next-month-button-content"],"nextYearButtonContent":[1,"next-year-button-content"],"previousMonthButtonContent":[1,"previous-month-button-content"],"previousYearButtonContent":[1,"previous-year-button-content"],"showClearButton":[4,"show-clear-button"],"showMonthStepper":[4,"show-month-stepper"],"showTodayButton":[4,"show-today-button"],"showYearStepper":[4,"show-year-stepper"],"startDate":[1,"start-date"],"todayButtonContent":[1,"today-button-content"],"value":[1040],"currentDate":[32],"hoveredDate":[32],"weekdays":[32]}]]],["p-3ddaceac",[[1,"swirl-icon-check-circle",{"size":[2]}],[1,"swirl-icon-info",{"size":[2]}],[1,"swirl-icon-warning",{"size":[2]}]]],["p-ddecb3fb",[[1,"swirl-icon-arrow-left",{"size":[2]}],[1,"swirl-icon-arrow-right",{"size":[2]}],[1,"swirl-icon-more-vertikal",{"size":[2]}],[1,"swirl-thumbnail",{"alt":[1],"format":[1],"size":[1],"src":[1]}]]],["p-bb84c103",[[2,"swirl-heading",{"align":[1],"as":[1],"balance":[4],"headingId":[1,"heading-id"],"level":[2],"lines":[2],"text":[1],"truncate":[4]},[[9,"resize","onWindowResize"]]]]],["p-b006fef3",[[1,"swirl-icon-check-strong",{"size":[2]}]]],["p-83e3fa78",[[1,"swirl-icon-close",{"size":[2]}]]],["p-92fd5b6e",[[1,"swirl-icon-expand-more",{"size":[2]}]]],["p-f1f97749",[[1,"swirl-popover",{"animation":[1],"disableScrollLock":[4,"disable-scroll-lock"],"enableFlip":[4,"enable-flip"],"fullscreenBottomSheet":[4,"fullscreen-bottom-sheet"],"label":[1],"maxHeight":[1,"max-height"],"offset":[2],"placement":[1],"popoverId":[1,"popover-id"],"trigger":[1],"useContainerWidth":[8,"use-container-width"],"active":[32],"closing":[32],"position":[32],"close":[64],"open":[64]},[[8,"focusin","onWindowFocusIn"],[8,"click","onWindowClick"]]]]],["p-fffab440",[[1,"swirl-icon-add",{"size":[2]}],[1,"swirl-icon-file-copy",{"size":[2]}],[1,"swirl-icon-fullscreen",{"size":[2]}],[1,"swirl-icon-fullscreen-exit",{"size":[2]}],[1,"swirl-icon-menu-book",{"size":[2]}],[1,"swirl-icon-remove",{"size":[2]}]]],["p-5a715e12",[[1,"swirl-action-list"],[1,"swirl-action-list-item",{"disabled":[4],"description":[1],"icon":[1],"intent":[1],"label":[1],"size":[1],"suffix":[1]}],[1,"swirl-separator",{"orientation":[1],"spacing":[1]}]]],["p-cc84df11",[[6,"swirl-text",{"align":[1],"as":[1],"balance":[4],"color":[1],"fontFamily":[1,"font-family"],"fontStyle":[1,"font-style"],"lines":[2],"size":[1],"truncate":[4],"weight":[1]},[[9,"resize","onWindowResize"]]]]],["p-5fdfd6ff",[[1,"swirl-stack",{"align":[1],"as":[1],"justify":[1],"orientation":[1],"spacing":[1],"wrap":[4]}]]],["p-8dfc39cb",[[1,"swirl-app-layout",{"appName":[1,"app-name"],"backToNavigationViewButtonLabel":[1,"back-to-navigation-view-button-label"],"ctaIcon":[1,"cta-icon"],"ctaLabel":[1,"cta-label"],"navigationBackButtonLabel":[1,"navigation-back-button-label"],"navigationLabel":[1,"navigation-label"],"showNavigationBackButton":[4,"show-navigation-back-button"],"sidebarCloseButtonLabel":[1,"sidebar-close-button-label"],"sidebarHeading":[1,"sidebar-heading"],"transitionStyle":[1,"transition-style"],"hasNavigation":[32],"hasSidebar":[32],"mobileView":[32],"sidebarActive":[32],"sidebarClosing":[32],"transitioningFrom":[32],"transitioningTo":[32],"showSidebar":[64],"hideSidebar":[64],"toggleSidebar":[64],"changeMobileView":[64]}],[1,"swirl-empty-state",{"heading":[1],"illustration":[1]}],[1,"swirl-resource-list-item",{"checked":[1028],"description":[1],"disabled":[4],"hideDivider":[4,"hide-divider"],"href":[1],"label":[1],"labelWeight":[1,"label-weight"],"menuTriggerId":[1,"menu-trigger-id"],"menuTriggerLabel":[1,"menu-trigger-label"],"meta":[1],"selectable":[4],"value":[1],"hasMedia":[32]}],[1,"swirl-resource-list",{"label":[1]}],[1,"swirl-box",{"bordered":[4],"centerBlock":[4,"center-block"],"centerInline":[4,"center-inline"],"cover":[4],"maxWidth":[1,"max-width"],"overflow":[1],"padding":[1],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockStart":[1,"padding-block-start"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineStart":[1,"padding-inline-start"]}],[1,"swirl-icon-file",{"size":[2]}],[1,"swirl-icon-folder-shared",{"size":[2]}]]],["p-c78c2b0f",[[1,"swirl-icon-visibility",{"size":[2]}],[1,"swirl-icon-visibility-off",{"size":[2]}],[1,"swirl-icon-cancel",{"size":[2]}],[1,"swirl-icon-expand-less",{"size":[2]}]]],["p-0f3b28e9",[[1,"swirl-visually-hidden"]]],["p-5e837595",[[2,"swirl-option-list-item",{"allowDrag":[4,"allow-drag"],"context":[1025],"disabled":[4],"dragging":[4],"dragHandleDescription":[1,"drag-handle-description"],"dragHandleLabel":[1,"drag-handle-label"],"icon":[1],"label":[1],"selected":[1028],"value":[1],"iconSize":[32]}],[6,"swirl-option-list",{"allowDrag":[4,"allow-drag"],"assistiveTextItemGrabbed":[1,"assistive-text-item-grabbed"],"assistiveTextItemMoving":[1,"assistive-text-item-moving"],"assistiveTextItemMoved":[1,"assistive-text-item-moved"],"disabled":[4],"label":[1],"optionListId":[1,"option-list-id"],"multiSelect":[4,"multi-select"],"value":[1040],"assistiveText":[32]}],[1,"swirl-icon-check-small",{"size":[2]}],[1,"swirl-icon-drag-handle",{"size":[2]}]]],["p-d463715d",[[2,"swirl-button",{"disabled":[4],"download":[1],"swirlAriaDescribedby":[1,"swirl-aria-describedby"],"swirlAriaExpanded":[1,"swirl-aria-expanded"],"swirlAriaLabel":[1,"swirl-aria-label"],"form":[1],"hideLabel":[4,"hide-label"],"href":[1],"icon":[1],"iconPosition":[1,"icon-position"],"intent":[1],"label":[1],"name":[1],"pill":[4],"size":[1],"target":[1],"type":[1],"value":[1],"variant":[1]}]]],["p-6ff9eaeb",[[1,"swirl-inline-error",{"message":[1],"size":[1]}],[1,"swirl-spinner",{"label":[1],"size":[8]}],[1,"swirl-icon-error",{"size":[2]}]]],["p-9b0a9699",[[1,"swirl-file-viewer",{"active":[4],"autoplay":[4],"description":[1],"errorMessage":[1,"error-message"],"file":[1],"thumbnailUrl":[1,"thumbnail-url"],"type":[1],"typeUnsupportedMessage":[1,"type-unsupported-message"],"viewMode":[1,"view-mode"],"zoom":[8],"download":[64],"print":[64]}],[1,"swirl-file-viewer-csv",{"errorMessage":[1,"error-message"],"file":[1],"data":[32],"error":[32],"loading":[32]}],[1,"swirl-file-viewer-image",{"description":[1],"errorMessage":[1,"error-message"],"file":[1],"maxZoom":[2,"max-zoom"],"error":[32],"loading":[32],"getZoom":[64],"resetZoom":[64]}],[1,"swirl-file-viewer-pdf",{"errorMessage":[1,"error-message"],"file":[1],"singlePageMode":[4,"single-page-mode"],"viewMode":[1,"view-mode"],"zoom":[8],"doc":[32],"error":[32],"loading":[32],"renderedPages":[32],"scrolledDown":[32],"singlePageModePage":[32],"visiblePages":[32],"getThumbnails":[64],"print":[64],"nextPage":[64],"previousPage":[64],"setPage":[64]},[[9,"resize","onWindowResize"]]],[1,"swirl-file-viewer-text",{"errorMessage":[1,"error-message"],"file":[1],"error":[32],"loading":[32],"text":[32]}],[1,"swirl-file-viewer-audio",{"autoplay":[4],"file":[1],"type":[1]}],[1,"swirl-file-viewer-video",{"autoplay":[4],"file":[1],"type":[1]}]]]]'),e)));
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @slot content - The main content
|
|
4
|
+
* @slot content-header-tools - Button positioned next to the heading
|
|
5
|
+
* @slot heading - The main content's heading (only rendered if "heading" prop is not set).
|
|
6
|
+
* @slot navigation - The main navigation
|
|
7
|
+
* @slot overlays - Overlays like dialogs, modals and toasts
|
|
8
|
+
* @slot user - The signed in user information at the bottom of the sidebar
|
|
9
|
+
*/
|
|
2
10
|
export declare class SwirlConsoleLayout {
|
|
3
11
|
el: HTMLElement;
|
|
4
12
|
appName?: string;
|
|
5
13
|
backButonLabel?: string;
|
|
6
|
-
heading
|
|
14
|
+
heading?: string;
|
|
7
15
|
helpButonLabel?: string;
|
|
8
16
|
hideNavigationButtonLabel?: string;
|
|
9
17
|
logoText?: string;
|
|
@@ -2,7 +2,7 @@ export type SwirlTextAlign = "start" | "center" | "end";
|
|
|
2
2
|
export type SwirlTextColor = "default" | "subdued" | "critical" | "success" | "warning";
|
|
3
3
|
export type SwirlTextFontFamily = "code" | "text";
|
|
4
4
|
export type SwirlTextFontStyle = "normal" | "italic";
|
|
5
|
-
export type SwirlTextSize = "sm" | "base" | "lg";
|
|
5
|
+
export type SwirlTextSize = "sm" | "base" | "lg" | "xl" | "2xl";
|
|
6
6
|
export type SwirlTextWeight = "normal" | "medium" | "semibold" | "bold";
|
|
7
7
|
export declare class SwirlText {
|
|
8
8
|
el: HTMLElement;
|
|
@@ -327,7 +327,7 @@ export namespace Components {
|
|
|
327
327
|
interface SwirlConsoleLayout {
|
|
328
328
|
"appName"?: string;
|
|
329
329
|
"backButonLabel"?: string;
|
|
330
|
-
"heading"
|
|
330
|
+
"heading"?: string;
|
|
331
331
|
"helpButonLabel"?: string;
|
|
332
332
|
"hideNavigationButtonLabel"?: string;
|
|
333
333
|
/**
|
|
@@ -3193,7 +3193,7 @@ declare namespace LocalJSX {
|
|
|
3193
3193
|
interface SwirlConsoleLayout {
|
|
3194
3194
|
"appName"?: string;
|
|
3195
3195
|
"backButonLabel"?: string;
|
|
3196
|
-
"heading"
|
|
3196
|
+
"heading"?: string;
|
|
3197
3197
|
"helpButonLabel"?: string;
|
|
3198
3198
|
"hideNavigationButtonLabel"?: string;
|
|
3199
3199
|
"logoText"?: string;
|
package/package.json
CHANGED
package/vscode-data.json
CHANGED
|
@@ -5192,6 +5192,9 @@
|
|
|
5192
5192
|
"name": "size",
|
|
5193
5193
|
"description": "",
|
|
5194
5194
|
"values": [
|
|
5195
|
+
{
|
|
5196
|
+
"name": "2xl"
|
|
5197
|
+
},
|
|
5195
5198
|
{
|
|
5196
5199
|
"name": "base"
|
|
5197
5200
|
},
|
|
@@ -5200,6 +5203,9 @@
|
|
|
5200
5203
|
},
|
|
5201
5204
|
{
|
|
5202
5205
|
"name": "sm"
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
"name": "xl"
|
|
5203
5209
|
}
|
|
5204
5210
|
]
|
|
5205
5211
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,g as s}from"./p-05c15d47.js";import{c as r}from"./p-b7898321.js";import{b as o}from"./p-f83a5757.js";
|
|
2
|
-
/**
|
|
3
|
-
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
4
|
-
@version v5.0.2
|
|
5
|
-
@link https://github.com/yowainwright/shave#readme
|
|
6
|
-
@author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
|
|
7
|
-
@license MIT
|
|
8
|
-
**/function n(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var s,r,o=i.call(t),n=[];try{for(;(void 0===e||e-- >0)&&!(s=o.next()).done;)n.push(s.value)}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return n}function a(t,e,i){if(i||2===arguments.length)for(var s,r=0,o=e.length;r<o;r++)!s&&r in e||(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}const l=class{constructor(e){t(this,e),this.align="start",this.as="p",this.balance=void 0,this.color="default",this.fontFamily="text",this.fontStyle="normal",this.lines=void 0,this.size="base",this.truncate=void 0,this.weight="normal"}componentDidRender(){this.rebalance(),this.handleTruncation()}onWindowResize(){this.rebalance(),this.handleTruncation()}handleTruncation(){if(!this.truncate||!Boolean(this.lines)||1===this.lines)return;const t=+window.getComputedStyle(this.textEl,null).getPropertyValue("line-height").replace("px","");t>0&&function(t,e,i){if(void 0===i&&(i={}),void 0===e||isNaN(e))throw Error("maxHeight is required");var s=function(t){return"string"==typeof t?a([],n(document.querySelectorAll(t)),!1):"length"in t?a([],n(t),!1):[t]}(t);if(s.length)for(var r=i.character,o=void 0===r?"…":r,l=i.classname,h=void 0===l?"js-shave":l,x=i.spaces,c=void 0===x||x,f=i.charclassname,d=void 0===f?"js-shave-char":f,w=i.link,v=void 0===w?{}:w,m="boolean"!=typeof c||c,g=v&&"{}"!==JSON.stringify(v)&&v.href,u=g?"a":"span",b=0;b<s.length;b+=1){var p=s[b],y=p.style,z=p.querySelector("."+h),$=void 0===p.textContent?"innerText":"textContent";z&&(p.removeChild(p.querySelector("."+d)),p[$]=p[$]);var j=p[$],N=m?j.split(" "):j;if(!(N.length<2)){var B=y.height;y.height="auto";var S=y.maxHeight;if(y.maxHeight="none",p.offsetHeight<=e)y.height=B,y.maxHeight=S;else{var A=g&&v.textContent?v.textContent:o,C=document.createElement(u),H={className:d,textContent:A};for(var R in H)C[R]=H[R],C.textContent=o;if(g)for(var T in v)C[T]=v[T];for(var k=N.length-1,q=0,D=void 0;q<k;)D=q+k+1>>1,p[$]=m?N.slice(0,D).join(" "):N.slice(0,D),p.insertAdjacentElement("beforeend",C),p.offsetHeight>e?k=D-1:q=D;p[$]=m?N.slice(0,k).join(" "):N.slice(0,k),p.insertAdjacentElement("beforeend",C);var E=m?" ".concat(N.slice(k).join(" ")):N.slice(k),J=document.createTextNode(E),O=document.createElement("span");O.classList.add(h),O.style.display="none",O.appendChild(J),p.insertAdjacentElement("beforeend",O),y.height=B,y.maxHeight=S}}}}(this.textEl,t*this.lines)}rebalance(){this.balance&&Boolean(this.textEl)&&o(this.textEl)}render(){const t=this.as,s=r("text",`text--align-${this.align}`,`text--color-${this.color}`,`text--font-family-${this.fontFamily}`,`text--font-style-${this.fontStyle}`,`text--size-${this.size}`,`text--weight-${this.weight}`,{"text--truncate":this.truncate&&(!Boolean(this.lines)||1===this.lines)});return e(i,null,e(t,{class:s,ref:t=>this.textEl=t},e("slot",null)))}get el(){return s(this)}};l.style=".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{l as swirl_text}
|