@kumori/aurora-wui-components 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/axebow-icon/axebow-icon.d.ts +12 -0
- package/dist/components/axebow-icon/axebow-icon.d.ts.map +1 -0
- package/dist/components/{aurora-more-actions/aurora-more-actions.d.ts → axebow-more-actions/axebow-more-actions.d.ts} +2 -2
- package/dist/components/axebow-more-actions/axebow-more-actions.d.ts.map +1 -0
- package/dist/components/cards/{aurora-base-card.d.ts → axebow-base-card.d.ts} +6 -3
- package/dist/components/cards/axebow-base-card.d.ts.map +1 -0
- package/dist/components/cards/card.models.d.ts +4 -0
- package/dist/components/cards/card.models.d.ts.map +1 -1
- package/dist/components/cards/parts/{aurora-card-action-banner.d.ts → axebow-card-action-banner.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-action-banner.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-attention-banner.d.ts → axebow-card-attention-banner.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-attention-banner.d.ts.map → axebow-card-attention-banner.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-cloud-logo.d.ts → axebow-card-cloud-logo.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-cloud-logo.d.ts.map → axebow-card-cloud-logo.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-filter-item.d.ts → axebow-card-filter-item.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-filter-item.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-filter.d.ts → axebow-card-filter.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-filter.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-footer.d.ts → axebow-card-footer.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-footer.d.ts.map → axebow-card-footer.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-header.d.ts → axebow-card-header.d.ts} +6 -3
- package/dist/components/cards/parts/axebow-card-header.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-resource-row.d.ts → axebow-card-resource-row.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-resource-row.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-resource-table.d.ts → axebow-card-resource-table.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-resource-table.d.ts.map → axebow-card-resource-table.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-special-link.d.ts → axebow-card-special-link.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-special-link.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-stat-item.d.ts → axebow-card-stat-item.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-stat-item.d.ts.map → axebow-card-stat-item.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-stats-row.d.ts → axebow-card-stats-row.d.ts} +2 -2
- package/dist/components/cards/parts/{aurora-card-stats-row.d.ts.map → axebow-card-stats-row.d.ts.map} +1 -1
- package/dist/components/cards/parts/{aurora-card-status.d.ts → axebow-card-status.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-status.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-table-header.d.ts → axebow-card-table-header.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-table-header.d.ts.map +1 -0
- package/dist/components/cards/parts/{aurora-card-version-selector.d.ts → axebow-card-version-selector.d.ts} +2 -2
- package/dist/components/cards/parts/axebow-card-version-selector.d.ts.map +1 -0
- package/dist/components/cards/parts/axebow-role-tooltip.d.ts +9 -0
- package/dist/components/cards/parts/axebow-role-tooltip.d.ts.map +1 -0
- package/dist/index.d.ts +20 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +407 -238
- package/dist/index.js.map +1 -1
- package/dist/styles/{aurora-theme.d.ts → axebow-theme.d.ts} +2 -2
- package/dist/styles/axebow-theme.d.ts.map +1 -0
- package/dist/styles/common-styles.css +16 -0
- package/dist/styles/shoelace-style.css +49 -0
- package/dist/styles/tailwind.css +14 -0
- package/dist/styles/theme.css +67 -0
- package/package.json +3 -1
- package/dist/components/aurora-more-actions/aurora-more-actions.d.ts.map +0 -1
- package/dist/components/cards/aurora-base-card.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-action-banner.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-filter-item.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-filter.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-header.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-resource-row.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-special-link.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-status.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-table-header.d.ts.map +0 -1
- package/dist/components/cards/parts/aurora-card-version-selector.d.ts.map +0 -1
- package/dist/styles/aurora-theme.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { LitElement, css, html, unsafeCSS } from "lit";
|
|
2
2
|
import { customElement, property, state } from "lit/decorators.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import "@shoelace-style/shoelace/dist/components/tooltip/tooltip.js";
|
|
4
|
+
import "@shoelace-style/shoelace/dist/components/badge/badge.js";
|
|
5
|
+
//#region src/styles/axebow-theme.ts
|
|
6
|
+
var axebowTheme = css`
|
|
7
|
+
:host, .theme {
|
|
6
8
|
--axebow-primary: var(--color-primary, #34495e);
|
|
7
9
|
--axebow-primary-light: var(--color-primary-light, #b4cded);
|
|
8
10
|
--axebow-tertiary: var(--color-tertiary, #006bff);
|
|
@@ -35,6 +37,60 @@ var auroraTheme = css`
|
|
|
35
37
|
* {
|
|
36
38
|
font-family: 'Open Sans', sans-serif;
|
|
37
39
|
}
|
|
40
|
+
|
|
41
|
+
/** Axebow switch */
|
|
42
|
+
sl-switch::part(control) {
|
|
43
|
+
background-color: var(--axebow-light-gray);
|
|
44
|
+
}
|
|
45
|
+
sl-switch[checked]::part(control) {
|
|
46
|
+
background-color: var(--axebow-tertiary);
|
|
47
|
+
}
|
|
48
|
+
sl-switch::part(thumb) {
|
|
49
|
+
background-color: white;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** Axebow checkbox */
|
|
53
|
+
sl-checkbox[checked]::part(control) {
|
|
54
|
+
background-color: var(--axebow-tertiary);
|
|
55
|
+
border-color: var(--axebow-tertiary);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Axebow select and input global focus */
|
|
59
|
+
sl-input:focus-within::part(base),
|
|
60
|
+
sl-select:focus-within::part(combobox) {
|
|
61
|
+
border-color: var(--axebow-black) !important;
|
|
62
|
+
box-shadow: 0 0 0 1px var(--axebow-black) !important;
|
|
63
|
+
}
|
|
64
|
+
sl-select sl-option:hover::part(base) {
|
|
65
|
+
background-color: #e9ecef;
|
|
66
|
+
}
|
|
67
|
+
sl-select {
|
|
68
|
+
--sl-color-primary-50: var(--axebow-tertiary);
|
|
69
|
+
--sl-color-primary-600: var(--axebow-tertiary);
|
|
70
|
+
}
|
|
71
|
+
sl-select sl-option[checked]::part(base),
|
|
72
|
+
sl-select sl-option[current]::part(base),
|
|
73
|
+
sl-select sl-option[aria-selected='true']::part(base) {
|
|
74
|
+
background-color: var(--axebow-tertiary) !important;
|
|
75
|
+
color: white !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** Axebow tab group */
|
|
79
|
+
sl-tab-group {
|
|
80
|
+
--indicator-color: var(--axebow-tertiary);
|
|
81
|
+
}
|
|
82
|
+
sl-tab {
|
|
83
|
+
--sl-font-size-small: var(--text-base); /* 12px */
|
|
84
|
+
}
|
|
85
|
+
sl-tab::part(base) {
|
|
86
|
+
font-size: var(--text-base); /* 12px */
|
|
87
|
+
}
|
|
88
|
+
sl-tab[active]::part(base) {
|
|
89
|
+
color: var(--axebow-tertiary);
|
|
90
|
+
}
|
|
91
|
+
sl-tab:hover::part(base) {
|
|
92
|
+
color: var(--axebow-tertiary);
|
|
93
|
+
}
|
|
38
94
|
`;
|
|
39
95
|
var STATUS_COLORS = {
|
|
40
96
|
HEALTHY: "var(--axebow-success)",
|
|
@@ -44,7 +100,7 @@ var STATUS_COLORS = {
|
|
|
44
100
|
};
|
|
45
101
|
//#endregion
|
|
46
102
|
//#region src/styles/tailwind.css?inline
|
|
47
|
-
var tailwind_default = "/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n *, :before, :after, ::backdrop {\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\",\n \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-gray-100: oklch(96.7% .003 264.542);\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .75rem;\n --text-xs--line-height: calc(1 / .75);\n --text-sm: .875rem;\n --text-sm--line-height: calc(1.25 / .875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --font-weight-normal: 400;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --leading-snug: 1.375;\n --radius-sm: .25rem;\n --radius-md: .375rem;\n --radius-lg: .5rem;\n --ease-in-out: cubic-bezier(.4, 0, .2, 1);\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n\n@layer base {\n *, :after, :before, ::backdrop {\n box-sizing: border-box;\n border: 0 solid;\n margin: 0;\n padding: 0;\n }\n\n ::file-selector-button {\n box-sizing: border-box;\n border: 0 solid;\n margin: 0;\n padding: 0;\n }\n\n html, :host {\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n line-height: 1.5;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n -webkit-text-decoration: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n\n b, strong {\n font-weight: bolder;\n }\n\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n\n small {\n font-size: 80%;\n }\n\n sub, sup {\n vertical-align: baseline;\n font-size: 75%;\n line-height: 0;\n position: relative;\n }\n\n sub {\n bottom: -.25em;\n }\n\n sup {\n top: -.5em;\n }\n\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n\n :-moz-focusring {\n outline: auto;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n summary {\n display: list-item;\n }\n\n ol, ul, menu {\n list-style: none;\n }\n\n img, svg, video, canvas, audio, iframe, embed, object {\n vertical-align: middle;\n display: block;\n }\n\n img, video {\n max-width: 100%;\n height: auto;\n }\n\n button, input, select, optgroup, textarea {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n opacity: 1;\n background-color: #0000;\n border-radius: 0;\n }\n\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n opacity: 1;\n background-color: #0000;\n border-radius: 0;\n }\n\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n\n ::placeholder {\n opacity: 1;\n }\n\n @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentColor;\n }\n\n @supports (color: color-mix(in lab, red, red)) {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n\n textarea {\n resize: vertical;\n }\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n\n ::-webkit-datetime-edit {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-year-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-month-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-day-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-hour-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-minute-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-second-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-millisecond-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]) {\n appearance: button;\n }\n\n ::file-selector-button {\n appearance: button;\n }\n\n ::-webkit-inner-spin-button {\n height: auto;\n }\n\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n\n@layer components;\n\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n\n .absolute {\n position: absolute;\n }\n\n .relative {\n position: relative;\n }\n\n .static {\n position: static;\n }\n\n .top-full {\n top: 100%;\n }\n\n .right-0 {\n right: 0;\n }\n\n .bottom-full {\n bottom: 100%;\n }\n\n .left-0 {\n left: 0;\n }\n\n .z-10 {\n z-index: 10;\n }\n\n .m-0 {\n margin: 0;\n }\n\n .mt-1 {\n margin-top: var(--spacing);\n }\n\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n\n .box-border {\n box-sizing: border-box;\n }\n\n .line-clamp-1 {\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n overflow: hidden;\n }\n\n .flex {\n display: flex;\n }\n\n .grid {\n display: grid;\n }\n\n .hidden {\n display: none;\n }\n\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n\n .h-full {\n height: 100%;\n }\n\n .max-h-10 {\n max-height: calc(var(--spacing) * 10);\n }\n\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n\n .max-h-full {\n max-height: 100%;\n }\n\n .min-h-10 {\n min-height: calc(var(--spacing) * 10);\n }\n\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n\n .w-full {\n width: 100%;\n }\n\n .max-w-full {\n max-width: 100%;\n }\n\n .min-w-0 {\n min-width: 0;\n }\n\n .min-w-44 {\n min-width: calc(var(--spacing) * 44);\n }\n\n .flex-1 {\n flex: 1;\n }\n\n .shrink-0 {\n flex-shrink: 0;\n }\n\n .transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n }\n\n .cursor-default {\n cursor: default;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .grid-cols-\\[auto_auto_1fr_auto\\] {\n grid-template-columns: auto auto 1fr auto;\n }\n\n .flex-col {\n flex-direction: column;\n }\n\n .flex-row {\n flex-direction: row;\n }\n\n .flex-wrap {\n flex-wrap: wrap;\n }\n\n .items-center {\n align-items: center;\n }\n\n .justify-between {\n justify-content: space-between;\n }\n\n .justify-center {\n justify-content: center;\n }\n\n .justify-end {\n justify-content: flex-end;\n }\n\n .gap-0\\.5 {\n gap: calc(var(--spacing) * .5);\n }\n\n .gap-1 {\n gap: var(--spacing);\n }\n\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n\n .overflow-hidden {\n overflow: hidden;\n }\n\n .overflow-y-auto {\n overflow-y: auto;\n }\n\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n\n .rounded-md {\n border-radius: var(--radius-md);\n }\n\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n\n .rounded-b-lg {\n border-bottom-right-radius: var(--radius-lg);\n border-bottom-left-radius: var(--radius-lg);\n }\n\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n\n .border-t-4 {\n border-top-style: var(--tw-border-style);\n border-top-width: 4px;\n }\n\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n\n .border-none {\n --tw-border-style: none;\n border-style: none;\n }\n\n .border-\\(--axebow-gray\\) {\n border-color: var(--axebow-gray);\n }\n\n .border-\\(--axebow-light-gray\\) {\n border-color: var(--axebow-light-gray);\n }\n\n .border-\\(--axebow-secondary\\) {\n border-color: var(--axebow-secondary);\n }\n\n .border-\\[var\\(--axebow-light-gray\\)\\] {\n border-color: var(--axebow-light-gray);\n }\n\n .border-transparent {\n border-color: #0000;\n }\n\n .bg-\\(--axebow-anti-flash-white\\) {\n background-color: var(--axebow-anti-flash-white);\n }\n\n .bg-\\(--axebow-error\\) {\n background-color: var(--axebow-error);\n }\n\n .bg-\\(--axebow-gray\\) {\n background-color: var(--axebow-gray);\n }\n\n .bg-\\(--axebow-light-gray\\) {\n background-color: var(--axebow-light-gray);\n }\n\n .bg-\\(--axebow-white\\) {\n background-color: var(--axebow-white);\n }\n\n .bg-transparent {\n background-color: #0000;\n }\n\n .bg-white {\n background-color: var(--color-white);\n }\n\n .object-contain {\n object-fit: contain;\n }\n\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n\n .px-1 {\n padding-inline: var(--spacing);\n }\n\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n }\n\n .py-1 {\n padding-block: var(--spacing);\n }\n\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n\n .pt-0\\.5 {\n padding-top: calc(var(--spacing) * .5);\n }\n\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n\n .pl-6 {\n padding-left: calc(var(--spacing) * 6);\n }\n\n .text-center {\n text-align: center;\n }\n\n .text-left {\n text-align: left;\n }\n\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n\n .text-ellipsis {\n text-overflow: ellipsis;\n }\n\n .whitespace-nowrap {\n white-space: nowrap;\n }\n\n .text-\\(--axebow-error\\) {\n color: var(--axebow-error);\n }\n\n .text-\\(--axebow-gray\\) {\n color: var(--axebow-gray);\n }\n\n .text-\\(--axebow-primary\\) {\n color: var(--axebow-primary);\n }\n\n .text-\\(--axebow-rich-black\\) {\n color: var(--axebow-rich-black);\n }\n\n .text-\\(--axebow-secondary\\) {\n color: var(--axebow-secondary);\n }\n\n .text-\\(--axebow-tertiary\\) {\n color: var(--axebow-tertiary);\n }\n\n .opacity-50 {\n opacity: .5;\n }\n\n .opacity-100 {\n opacity: 1;\n }\n\n .shadow-\\[2px_2px_25px_0px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\] {\n --tw-shadow: 2px 2px 25px 0px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );\n }\n\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n\n .duration-200 {\n --tw-duration: .2s;\n transition-duration: .2s;\n }\n\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n\n @media (hover: hover) {\n .hover\\:rounded-lg:hover {\n border-radius: var(--radius-lg);\n }\n\n .hover\\:bg-\\(--axebow-light-gray\\):hover {\n background-color: var(--axebow-light-gray);\n }\n\n .hover\\:bg-\\[var\\(--axebow-anti-flash-white\\)\\]:hover {\n background-color: var(--axebow-anti-flash-white);\n }\n\n .hover\\:bg-gray-100:hover {\n background-color: var(--color-gray-100);\n }\n\n .hover\\:text-\\[var\\(--axebow-gray\\)\\]:hover {\n color: var(--axebow-gray);\n }\n\n .hover\\:shadow-\\[0_4px_12px_0_rgba\\(13\\,24\\,33\\,0\\.08\\)\\]:hover {\n --tw-shadow: 0 4px 12px 0 var(--tw-shadow-color, #0d182114);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n\n .disabled\\:pointer-events-none:disabled {\n pointer-events: none;\n }\n\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n\n .disabled\\:opacity-50:disabled {\n opacity: .5;\n }\n}\n\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-leading {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-blur {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-invert {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-duration {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ease {\n syntax: \"*\";\n inherits: false\n}\n";
|
|
103
|
+
var tailwind_default = "/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n *, :before, :after, ::backdrop {\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n\n@layer theme {\n :root, :host {\n --font-sans: \"Open Sans\", sans-serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-gray-100: oklch(96.7% .003 264.542);\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .5rem;\n --text-xs--line-height: .75rem;\n --text-sm: .625rem;\n --text-sm--line-height: .875rem;\n --text-base: .75rem;\n --text-base--line-height: 1rem;\n --text-lg: 1rem;\n --text-lg--line-height: 1.5rem;\n --text-xl: 1.125rem;\n --text-2xl: 1.25rem;\n --text-3xl: 1.5rem;\n --text-4xl: 1.875rem;\n --text-5xl: 2.25rem;\n --text-6xl: 3rem;\n --font-weight-normal: 400;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --leading-snug: 1.375;\n --radius-sm: .25rem;\n --radius-md: .375rem;\n --radius-lg: .5rem;\n --ease-in-out: cubic-bezier(.4, 0, .2, 1);\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n --text-md: .875rem;\n }\n}\n\n@layer base {\n *, :after, :before, ::backdrop {\n box-sizing: border-box;\n border: 0 solid;\n margin: 0;\n padding: 0;\n }\n\n ::file-selector-button {\n box-sizing: border-box;\n border: 0 solid;\n margin: 0;\n padding: 0;\n }\n\n html, :host {\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n line-height: 1.5;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n -webkit-text-decoration: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n\n b, strong {\n font-weight: bolder;\n }\n\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n\n small {\n font-size: 80%;\n }\n\n sub, sup {\n vertical-align: baseline;\n font-size: 75%;\n line-height: 0;\n position: relative;\n }\n\n sub {\n bottom: -.25em;\n }\n\n sup {\n top: -.5em;\n }\n\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n\n :-moz-focusring {\n outline: auto;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n summary {\n display: list-item;\n }\n\n ol, ul, menu {\n list-style: none;\n }\n\n img, svg, video, canvas, audio, iframe, embed, object {\n vertical-align: middle;\n display: block;\n }\n\n img, video {\n max-width: 100%;\n height: auto;\n }\n\n button, input, select, optgroup, textarea {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n opacity: 1;\n background-color: #0000;\n border-radius: 0;\n }\n\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n opacity: 1;\n background-color: #0000;\n border-radius: 0;\n }\n\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n\n ::placeholder {\n opacity: 1;\n }\n\n @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentColor;\n }\n\n @supports (color: color-mix(in lab, red, red)) {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n\n textarea {\n resize: vertical;\n }\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n\n ::-webkit-datetime-edit {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-year-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-month-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-day-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-hour-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-minute-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-second-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-millisecond-field {\n padding-block: 0;\n }\n\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]) {\n appearance: button;\n }\n\n ::file-selector-button {\n appearance: button;\n }\n\n ::-webkit-inner-spin-button {\n height: auto;\n }\n\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n\n@layer components;\n\n@layer utilities {\n .pointer-events-none {\n pointer-events: none;\n }\n\n .absolute {\n position: absolute;\n }\n\n .relative {\n position: relative;\n }\n\n .static {\n position: static;\n }\n\n .top-full {\n top: 100%;\n }\n\n .right-0 {\n right: 0;\n }\n\n .bottom-full {\n bottom: 100%;\n }\n\n .left-0 {\n left: 0;\n }\n\n .z-10 {\n z-index: 10;\n }\n\n .m-0 {\n margin: 0;\n }\n\n .mt-0 {\n margin-top: 0;\n }\n\n .mt-1 {\n margin-top: var(--spacing);\n }\n\n .mt-1\\.5 {\n margin-top: calc(var(--spacing) * 1.5);\n }\n\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n\n .box-border {\n box-sizing: border-box;\n }\n\n .line-clamp-1 {\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n overflow: hidden;\n }\n\n .flex {\n display: flex;\n }\n\n .grid {\n display: grid;\n }\n\n .hidden {\n display: none;\n }\n\n .inline-block {\n display: inline-block;\n }\n\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n\n .h-full {\n height: 100%;\n }\n\n .max-h-10 {\n max-height: calc(var(--spacing) * 10);\n }\n\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n\n .max-h-full {\n max-height: 100%;\n }\n\n .min-h-10 {\n min-height: calc(var(--spacing) * 10);\n }\n\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n\n .w-full {\n width: 100%;\n }\n\n .max-w-full {\n max-width: 100%;\n }\n\n .min-w-0 {\n min-width: 0;\n }\n\n .min-w-44 {\n min-width: calc(var(--spacing) * 44);\n }\n\n .flex-1 {\n flex: 1;\n }\n\n .shrink-0 {\n flex-shrink: 0;\n }\n\n .transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n }\n\n .cursor-default {\n cursor: default;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .grid-cols-\\[auto_auto_1fr_auto\\] {\n grid-template-columns: auto auto 1fr auto;\n }\n\n .flex-col {\n flex-direction: column;\n }\n\n .flex-row {\n flex-direction: row;\n }\n\n .flex-wrap {\n flex-wrap: wrap;\n }\n\n .items-center {\n align-items: center;\n }\n\n .justify-between {\n justify-content: space-between;\n }\n\n .justify-center {\n justify-content: center;\n }\n\n .justify-end {\n justify-content: flex-end;\n }\n\n .gap-0\\.5 {\n gap: calc(var(--spacing) * .5);\n }\n\n .gap-1 {\n gap: var(--spacing);\n }\n\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n\n .overflow-hidden {\n overflow: hidden;\n }\n\n .overflow-y-auto {\n overflow-y: auto;\n }\n\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n\n .rounded-md {\n border-radius: var(--radius-md);\n }\n\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n\n .rounded-b-lg {\n border-bottom-right-radius: var(--radius-lg);\n border-bottom-left-radius: var(--radius-lg);\n }\n\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n\n .border-t-4 {\n border-top-style: var(--tw-border-style);\n border-top-width: 4px;\n }\n\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n\n .border-none {\n --tw-border-style: none;\n border-style: none;\n }\n\n .border-\\(--axebow-gray\\) {\n border-color: var(--axebow-gray);\n }\n\n .border-\\(--axebow-light-gray\\) {\n border-color: var(--axebow-light-gray);\n }\n\n .border-\\(--axebow-secondary\\) {\n border-color: var(--axebow-secondary);\n }\n\n .border-\\[var\\(--axebow-light-gray\\)\\] {\n border-color: var(--axebow-light-gray);\n }\n\n .border-transparent {\n border-color: #0000;\n }\n\n .bg-\\(--axebow-anti-flash-white\\) {\n background-color: var(--axebow-anti-flash-white);\n }\n\n .bg-\\(--axebow-error\\) {\n background-color: var(--axebow-error);\n }\n\n .bg-\\(--axebow-gray\\) {\n background-color: var(--axebow-gray);\n }\n\n .bg-\\(--axebow-light-gray\\) {\n background-color: var(--axebow-light-gray);\n }\n\n .bg-\\(--axebow-white\\) {\n background-color: var(--axebow-white);\n }\n\n .bg-transparent {\n background-color: #0000;\n }\n\n .bg-white {\n background-color: var(--color-white);\n }\n\n .object-contain {\n object-fit: contain;\n }\n\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n\n .px-1 {\n padding-inline: var(--spacing);\n }\n\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n }\n\n .py-1 {\n padding-block: var(--spacing);\n }\n\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n\n .pt-0\\.5 {\n padding-top: calc(var(--spacing) * .5);\n }\n\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n\n .pl-6 {\n padding-left: calc(var(--spacing) * 6);\n }\n\n .text-center {\n text-align: center;\n }\n\n .text-left {\n text-align: left;\n }\n\n .align-middle {\n vertical-align: middle;\n }\n\n .font-\\[Material_Symbols_Outlined\\] {\n font-family: Material Symbols Outlined;\n }\n\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n\n .text-ellipsis {\n text-overflow: ellipsis;\n }\n\n .whitespace-nowrap {\n white-space: nowrap;\n }\n\n .text-\\(--axebow-error\\) {\n color: var(--axebow-error);\n }\n\n .text-\\(--axebow-gray\\) {\n color: var(--axebow-gray);\n }\n\n .text-\\(--axebow-primary\\) {\n color: var(--axebow-primary);\n }\n\n .text-\\(--axebow-rich-black\\) {\n color: var(--axebow-rich-black);\n }\n\n .text-\\(--axebow-secondary\\) {\n color: var(--axebow-secondary);\n }\n\n .text-\\(--axebow-tertiary\\) {\n color: var(--axebow-tertiary);\n }\n\n .opacity-50 {\n opacity: .5;\n }\n\n .opacity-100 {\n opacity: 1;\n }\n\n .shadow-\\[2px_2px_25px_0px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\] {\n --tw-shadow: 2px 2px 25px 0px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );\n }\n\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n\n .duration-200 {\n --tw-duration: .2s;\n transition-duration: .2s;\n }\n\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n\n .\\[font-variation-settings\\:\\'FILL\\'_0\\,\\'wght\\'_400\\,\\'GRAD\\'_0\\,\\'opsz\\'_24\\] {\n font-variation-settings: \"FILL\" 0,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24;\n }\n\n .\\[font-variation-settings\\:\\'FILL\\'_1\\,\\'wght\\'_400\\,\\'GRAD\\'_0\\,\\'opsz\\'_24\\] {\n font-variation-settings: \"FILL\" 1,\"wght\" 400,\"GRAD\" 0,\"opsz\" 24;\n }\n\n @media (hover: hover) {\n .hover\\:rounded-lg:hover {\n border-radius: var(--radius-lg);\n }\n\n .hover\\:bg-\\(--axebow-light-gray\\):hover {\n background-color: var(--axebow-light-gray);\n }\n\n .hover\\:bg-\\[var\\(--axebow-anti-flash-white\\)\\]:hover {\n background-color: var(--axebow-anti-flash-white);\n }\n\n .hover\\:bg-gray-100:hover {\n background-color: var(--color-gray-100);\n }\n\n .hover\\:text-\\[var\\(--axebow-gray\\)\\]:hover {\n color: var(--axebow-gray);\n }\n\n .hover\\:shadow-\\[0_4px_12px_0_rgba\\(13\\,24\\,33\\,0\\.08\\)\\]:hover {\n --tw-shadow: 0 4px 12px 0 var(--tw-shadow-color, #0d182114);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n\n .disabled\\:pointer-events-none:disabled {\n pointer-events: none;\n }\n\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n\n .disabled\\:opacity-50:disabled {\n opacity: .5;\n }\n}\n\n:root {\n --sl-font-sans: \"Open Sans\", sans-serif;\n --sl-font-size-2x-small: var(--text-xs);\n --sl-font-size-x-small: var(--text-xs);\n --sl-font-size-small: var(--text-sm);\n --sl-font-size-medium: var(--text-base);\n --sl-font-size-large: var(--text-md);\n --sl-font-size-x-large: var(--text-lg);\n --sl-font-size-2x-large: var(--text-xl);\n --sl-font-size-3x-large: var(--text-3xl);\n --sl-font-size-4x-large: var(--text-5xl);\n --sl-input-font-size-small: var(--text-sm);\n --sl-input-font-size-medium: var(--text-base);\n --sl-input-font-size-large: var(--text-md);\n --sl-button-font-size-small: var(--text-sm);\n --sl-button-font-size-medium: var(--text-base);\n --sl-button-font-size-large: var(--text-md);\n --sl-tooltip-font-size: var(--text-base);\n}\n\nbutton, input, select, textarea {\n font-family: inherit;\n font-size: inherit;\n}\n\ninput, select, textarea, sl-menu-item::part(label), sl-option::part(label) {\n font-size: var(--text-base);\n}\n\n.axebow-blue-button::part(base) {\n background-color: var(--axebow-tertiary);\n}\n\n.info-container-page {\n flex-wrap: wrap;\n gap: 2rem;\n display: flex;\n}\n\nsl-divider {\n background: var(--axebow-light-gray);\n height: 1px;\n margin-top: .5rem;\n margin-bottom: .5rem;\n}\n\n.axebow-shadow {\n box-shadow: 2px 2px 25px #0000001a;\n}\n\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-leading {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n\n@property --tw-blur {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-invert {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-drop-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-duration {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-ease {\n syntax: \"*\";\n inherits: false\n}\n";
|
|
48
104
|
//#endregion
|
|
49
105
|
//#region \0@oxc-project+runtime@0.139.0/helpers/esm/decorate.js
|
|
50
106
|
function __decorate(decorators, target, key, desc) {
|
|
@@ -54,8 +110,42 @@ function __decorate(decorators, target, key, desc) {
|
|
|
54
110
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
55
111
|
}
|
|
56
112
|
//#endregion
|
|
57
|
-
//#region src/components/
|
|
58
|
-
var
|
|
113
|
+
//#region src/components/axebow-icon/axebow-icon.ts
|
|
114
|
+
var AxebowIcon = class AxebowIcon extends LitElement {
|
|
115
|
+
constructor(..._args) {
|
|
116
|
+
super(..._args);
|
|
117
|
+
this.iconName = "home";
|
|
118
|
+
this.iconColor = "var(--axebow-primary)";
|
|
119
|
+
this.rotate = 0;
|
|
120
|
+
this.filled = false;
|
|
121
|
+
this.size = "medium";
|
|
122
|
+
this.marginBottom = 0;
|
|
123
|
+
}
|
|
124
|
+
static {
|
|
125
|
+
this.styles = unsafeCSS(tailwind_default);
|
|
126
|
+
}
|
|
127
|
+
render() {
|
|
128
|
+
return html`
|
|
129
|
+
<span
|
|
130
|
+
class="font-[Material_Symbols_Outlined] inline-block align-middle whitespace-nowrap ${this.filled ? "[font-variation-settings:'FILL'_1,'wght'_400,'GRAD'_0,'opsz'_24]" : "[font-variation-settings:'FILL'_0,'wght'_400,'GRAD'_0,'opsz'_24]"}"
|
|
131
|
+
style="color: ${this.iconColor}; transform: rotate(${this.rotate}deg); font-size: ${this.size === "xx-small" ? "var(--text-sm)" : this.size === "x-small" ? "var(--text-base)" : this.size === "small" ? "var(--text-lg)" : this.size === "medium" ? "var(--text-2xl)" : this.size === "large" ? "var(--text-4xl)" : this.size === "x-large" ? "var(--text-6xl)" : "var(--text-2xl)"};
|
|
132
|
+
margin-bottom: ${this.size === "xx-small" ? "0" : this.size === "x-small" ? "0" : this.size === "small" ? "0" : this.size === "medium" ? "0" : this.size === "large" ? "0.375rem" : this.size === "x-large" ? "0.5rem" : `${this.marginBottom}px`};"
|
|
133
|
+
>
|
|
134
|
+
${this.iconName}
|
|
135
|
+
</span>
|
|
136
|
+
`;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
__decorate([property({ type: String })], AxebowIcon.prototype, "iconName", void 0);
|
|
140
|
+
__decorate([property({ type: String })], AxebowIcon.prototype, "iconColor", void 0);
|
|
141
|
+
__decorate([property({ type: Number })], AxebowIcon.prototype, "rotate", void 0);
|
|
142
|
+
__decorate([property({ type: Boolean })], AxebowIcon.prototype, "filled", void 0);
|
|
143
|
+
__decorate([property({ type: String })], AxebowIcon.prototype, "size", void 0);
|
|
144
|
+
__decorate([property({ type: Number })], AxebowIcon.prototype, "marginBottom", void 0);
|
|
145
|
+
AxebowIcon = __decorate([customElement("axebow-icon")], AxebowIcon);
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/components/axebow-more-actions/axebow-more-actions.ts
|
|
148
|
+
var AxebowMoreActions = class AxebowMoreActions extends LitElement {
|
|
59
149
|
constructor(..._args) {
|
|
60
150
|
super(..._args);
|
|
61
151
|
this.open = false;
|
|
@@ -157,20 +247,20 @@ var AuroraMoreActions = class AuroraMoreActions extends LitElement {
|
|
|
157
247
|
`;
|
|
158
248
|
}
|
|
159
249
|
};
|
|
160
|
-
__decorate([property({ type: Boolean })],
|
|
161
|
-
__decorate([property({ type: String })],
|
|
162
|
-
__decorate([property({ type: Boolean })],
|
|
163
|
-
__decorate([property({ type: Array })],
|
|
164
|
-
__decorate([property({ type: String })],
|
|
165
|
-
__decorate([property({ type: String })],
|
|
166
|
-
__decorate([property({ type: Boolean })],
|
|
167
|
-
__decorate([property({ type: String })],
|
|
168
|
-
__decorate([property({ type: String })],
|
|
169
|
-
__decorate([state()],
|
|
170
|
-
|
|
250
|
+
__decorate([property({ type: Boolean })], AxebowMoreActions.prototype, "open", void 0);
|
|
251
|
+
__decorate([property({ type: String })], AxebowMoreActions.prototype, "placement", void 0);
|
|
252
|
+
__decorate([property({ type: Boolean })], AxebowMoreActions.prototype, "disabled", void 0);
|
|
253
|
+
__decorate([property({ type: Array })], AxebowMoreActions.prototype, "options", void 0);
|
|
254
|
+
__decorate([property({ type: String })], AxebowMoreActions.prototype, "title", void 0);
|
|
255
|
+
__decorate([property({ type: String })], AxebowMoreActions.prototype, "iconName", void 0);
|
|
256
|
+
__decorate([property({ type: Boolean })], AxebowMoreActions.prototype, "openToRight", void 0);
|
|
257
|
+
__decorate([property({ type: String })], AxebowMoreActions.prototype, "closeLabel", void 0);
|
|
258
|
+
__decorate([property({ type: String })], AxebowMoreActions.prototype, "moreActionsLabel", void 0);
|
|
259
|
+
__decorate([state()], AxebowMoreActions.prototype, "_fixedPos", void 0);
|
|
260
|
+
AxebowMoreActions = __decorate([customElement("axebow-more-actions")], AxebowMoreActions);
|
|
171
261
|
//#endregion
|
|
172
|
-
//#region src/components/cards/parts/
|
|
173
|
-
var
|
|
262
|
+
//#region src/components/cards/parts/axebow-card-cloud-logo.ts
|
|
263
|
+
var AxebowCardCloudLogo = class AxebowCardCloudLogo extends LitElement {
|
|
174
264
|
constructor(..._args) {
|
|
175
265
|
super(..._args);
|
|
176
266
|
this.src = null;
|
|
@@ -184,12 +274,12 @@ var AuroraCardCloudLogo = class AuroraCardCloudLogo extends LitElement {
|
|
|
184
274
|
return this.size === "small" ? html`<div class="flex items-center justify-center shrink-0" style="height:1.125rem;width:1.125rem;"><img src=${this.src} class="max-h-full max-w-full object-contain" /></div>` : html`<div class="flex items-center justify-center shrink-0" style="height:3.125rem;width:3.125rem;"><img src=${this.src} class="max-h-full max-w-full object-contain" /></div>`;
|
|
185
275
|
}
|
|
186
276
|
};
|
|
187
|
-
__decorate([property({ type: String })],
|
|
188
|
-
__decorate([property({ type: String })],
|
|
189
|
-
|
|
277
|
+
__decorate([property({ type: String })], AxebowCardCloudLogo.prototype, "src", void 0);
|
|
278
|
+
__decorate([property({ type: String })], AxebowCardCloudLogo.prototype, "size", void 0);
|
|
279
|
+
AxebowCardCloudLogo = __decorate([customElement("axebow-card-cloud-logo")], AxebowCardCloudLogo);
|
|
190
280
|
//#endregion
|
|
191
|
-
//#region src/components/cards/parts/
|
|
192
|
-
var
|
|
281
|
+
//#region src/components/cards/parts/axebow-card-version-selector.ts
|
|
282
|
+
var AxebowCardVersionSelector = class AxebowCardVersionSelector extends LitElement {
|
|
193
283
|
constructor(..._args) {
|
|
194
284
|
super(..._args);
|
|
195
285
|
this.revisions = [];
|
|
@@ -201,6 +291,8 @@ var AuroraCardVersionSelector = class AuroraCardVersionSelector extends LitEleme
|
|
|
201
291
|
sl-select {
|
|
202
292
|
--sl-input-background-color: transparent;
|
|
203
293
|
--sl-input-border-color: transparent;
|
|
294
|
+
--sl-color-primary-500: var(--axebow-tertiary);
|
|
295
|
+
--sl-color-primary-600: var(--axebow-tertiary);
|
|
204
296
|
border: none;
|
|
205
297
|
background: transparent;
|
|
206
298
|
padding: 0;
|
|
@@ -215,8 +307,10 @@ var AuroraCardVersionSelector = class AuroraCardVersionSelector extends LitEleme
|
|
|
215
307
|
min-width: 0;
|
|
216
308
|
display: inline-block;
|
|
217
309
|
}
|
|
218
|
-
sl-select::part(display-input) { padding: 0
|
|
219
|
-
sl-select::part(combobox) { padding: 0; }
|
|
310
|
+
sl-select::part(display-input) { padding: 0; font-size: 0.75rem; color: var(--axebow-tertiary); }
|
|
311
|
+
sl-select::part(combobox) { padding: 0; gap: 0.125rem; }
|
|
312
|
+
sl-select::part(expand-icon) { color: var(--axebow-tertiary); margin-inline-start: 0; }
|
|
313
|
+
sl-select::part(listbox) { border-color: var(--axebow-tertiary); }
|
|
220
314
|
`];
|
|
221
315
|
}
|
|
222
316
|
_formatRevision(id) {
|
|
@@ -240,12 +334,61 @@ var AuroraCardVersionSelector = class AuroraCardVersionSelector extends LitEleme
|
|
|
240
334
|
}));
|
|
241
335
|
}
|
|
242
336
|
};
|
|
243
|
-
__decorate([property({ type: Array })],
|
|
244
|
-
__decorate([property({ type: String })],
|
|
245
|
-
|
|
337
|
+
__decorate([property({ type: Array })], AxebowCardVersionSelector.prototype, "revisions", void 0);
|
|
338
|
+
__decorate([property({ type: String })], AxebowCardVersionSelector.prototype, "displayedRevision", void 0);
|
|
339
|
+
AxebowCardVersionSelector = __decorate([customElement("axebow-card-version-selector")], AxebowCardVersionSelector);
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region src/components/cards/parts/axebow-role-tooltip.ts
|
|
342
|
+
var AxebowRoleTooltip = class AxebowRoleTooltip extends LitElement {
|
|
343
|
+
constructor(..._args) {
|
|
344
|
+
super(..._args);
|
|
345
|
+
this.heading = "";
|
|
346
|
+
this.items = [];
|
|
347
|
+
this.color = "var(--axebow-primary)";
|
|
348
|
+
}
|
|
349
|
+
static {
|
|
350
|
+
this.styles = [unsafeCSS(tailwind_default), css`
|
|
351
|
+
:host { display: contents; }
|
|
352
|
+
sl-tooltip::part(body) {
|
|
353
|
+
background-color: var(--axebow-white);
|
|
354
|
+
color: var(--axebow-primary);
|
|
355
|
+
padding: 1rem;
|
|
356
|
+
border: 3px solid var(--axebow-table-border);
|
|
357
|
+
width: 280px;
|
|
358
|
+
}
|
|
359
|
+
ul {
|
|
360
|
+
margin: 0.5rem 0 0;
|
|
361
|
+
padding-left: 1.2rem;
|
|
362
|
+
list-style: disc;
|
|
363
|
+
}
|
|
364
|
+
li {
|
|
365
|
+
font-size: 0.8rem;
|
|
366
|
+
line-height: 1.5;
|
|
367
|
+
}
|
|
368
|
+
`];
|
|
369
|
+
}
|
|
370
|
+
render() {
|
|
371
|
+
if (!this.heading) return html``;
|
|
372
|
+
return html`
|
|
373
|
+
<sl-tooltip placement="right" hoist>
|
|
374
|
+
<div slot="content">
|
|
375
|
+
<strong>${this.heading}</strong>
|
|
376
|
+
<ul>
|
|
377
|
+
${this.items.map((item) => html`<li>${item}</li>`)}
|
|
378
|
+
</ul>
|
|
379
|
+
</div>
|
|
380
|
+
<axebow-icon iconName="info" size="small" class="cursor-pointer" iconColor=${this.color}></axebow-icon>
|
|
381
|
+
</sl-tooltip>
|
|
382
|
+
`;
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
__decorate([property({ type: String })], AxebowRoleTooltip.prototype, "heading", void 0);
|
|
386
|
+
__decorate([property({ type: Array })], AxebowRoleTooltip.prototype, "items", void 0);
|
|
387
|
+
__decorate([property({ type: String })], AxebowRoleTooltip.prototype, "color", void 0);
|
|
388
|
+
AxebowRoleTooltip = __decorate([customElement("axebow-role-tooltip")], AxebowRoleTooltip);
|
|
246
389
|
//#endregion
|
|
247
|
-
//#region src/components/cards/parts/
|
|
248
|
-
var
|
|
390
|
+
//#region src/components/cards/parts/axebow-card-header.ts
|
|
391
|
+
var AxebowCardHeader = class AxebowCardHeader extends LitElement {
|
|
249
392
|
constructor(..._args) {
|
|
250
393
|
super(..._args);
|
|
251
394
|
this.logoSrc = null;
|
|
@@ -261,6 +404,9 @@ var AuroraCardHeader = class AuroraCardHeader extends LitElement {
|
|
|
261
404
|
this.freeIaasDesc = "This environment uses free infrastructure.";
|
|
262
405
|
this.haLabel = "Highly Available";
|
|
263
406
|
this.haTitle = "High Availability enabled";
|
|
407
|
+
this.role = "";
|
|
408
|
+
this.roleTooltips = {};
|
|
409
|
+
this.roleTooltipColor = "var(--axebow-primary)";
|
|
264
410
|
}
|
|
265
411
|
static {
|
|
266
412
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
@@ -305,7 +451,7 @@ var AuroraCardHeader = class AuroraCardHeader extends LitElement {
|
|
|
305
451
|
<div class="flex flex-col flex-1 min-w-0">
|
|
306
452
|
${this.tenantOrAccount || this.logoSrc ? html`
|
|
307
453
|
<div class="flex gap-2 items-center leading-none mt-1">
|
|
308
|
-
<
|
|
454
|
+
<axebow-card-cloud-logo .src=${this.logoSrc} size="small"></axebow-card-cloud-logo>
|
|
309
455
|
<span class="text-xs font-semibold text-(--axebow-gray) leading-none">${this.tenantOrAccount}</span>
|
|
310
456
|
</div>
|
|
311
457
|
` : ""}
|
|
@@ -313,26 +459,37 @@ var AuroraCardHeader = class AuroraCardHeader extends LitElement {
|
|
|
313
459
|
<span class="font-bold text-lg text-(--axebow-primary) leading-snug pt-0.5">${this.name}</span>
|
|
314
460
|
${this._renderBadge()}
|
|
315
461
|
</div>
|
|
316
|
-
${this.subtitle ? html
|
|
462
|
+
${this.subtitle ? html`
|
|
463
|
+
<div class="text-xs text-(--axebow-gray) flex items-center gap-1 mt-1">
|
|
464
|
+
${this.subtitle}
|
|
465
|
+
${isTenant && this.roleTooltips[this.role] ? html`
|
|
466
|
+
<axebow-role-tooltip
|
|
467
|
+
.heading=${this.roleTooltips[this.role].title}
|
|
468
|
+
.items=${this.roleTooltips[this.role].items}
|
|
469
|
+
color=${this.roleTooltipColor}
|
|
470
|
+
></axebow-role-tooltip>
|
|
471
|
+
` : html`<slot name="subtitle-tooltip"></slot>`}
|
|
472
|
+
</div>
|
|
473
|
+
` : ""}
|
|
317
474
|
</div>
|
|
318
475
|
</div>
|
|
319
476
|
`;
|
|
320
477
|
return html`
|
|
321
478
|
<div class="w-full bg-(--axebow-anti-flash-white) rounded-lg flex items-center gap-3 py-2 px-3 box-border" style=${heightStyle}>
|
|
322
|
-
<
|
|
479
|
+
<axebow-card-cloud-logo .src=${this.logoSrc} size="large"></axebow-card-cloud-logo>
|
|
323
480
|
<div class="flex flex-col flex-1 min-w-0 ${isRuntime ? "justify-center" : ""}">
|
|
324
481
|
${!isRuntime && this.tenantOrAccount ? html`<span class="text-xs font-semibold text-(--axebow-gray) leading-none">${this.tenantOrAccount}</span>` : ""}
|
|
325
|
-
<div class="flex justify-between items-center">
|
|
326
|
-
<span class="font-bold ${isRuntime ? "text-base" : "text-lg"} text-(--axebow-primary) leading-snug pt-0.5">${this.name}</span>
|
|
482
|
+
<div class="flex justify-between items-center ${isRuntime ? "mt-1.5" : ""}">
|
|
483
|
+
<span class="font-bold ${isRuntime ? "text-base" : "text-lg"} text-(--axebow-primary) leading-snug ${isRuntime ? "" : "pt-0.5"}">${this.name}</span>
|
|
327
484
|
${this._renderBadge()}
|
|
328
485
|
</div>
|
|
329
486
|
${isRuntime ? html`
|
|
330
|
-
<div class="revision-wrap flex items-center mt-
|
|
331
|
-
<
|
|
487
|
+
<div class="revision-wrap flex items-center mt-0">
|
|
488
|
+
<axebow-card-version-selector
|
|
332
489
|
.revisions=${this.revisions}
|
|
333
490
|
.displayedRevision=${this.displayedRevision}
|
|
334
491
|
@revision-change=${this._onRevisionChange}
|
|
335
|
-
></
|
|
492
|
+
></axebow-card-version-selector>
|
|
336
493
|
</div>
|
|
337
494
|
` : this.subtitle ? html`<div class="text-xs text-(--axebow-gray) flex items-center gap-1 mt-1">${this.subtitle}<slot name="subtitle-tooltip"></slot></div>` : ""}
|
|
338
495
|
</div>
|
|
@@ -347,23 +504,26 @@ var AuroraCardHeader = class AuroraCardHeader extends LitElement {
|
|
|
347
504
|
}));
|
|
348
505
|
}
|
|
349
506
|
};
|
|
350
|
-
__decorate([property({ type: String })],
|
|
351
|
-
__decorate([property({ type: String })],
|
|
352
|
-
__decorate([property({ type: String })],
|
|
353
|
-
__decorate([property({ type: String })],
|
|
354
|
-
__decorate([property({ type: String })],
|
|
355
|
-
__decorate([property({ type: String })],
|
|
356
|
-
__decorate([property({ type: Array })],
|
|
357
|
-
__decorate([property({ type: String })],
|
|
358
|
-
__decorate([property({ type: String })],
|
|
359
|
-
__decorate([property({ type: String })],
|
|
360
|
-
__decorate([property({ type: String })],
|
|
361
|
-
__decorate([property({ type: String })],
|
|
362
|
-
__decorate([property({ type: String })],
|
|
363
|
-
|
|
507
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "logoSrc", void 0);
|
|
508
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "tenantOrAccount", void 0);
|
|
509
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "name", void 0);
|
|
510
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "badge", void 0);
|
|
511
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "subtitle", void 0);
|
|
512
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "cardType", void 0);
|
|
513
|
+
__decorate([property({ type: Array })], AxebowCardHeader.prototype, "revisions", void 0);
|
|
514
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "displayedRevision", void 0);
|
|
515
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "freeIaasLabel", void 0);
|
|
516
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "freeIaasTitle", void 0);
|
|
517
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "freeIaasDesc", void 0);
|
|
518
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "haLabel", void 0);
|
|
519
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "haTitle", void 0);
|
|
520
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "role", void 0);
|
|
521
|
+
__decorate([property({ type: Object })], AxebowCardHeader.prototype, "roleTooltips", void 0);
|
|
522
|
+
__decorate([property({ type: String })], AxebowCardHeader.prototype, "roleTooltipColor", void 0);
|
|
523
|
+
AxebowCardHeader = __decorate([customElement("axebow-card-header")], AxebowCardHeader);
|
|
364
524
|
//#endregion
|
|
365
|
-
//#region src/components/cards/parts/
|
|
366
|
-
var
|
|
525
|
+
//#region src/components/cards/parts/axebow-card-stat-item.ts
|
|
526
|
+
var AxebowCardStatItem = class AxebowCardStatItem extends LitElement {
|
|
367
527
|
constructor(..._args) {
|
|
368
528
|
super(..._args);
|
|
369
529
|
this.value = 0;
|
|
@@ -394,15 +554,15 @@ var AuroraCardStatItem = class AuroraCardStatItem extends LitElement {
|
|
|
394
554
|
}));
|
|
395
555
|
}
|
|
396
556
|
};
|
|
397
|
-
__decorate([property({ type: Number })],
|
|
398
|
-
__decorate([property({ type: String })],
|
|
399
|
-
__decorate([property({ type: String })],
|
|
400
|
-
__decorate([property({ type: Boolean })],
|
|
401
|
-
__decorate([property({ type: Boolean })],
|
|
402
|
-
|
|
557
|
+
__decorate([property({ type: Number })], AxebowCardStatItem.prototype, "value", void 0);
|
|
558
|
+
__decorate([property({ type: String })], AxebowCardStatItem.prototype, "title", void 0);
|
|
559
|
+
__decorate([property({ type: String })], AxebowCardStatItem.prototype, "label", void 0);
|
|
560
|
+
__decorate([property({ type: Boolean })], AxebowCardStatItem.prototype, "active", void 0);
|
|
561
|
+
__decorate([property({ type: Boolean })], AxebowCardStatItem.prototype, "compact", void 0);
|
|
562
|
+
AxebowCardStatItem = __decorate([customElement("axebow-card-stat-item")], AxebowCardStatItem);
|
|
403
563
|
//#endregion
|
|
404
|
-
//#region src/components/cards/parts/
|
|
405
|
-
var
|
|
564
|
+
//#region src/components/cards/parts/axebow-card-stats-row.ts
|
|
565
|
+
var AxebowCardStatsRow = class AxebowCardStatsRow extends LitElement {
|
|
406
566
|
constructor(..._args) {
|
|
407
567
|
super(..._args);
|
|
408
568
|
this.stats = [];
|
|
@@ -415,14 +575,14 @@ var AuroraCardStatsRow = class AuroraCardStatsRow extends LitElement {
|
|
|
415
575
|
return html`
|
|
416
576
|
<div class="grid grid-cols-3 gap-1 px-2">
|
|
417
577
|
${this.stats.map((stat, index) => html`
|
|
418
|
-
<
|
|
578
|
+
<axebow-card-stat-item
|
|
419
579
|
.value=${stat.value}
|
|
420
580
|
.title=${stat.title}
|
|
421
581
|
.label=${stat.label}
|
|
422
582
|
.active=${stat.active !== false}
|
|
423
583
|
.compact=${this.compact}
|
|
424
584
|
@label-click=${() => this._handleLabelClick(index)}
|
|
425
|
-
></
|
|
585
|
+
></axebow-card-stat-item>
|
|
426
586
|
`)}
|
|
427
587
|
</div>
|
|
428
588
|
`;
|
|
@@ -435,12 +595,12 @@ var AuroraCardStatsRow = class AuroraCardStatsRow extends LitElement {
|
|
|
435
595
|
}));
|
|
436
596
|
}
|
|
437
597
|
};
|
|
438
|
-
__decorate([property({ type: Array })],
|
|
439
|
-
__decorate([property({ type: Boolean })],
|
|
440
|
-
|
|
598
|
+
__decorate([property({ type: Array })], AxebowCardStatsRow.prototype, "stats", void 0);
|
|
599
|
+
__decorate([property({ type: Boolean })], AxebowCardStatsRow.prototype, "compact", void 0);
|
|
600
|
+
AxebowCardStatsRow = __decorate([customElement("axebow-card-stats-row")], AxebowCardStatsRow);
|
|
441
601
|
//#endregion
|
|
442
|
-
//#region src/components/cards/parts/
|
|
443
|
-
var
|
|
602
|
+
//#region src/components/cards/parts/axebow-card-filter-item.ts
|
|
603
|
+
var AxebowCardFilterItem = class AxebowCardFilterItem extends LitElement {
|
|
444
604
|
constructor(..._args) {
|
|
445
605
|
super(..._args);
|
|
446
606
|
this.name = "";
|
|
@@ -468,12 +628,12 @@ var AuroraCardFilterItem = class AuroraCardFilterItem extends LitElement {
|
|
|
468
628
|
}));
|
|
469
629
|
}
|
|
470
630
|
};
|
|
471
|
-
__decorate([property({ type: String })],
|
|
472
|
-
__decorate([property({ type: Boolean })],
|
|
473
|
-
|
|
631
|
+
__decorate([property({ type: String })], AxebowCardFilterItem.prototype, "name", void 0);
|
|
632
|
+
__decorate([property({ type: Boolean })], AxebowCardFilterItem.prototype, "showAttention", void 0);
|
|
633
|
+
AxebowCardFilterItem = __decorate([customElement("axebow-card-filter-item")], AxebowCardFilterItem);
|
|
474
634
|
//#endregion
|
|
475
|
-
//#region src/components/cards/parts/
|
|
476
|
-
var
|
|
635
|
+
//#region src/components/cards/parts/axebow-card-filter.ts
|
|
636
|
+
var AxebowCardFilter = class AxebowCardFilter extends LitElement {
|
|
477
637
|
constructor(..._args) {
|
|
478
638
|
super(..._args);
|
|
479
639
|
this.items = [];
|
|
@@ -517,11 +677,11 @@ var AuroraCardFilter = class AuroraCardFilter extends LitElement {
|
|
|
517
677
|
<div class="${this.opened ? "" : "hidden"} absolute top-full left-0 right-0 z-10 flex flex-col bg-white rounded-b-lg border border-(--axebow-light-gray) shadow-[2px_2px_25px_0px_rgba(0,0,0,0.1)] max-h-40 overflow-y-auto">
|
|
518
678
|
<p class="w-full p-2 cursor-pointer m-0 hover:bg-(--axebow-light-gray)" @click=${() => this._onSelect(null)}>${this.emptyLabel}</p>
|
|
519
679
|
${this.items.map((item) => html`
|
|
520
|
-
<
|
|
680
|
+
<axebow-card-filter-item
|
|
521
681
|
.name=${item.name}
|
|
522
682
|
.showAttention=${item.showAttention}
|
|
523
683
|
@item-select=${(e) => this._onSelect(e.detail.name)}
|
|
524
|
-
></
|
|
684
|
+
></axebow-card-filter-item>
|
|
525
685
|
`)}
|
|
526
686
|
</div>
|
|
527
687
|
</div>
|
|
@@ -547,19 +707,19 @@ var AuroraCardFilter = class AuroraCardFilter extends LitElement {
|
|
|
547
707
|
}));
|
|
548
708
|
}
|
|
549
709
|
};
|
|
550
|
-
__decorate([property({ type: Array })],
|
|
551
|
-
__decorate([property({ type: String })],
|
|
552
|
-
__decorate([property({ type: String })],
|
|
553
|
-
__decorate([property({ type: String })],
|
|
554
|
-
__decorate([property({ type: String })],
|
|
555
|
-
__decorate([property({ type: Boolean })],
|
|
556
|
-
__decorate([property({ type: Boolean })],
|
|
557
|
-
__decorate([property({ type: Boolean })],
|
|
558
|
-
__decorate([property({ type: Boolean })],
|
|
559
|
-
|
|
710
|
+
__decorate([property({ type: Array })], AxebowCardFilter.prototype, "items", void 0);
|
|
711
|
+
__decorate([property({ type: String })], AxebowCardFilter.prototype, "selected", void 0);
|
|
712
|
+
__decorate([property({ type: String })], AxebowCardFilter.prototype, "emptyLabel", void 0);
|
|
713
|
+
__decorate([property({ type: String })], AxebowCardFilter.prototype, "emptyActionLabel", void 0);
|
|
714
|
+
__decorate([property({ type: String })], AxebowCardFilter.prototype, "attentionLabel", void 0);
|
|
715
|
+
__decorate([property({ type: Boolean })], AxebowCardFilter.prototype, "showAttention", void 0);
|
|
716
|
+
__decorate([property({ type: Boolean })], AxebowCardFilter.prototype, "opened", void 0);
|
|
717
|
+
__decorate([property({ type: Boolean })], AxebowCardFilter.prototype, "isPlainRole", void 0);
|
|
718
|
+
__decorate([property({ type: Boolean })], AxebowCardFilter.prototype, "isDisabled", void 0);
|
|
719
|
+
AxebowCardFilter = __decorate([customElement("axebow-card-filter")], AxebowCardFilter);
|
|
560
720
|
//#endregion
|
|
561
|
-
//#region src/components/cards/parts/
|
|
562
|
-
var
|
|
721
|
+
//#region src/components/cards/parts/axebow-card-table-header.ts
|
|
722
|
+
var AxebowCardTableHeader = class AxebowCardTableHeader extends LitElement {
|
|
563
723
|
constructor(..._args) {
|
|
564
724
|
super(..._args);
|
|
565
725
|
this.opened = false;
|
|
@@ -632,16 +792,16 @@ var AuroraCardTableHeader = class AuroraCardTableHeader extends LitElement {
|
|
|
632
792
|
}));
|
|
633
793
|
}
|
|
634
794
|
};
|
|
635
|
-
__decorate([property({ type: Boolean })],
|
|
636
|
-
__decorate([property({ type: String })],
|
|
637
|
-
__decorate([property({ type: String })],
|
|
638
|
-
__decorate([property({ type: String })],
|
|
639
|
-
__decorate([property({ type: Boolean })],
|
|
640
|
-
__decorate([property({ type: Array })],
|
|
641
|
-
|
|
795
|
+
__decorate([property({ type: Boolean })], AxebowCardTableHeader.prototype, "opened", void 0);
|
|
796
|
+
__decorate([property({ type: String })], AxebowCardTableHeader.prototype, "filterDisplayText", void 0);
|
|
797
|
+
__decorate([property({ type: String })], AxebowCardTableHeader.prototype, "allLabel", void 0);
|
|
798
|
+
__decorate([property({ type: String })], AxebowCardTableHeader.prototype, "attentionLabel", void 0);
|
|
799
|
+
__decorate([property({ type: Boolean })], AxebowCardTableHeader.prototype, "showAttention", void 0);
|
|
800
|
+
__decorate([property({ type: Array })], AxebowCardTableHeader.prototype, "filterRoles", void 0);
|
|
801
|
+
AxebowCardTableHeader = __decorate([customElement("axebow-card-table-header")], AxebowCardTableHeader);
|
|
642
802
|
//#endregion
|
|
643
|
-
//#region src/components/cards/parts/
|
|
644
|
-
var
|
|
803
|
+
//#region src/components/cards/parts/axebow-card-special-link.ts
|
|
804
|
+
var AxebowCardSpecialLink = class AxebowCardSpecialLink extends LitElement {
|
|
645
805
|
constructor(..._args) {
|
|
646
806
|
super(..._args);
|
|
647
807
|
this.label = "";
|
|
@@ -666,13 +826,13 @@ var AuroraCardSpecialLink = class AuroraCardSpecialLink extends LitElement {
|
|
|
666
826
|
}));
|
|
667
827
|
}
|
|
668
828
|
};
|
|
669
|
-
__decorate([property({ type: String })],
|
|
670
|
-
__decorate([property({ type: String })],
|
|
671
|
-
__decorate([property({ type: String })],
|
|
672
|
-
|
|
829
|
+
__decorate([property({ type: String })], AxebowCardSpecialLink.prototype, "label", void 0);
|
|
830
|
+
__decorate([property({ type: String })], AxebowCardSpecialLink.prototype, "color", void 0);
|
|
831
|
+
__decorate([property({ type: String })], AxebowCardSpecialLink.prototype, "icon", void 0);
|
|
832
|
+
AxebowCardSpecialLink = __decorate([customElement("axebow-card-special-link")], AxebowCardSpecialLink);
|
|
673
833
|
//#endregion
|
|
674
|
-
//#region src/components/cards/parts/
|
|
675
|
-
var
|
|
834
|
+
//#region src/components/cards/parts/axebow-card-attention-banner.ts
|
|
835
|
+
var AxebowCardAttentionBanner = class AxebowCardAttentionBanner extends LitElement {
|
|
676
836
|
constructor(..._args) {
|
|
677
837
|
super(..._args);
|
|
678
838
|
this.cardType = "account";
|
|
@@ -709,11 +869,11 @@ var AuroraCardAttentionBanner = class AuroraCardAttentionBanner extends LitEleme
|
|
|
709
869
|
${this.isPlainRole ? html`<span class="text-(--axebow-error)">${this.askOwnerLabel}</span>` : html`
|
|
710
870
|
<p class="text-(--axebow-error) m-0">
|
|
711
871
|
${this.invalidCredentials ? this.invalidCredsLabel : `${this.limitReachedLabel} ${this._formatList(exceeded)}.`}
|
|
712
|
-
<
|
|
872
|
+
<axebow-card-special-link
|
|
713
873
|
.label=${this.manageLabel}
|
|
714
874
|
color="var(--axebow-error)"
|
|
715
875
|
@link-click=${this._onManage}
|
|
716
|
-
></
|
|
876
|
+
></axebow-card-special-link>
|
|
717
877
|
</p>
|
|
718
878
|
`}
|
|
719
879
|
</div>
|
|
@@ -726,20 +886,20 @@ var AuroraCardAttentionBanner = class AuroraCardAttentionBanner extends LitEleme
|
|
|
726
886
|
}));
|
|
727
887
|
}
|
|
728
888
|
};
|
|
729
|
-
__decorate([property({ type: String })],
|
|
730
|
-
__decorate([property({ type: Array })],
|
|
731
|
-
__decorate([property({ type: Number })],
|
|
732
|
-
__decorate([property({ type: Boolean })],
|
|
733
|
-
__decorate([property({ type: Boolean })],
|
|
734
|
-
__decorate([property({ type: String })],
|
|
735
|
-
__decorate([property({ type: String })],
|
|
736
|
-
__decorate([property({ type: String })],
|
|
737
|
-
__decorate([property({ type: String })],
|
|
738
|
-
__decorate([property({ type: String })],
|
|
739
|
-
|
|
889
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "cardType", void 0);
|
|
890
|
+
__decorate([property({ type: Array })], AxebowCardAttentionBanner.prototype, "tableStats", void 0);
|
|
891
|
+
__decorate([property({ type: Number })], AxebowCardAttentionBanner.prototype, "threshold", void 0);
|
|
892
|
+
__decorate([property({ type: Boolean })], AxebowCardAttentionBanner.prototype, "isPlainRole", void 0);
|
|
893
|
+
__decorate([property({ type: Boolean })], AxebowCardAttentionBanner.prototype, "invalidCredentials", void 0);
|
|
894
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "manageLabel", void 0);
|
|
895
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "askOwnerLabel", void 0);
|
|
896
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "invalidCredsLabel", void 0);
|
|
897
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "limitReachedLabel", void 0);
|
|
898
|
+
__decorate([property({ type: String })], AxebowCardAttentionBanner.prototype, "andLabel", void 0);
|
|
899
|
+
AxebowCardAttentionBanner = __decorate([customElement("axebow-card-attention-banner")], AxebowCardAttentionBanner);
|
|
740
900
|
//#endregion
|
|
741
|
-
//#region src/components/cards/parts/
|
|
742
|
-
var
|
|
901
|
+
//#region src/components/cards/parts/axebow-card-action-banner.ts
|
|
902
|
+
var AxebowCardActionBanner = class AxebowCardActionBanner extends LitElement {
|
|
743
903
|
constructor(..._args) {
|
|
744
904
|
super(..._args);
|
|
745
905
|
this.label = "View details";
|
|
@@ -769,11 +929,11 @@ var AuroraCardActionBanner = class AuroraCardActionBanner extends LitElement {
|
|
|
769
929
|
}));
|
|
770
930
|
}
|
|
771
931
|
};
|
|
772
|
-
__decorate([property({ type: String })],
|
|
773
|
-
|
|
932
|
+
__decorate([property({ type: String })], AxebowCardActionBanner.prototype, "label", void 0);
|
|
933
|
+
AxebowCardActionBanner = __decorate([customElement("axebow-card-action-banner")], AxebowCardActionBanner);
|
|
774
934
|
//#endregion
|
|
775
|
-
//#region src/components/cards/parts/
|
|
776
|
-
var
|
|
935
|
+
//#region src/components/cards/parts/axebow-card-resource-row.ts
|
|
936
|
+
var AxebowCardResourceRow = class AxebowCardResourceRow extends LitElement {
|
|
777
937
|
constructor(..._args) {
|
|
778
938
|
super(..._args);
|
|
779
939
|
this.attentionThreshold = 90;
|
|
@@ -820,13 +980,13 @@ var AuroraCardResourceRow = class AuroraCardResourceRow extends LitElement {
|
|
|
820
980
|
`;
|
|
821
981
|
}
|
|
822
982
|
};
|
|
823
|
-
__decorate([property({ type: Object })],
|
|
824
|
-
__decorate([property({ type: Number })],
|
|
825
|
-
__decorate([property({ type: Boolean })],
|
|
826
|
-
|
|
983
|
+
__decorate([property({ type: Object })], AxebowCardResourceRow.prototype, "stat", void 0);
|
|
984
|
+
__decorate([property({ type: Number })], AxebowCardResourceRow.prototype, "attentionThreshold", void 0);
|
|
985
|
+
__decorate([property({ type: Boolean })], AxebowCardResourceRow.prototype, "isLast", void 0);
|
|
986
|
+
AxebowCardResourceRow = __decorate([customElement("axebow-card-resource-row")], AxebowCardResourceRow);
|
|
827
987
|
//#endregion
|
|
828
|
-
//#region src/components/cards/parts/
|
|
829
|
-
var
|
|
988
|
+
//#region src/components/cards/parts/axebow-card-resource-table.ts
|
|
989
|
+
var AxebowCardResourceTable = class AxebowCardResourceTable extends LitElement {
|
|
830
990
|
constructor(..._args) {
|
|
831
991
|
super(..._args);
|
|
832
992
|
this.rows = [];
|
|
@@ -859,15 +1019,15 @@ var AuroraCardResourceTable = class AuroraCardResourceTable extends LitElement {
|
|
|
859
1019
|
<div>
|
|
860
1020
|
<div class="grid grid-cols-[auto_auto_1fr_auto] border-b border-(--axebow-light-gray)">
|
|
861
1021
|
${this.rows.map((stat) => html`
|
|
862
|
-
<
|
|
1022
|
+
<axebow-card-resource-row
|
|
863
1023
|
.stat=${stat}
|
|
864
1024
|
.attentionThreshold=${this.attentionThreshold}
|
|
865
1025
|
.isLast=${stat === lastVisible}
|
|
866
|
-
></
|
|
1026
|
+
></axebow-card-resource-row>
|
|
867
1027
|
`)}
|
|
868
1028
|
</div>
|
|
869
1029
|
|
|
870
|
-
${showWarning ? html`<
|
|
1030
|
+
${showWarning ? html`<axebow-card-attention-banner
|
|
871
1031
|
.invalidCredentials=${true}
|
|
872
1032
|
.isPlainRole=${this.isPlainRole}
|
|
873
1033
|
.manageLabel=${this.manageLabel}
|
|
@@ -875,7 +1035,7 @@ var AuroraCardResourceTable = class AuroraCardResourceTable extends LitElement {
|
|
|
875
1035
|
.invalidCredsLabel=${this.invalidCredsLabel}
|
|
876
1036
|
.limitReachedLabel=${this.limitReachedLabel}
|
|
877
1037
|
.andLabel=${this.andLabel}
|
|
878
|
-
></
|
|
1038
|
+
></axebow-card-attention-banner>` : showAttention ? html`<axebow-card-attention-banner
|
|
879
1039
|
.cardType=${this.cardType}
|
|
880
1040
|
.tableStats=${this.rows}
|
|
881
1041
|
.threshold=${this.attentionThreshold}
|
|
@@ -885,30 +1045,30 @@ var AuroraCardResourceTable = class AuroraCardResourceTable extends LitElement {
|
|
|
885
1045
|
.invalidCredsLabel=${this.invalidCredsLabel}
|
|
886
1046
|
.limitReachedLabel=${this.limitReachedLabel}
|
|
887
1047
|
.andLabel=${this.andLabel}
|
|
888
|
-
></
|
|
1048
|
+
></axebow-card-attention-banner>` : showAction ? html`<axebow-card-action-banner .label=${this.actionBannerLabel} @action-click=${() => this.dispatchEvent(new CustomEvent("action-click", {
|
|
889
1049
|
bubbles: true,
|
|
890
1050
|
composed: true
|
|
891
|
-
}))}></
|
|
1051
|
+
}))}></axebow-card-action-banner>` : ""}
|
|
892
1052
|
</div>
|
|
893
1053
|
`;
|
|
894
1054
|
}
|
|
895
1055
|
};
|
|
896
|
-
__decorate([property({ type: Array })],
|
|
897
|
-
__decorate([property({ type: Number })],
|
|
898
|
-
__decorate([property({ type: String })],
|
|
899
|
-
__decorate([property({ type: Boolean })],
|
|
900
|
-
__decorate([property({ type: Boolean })],
|
|
901
|
-
__decorate([property({ type: Boolean })],
|
|
902
|
-
__decorate([property({ type: String })],
|
|
903
|
-
__decorate([property({ type: String })],
|
|
904
|
-
__decorate([property({ type: String })],
|
|
905
|
-
__decorate([property({ type: String })],
|
|
906
|
-
__decorate([property({ type: String })],
|
|
907
|
-
__decorate([property({ type: String })],
|
|
908
|
-
|
|
1056
|
+
__decorate([property({ type: Array })], AxebowCardResourceTable.prototype, "rows", void 0);
|
|
1057
|
+
__decorate([property({ type: Number })], AxebowCardResourceTable.prototype, "attentionThreshold", void 0);
|
|
1058
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "cardType", void 0);
|
|
1059
|
+
__decorate([property({ type: Boolean })], AxebowCardResourceTable.prototype, "isPlainRole", void 0);
|
|
1060
|
+
__decorate([property({ type: Boolean })], AxebowCardResourceTable.prototype, "showActionBanner", void 0);
|
|
1061
|
+
__decorate([property({ type: Boolean })], AxebowCardResourceTable.prototype, "showWarningBanner", void 0);
|
|
1062
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "manageLabel", void 0);
|
|
1063
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "askOwnerLabel", void 0);
|
|
1064
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "invalidCredsLabel", void 0);
|
|
1065
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "limitReachedLabel", void 0);
|
|
1066
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "andLabel", void 0);
|
|
1067
|
+
__decorate([property({ type: String })], AxebowCardResourceTable.prototype, "actionBannerLabel", void 0);
|
|
1068
|
+
AxebowCardResourceTable = __decorate([customElement("axebow-card-resource-table")], AxebowCardResourceTable);
|
|
909
1069
|
//#endregion
|
|
910
|
-
//#region src/components/cards/parts/
|
|
911
|
-
var
|
|
1070
|
+
//#region src/components/cards/parts/axebow-card-status.ts
|
|
1071
|
+
var AxebowCardStatus = class AxebowCardStatus extends LitElement {
|
|
912
1072
|
constructor(..._args) {
|
|
913
1073
|
super(..._args);
|
|
914
1074
|
this.statusCode = "";
|
|
@@ -935,14 +1095,14 @@ var AuroraCardStatus = class AuroraCardStatus extends LitElement {
|
|
|
935
1095
|
`;
|
|
936
1096
|
}
|
|
937
1097
|
};
|
|
938
|
-
__decorate([property({ type: String })],
|
|
939
|
-
__decorate([property({ type: String })],
|
|
940
|
-
__decorate([property({ type: String })],
|
|
941
|
-
__decorate([property({ type: Boolean })],
|
|
942
|
-
|
|
1098
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "statusCode", void 0);
|
|
1099
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "statusMessage", void 0);
|
|
1100
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "borderColor", void 0);
|
|
1101
|
+
__decorate([property({ type: Boolean })], AxebowCardStatus.prototype, "showSpinner", void 0);
|
|
1102
|
+
AxebowCardStatus = __decorate([customElement("axebow-card-status")], AxebowCardStatus);
|
|
943
1103
|
//#endregion
|
|
944
|
-
//#region src/components/cards/parts/
|
|
945
|
-
var
|
|
1104
|
+
//#region src/components/cards/parts/axebow-card-footer.ts
|
|
1105
|
+
var AxebowCardFooter = class AxebowCardFooter extends LitElement {
|
|
946
1106
|
constructor(..._args) {
|
|
947
1107
|
super(..._args);
|
|
948
1108
|
this.isFreeIaaS = false;
|
|
@@ -965,16 +1125,16 @@ var AuroraCardFooter = class AuroraCardFooter extends LitElement {
|
|
|
965
1125
|
const showAction = !showDropdown && !!this.actionLabel;
|
|
966
1126
|
return html`
|
|
967
1127
|
<div class="flex justify-between items-center relative h-6 gap-2 text-xs">
|
|
968
|
-
<
|
|
1128
|
+
<axebow-card-status
|
|
969
1129
|
.statusCode=${this.statusCode}
|
|
970
1130
|
.statusMessage=${this.statusMessage}
|
|
971
1131
|
.borderColor=${this.borderColor}
|
|
972
1132
|
.showSpinner=${this.showSpinner}
|
|
973
1133
|
>
|
|
974
1134
|
<slot></slot>
|
|
975
|
-
</
|
|
1135
|
+
</axebow-card-status>
|
|
976
1136
|
${showDropdown ? html`
|
|
977
|
-
<
|
|
1137
|
+
<axebow-more-actions
|
|
978
1138
|
class="shrink-0 mr-2"
|
|
979
1139
|
placement="top"
|
|
980
1140
|
.open=${this.moreActionsOpen}
|
|
@@ -982,7 +1142,7 @@ var AuroraCardFooter = class AuroraCardFooter extends LitElement {
|
|
|
982
1142
|
.closeLabel=${this.closeLabel}
|
|
983
1143
|
.moreActionsLabel=${this.moreActionsLabel}
|
|
984
1144
|
@toggled=${this._onToggled}
|
|
985
|
-
></
|
|
1145
|
+
></axebow-more-actions>
|
|
986
1146
|
` : showAction ? html`<axebow-button variant="text" size="medium" @click=${this._onAction}>${this.actionLabel}</axebow-button>` : ""}
|
|
987
1147
|
</div>
|
|
988
1148
|
`;
|
|
@@ -1001,21 +1161,21 @@ var AuroraCardFooter = class AuroraCardFooter extends LitElement {
|
|
|
1001
1161
|
}));
|
|
1002
1162
|
}
|
|
1003
1163
|
};
|
|
1004
|
-
__decorate([property({ type: Boolean })],
|
|
1005
|
-
__decorate([property({ type: Boolean })],
|
|
1006
|
-
__decorate([property({ type: String })],
|
|
1007
|
-
__decorate([property({ type: String })],
|
|
1008
|
-
__decorate([property({ type: String })],
|
|
1009
|
-
__decorate([property({ type: Boolean })],
|
|
1010
|
-
__decorate([property({ type: Boolean })],
|
|
1011
|
-
__decorate([property({ type: Array })],
|
|
1012
|
-
__decorate([property({ type: String })],
|
|
1013
|
-
__decorate([property({ type: String })],
|
|
1014
|
-
__decorate([property({ type: String })],
|
|
1015
|
-
|
|
1164
|
+
__decorate([property({ type: Boolean })], AxebowCardFooter.prototype, "isFreeIaaS", void 0);
|
|
1165
|
+
__decorate([property({ type: Boolean })], AxebowCardFooter.prototype, "isPlainRole", void 0);
|
|
1166
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "statusCode", void 0);
|
|
1167
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "statusMessage", void 0);
|
|
1168
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "borderColor", void 0);
|
|
1169
|
+
__decorate([property({ type: Boolean })], AxebowCardFooter.prototype, "showSpinner", void 0);
|
|
1170
|
+
__decorate([property({ type: Boolean })], AxebowCardFooter.prototype, "moreActionsOpen", void 0);
|
|
1171
|
+
__decorate([property({ type: Array })], AxebowCardFooter.prototype, "moreActionsOptions", void 0);
|
|
1172
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "closeLabel", void 0);
|
|
1173
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "moreActionsLabel", void 0);
|
|
1174
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "actionLabel", void 0);
|
|
1175
|
+
AxebowCardFooter = __decorate([customElement("axebow-card-footer")], AxebowCardFooter);
|
|
1016
1176
|
//#endregion
|
|
1017
|
-
//#region src/components/cards/
|
|
1018
|
-
var
|
|
1177
|
+
//#region src/components/cards/axebow-base-card.ts
|
|
1178
|
+
var AxebowBaseCard = class AxebowBaseCard extends LitElement {
|
|
1019
1179
|
constructor(..._args) {
|
|
1020
1180
|
super(..._args);
|
|
1021
1181
|
this.cardType = "account";
|
|
@@ -1067,6 +1227,9 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1067
1227
|
this.freeIaasDesc = "This environment uses free infrastructure.";
|
|
1068
1228
|
this.haLabel = "Highly Available";
|
|
1069
1229
|
this.haTitle = "High Availability enabled";
|
|
1230
|
+
this.role = "";
|
|
1231
|
+
this.roleTooltips = {};
|
|
1232
|
+
this.roleTooltipColor = "var(--axebow-primary)";
|
|
1070
1233
|
}
|
|
1071
1234
|
static {
|
|
1072
1235
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
@@ -1097,7 +1260,7 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1097
1260
|
?inert=${this.isDeleting}
|
|
1098
1261
|
>
|
|
1099
1262
|
<div class="flex flex-col gap-2">
|
|
1100
|
-
<
|
|
1263
|
+
<axebow-card-header
|
|
1101
1264
|
.cardType=${this.cardType}
|
|
1102
1265
|
.logoSrc=${this.logoSrc}
|
|
1103
1266
|
.tenantOrAccount=${this.tenantOrAccount}
|
|
@@ -1111,6 +1274,9 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1111
1274
|
.freeIaasDesc=${this.freeIaasDesc}
|
|
1112
1275
|
.haLabel=${this.haLabel}
|
|
1113
1276
|
.haTitle=${this.haTitle}
|
|
1277
|
+
.role=${this.role}
|
|
1278
|
+
.roleTooltips=${this.roleTooltips}
|
|
1279
|
+
.roleTooltipColor=${this.roleTooltipColor}
|
|
1114
1280
|
@revision-change=${(e) => this.dispatchEvent(new CustomEvent("revision-change", {
|
|
1115
1281
|
detail: e.detail,
|
|
1116
1282
|
bubbles: true,
|
|
@@ -1118,7 +1284,7 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1118
1284
|
}))}
|
|
1119
1285
|
>
|
|
1120
1286
|
<slot slot="subtitle-tooltip" name="subtitle-tooltip"></slot>
|
|
1121
|
-
</
|
|
1287
|
+
</axebow-card-header>
|
|
1122
1288
|
|
|
1123
1289
|
<div class="w-full px-2 flex flex-col gap-2">
|
|
1124
1290
|
${isRuntime ? html`
|
|
@@ -1127,7 +1293,7 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1127
1293
|
${this.isDeployed ? html`<span class="text-(--axebow-secondary) border-2 border-(--axebow-secondary) rounded-lg py-0.5 px-1.5 whitespace-nowrap text-xs">${this.deployedLabel}</span>` : ""}
|
|
1128
1294
|
</div>
|
|
1129
1295
|
` : html`
|
|
1130
|
-
<
|
|
1296
|
+
<axebow-card-stats-row
|
|
1131
1297
|
.stats=${this.mainStats}
|
|
1132
1298
|
.compact=${this.compact}
|
|
1133
1299
|
@stat-label-click=${(e) => !this.isDeleting && this.dispatchEvent(new CustomEvent("stat-label-click", {
|
|
@@ -1135,12 +1301,12 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1135
1301
|
bubbles: true,
|
|
1136
1302
|
composed: true
|
|
1137
1303
|
}))}
|
|
1138
|
-
></
|
|
1304
|
+
></axebow-card-stats-row>
|
|
1139
1305
|
`}
|
|
1140
1306
|
|
|
1141
1307
|
<div class="w-full h-full border border-(--axebow-light-gray) rounded-md">
|
|
1142
1308
|
${isRuntime ? html`
|
|
1143
|
-
<
|
|
1309
|
+
<axebow-card-table-header
|
|
1144
1310
|
.opened=${this.filterOpened}
|
|
1145
1311
|
.filterDisplayText=${this.filterDisplayText}
|
|
1146
1312
|
.allLabel=${this.allLabel}
|
|
@@ -1156,9 +1322,9 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1156
1322
|
bubbles: true,
|
|
1157
1323
|
composed: true
|
|
1158
1324
|
}))}
|
|
1159
|
-
></
|
|
1325
|
+
></axebow-card-table-header>
|
|
1160
1326
|
` : html`
|
|
1161
|
-
<
|
|
1327
|
+
<axebow-card-filter
|
|
1162
1328
|
.items=${this.filterItems}
|
|
1163
1329
|
.selected=${this.selected}
|
|
1164
1330
|
.emptyLabel=${this.emptyLabel}
|
|
@@ -1181,10 +1347,10 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1181
1347
|
bubbles: true,
|
|
1182
1348
|
composed: true
|
|
1183
1349
|
}))}
|
|
1184
|
-
></
|
|
1350
|
+
></axebow-card-filter>
|
|
1185
1351
|
`}
|
|
1186
1352
|
|
|
1187
|
-
<
|
|
1353
|
+
<axebow-card-resource-table
|
|
1188
1354
|
.rows=${this.tableStats}
|
|
1189
1355
|
.attentionThreshold=${this.attentionThreshold}
|
|
1190
1356
|
.cardType=${this.cardType}
|
|
@@ -1205,14 +1371,14 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1205
1371
|
bubbles: true,
|
|
1206
1372
|
composed: true
|
|
1207
1373
|
}))}
|
|
1208
|
-
></
|
|
1374
|
+
></axebow-card-resource-table>
|
|
1209
1375
|
</div>
|
|
1210
1376
|
|
|
1211
1377
|
<slot name="extra-features"></slot>
|
|
1212
1378
|
</div>
|
|
1213
1379
|
</div>
|
|
1214
1380
|
|
|
1215
|
-
<
|
|
1381
|
+
<axebow-card-footer
|
|
1216
1382
|
class="mb-1 pl-2"
|
|
1217
1383
|
.isFreeIaaS=${this.isFreeIaaS}
|
|
1218
1384
|
.isPlainRole=${this.isPlainRole}
|
|
@@ -1236,7 +1402,7 @@ var AuroraBaseCard = class AuroraBaseCard extends LitElement {
|
|
|
1236
1402
|
}))}
|
|
1237
1403
|
>
|
|
1238
1404
|
<slot name="status-footer"></slot>
|
|
1239
|
-
</
|
|
1405
|
+
</axebow-card-footer>
|
|
1240
1406
|
|
|
1241
1407
|
<slot name="dialogs"></slot>
|
|
1242
1408
|
</div>
|
|
@@ -1247,57 +1413,60 @@ __decorate([property({
|
|
|
1247
1413
|
type: String,
|
|
1248
1414
|
reflect: true,
|
|
1249
1415
|
attribute: "card-type"
|
|
1250
|
-
})],
|
|
1251
|
-
__decorate([property({ type: String })],
|
|
1252
|
-
__decorate([property({ type: String })],
|
|
1253
|
-
__decorate([property({ type: String })],
|
|
1254
|
-
__decorate([property({ type: String })],
|
|
1255
|
-
__decorate([property({ type: String })],
|
|
1256
|
-
__decorate([property({ type: Array })],
|
|
1257
|
-
__decorate([property({ type: Boolean })],
|
|
1258
|
-
__decorate([property({ type: Array })],
|
|
1259
|
-
__decorate([property({ type: Number })],
|
|
1260
|
-
__decorate([property({ type: Array })],
|
|
1261
|
-
__decorate([property({ type: String })],
|
|
1262
|
-
__decorate([property({ type: Boolean })],
|
|
1263
|
-
__decorate([property({ type: String })],
|
|
1264
|
-
__decorate([property({ type: String })],
|
|
1265
|
-
__decorate([property({ type: String })],
|
|
1266
|
-
__decorate([property({ type: Boolean })],
|
|
1267
|
-
__decorate([property({ type: Boolean })],
|
|
1268
|
-
__decorate([property({ type: Boolean })],
|
|
1269
|
-
__decorate([property({ type: Boolean })],
|
|
1270
|
-
__decorate([property({ type: Array })],
|
|
1271
|
-
__decorate([property({ type: String })],
|
|
1272
|
-
__decorate([property({ type: Boolean })],
|
|
1273
|
-
__decorate([property({ type: String })],
|
|
1274
|
-
__decorate([property({ type: Array })],
|
|
1275
|
-
__decorate([property({ type: String })],
|
|
1276
|
-
__decorate([property({ type: String })],
|
|
1277
|
-
__decorate([property({ type: String })],
|
|
1278
|
-
__decorate([property({ type: String })],
|
|
1279
|
-
__decorate([property({ type: String })],
|
|
1280
|
-
__decorate([property({ type: String })],
|
|
1281
|
-
__decorate([property({ type: Boolean })],
|
|
1282
|
-
__decorate([property({ type: Boolean })],
|
|
1283
|
-
__decorate([property({ type: String })],
|
|
1284
|
-
__decorate([property({ type: String })],
|
|
1285
|
-
__decorate([property({ type: String })],
|
|
1286
|
-
__decorate([property({ type: String })],
|
|
1287
|
-
__decorate([property({ type: String })],
|
|
1288
|
-
__decorate([property({ type: String })],
|
|
1289
|
-
__decorate([property({ type: Boolean })],
|
|
1290
|
-
__decorate([property({ type: Array })],
|
|
1291
|
-
__decorate([property({ type: Boolean })],
|
|
1292
|
-
__decorate([property({ type: String })],
|
|
1293
|
-
__decorate([property({ type: String })],
|
|
1294
|
-
__decorate([property({ type: String })],
|
|
1295
|
-
__decorate([property({ type: String })],
|
|
1296
|
-
__decorate([property({ type: String })],
|
|
1297
|
-
__decorate([property({ type: String })],
|
|
1298
|
-
__decorate([property({ type: String })],
|
|
1299
|
-
|
|
1416
|
+
})], AxebowBaseCard.prototype, "cardType", void 0);
|
|
1417
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "name", void 0);
|
|
1418
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "logoSrc", void 0);
|
|
1419
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "tenantOrAccount", void 0);
|
|
1420
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "badge", void 0);
|
|
1421
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "subtitle", void 0);
|
|
1422
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "mainStats", void 0);
|
|
1423
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "compact", void 0);
|
|
1424
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "tableStats", void 0);
|
|
1425
|
+
__decorate([property({ type: Number })], AxebowBaseCard.prototype, "attentionThreshold", void 0);
|
|
1426
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "filterItems", void 0);
|
|
1427
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "selected", void 0);
|
|
1428
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "filterOpened", void 0);
|
|
1429
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "emptyLabel", void 0);
|
|
1430
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "emptyActionLabel", void 0);
|
|
1431
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "attentionLabel", void 0);
|
|
1432
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "showAttention", void 0);
|
|
1433
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "isPlainRole", void 0);
|
|
1434
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "isDeleting", void 0);
|
|
1435
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "isDisabled", void 0);
|
|
1436
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "revisions", void 0);
|
|
1437
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "displayedRevision", void 0);
|
|
1438
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "isDeployed", void 0);
|
|
1439
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "deployedLabel", void 0);
|
|
1440
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "filterRoles", void 0);
|
|
1441
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "filterDisplayText", void 0);
|
|
1442
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "allLabel", void 0);
|
|
1443
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "borderColor", void 0);
|
|
1444
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "statusCode", void 0);
|
|
1445
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "statusMessage", void 0);
|
|
1446
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "serviceDetailLabel", void 0);
|
|
1447
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "showActionBanner", void 0);
|
|
1448
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "showWarningBanner", void 0);
|
|
1449
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "manageLabel", void 0);
|
|
1450
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "askOwnerLabel", void 0);
|
|
1451
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "invalidCredsLabel", void 0);
|
|
1452
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "limitReachedLabel", void 0);
|
|
1453
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "andLabel", void 0);
|
|
1454
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "actionBannerLabel", void 0);
|
|
1455
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "moreActionsOpen", void 0);
|
|
1456
|
+
__decorate([property({ type: Array })], AxebowBaseCard.prototype, "moreActionsOptions", void 0);
|
|
1457
|
+
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "isFreeIaaS", void 0);
|
|
1458
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "closeLabel", void 0);
|
|
1459
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "moreActionsLabel", void 0);
|
|
1460
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "freeIaasLabel", void 0);
|
|
1461
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "freeIaasTitle", void 0);
|
|
1462
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "freeIaasDesc", void 0);
|
|
1463
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "haLabel", void 0);
|
|
1464
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "haTitle", void 0);
|
|
1465
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "role", void 0);
|
|
1466
|
+
__decorate([property({ type: Object })], AxebowBaseCard.prototype, "roleTooltips", void 0);
|
|
1467
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "roleTooltipColor", void 0);
|
|
1468
|
+
AxebowBaseCard = __decorate([customElement("axebow-base-card")], AxebowBaseCard);
|
|
1300
1469
|
//#endregion
|
|
1301
|
-
export {
|
|
1470
|
+
export { AxebowBaseCard, AxebowCardActionBanner, AxebowCardAttentionBanner, AxebowCardCloudLogo, AxebowCardFilter, AxebowCardFilterItem, AxebowCardFooter, AxebowCardHeader, AxebowCardResourceRow, AxebowCardResourceTable, AxebowCardSpecialLink, AxebowCardStatItem, AxebowCardStatsRow, AxebowCardStatus, AxebowCardTableHeader, AxebowCardVersionSelector, AxebowIcon, AxebowMoreActions, AxebowRoleTooltip, STATUS_COLORS, axebowTheme };
|
|
1302
1471
|
|
|
1303
1472
|
//# sourceMappingURL=index.js.map
|