@maggioli-design-system/mds-input-tip-item 1.5.3 → 1.5.5
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/cjs/mds-input-tip-item.cjs.entry.js +10 -8
- package/dist/collection/common/locale.js +10 -8
- package/dist/collection/common/number.js +5 -0
- package/dist/collection/common/slot.js +10 -1
- package/dist/collection/common/unit.js +16 -1
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +3 -1
- package/dist/collection/dictionary/button.js +20 -1
- package/dist/collection/dictionary/icon.js +1 -1
- package/dist/components/mds-input-tip-item.js +10 -8
- package/dist/documentation.json +1 -1
- package/dist/esm/mds-input-tip-item.entry.js +10 -8
- package/dist/esm-es5/mds-input-tip-item.entry.js +1 -1
- package/dist/mds-input-tip-item/p-28df55ce.system.entry.js +6 -0
- package/dist/mds-input-tip-item/p-a5c5e095.system.js +1 -1
- package/dist/stats.json +16 -15
- package/dist/types/common/number.d.ts +2 -0
- package/dist/types/common/slot.d.ts +2 -1
- package/dist/types/common/unit.d.ts +3 -1
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +3 -1
- package/dist/types/dictionary/button.d.ts +4 -1
- package/dist/types/type/button.d.ts +2 -0
- package/documentation.json +36 -2
- package/package.json +2 -2
- package/readme.md +2 -0
- package/src/common/locale.ts +10 -8
- package/src/common/number.ts +8 -0
- package/src/common/slot.ts +12 -0
- package/src/common/unit.ts +23 -0
- package/src/components/mds-input-tip-item/test/mds-input-tip.stories.tsx +8 -5
- package/src/dictionary/button.ts +25 -0
- package/src/dictionary/icon.ts +2 -1
- package/src/fixtures/icons.json +9 -1
- package/src/tailwind/components.css +1 -1
- package/src/type/button.ts +15 -0
- package/www/build/p-28df55ce.system.entry.js +6 -0
- package/www/build/p-a5c5e095.system.js +1 -1
- package/dist/mds-input-tip-item/p-514cf0ee.system.entry.js +0 -6
- package/src/fixtures/iconsauce.json +0 -310
- package/www/build/p-514cf0ee.system.entry.js +0 -6
package/documentation.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2026-02-19T16:41:28",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.27.2",
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
"parts": [],
|
|
160
160
|
"dependents": [
|
|
161
161
|
"mds-input",
|
|
162
|
+
"mds-input-date",
|
|
162
163
|
"mds-input-select"
|
|
163
164
|
],
|
|
164
165
|
"dependencies": [
|
|
@@ -171,6 +172,9 @@
|
|
|
171
172
|
"mds-input": [
|
|
172
173
|
"mds-input-tip-item"
|
|
173
174
|
],
|
|
175
|
+
"mds-input-date": [
|
|
176
|
+
"mds-input-tip-item"
|
|
177
|
+
],
|
|
174
178
|
"mds-input-select": [
|
|
175
179
|
"mds-input-tip-item"
|
|
176
180
|
]
|
|
@@ -313,6 +317,11 @@
|
|
|
313
317
|
"docstring": "",
|
|
314
318
|
"path": "src/type/text.ts"
|
|
315
319
|
},
|
|
320
|
+
"src/type/button.ts::ButtonDropdownVariantType": {
|
|
321
|
+
"declaration": "export type ButtonDropdownVariantType =\n | 'ai'\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning'",
|
|
322
|
+
"docstring": "",
|
|
323
|
+
"path": "src/type/button.ts"
|
|
324
|
+
},
|
|
316
325
|
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellType": {
|
|
317
326
|
"declaration": "export type CalendarCellType =\n | 'other'\n | 'current'\n | 'weekend'",
|
|
318
327
|
"docstring": "",
|
|
@@ -334,7 +343,7 @@
|
|
|
334
343
|
"path": "src/type/variant.ts"
|
|
335
344
|
},
|
|
336
345
|
"src/components/mds-chip/meta/interface.ts::MdsChipEvent": {
|
|
337
|
-
"declaration": "interface MdsChipEvent {\n event: Event\n element: HTMLMdsChipElement\n}",
|
|
346
|
+
"declaration": "interface MdsChipEvent {\n event: Event\n selected?: boolean\n element: HTMLMdsChipElement\n}",
|
|
338
347
|
"docstring": "",
|
|
339
348
|
"path": "src/components/mds-chip/meta/interface.ts"
|
|
340
349
|
},
|
|
@@ -543,6 +552,11 @@
|
|
|
543
552
|
"docstring": "",
|
|
544
553
|
"path": "src/type/typography.ts"
|
|
545
554
|
},
|
|
555
|
+
"src/components/mds-mention/meta/type.ts::MentionSize": {
|
|
556
|
+
"declaration": "export type MentionSize =\n | 'sm'\n | 'md'\n | 'lg'",
|
|
557
|
+
"docstring": "",
|
|
558
|
+
"path": "src/components/mds-mention/meta/type.ts"
|
|
559
|
+
},
|
|
546
560
|
"src/components/mds-modal/meta/types.ts::ModalPositionType": {
|
|
547
561
|
"declaration": "export type ModalPositionType =\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'\n | 'center'\n | 'left'\n | 'right'\n | 'top'\n | 'top-left'\n | 'top-right'",
|
|
548
562
|
"docstring": "",
|
|
@@ -583,6 +597,11 @@
|
|
|
583
597
|
"docstring": "",
|
|
584
598
|
"path": "src/components/mds-policy-ai/meta/types.ts"
|
|
585
599
|
},
|
|
600
|
+
"src/type/button.ts::TabSizeType": {
|
|
601
|
+
"declaration": "export type TabSizeType =\n | 'sm'\n | 'md'",
|
|
602
|
+
"docstring": "",
|
|
603
|
+
"path": "src/type/button.ts"
|
|
604
|
+
},
|
|
586
605
|
"src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
|
|
587
606
|
"declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
|
|
588
607
|
"docstring": "",
|
|
@@ -663,6 +682,16 @@
|
|
|
663
682
|
"docstring": "",
|
|
664
683
|
"path": "src/components/mds-radial-menu/meta/types.ts"
|
|
665
684
|
},
|
|
685
|
+
"src/components.d.ts::ModalOverflowType": {
|
|
686
|
+
"declaration": "any",
|
|
687
|
+
"docstring": "",
|
|
688
|
+
"path": "src/components.d.ts"
|
|
689
|
+
},
|
|
690
|
+
"src/components/mds-status-bar/meta/types.ts::StatusBarPositionType": {
|
|
691
|
+
"declaration": "export type StatusBarPositionType =\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'",
|
|
692
|
+
"docstring": "",
|
|
693
|
+
"path": "src/components/mds-status-bar/meta/types.ts"
|
|
694
|
+
},
|
|
666
695
|
"src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
|
|
667
696
|
"declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
|
|
668
697
|
"docstring": "",
|
|
@@ -673,6 +702,11 @@
|
|
|
673
702
|
"docstring": "",
|
|
674
703
|
"path": "src/components/mds-stepper-bar-item/meta/event-detail.ts"
|
|
675
704
|
},
|
|
705
|
+
"src/components/mds-tab/meta/type.ts::DirectionType": {
|
|
706
|
+
"declaration": "export type DirectionType =\n | 'horizontal'\n | 'vertical'",
|
|
707
|
+
"docstring": "",
|
|
708
|
+
"path": "src/components/mds-tab/meta/type.ts"
|
|
709
|
+
},
|
|
676
710
|
"src/type/animation.ts::HorizontalActionsAnimationType": {
|
|
677
711
|
"declaration": "export type HorizontalActionsAnimationType =\n | 'fade'\n | 'slide'",
|
|
678
712
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-input-tip-item",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "mds-input-tip-item is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "stencil test --spec --e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@maggioli-design-system/mds-text": "4.7.
|
|
27
|
+
"@maggioli-design-system/mds-text": "4.7.6",
|
|
28
28
|
"@maggioli-design-system/styles": "15.11.0",
|
|
29
29
|
"@stencil/core": "4.27.2"
|
|
30
30
|
},
|
package/readme.md
CHANGED
|
@@ -40,6 +40,7 @@ Type: `Promise<void>`
|
|
|
40
40
|
### Used by
|
|
41
41
|
|
|
42
42
|
- [mds-input](../mds-input)
|
|
43
|
+
- [mds-input-date](../mds-input-date)
|
|
43
44
|
- [mds-input-select](../mds-input-select)
|
|
44
45
|
|
|
45
46
|
### Depends on
|
|
@@ -51,6 +52,7 @@ Type: `Promise<void>`
|
|
|
51
52
|
graph TD;
|
|
52
53
|
mds-input-tip-item --> mds-text
|
|
53
54
|
mds-input --> mds-input-tip-item
|
|
55
|
+
mds-input-date --> mds-input-tip-item
|
|
54
56
|
mds-input-select --> mds-input-tip-item
|
|
55
57
|
style mds-input-tip-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
56
58
|
```
|
package/src/common/locale.ts
CHANGED
|
@@ -41,15 +41,17 @@ export class Locale {
|
|
|
41
41
|
|
|
42
42
|
update = (doc?: Document | ShadowRoot): void => {
|
|
43
43
|
const context = doc ?? this.element.shadowRoot
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
if (context) {
|
|
45
|
+
context.querySelectorAll('*').forEach(el => {
|
|
46
|
+
if (el.tagName.toLowerCase().startsWith('mds-')) {
|
|
47
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
48
|
+
if (el && 'updateLang' in el) {
|
|
49
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
50
|
+
(el as any).updateLang()
|
|
51
|
+
}
|
|
50
52
|
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
+
})
|
|
54
|
+
}
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
private pluralize = (tag: string | string[], context: Record<string, string | number | boolean>): string => {
|
package/src/common/slot.ts
CHANGED
|
@@ -28,8 +28,20 @@ const hasSlotted = (el: HTMLElement, name?: string): boolean => {
|
|
|
28
28
|
return false
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
const hasSlottedContent = (el: HTMLElement, name?: string): boolean => {
|
|
32
|
+
const query = name ? `slot[name="${name}"]` : 'slot:not([name])'
|
|
33
|
+
const slot: HTMLSlotElement = el.shadowRoot?.querySelector(query) as HTMLSlotElement
|
|
34
|
+
if (!slot) return false
|
|
35
|
+
|
|
36
|
+
const assignedNodes = slot.assignedNodes({ flatten: true })
|
|
37
|
+
return assignedNodes.some(node =>
|
|
38
|
+
node.nodeType === Node.TEXT_NODE && node.textContent?.trim() !== '',
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
|
|
31
42
|
export {
|
|
32
43
|
hasSlottedElements,
|
|
33
44
|
hasSlottedNodes,
|
|
45
|
+
hasSlottedContent,
|
|
34
46
|
hasSlotted,
|
|
35
47
|
}
|
package/src/common/unit.ts
CHANGED
|
@@ -11,6 +11,19 @@ const cssDurationToMilliseconds = (duration: string, defaultValue = 1000): numbe
|
|
|
11
11
|
return defaultValue
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
const cssDurationToSeconds = (duration: string, defaultValue = 1000): number => {
|
|
15
|
+
|
|
16
|
+
if (duration.includes('ms')) {
|
|
17
|
+
return Number(duration.replace('ms', '')) / 1000
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (duration.includes('s')) {
|
|
21
|
+
return Number(duration.replace('s', ''))
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return defaultValue
|
|
25
|
+
}
|
|
26
|
+
|
|
14
27
|
const cssSizeToNumber = (size: string, defaultValue = 0): number => {
|
|
15
28
|
if (size.includes('px')) {
|
|
16
29
|
return Number(size.replace('px', ''))
|
|
@@ -27,7 +40,17 @@ const cssSizeToNumber = (size: string, defaultValue = 0): number => {
|
|
|
27
40
|
return defaultValue
|
|
28
41
|
}
|
|
29
42
|
|
|
43
|
+
const cssRotationToNumber = (size: string, defaultValue = 0): number => {
|
|
44
|
+
if (size.includes('deg')) {
|
|
45
|
+
return Number(size.replace('deg', ''))
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return defaultValue
|
|
49
|
+
}
|
|
50
|
+
|
|
30
51
|
export {
|
|
31
52
|
cssDurationToMilliseconds,
|
|
53
|
+
cssDurationToSeconds,
|
|
54
|
+
cssRotationToNumber,
|
|
32
55
|
cssSizeToNumber,
|
|
33
56
|
}
|
|
@@ -6,17 +6,20 @@ export default {
|
|
|
6
6
|
argTypes: {
|
|
7
7
|
expanded: {
|
|
8
8
|
type: { name: 'boolean' },
|
|
9
|
-
description:
|
|
9
|
+
description:
|
|
10
|
+
'Specifies if the component is active and shows expanded children or not',
|
|
10
11
|
},
|
|
11
12
|
variant: {
|
|
12
|
-
description:
|
|
13
|
+
description:
|
|
14
|
+
'Specifies the position of the element relative to its container',
|
|
13
15
|
options: inputTipItemVariantDictionary,
|
|
14
16
|
control: { type: 'select' },
|
|
15
17
|
},
|
|
16
18
|
},
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
const Template = args =>
|
|
20
|
-
<mds-input-tip-item {...args}></mds-input-tip-item>
|
|
21
|
+
const Template = args => <mds-input-tip-item {...args}></mds-input-tip-item>
|
|
21
22
|
|
|
22
|
-
export const Default =
|
|
23
|
+
export const Default = {
|
|
24
|
+
render: Template,
|
|
25
|
+
}
|
package/src/dictionary/button.ts
CHANGED
|
@@ -12,6 +12,18 @@ const buttonVariantDictionary = [
|
|
|
12
12
|
'warning',
|
|
13
13
|
]
|
|
14
14
|
|
|
15
|
+
const buttonDropdownVariantDictionary = [
|
|
16
|
+
'ai',
|
|
17
|
+
'dark',
|
|
18
|
+
'error',
|
|
19
|
+
'info',
|
|
20
|
+
'light',
|
|
21
|
+
'primary',
|
|
22
|
+
'secondary',
|
|
23
|
+
'success',
|
|
24
|
+
'warning',
|
|
25
|
+
]
|
|
26
|
+
|
|
15
27
|
const buttonToneVariantDictionary = [
|
|
16
28
|
'strong',
|
|
17
29
|
'weak',
|
|
@@ -19,6 +31,11 @@ const buttonToneVariantDictionary = [
|
|
|
19
31
|
'quiet',
|
|
20
32
|
]
|
|
21
33
|
|
|
34
|
+
const buttonToneMinimalVariantDictionary = [
|
|
35
|
+
'strong',
|
|
36
|
+
'weak',
|
|
37
|
+
]
|
|
38
|
+
|
|
22
39
|
const buttonTargetDictionary = [
|
|
23
40
|
'blank',
|
|
24
41
|
'self',
|
|
@@ -31,6 +48,11 @@ const buttonSizeDictionary = [
|
|
|
31
48
|
'xl',
|
|
32
49
|
]
|
|
33
50
|
|
|
51
|
+
const tabSizeDictionary = [
|
|
52
|
+
'sm',
|
|
53
|
+
'md',
|
|
54
|
+
]
|
|
55
|
+
|
|
34
56
|
const buttonIconPositionDictionary = [
|
|
35
57
|
'left',
|
|
36
58
|
'right',
|
|
@@ -43,10 +65,13 @@ const buttonTypeDictionary = [
|
|
|
43
65
|
]
|
|
44
66
|
|
|
45
67
|
export {
|
|
68
|
+
buttonDropdownVariantDictionary,
|
|
46
69
|
buttonIconPositionDictionary,
|
|
47
70
|
buttonSizeDictionary,
|
|
48
71
|
buttonTargetDictionary,
|
|
72
|
+
buttonToneMinimalVariantDictionary,
|
|
49
73
|
buttonToneVariantDictionary,
|
|
50
74
|
buttonTypeDictionary,
|
|
51
75
|
buttonVariantDictionary,
|
|
76
|
+
tabSizeDictionary,
|
|
52
77
|
}
|
package/src/dictionary/icon.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import jsonIconsDictionary from '../fixtures/icons.json'
|
|
2
|
-
import jsonMggIconsDictionary from '
|
|
2
|
+
import jsonMggIconsDictionary from '@maggioli-design-system/svg-icons/dist/iconsauce.json'
|
|
3
|
+
|
|
3
4
|
const iconsDictionary = jsonIconsDictionary
|
|
4
5
|
const mggIconsDictionary = jsonMggIconsDictionary
|
|
5
6
|
const svgIconsDictionary = [
|
package/src/fixtures/icons.json
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"mdi/baseball",
|
|
7
7
|
"mdi/crown",
|
|
8
8
|
"mdi/delete",
|
|
9
|
-
"mdi/dots-vertical",
|
|
10
9
|
"mdi/email",
|
|
11
10
|
"mdi/eye-off-outline",
|
|
12
11
|
"mdi/file-document-remove-outline",
|
|
@@ -343,6 +342,7 @@
|
|
|
343
342
|
"mi/baseline/add-circle",
|
|
344
343
|
"mi/baseline/adobe",
|
|
345
344
|
"mi/baseline/agriculture",
|
|
345
|
+
"mi/baseline/alternate-email",
|
|
346
346
|
"mi/baseline/animation",
|
|
347
347
|
"mi/baseline/arrow-back",
|
|
348
348
|
"mi/baseline/arrow-back-ios-new",
|
|
@@ -376,6 +376,7 @@
|
|
|
376
376
|
"mi/baseline/directions-run",
|
|
377
377
|
"mi/baseline/directions-walk",
|
|
378
378
|
"mi/baseline/done",
|
|
379
|
+
"mi/baseline/done-all",
|
|
379
380
|
"mi/baseline/downhill-skiing",
|
|
380
381
|
"mi/baseline/draw",
|
|
381
382
|
"mi/baseline/eco",
|
|
@@ -426,6 +427,7 @@
|
|
|
426
427
|
"mi/baseline/remove-circle",
|
|
427
428
|
"mi/baseline/remove-red-eye",
|
|
428
429
|
"mi/baseline/route",
|
|
430
|
+
"mi/baseline/search",
|
|
429
431
|
"mi/baseline/send",
|
|
430
432
|
"mi/baseline/settings",
|
|
431
433
|
"mi/baseline/south",
|
|
@@ -433,6 +435,8 @@
|
|
|
433
435
|
"mi/baseline/sports-soccer",
|
|
434
436
|
"mi/baseline/stadium",
|
|
435
437
|
"mi/baseline/terminal",
|
|
438
|
+
"mi/baseline/text-format",
|
|
439
|
+
"mi/baseline/text-rotate-up",
|
|
436
440
|
"mi/baseline/timer",
|
|
437
441
|
"mi/baseline/tv",
|
|
438
442
|
"mi/baseline/undo",
|
|
@@ -446,16 +450,20 @@
|
|
|
446
450
|
"mi/baseline/warning",
|
|
447
451
|
"mi/baseline/warning-amber",
|
|
448
452
|
"mi/baseline/web",
|
|
453
|
+
"mi/baseline/wrap-text",
|
|
449
454
|
"mi/baseline/wysiwyg",
|
|
450
455
|
"mi/outline/auto-awesome",
|
|
451
456
|
"mi/outline/backspace",
|
|
452
457
|
"mi/outline/circle",
|
|
453
458
|
"mi/outline/dark-mode",
|
|
454
459
|
"mi/outline/help-outline",
|
|
460
|
+
"mi/outline/ios-share",
|
|
455
461
|
"mi/outline/mic",
|
|
456
462
|
"mi/outline/mic-off",
|
|
457
463
|
"mi/outline/policy",
|
|
458
464
|
"mi/outline/schedule",
|
|
465
|
+
"mi/outline/thumb-down",
|
|
466
|
+
"mi/outline/thumb-up",
|
|
459
467
|
"mi/round/arrow-circle-down",
|
|
460
468
|
"mi/round/email",
|
|
461
469
|
"mi/round/menu",
|
package/src/type/button.ts
CHANGED
|
@@ -14,6 +14,10 @@ export type ButtonSizeType =
|
|
|
14
14
|
| 'lg'
|
|
15
15
|
| 'xl'
|
|
16
16
|
|
|
17
|
+
export type TabSizeType =
|
|
18
|
+
| 'sm'
|
|
19
|
+
| 'md'
|
|
20
|
+
|
|
17
21
|
export type ButtonIconPositionType =
|
|
18
22
|
| 'left'
|
|
19
23
|
| 'right'
|
|
@@ -30,3 +34,14 @@ export type ButtonVariantType =
|
|
|
30
34
|
| 'secondary'
|
|
31
35
|
| 'success'
|
|
32
36
|
| 'warning'
|
|
37
|
+
|
|
38
|
+
export type ButtonDropdownVariantType =
|
|
39
|
+
| 'ai'
|
|
40
|
+
| 'dark'
|
|
41
|
+
| 'error'
|
|
42
|
+
| 'info'
|
|
43
|
+
| 'light'
|
|
44
|
+
| 'primary'
|
|
45
|
+
| 'secondary'
|
|
46
|
+
| 'success'
|
|
47
|
+
| 'warning'
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,i){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function d(t){try{o(i.next(t))}catch(t){a(t)}}function s(t){try{o(i["throw"](t))}catch(t){a(t)}}function o(t){t.done?r(t.value):n(t.value).then(d,s)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,d;return d={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function s(t){return function(e){return o([t,e])}}function o(s){if(i)throw new TypeError("Generator is already executing.");while(d&&(d=0,s[0]&&(r=0)),r)try{if(i=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];n=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f3fcd277.system.js"],(function(t){"use strict";var e,r,i,n;return{setters:[function(t){e=t.r;r=t.h;i=t.H;n=t.g}],execute:function(){var a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19L21 7l-1.4-1.4L9 16.2z"/></svg>';var d=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var s={exports:{}};(function(t,e){(function(e,r){t.exports=r()})(d,(function(){
|
|
2
|
+
/*!
|
|
3
|
+
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
4
|
+
* http://github.com/janl/mustache.js
|
|
5
|
+
*/
|
|
6
|
+
var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function i(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var u=/\S/;function h(t){return!o(u,t)}var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return c[e]}))}var m=/\s*/;var y=/\s+/;var l=/\s*=/;var p=/\s*\}/;var b=/#|\^|\/|>|\{|&|=|!/;function v(t,r){if(!t)return[];var i=false;var a=[];var d=[];var s=[];var o=false;var u=false;var c="";var f=0;function v(){if(o&&!u){while(s.length)delete d[s.pop()]}else{s=[]}o=false;u=false}var x,j,E;function _(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");j=new RegExp("\\s*"+n(t[1]));E=new RegExp("\\s*"+n("}"+t[1]))}_(r||q.tags);var S=new k(t);var z,R,C,L,T,O;while(!S.eos()){z=S.pos;C=S.scanUntil(x);if(C){for(var D=0,U=C.length;D<U;++D){L=C.charAt(D);if(h(L)){s.push(d.length);c+=L}else{u=true;i=true;c+=" "}d.push(["text",L,z,z+1]);z+=1;if(L==="\n"){v();c="";f=0;i=false}}}if(!S.scan(x))break;o=true;R=S.scan(b)||"name";S.scan(m);if(R==="="){C=S.scanUntil(l);S.scan(l);S.scanUntil(j)}else if(R==="{"){C=S.scanUntil(E);S.scan(p);S.scanUntil(j);R="&"}else{C=S.scanUntil(j)}if(!S.scan(j))throw new Error("Unclosed tag at "+S.pos);if(R==">"){T=[R,C,z,S.pos,c,f,i]}else{T=[R,C,z,S.pos]}f++;d.push(T);if(R==="#"||R==="^"){a.push(T)}else if(R==="/"){O=a.pop();if(!O)throw new Error('Unopened section "'+C+'" at '+z);if(O[1]!==C)throw new Error('Unclosed section "'+O[1]+'" at '+z)}else if(R==="name"||R==="{"||R==="&"){u=true}else if(R==="="){_(C)}}v();O=a.pop();if(O)throw new Error('Unclosed section "'+O[1]+'" at '+S.pos);return w(g(d))}function g(t){var e=[];var r,i;for(var n=0,a=t.length;n<a;++n){r=t[n];if(r){if(r[0]==="text"&&i&&i[0]==="text"){i[1]+=r[1];i[3]=r[3]}else{e.push(r);i=r}}}return e}function w(t){var e=[];var r=e;var i=[];var n,a;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);i.push(n);r=n[4]=[];break;case"/":a=i.pop();a[5]=n[2];r=i.length>0?i[i.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var i=r[0];this.tail=this.tail.substring(i.length);this.pos+=i.length;return i};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),i;switch(r){case-1:i=this.tail;this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=i.length;return i};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var i=this.cache;var n;if(i.hasOwnProperty(e)){n=i[e]}else{var s=this,o,u,h,c=false;while(s){if(e.indexOf(".")>0){o=s.view;u=e.split(".");h=0;while(o!=null&&h<u.length){if(h===u.length-1)c=a(o,u[h])||d(o,u[h]);o=o[u[h++]]}}else{o=s.view[e];c=a(s.view,e)}if(c){n=o;break}s=s.parent}i[e]=n}if(r(n))n=n.call(this.view);return n};function j(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}j.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};j.prototype.parse=function t(e,r){var i=this.templateCache;var n=e+":"+(r||q.tags).join(":");var a=typeof i!=="undefined";var d=a?i.get(n):undefined;if(d==undefined){d=v(e,r);a&&i.set(n,d)}return d};j.prototype.render=function t(e,r,i,n){var a=this.getConfigTags(n);var d=this.parse(e,a);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,i,e,n)};j.prototype.renderTokens=function t(e,r,i,n,a){var d="";var s,o,u;for(var h=0,c=e.length;h<c;++h){u=undefined;s=e[h];o=s[0];if(o==="#")u=this.renderSection(s,r,i,n,a);else if(o==="^")u=this.renderInverted(s,r,i,n,a);else if(o===">")u=this.renderPartial(s,r,i,a);else if(o==="&")u=this.unescapedValue(s,r);else if(o==="name")u=this.escapedValue(s,r,a);else if(o==="text")u=this.rawValue(s);if(u!==undefined)d+=u}return d};j.prototype.renderSection=function t(i,n,a,d,s){var o=this;var u="";var h=n.lookup(i[1]);function c(t){return o.render(t,n,a,s)}if(!h)return;if(e(h)){for(var f=0,m=h.length;f<m;++f){u+=this.renderTokens(i[4],n.push(h[f]),a,d,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){u+=this.renderTokens(i[4],n.push(h),a,d,s)}else if(r(h)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(n.view,d.slice(i[3],i[5]),c);if(h!=null)u+=h}else{u+=this.renderTokens(i[4],n,a,d,s)}return u};j.prototype.renderInverted=function t(r,i,n,a,d){var s=i.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],i,n,a,d)};j.prototype.indentPartial=function t(e,r,i){var n=r.replace(/[^ \t]/g,"");var a=e.split("\n");for(var d=0;d<a.length;d++){if(a[d].length&&(d>0||!i)){a[d]=n+a[d]}}return a.join("\n")};j.prototype.renderPartial=function t(e,i,n,a){if(!n)return;var d=this.getConfigTags(a);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var u=e[5];var h=e[4];var c=s;if(u==0&&h){c=this.indentPartial(s,h,o)}var f=this.parse(c,d);return this.renderTokens(f,i,n,c,a)}};j.prototype.unescapedValue=function t(e,r){var i=r.lookup(e[1]);if(i!=null)return i};j.prototype.escapedValue=function t(e,r,i){var n=this.getConfigEscape(i)||q.escape;var a=r.lookup(e[1]);if(a!=null)return typeof a==="number"&&n===q.escape?String(a):n(a)};j.prototype.rawValue=function t(e){return e[1]};j.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};j.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var q={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){E.templateCache=t},get templateCache(){return E.templateCache}};var E=new j;q.clearCache=function t(){return E.clearCache()};q.parse=function t(e,r){return E.parse(e,r)};q.render=function t(e,r,n,a){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+i(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return E.render(e,r,n,a)};q.escape=f;q.Scanner=k;q.Context=x;q.Writer=j;return q}))})(s);var o=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;if(r){r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))}};this.pluralize=function(t,r){var i=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(i)){n.push(i[0]);n.push(i[1])}else{n.push(i);n.push(i)}var a=n[0];var d=a;var o=Object.keys(r);if(o.length>0){var u=o[0];if(typeof r[u]==="number"){if(r[u]!==1){d=n[1]}}}return s.exports.render(d,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var u="Απαιτείται";var h="Απενεργοποιημένο";var c="Μόνο για ανάγνωση";var f={required:u,disabled:h,readonly:c};var m="Required";var y="Disabled";var l="Read only";var p={required:m,disabled:y,readonly:l};var b="Requerido";var v="Deshabilitado";var g="Solo lectura";var w={required:b,disabled:v,readonly:g};var k="Obbligatorio";var x="Disattivato";var j="Sola lettura";var q={required:k,disabled:x,readonly:j};var E='@tailwind components; :host{--mds-input-tip-item-background:rgb(var(--tone-neutral-01));--mds-input-tip-item-color:rgb(var(--tone-neutral));--mds-input-tip-item-icon-color:rgb(var(--tone-neutral));height:0.75rem;border-radius:0.375rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-input-tip-item-background);color:var(--mds-input-tip-item-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;min-width:0.75rem;padding:0;pointer-events:none;position:static;text-align:center;-webkit-transform:translate(0, 0);transform:translate(0, 0);-webkit-transition-property:background-color, border-radius, color, padding-left, padding-right, -webkit-transform;transition-property:background-color, border-radius, color, padding-left, padding-right, -webkit-transform;transition-property:background-color, border-radius, color, padding-left, padding-right, transform;transition-property:background-color, border-radius, color, padding-left, padding-right, transform, -webkit-transform;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.content{height:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;-webkit-transition-property:grid-template-columns, opacity;transition-property:grid-template-columns, opacity;transition-property:grid-template-columns, opacity, -ms-grid-columns}.text{line-height:0.75rem}.icon{display:-ms-flexbox;display:flex}.icon svg{aspect-ratio:1/1;height:100%;width:100%}.icon{height:0.75rem;width:0.75rem;fill:var(--mds-input-tip-item-icon-color);-webkit-transform:translateY(-1px);transform:translateY(-1px)}:host(:not([expanded])){color:transparent}:host([expanded]){padding-left:0.5rem;padding-right:0.5rem;--mds-input-tip-item-color:rgb(var(--tone-neutral))}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant="required"]){--mds-input-tip-item-background:rgb(var(--status-error-05))}:host([variant="required-success"]){--mds-input-tip-item-background:rgb(var(--status-success-05))}:host([variant="readonly"]){--mds-input-tip-item-background:rgb(var(--status-info-05))}:host([variant="disabled"]){--mds-input-tip-item-background:rgb(var(--tone-neutral-05))}:host([variant="text"]){--mds-input-tip-item-background:rgb(var(--tone-neutral-03))}:host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-02));--mds-input-tip-item-background:rgb(var(--status-info-08))}:host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-02));--mds-input-tip-item-background:rgb(var(--status-success-08))}:host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-02));--mds-input-tip-item-background:rgb(var(--status-warning-08))}:host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-02));--mds-input-tip-item-background:rgb(var(--status-error-08))}:host([variant="count-full"]){--mds-input-tip-item-color:rgb(var(--status-error-09));--mds-input-tip-item-background:rgb(var(--status-error-05))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .content{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .content{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-contrast-more):host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-10));--mds-input-tip-item-background:rgb(var(--status-info-05))}:host-context(.pref-contrast-more):host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-10));--mds-input-tip-item-background:rgb(var(--status-success-05))}:host-context(.pref-contrast-more):host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-10));--mds-input-tip-item-background:rgb(var(--status-warning-05))}:host-context(.pref-contrast-more):host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-10));--mds-input-tip-item-background:rgb(var(--status-error-05))}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-10));--mds-input-tip-item-background:rgb(var(--status-info-05))}:host-context(.pref-contrast-system):host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-10));--mds-input-tip-item-background:rgb(var(--status-success-05))}:host-context(.pref-contrast-system):host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-10));--mds-input-tip-item-background:rgb(var(--status-warning-05))}:host-context(.pref-contrast-system):host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-10));--mds-input-tip-item-background:rgb(var(--status-error-05))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var _=E;var S=t("mds_input_tip_item",function(){function t(t){e(this,t);this.t=new o({en:p,el:f,es:w,it:q});this.variant="required"}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.element);return[2]}))}))};t.prototype.componentWillRender=function(){this.t.lang(this.element)};t.prototype.handleEcpandedChanged=function(t){if(t===false){this.expanded=undefined}};t.prototype.render=function(){return r(i,{key:"f33ad71b08aa4883c7260e20e7f9b8f43dcf0519"},r("div",{key:"5b67c52055c0095cca9227159467b683d5ea0f51",class:"content"},this.variant==="text"&&r("mds-text",{key:"cd394cc4c4af8a6614c5dc822c0bb18eb6e42c91",typography:"option",truncate:"word"},r("span",{key:"b7ddcd89a9b15a5d5f9ec6ba25c1e89d62c88663",class:"text"},r("slot",{key:"91cc7606f0788161127653082871d34877367ec2"}))),this.variant==="readonly"&&r("mds-text",{key:"d32601380ff2619d3bd92c4ca0b39d7bad4b54fb",typography:"option",truncate:"word"},r("span",{key:"9a38d81925d19762ca42301d6c6ed97f6f967031",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="disabled"&&r("mds-text",{key:"00033b59e084466020cb3e1a2b68d3be119c5bf0",typography:"option",truncate:"word"},r("span",{key:"3f165a5b0b1203a560aaaef5de029fb3418d7ab6",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required"&&r("mds-text",{key:"d50e0f3f3ad8648fb2a5d03c4b61a3930d3f20a4",typography:"option",truncate:"word"},r("span",{key:"f99be6cb7039922aaed356489a85b2b33dbe8794",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required-success"&&r("span",{key:"84481ab95da9f97954878fa341537790404f34b6",class:"icon",innerHTML:a}),(this.variant==="count-almost"||this.variant==="count-almost-full"||this.variant==="count-empty"||this.variant==="count-full"||this.variant==="count-incomplete")&&r("mds-text",{key:"43adceea6ad36da642f5a02cbf9c54c44e5b9f40",typography:"option",truncate:"word"},r("span",{key:"0bb53315c34315233c64846e0c3f4ad120d10359",class:"text"},r("slot",{key:"427514dbe5a58065d5eba66a1be77530d99c8957"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["handleEcpandedChanged"]}},enumerable:false,configurable:true});return t}());S.style=_}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,u){function a(n){try{o(r.next(n))}catch(n){u(n)}}function c(n){try{o(r["throw"](n))}catch(n){u(n)}}function o(n){n.done?e(n.value):i(n.value).then(a,c)}o((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(n){return function(t){return o([n,t])}}function o(c){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(e=0)),e)try{if(r=1,i&&(u=c[0]&2?i["return"]:c[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;if(i=0,u)c=[c[0]&2,u.value];switch(c[0]){case 0:case 1:u=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){e.label=c[1];break}if(c[0]===6&&e.label<u[1]){e.label=u[1];u=c;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(c);break}if(u[2])e.ops.pop();e.trys.pop();continue}c=t.call(n,e)}catch(n){c=[6,n];i=0}finally{r=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-f3fcd277.system.js","./p-56ba5cbf.system.js"],(function(n,t){"use strict";var e,r,i;return{setters:[function(t){e=t.p;r=t.b;n("setNonce",t.s)},function(n){i=n.g}],execute:function(){var n=this;var u=function(){var n=t.meta.url;var r={};if(n!==""){r.resourcesUrl=new URL(".",n).href}return e(r)};u().then((function(t){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,i()];case 1:n.sent();return[2,r([["p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,u){function a(n){try{o(r.next(n))}catch(n){u(n)}}function c(n){try{o(r["throw"](n))}catch(n){u(n)}}function o(n){n.done?e(n.value):i(n.value).then(a,c)}o((r=r.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(n){return function(t){return o([n,t])}}function o(c){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(e=0)),e)try{if(r=1,i&&(u=c[0]&2?i["return"]:c[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;if(i=0,u)c=[c[0]&2,u.value];switch(c[0]){case 0:case 1:u=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){e.label=c[1];break}if(c[0]===6&&e.label<u[1]){e.label=u[1];u=c;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(c);break}if(u[2])e.ops.pop();e.trys.pop();continue}c=t.call(n,e)}catch(n){c=[6,n];i=0}finally{r=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-f3fcd277.system.js","./p-56ba5cbf.system.js"],(function(n,t){"use strict";var e,r,i;return{setters:[function(t){e=t.p;r=t.b;n("setNonce",t.s)},function(n){i=n.g}],execute:function(){var n=this;var u=function(){var n=t.meta.url;var r={};if(n!==""){r.resourcesUrl=new URL(".",n).href}return e(r)};u().then((function(t){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,i()];case 1:n.sent();return[2,r([["p-28df55ce.system",[[1,"mds-input-tip-item",{variant:[513],expanded:[1540],language:[32],updateLang:[64]},null,{expanded:["handleEcpandedChanged"]}]]]],t)]}}))}))}))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,r,i){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function d(t){try{o(i.next(t))}catch(t){a(t)}}function s(t){try{o(i["throw"](t))}catch(t){a(t)}}function o(t){t.done?r(t.value):n(t.value).then(d,s)}o((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,d;return d={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function s(t){return function(e){return o([t,e])}}function o(s){if(i)throw new TypeError("Generator is already executing.");while(d&&(d=0,s[0]&&(r=0)),r)try{if(i=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];n=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f3fcd277.system.js"],(function(t){"use strict";var e,r,i,n;return{setters:[function(t){e=t.r;r=t.h;i=t.H;n=t.g}],execute:function(){var a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19L21 7l-1.4-1.4L9 16.2z"/></svg>';var d=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var s={exports:{}};(function(t,e){(function(e,r){t.exports=r()})(d,(function(){
|
|
2
|
-
/*!
|
|
3
|
-
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
4
|
-
* http://github.com/janl/mustache.js
|
|
5
|
-
*/
|
|
6
|
-
var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function i(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var u=/\S/;function h(t){return!o(u,t)}var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return c[e]}))}var m=/\s*/;var y=/\s+/;var l=/\s*=/;var p=/\s*\}/;var b=/#|\^|\/|>|\{|&|=|!/;function v(t,r){if(!t)return[];var i=false;var a=[];var d=[];var s=[];var o=false;var u=false;var c="";var f=0;function v(){if(o&&!u){while(s.length)delete d[s.pop()]}else{s=[]}o=false;u=false}var x,j,E;function _(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");j=new RegExp("\\s*"+n(t[1]));E=new RegExp("\\s*"+n("}"+t[1]))}_(r||q.tags);var S=new k(t);var z,R,C,L,T,O;while(!S.eos()){z=S.pos;C=S.scanUntil(x);if(C){for(var D=0,U=C.length;D<U;++D){L=C.charAt(D);if(h(L)){s.push(d.length);c+=L}else{u=true;i=true;c+=" "}d.push(["text",L,z,z+1]);z+=1;if(L==="\n"){v();c="";f=0;i=false}}}if(!S.scan(x))break;o=true;R=S.scan(b)||"name";S.scan(m);if(R==="="){C=S.scanUntil(l);S.scan(l);S.scanUntil(j)}else if(R==="{"){C=S.scanUntil(E);S.scan(p);S.scanUntil(j);R="&"}else{C=S.scanUntil(j)}if(!S.scan(j))throw new Error("Unclosed tag at "+S.pos);if(R==">"){T=[R,C,z,S.pos,c,f,i]}else{T=[R,C,z,S.pos]}f++;d.push(T);if(R==="#"||R==="^"){a.push(T)}else if(R==="/"){O=a.pop();if(!O)throw new Error('Unopened section "'+C+'" at '+z);if(O[1]!==C)throw new Error('Unclosed section "'+O[1]+'" at '+z)}else if(R==="name"||R==="{"||R==="&"){u=true}else if(R==="="){_(C)}}v();O=a.pop();if(O)throw new Error('Unclosed section "'+O[1]+'" at '+S.pos);return w(g(d))}function g(t){var e=[];var r,i;for(var n=0,a=t.length;n<a;++n){r=t[n];if(r){if(r[0]==="text"&&i&&i[0]==="text"){i[1]+=r[1];i[3]=r[3]}else{e.push(r);i=r}}}return e}function w(t){var e=[];var r=e;var i=[];var n,a;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);i.push(n);r=n[4]=[];break;case"/":a=i.pop();a[5]=n[2];r=i.length>0?i[i.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var i=r[0];this.tail=this.tail.substring(i.length);this.pos+=i.length;return i};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),i;switch(r){case-1:i=this.tail;this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=i.length;return i};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var i=this.cache;var n;if(i.hasOwnProperty(e)){n=i[e]}else{var s=this,o,u,h,c=false;while(s){if(e.indexOf(".")>0){o=s.view;u=e.split(".");h=0;while(o!=null&&h<u.length){if(h===u.length-1)c=a(o,u[h])||d(o,u[h]);o=o[u[h++]]}}else{o=s.view[e];c=a(s.view,e)}if(c){n=o;break}s=s.parent}i[e]=n}if(r(n))n=n.call(this.view);return n};function j(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}j.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};j.prototype.parse=function t(e,r){var i=this.templateCache;var n=e+":"+(r||q.tags).join(":");var a=typeof i!=="undefined";var d=a?i.get(n):undefined;if(d==undefined){d=v(e,r);a&&i.set(n,d)}return d};j.prototype.render=function t(e,r,i,n){var a=this.getConfigTags(n);var d=this.parse(e,a);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,i,e,n)};j.prototype.renderTokens=function t(e,r,i,n,a){var d="";var s,o,u;for(var h=0,c=e.length;h<c;++h){u=undefined;s=e[h];o=s[0];if(o==="#")u=this.renderSection(s,r,i,n,a);else if(o==="^")u=this.renderInverted(s,r,i,n,a);else if(o===">")u=this.renderPartial(s,r,i,a);else if(o==="&")u=this.unescapedValue(s,r);else if(o==="name")u=this.escapedValue(s,r,a);else if(o==="text")u=this.rawValue(s);if(u!==undefined)d+=u}return d};j.prototype.renderSection=function t(i,n,a,d,s){var o=this;var u="";var h=n.lookup(i[1]);function c(t){return o.render(t,n,a,s)}if(!h)return;if(e(h)){for(var f=0,m=h.length;f<m;++f){u+=this.renderTokens(i[4],n.push(h[f]),a,d,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){u+=this.renderTokens(i[4],n.push(h),a,d,s)}else if(r(h)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(n.view,d.slice(i[3],i[5]),c);if(h!=null)u+=h}else{u+=this.renderTokens(i[4],n,a,d,s)}return u};j.prototype.renderInverted=function t(r,i,n,a,d){var s=i.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],i,n,a,d)};j.prototype.indentPartial=function t(e,r,i){var n=r.replace(/[^ \t]/g,"");var a=e.split("\n");for(var d=0;d<a.length;d++){if(a[d].length&&(d>0||!i)){a[d]=n+a[d]}}return a.join("\n")};j.prototype.renderPartial=function t(e,i,n,a){if(!n)return;var d=this.getConfigTags(a);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var u=e[5];var h=e[4];var c=s;if(u==0&&h){c=this.indentPartial(s,h,o)}var f=this.parse(c,d);return this.renderTokens(f,i,n,c,a)}};j.prototype.unescapedValue=function t(e,r){var i=r.lookup(e[1]);if(i!=null)return i};j.prototype.escapedValue=function t(e,r,i){var n=this.getConfigEscape(i)||q.escape;var a=r.lookup(e[1]);if(a!=null)return typeof a==="number"&&n===q.escape?String(a):n(a)};j.prototype.rawValue=function t(e){return e[1]};j.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};j.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var q={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){E.templateCache=t},get templateCache(){return E.templateCache}};var E=new j;q.clearCache=function t(){return E.clearCache()};q.parse=function t(e,r){return E.parse(e,r)};q.render=function t(e,r,n,a){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+i(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return E.render(e,r,n,a)};q.escape=f;q.Scanner=k;q.Context=x;q.Writer=j;return q}))})(s);var o=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var i=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(i)){n.push(i[0]);n.push(i[1])}else{n.push(i);n.push(i)}var a=n[0];var d=a;var o=Object.keys(r);if(o.length>0){var u=o[0];if(typeof r[u]==="number"){if(r[u]!==1){d=n[1]}}}return s.exports.render(d,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var u="Απαιτείται";var h="Απενεργοποιημένο";var c="Μόνο για ανάγνωση";var f={required:u,disabled:h,readonly:c};var m="Required";var y="Disabled";var l="Read only";var p={required:m,disabled:y,readonly:l};var b="Requerido";var v="Deshabilitado";var g="Solo lectura";var w={required:b,disabled:v,readonly:g};var k="Obbligatorio";var x="Disattivato";var j="Sola lettura";var q={required:k,disabled:x,readonly:j};var E='@tailwind components; :host{--mds-input-tip-item-background:rgb(var(--tone-neutral-01));--mds-input-tip-item-color:rgb(var(--tone-neutral));--mds-input-tip-item-icon-color:rgb(var(--tone-neutral));height:0.75rem;border-radius:0.375rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-input-tip-item-background);color:var(--mds-input-tip-item-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;min-width:0.75rem;padding:0;pointer-events:none;position:static;text-align:center;-webkit-transform:translate(0, 0);transform:translate(0, 0);-webkit-transition-property:background-color, border-radius, color, padding-left, padding-right, -webkit-transform;transition-property:background-color, border-radius, color, padding-left, padding-right, -webkit-transform;transition-property:background-color, border-radius, color, padding-left, padding-right, transform;transition-property:background-color, border-radius, color, padding-left, padding-right, transform, -webkit-transform;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.content{height:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;-webkit-transition-property:grid-template-columns, opacity;transition-property:grid-template-columns, opacity;transition-property:grid-template-columns, opacity, -ms-grid-columns}.text{line-height:0.75rem}.icon{display:-ms-flexbox;display:flex}.icon svg{aspect-ratio:1/1;height:100%;width:100%}.icon{height:0.75rem;width:0.75rem;fill:var(--mds-input-tip-item-icon-color);-webkit-transform:translateY(-1px);transform:translateY(-1px)}:host(:not([expanded])){color:transparent}:host([expanded]){padding-left:0.5rem;padding-right:0.5rem;--mds-input-tip-item-color:rgb(var(--tone-neutral))}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant="required"]){--mds-input-tip-item-background:rgb(var(--status-error-05))}:host([variant="required-success"]){--mds-input-tip-item-background:rgb(var(--status-success-05))}:host([variant="readonly"]){--mds-input-tip-item-background:rgb(var(--status-info-05))}:host([variant="disabled"]){--mds-input-tip-item-background:rgb(var(--tone-neutral-05))}:host([variant="text"]){--mds-input-tip-item-background:rgb(var(--tone-neutral-03))}:host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-02));--mds-input-tip-item-background:rgb(var(--status-info-08))}:host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-02));--mds-input-tip-item-background:rgb(var(--status-success-08))}:host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-02));--mds-input-tip-item-background:rgb(var(--status-warning-08))}:host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-02));--mds-input-tip-item-background:rgb(var(--status-error-08))}:host([variant="count-full"]){--mds-input-tip-item-color:rgb(var(--status-error-09));--mds-input-tip-item-background:rgb(var(--status-error-05))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .content{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .content{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-contrast-more):host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-10));--mds-input-tip-item-background:rgb(var(--status-info-05))}:host-context(.pref-contrast-more):host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-10));--mds-input-tip-item-background:rgb(var(--status-success-05))}:host-context(.pref-contrast-more):host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-10));--mds-input-tip-item-background:rgb(var(--status-warning-05))}:host-context(.pref-contrast-more):host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-10));--mds-input-tip-item-background:rgb(var(--status-error-05))}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([variant="count-empty"]){--mds-input-tip-item-color:rgb(var(--status-info-10));--mds-input-tip-item-background:rgb(var(--status-info-05))}:host-context(.pref-contrast-system):host([variant="count-incomplete"]){--mds-input-tip-item-color:rgb(var(--status-success-10));--mds-input-tip-item-background:rgb(var(--status-success-05))}:host-context(.pref-contrast-system):host([variant="count-almost"]){--mds-input-tip-item-color:rgb(var(--status-warning-10));--mds-input-tip-item-background:rgb(var(--status-warning-05))}:host-context(.pref-contrast-system):host([variant="count-almost-full"]){--mds-input-tip-item-color:rgb(var(--status-error-10));--mds-input-tip-item-background:rgb(var(--status-error-05))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var _=E;var S=t("mds_input_tip_item",function(){function t(t){e(this,t);this.t=new o({en:p,el:f,es:w,it:q});this.variant="required"}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.element);return[2]}))}))};t.prototype.componentWillRender=function(){this.t.lang(this.element)};t.prototype.handleEcpandedChanged=function(t){if(t===false){this.expanded=undefined}};t.prototype.render=function(){return r(i,{key:"f33ad71b08aa4883c7260e20e7f9b8f43dcf0519"},r("div",{key:"5b67c52055c0095cca9227159467b683d5ea0f51",class:"content"},this.variant==="text"&&r("mds-text",{key:"cd394cc4c4af8a6614c5dc822c0bb18eb6e42c91",typography:"option",truncate:"word"},r("span",{key:"b7ddcd89a9b15a5d5f9ec6ba25c1e89d62c88663",class:"text"},r("slot",{key:"91cc7606f0788161127653082871d34877367ec2"}))),this.variant==="readonly"&&r("mds-text",{key:"d32601380ff2619d3bd92c4ca0b39d7bad4b54fb",typography:"option",truncate:"word"},r("span",{key:"9a38d81925d19762ca42301d6c6ed97f6f967031",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="disabled"&&r("mds-text",{key:"00033b59e084466020cb3e1a2b68d3be119c5bf0",typography:"option",truncate:"word"},r("span",{key:"3f165a5b0b1203a560aaaef5de029fb3418d7ab6",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required"&&r("mds-text",{key:"d50e0f3f3ad8648fb2a5d03c4b61a3930d3f20a4",typography:"option",truncate:"word"},r("span",{key:"f99be6cb7039922aaed356489a85b2b33dbe8794",class:"text"},this.variant&&this.t.get(this.variant.toString()))),this.variant==="required-success"&&r("span",{key:"84481ab95da9f97954878fa341537790404f34b6",class:"icon",innerHTML:a}),(this.variant==="count-almost"||this.variant==="count-almost-full"||this.variant==="count-empty"||this.variant==="count-full"||this.variant==="count-incomplete")&&r("mds-text",{key:"43adceea6ad36da642f5a02cbf9c54c44e5b9f40",typography:"option",truncate:"word"},r("span",{key:"0bb53315c34315233c64846e0c3f4ad120d10359",class:"text"},r("slot",{key:"427514dbe5a58065d5eba66a1be77530d99c8957"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["handleEcpandedChanged"]}},enumerable:false,configurable:true});return t}());S.style=_}}}));
|