@maggioli-design-system/mds-accordion-timer 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-bd5d8a33.js → index-d958b818.js} +91 -5
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.js +7 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/keyboard-manager.js +40 -0
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +3 -3
- package/dist/collection/dictionary/icon.js +3 -1
- package/dist/collection/dictionary/typography.js +5 -1
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/esm/{index-afb1c64b.js → index-22b73a3a.js} +91 -6
- package/dist/esm/loader.js +4 -3
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.js +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm-es5/index-22b73a3a.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.js +1 -1
- package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
- package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/{www/build/p-6bb3b141.system.entry.js → dist/mds-accordion-timer/p-118bf4e5.system.entry.js} +1 -1
- package/dist/mds-accordion-timer/p-3face4e0.system.js +2 -0
- package/dist/mds-accordion-timer/p-9084d19f.js +2 -0
- package/dist/mds-accordion-timer/p-c6d75694.system.js +1 -0
- package/dist/mds-accordion-timer/{p-ff15a152.entry.js → p-f44da2be.entry.js} +1 -1
- package/dist/stats.json +36 -33
- package/dist/types/common/keyboard-manager.d.ts +11 -0
- package/dist/types/dictionary/icon.d.ts +2 -1
- package/dist/types/dictionary/typography.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +59 -3
- package/dist/types/types/autocomplete.d.ts +2 -2
- package/dist/types/types/button.d.ts +4 -4
- package/dist/types/types/floating-ui.d.ts +2 -2
- package/dist/types/types/form-rel.d.ts +1 -1
- package/dist/types/types/input-text-type.d.ts +1 -1
- package/dist/types/types/input-value-type.d.ts +1 -1
- package/dist/types/types/loading.d.ts +1 -1
- package/dist/types/types/typography.d.ts +9 -8
- package/dist/types/types/variant.d.ts +10 -10
- package/loader/index.d.ts +9 -0
- package/package.json +5 -5
- package/src/common/keyboard-manager.ts +46 -0
- package/src/components/mds-accordion-timer/mds-accordion-timer.tsx +3 -3
- package/src/components/mds-accordion-timer/test/mds-accordion-timer.e2e.ts +1 -1
- package/src/dictionary/icon.ts +4 -0
- package/src/dictionary/typography.ts +9 -3
- package/src/fixtures/icons.json +177 -0
- package/src/fixtures/iconsauce.json +175 -0
- package/src/tailwind/components.css +1 -0
- package/src/types/typography.ts +4 -0
- package/www/build/mds-accordion-timer.esm.js +1 -1
- package/www/build/mds-accordion-timer.js +1 -1
- package/{dist/mds-accordion-timer/p-6bb3b141.system.entry.js → www/build/p-118bf4e5.system.entry.js} +1 -1
- package/www/build/p-3face4e0.system.js +2 -0
- package/www/build/p-9084d19f.js +2 -0
- package/www/build/p-c6d75694.system.js +1 -0
- package/www/build/{p-ff15a152.entry.js → p-f44da2be.entry.js} +1 -1
- package/dist/esm-es5/index-afb1c64b.js +0 -2
- package/dist/mds-accordion-timer/p-94dc5a3c.system.js +0 -1
- package/dist/mds-accordion-timer/p-d5616601.js +0 -2
- package/dist/mds-accordion-timer/p-e2fa938f.system.js +0 -2
- package/www/build/p-94dc5a3c.system.js +0 -1
- package/www/build/p-d5616601.js +0 -2
- package/www/build/p-e2fa938f.system.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type LoadingType = 'eager' | 'lazy';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
export type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
2
|
+
export type TypographyVariants = 'title' | 'info' | 'read' | 'code';
|
|
3
|
+
export type TypographyReadingVariants = 'info' | 'read';
|
|
4
|
+
export type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
5
|
+
export type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
6
|
+
export type TypographyReadType = 'caption' | 'detail' | 'paragraph';
|
|
7
|
+
export type TypographySmallerType = 'tip' | 'option';
|
|
8
|
+
export type TypographyMonoType = 'snippet' | 'hack';
|
|
9
|
+
export type TypographyTooltipType = 'caption' | 'detail' | 'tip';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
1
|
+
export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
|
|
2
|
+
export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
|
3
|
+
export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
|
4
|
+
export type ThemeLuminanceVariantType = 'dark' | 'light';
|
|
5
|
+
export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
|
6
|
+
export type ActionVariantType = 'primary' | 'dark' | 'light';
|
|
7
|
+
export type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
|
8
|
+
export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
9
|
+
export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
|
|
10
|
+
export type ToneMinimalVariantType = 'strong' | 'weak';
|
package/loader/index.d.ts
CHANGED
|
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
18
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
19
|
+
* will result in the same behavior.
|
|
20
|
+
*/
|
|
21
|
+
export declare function setNonce(nonce: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-accordion-timer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "mds-accordion-timer is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"test": "stencil test --spec --e2e"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@maggioli-design-system/mds-accordion-timer-item": "^
|
|
27
|
-
"@maggioli-design-system/styles": "^
|
|
28
|
-
"@stencil/core": "^2.
|
|
26
|
+
"@maggioli-design-system/mds-accordion-timer-item": "^3.0.0",
|
|
27
|
+
"@maggioli-design-system/styles": "^11.2.1",
|
|
28
|
+
"@stencil/core": "^2.22.2"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|
|
32
32
|
"name": "Vittorio Vittori",
|
|
33
33
|
"email": "vittorio.vittori@maggioli.it",
|
|
34
|
-
"url": "
|
|
34
|
+
"url": "https://vitto.github.io/vit.to/"
|
|
35
35
|
},
|
|
36
36
|
"contributors": [
|
|
37
37
|
{
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export class KeyboardManager {
|
|
2
|
+
private escapeCallback: () => void
|
|
3
|
+
private elements = []
|
|
4
|
+
|
|
5
|
+
private handleClickBehaviorDispatchEvent = (event: KeyboardEvent): void => {
|
|
6
|
+
if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
7
|
+
(event.target as HTMLElement).click()
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
private handleEscapeBehaviorDispatchEvent = (event: KeyboardEvent): void => {
|
|
12
|
+
if (event.code === 'Escape' && this.escapeCallback) {
|
|
13
|
+
this.escapeCallback()
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
addElement = (el: HTMLElement, name = 'element'): void => {
|
|
18
|
+
this.elements[name] = el
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attachClickBehavior = (name = 'element'): void => {
|
|
22
|
+
if (this.elements[name]) {
|
|
23
|
+
this.elements[name].addEventListener('keydown', this.handleClickBehaviorDispatchEvent)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
detachClickBehavior = (name = 'element'): void => {
|
|
28
|
+
if (this.elements[name]) {
|
|
29
|
+
this.elements[name].removeEventListener('keydown', this.handleClickBehaviorDispatchEvent)
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
attachEscapeBehavior = (callBack: () => void): void => {
|
|
34
|
+
this.escapeCallback = callBack
|
|
35
|
+
if (typeof window !== undefined) {
|
|
36
|
+
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
detachEscapeBehavior = (): void => {
|
|
41
|
+
this.escapeCallback = null
|
|
42
|
+
if (typeof window !== undefined) {
|
|
43
|
+
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -120,7 +120,7 @@ export class MdsAccordionTimer {
|
|
|
120
120
|
this.time = null
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
@Listen('
|
|
123
|
+
@Listen('activeClicked')
|
|
124
124
|
onClickActive (event: CustomEvent<string>): void {
|
|
125
125
|
if (event.detail === this.activeItem.description) {
|
|
126
126
|
return
|
|
@@ -137,12 +137,12 @@ export class MdsAccordionTimer {
|
|
|
137
137
|
this.pauseTimer()
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
@Listen('
|
|
140
|
+
@Listen('activeMouseEnter')
|
|
141
141
|
onMouseEnterActive (): void {
|
|
142
142
|
this.pauseTimer()
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
@Listen('
|
|
145
|
+
@Listen('activeMouseLeave')
|
|
146
146
|
onMouseLeaveActive (): void {
|
|
147
147
|
if (this.timeChecker === null) {
|
|
148
148
|
this.playTimer()
|
|
@@ -6,7 +6,7 @@ describe('mds-accordion-timer', () => {
|
|
|
6
6
|
await page.setContent('<mds-accordion-timer></mds-accordion-timer>')
|
|
7
7
|
|
|
8
8
|
const element = await page.find('mds-accordion-timer')
|
|
9
|
-
|
|
9
|
+
expect(element).toHaveAttribute('hydrated')
|
|
10
10
|
expect(true).toBe(true)
|
|
11
11
|
})
|
|
12
12
|
})
|
package/src/dictionary/icon.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import jsonIconsDictionary from '../fixtures/icons.json'
|
|
2
|
+
import jsonMggIconsDictionary from '../fixtures/iconsauce.json'
|
|
2
3
|
const iconsDictionary = jsonIconsDictionary
|
|
4
|
+
const mggIconsDictionary = jsonMggIconsDictionary
|
|
5
|
+
|
|
3
6
|
export {
|
|
4
7
|
iconsDictionary,
|
|
8
|
+
mggIconsDictionary,
|
|
5
9
|
}
|
|
@@ -23,6 +23,11 @@ const typographyVariationsDictionary = [
|
|
|
23
23
|
'code',
|
|
24
24
|
]
|
|
25
25
|
|
|
26
|
+
const typographyReadingVariationsDictionary = [
|
|
27
|
+
'info',
|
|
28
|
+
'read',
|
|
29
|
+
]
|
|
30
|
+
|
|
26
31
|
const typographyMonoDictionary = [
|
|
27
32
|
'snippet',
|
|
28
33
|
'hack',
|
|
@@ -66,11 +71,12 @@ const typographyTooltipDictionary = [
|
|
|
66
71
|
|
|
67
72
|
export {
|
|
68
73
|
typographyDictionary,
|
|
69
|
-
typographyVariationsDictionary,
|
|
70
|
-
typographyMonoDictionary,
|
|
71
|
-
typographyTitleDictionary,
|
|
72
74
|
typographyInfoDictionary,
|
|
75
|
+
typographyReadingVariationsDictionary,
|
|
76
|
+
typographyMonoDictionary,
|
|
73
77
|
typographyReadDictionary,
|
|
74
78
|
typographySmallerDictionary,
|
|
79
|
+
typographyTitleDictionary,
|
|
75
80
|
typographyTooltipDictionary,
|
|
81
|
+
typographyVariationsDictionary,
|
|
76
82
|
}
|
package/src/fixtures/icons.json
CHANGED
|
@@ -3,10 +3,186 @@
|
|
|
3
3
|
"mdi/barley",
|
|
4
4
|
"mdi/baseball",
|
|
5
5
|
"mdi/crown",
|
|
6
|
+
"mdi/delete",
|
|
6
7
|
"mdi/dots-vertical",
|
|
7
8
|
"mdi/email",
|
|
8
9
|
"mdi/harddisk",
|
|
10
|
+
"mdi/map-marker",
|
|
11
|
+
"mdi/replay",
|
|
9
12
|
"mdi/vector-curve",
|
|
13
|
+
"mgg/abitazione-principale",
|
|
14
|
+
"mgg/action-hide-down-side",
|
|
15
|
+
"mgg/action-hide-left-side",
|
|
16
|
+
"mgg/action-hide-right-side",
|
|
17
|
+
"mgg/action-hide-sidebar-left",
|
|
18
|
+
"mgg/action-hide-sidebar-right",
|
|
19
|
+
"mgg/action-show-down-side",
|
|
20
|
+
"mgg/action-show-left-side",
|
|
21
|
+
"mgg/action-show-right-side",
|
|
22
|
+
"mgg/action-show-sidebar-left",
|
|
23
|
+
"mgg/action-show-sidebar-right",
|
|
24
|
+
"mgg/add-document-settings",
|
|
25
|
+
"mgg/additional-contents",
|
|
26
|
+
"mgg/address-book-off",
|
|
27
|
+
"mgg/address-book-on",
|
|
28
|
+
"mgg/adv-denied",
|
|
29
|
+
"mgg/area-edificabile",
|
|
30
|
+
"mgg/area-weather",
|
|
31
|
+
"mgg/box-multiple",
|
|
32
|
+
"mgg/breadcrumb",
|
|
33
|
+
"mgg/calendar-euro",
|
|
34
|
+
"mgg/calendar-multiple",
|
|
35
|
+
"mgg/calendar-schedule",
|
|
36
|
+
"mgg/car-license",
|
|
37
|
+
"mgg/card-stamping",
|
|
38
|
+
"mgg/checklist",
|
|
39
|
+
"mgg/checklist-settings",
|
|
40
|
+
"mgg/citizenship",
|
|
41
|
+
"mgg/city-bin",
|
|
42
|
+
"mgg/copy-paste",
|
|
43
|
+
"mgg/data-analytics-alt",
|
|
44
|
+
"mgg/data-analytics-search",
|
|
45
|
+
"mgg/data-analytics-time",
|
|
46
|
+
"mgg/data-category-alt",
|
|
47
|
+
"mgg/data-civil-union",
|
|
48
|
+
"mgg/data-death-civil-union",
|
|
49
|
+
"mgg/data-death-marriage",
|
|
50
|
+
"mgg/data-end-civil-union",
|
|
51
|
+
"mgg/data-end-marriage",
|
|
52
|
+
"mgg/dataset",
|
|
53
|
+
"mgg/document-magic",
|
|
54
|
+
"mgg/document-rename",
|
|
55
|
+
"mgg/electronic-document",
|
|
56
|
+
"mgg/email-open-check",
|
|
57
|
+
"mgg/email-open-off",
|
|
58
|
+
"mgg/face-to-face-meeting",
|
|
59
|
+
"mgg/farmer",
|
|
60
|
+
"mgg/field",
|
|
61
|
+
"mgg/file-download",
|
|
62
|
+
"mgg/file-folder-tree",
|
|
63
|
+
"mgg/file-folder-tree-open",
|
|
64
|
+
"mgg/file-import",
|
|
65
|
+
"mgg/file-odt",
|
|
66
|
+
"mgg/file-rtf",
|
|
67
|
+
"mgg/file-settings-alt",
|
|
68
|
+
"mgg/file-stack",
|
|
69
|
+
"mgg/file-stack-alt",
|
|
70
|
+
"mgg/file-sub",
|
|
71
|
+
"mgg/file-type-document-attachment",
|
|
72
|
+
"mgg/file-type-document-multiple-attachment",
|
|
73
|
+
"mgg/file-type-document-rubber-stamp",
|
|
74
|
+
"mgg/file-type-home",
|
|
75
|
+
"mgg/file-type-pdf",
|
|
76
|
+
"mgg/file-type-success",
|
|
77
|
+
"mgg/file-type-warning",
|
|
78
|
+
"mgg/finance-euro-cashback",
|
|
79
|
+
"mgg/fit-horizontal",
|
|
80
|
+
"mgg/fit-vertical",
|
|
81
|
+
"mgg/fullscreen-on-alt",
|
|
82
|
+
"mgg/google-check-small",
|
|
83
|
+
"mgg/google-place-item",
|
|
84
|
+
"mgg/heart",
|
|
85
|
+
"mgg/heart-outline",
|
|
86
|
+
"mgg/historic-building",
|
|
87
|
+
"mgg/historic-building-unusable",
|
|
88
|
+
"mgg/home-hammer",
|
|
89
|
+
"mgg/home-number",
|
|
90
|
+
"mgg/inagibile",
|
|
91
|
+
"mgg/input-calendar-costs",
|
|
92
|
+
"mgg/input-calendar-period",
|
|
93
|
+
"mgg/input-calendar-time",
|
|
94
|
+
"mgg/isbn",
|
|
95
|
+
"mgg/judge-hammer",
|
|
96
|
+
"mgg/land-registry",
|
|
97
|
+
"mgg/layers",
|
|
98
|
+
"mgg/list-dot",
|
|
99
|
+
"mgg/logo-girasole-camuno",
|
|
100
|
+
"mgg/logo-gpl",
|
|
101
|
+
"mgg/logo-ilibro",
|
|
102
|
+
"mgg/map-marker-settings",
|
|
103
|
+
"mgg/military-draft",
|
|
104
|
+
"mgg/money-bag-settings",
|
|
105
|
+
"mgg/money-on-hand",
|
|
106
|
+
"mgg/move-down",
|
|
107
|
+
"mgg/move-left",
|
|
108
|
+
"mgg/move-right",
|
|
109
|
+
"mgg/move-row-down",
|
|
110
|
+
"mgg/move-row-up",
|
|
111
|
+
"mgg/move-up",
|
|
112
|
+
"mgg/multiple-payments",
|
|
113
|
+
"mgg/national-document",
|
|
114
|
+
"mgg/national-document-off",
|
|
115
|
+
"mgg/order-return-down-left-to-right",
|
|
116
|
+
"mgg/order-return-down-left-to-up",
|
|
117
|
+
"mgg/order-return-down-right-to-left",
|
|
118
|
+
"mgg/order-return-down-right-to-up",
|
|
119
|
+
"mgg/order-return-up-left-to-down",
|
|
120
|
+
"mgg/order-return-up-left-to-right",
|
|
121
|
+
"mgg/order-return-up-right-to-down",
|
|
122
|
+
"mgg/order-return-up-right-to-left",
|
|
123
|
+
"mgg/order-zigzag-down-left-to-right",
|
|
124
|
+
"mgg/order-zigzag-down-left-to-up",
|
|
125
|
+
"mgg/order-zigzag-down-right-to-left",
|
|
126
|
+
"mgg/order-zigzag-down-right-to-up",
|
|
127
|
+
"mgg/order-zigzag-up-left-to-down",
|
|
128
|
+
"mgg/order-zigzag-up-left-to-right",
|
|
129
|
+
"mgg/order-zigzag-up-right-to-down",
|
|
130
|
+
"mgg/order-zigzag-up-right-to-left",
|
|
131
|
+
"mgg/other-properties",
|
|
132
|
+
"mgg/other-properties-off",
|
|
133
|
+
"mgg/partial-wall",
|
|
134
|
+
"mgg/payment-settings",
|
|
135
|
+
"mgg/places-green",
|
|
136
|
+
"mgg/places-green-doc",
|
|
137
|
+
"mgg/places-green-history",
|
|
138
|
+
"mgg/places-green-info",
|
|
139
|
+
"mgg/places-holiday-beach",
|
|
140
|
+
"mgg/places-market",
|
|
141
|
+
"mgg/places-park",
|
|
142
|
+
"mgg/places-park-alt",
|
|
143
|
+
"mgg/places-store-access-denied",
|
|
144
|
+
"mgg/property-owner",
|
|
145
|
+
"mgg/relevance",
|
|
146
|
+
"mgg/reporting-abuse",
|
|
147
|
+
"mgg/residency-permit",
|
|
148
|
+
"mgg/rubber-stamp",
|
|
149
|
+
"mgg/rurale",
|
|
150
|
+
"mgg/search-maggioli",
|
|
151
|
+
"mgg/send-progress",
|
|
152
|
+
"mgg/settings-attachment",
|
|
153
|
+
"mgg/sign-shop",
|
|
154
|
+
"mgg/square-viewfinder",
|
|
155
|
+
"mgg/stamp",
|
|
156
|
+
"mgg/status-progress-a-quarter",
|
|
157
|
+
"mgg/status-progress-complete",
|
|
158
|
+
"mgg/status-progress-half",
|
|
159
|
+
"mgg/status-progress-three-quarter",
|
|
160
|
+
"mgg/stuck-codes",
|
|
161
|
+
"mgg/tea-light",
|
|
162
|
+
"mgg/terminal",
|
|
163
|
+
"mgg/todo",
|
|
164
|
+
"mgg/todo-completed",
|
|
165
|
+
"mgg/todo-completed-re-executable",
|
|
166
|
+
"mgg/todo-in-charge-by-me",
|
|
167
|
+
"mgg/todo-in-charge-by-others",
|
|
168
|
+
"mgg/todo-in-evaluation",
|
|
169
|
+
"mgg/todo-in-evaluation-by-others",
|
|
170
|
+
"mgg/todo-incoming-in-charge",
|
|
171
|
+
"mgg/todo-incoming-rejected",
|
|
172
|
+
"mgg/todo-pause",
|
|
173
|
+
"mgg/todo-running-completed",
|
|
174
|
+
"mgg/todo-suspended",
|
|
175
|
+
"mgg/traffic-cone",
|
|
176
|
+
"mgg/trending-down",
|
|
177
|
+
"mgg/tributes",
|
|
178
|
+
"mgg/urban-city",
|
|
179
|
+
"mgg/user-dead",
|
|
180
|
+
"mgg/user-family",
|
|
181
|
+
"mgg/user-location",
|
|
182
|
+
"mgg/user-location-off",
|
|
183
|
+
"mgg/view-chart-gantt",
|
|
184
|
+
"mgg/view-side-by-side",
|
|
185
|
+
"mgg/work-book",
|
|
10
186
|
"mi/baseline/account-balance",
|
|
11
187
|
"mi/baseline/account-balance-wallet",
|
|
12
188
|
"mi/baseline/adobe",
|
|
@@ -26,6 +202,7 @@
|
|
|
26
202
|
"mi/baseline/css",
|
|
27
203
|
"mi/baseline/description",
|
|
28
204
|
"mi/baseline/done",
|
|
205
|
+
"mi/baseline/downhill-skiing",
|
|
29
206
|
"mi/baseline/eco",
|
|
30
207
|
"mi/baseline/email",
|
|
31
208
|
"mi/baseline/error",
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
[
|
|
2
|
+
"mgg/abitazione-principale",
|
|
3
|
+
"mgg/action-hide-down-side",
|
|
4
|
+
"mgg/action-hide-left-side",
|
|
5
|
+
"mgg/action-hide-right-side",
|
|
6
|
+
"mgg/action-hide-sidebar-left",
|
|
7
|
+
"mgg/action-hide-sidebar-right",
|
|
8
|
+
"mgg/action-show-down-side",
|
|
9
|
+
"mgg/action-show-left-side",
|
|
10
|
+
"mgg/action-show-right-side",
|
|
11
|
+
"mgg/action-show-sidebar-left",
|
|
12
|
+
"mgg/action-show-sidebar-right",
|
|
13
|
+
"mgg/add-document-settings",
|
|
14
|
+
"mgg/additional-contents",
|
|
15
|
+
"mgg/address-book-off",
|
|
16
|
+
"mgg/address-book-on",
|
|
17
|
+
"mgg/adv-denied",
|
|
18
|
+
"mgg/area-edificabile",
|
|
19
|
+
"mgg/area-weather",
|
|
20
|
+
"mgg/box-multiple",
|
|
21
|
+
"mgg/breadcrumb",
|
|
22
|
+
"mgg/calendar-euro",
|
|
23
|
+
"mgg/calendar-multiple",
|
|
24
|
+
"mgg/calendar-schedule",
|
|
25
|
+
"mgg/car-license",
|
|
26
|
+
"mgg/card-stamping",
|
|
27
|
+
"mgg/checklist-settings",
|
|
28
|
+
"mgg/checklist",
|
|
29
|
+
"mgg/citizenship",
|
|
30
|
+
"mgg/city-bin",
|
|
31
|
+
"mgg/copy-paste",
|
|
32
|
+
"mgg/data-analytics-alt",
|
|
33
|
+
"mgg/data-analytics-search",
|
|
34
|
+
"mgg/data-analytics-time",
|
|
35
|
+
"mgg/data-category-alt",
|
|
36
|
+
"mgg/data-civil-union",
|
|
37
|
+
"mgg/data-death-civil-union",
|
|
38
|
+
"mgg/data-death-marriage",
|
|
39
|
+
"mgg/data-end-civil-union",
|
|
40
|
+
"mgg/data-end-marriage",
|
|
41
|
+
"mgg/dataset",
|
|
42
|
+
"mgg/document-magic",
|
|
43
|
+
"mgg/document-rename",
|
|
44
|
+
"mgg/electronic-document",
|
|
45
|
+
"mgg/email-open-check",
|
|
46
|
+
"mgg/email-open-off",
|
|
47
|
+
"mgg/face-to-face-meeting",
|
|
48
|
+
"mgg/farmer",
|
|
49
|
+
"mgg/field",
|
|
50
|
+
"mgg/file-download",
|
|
51
|
+
"mgg/file-folder-tree-open",
|
|
52
|
+
"mgg/file-folder-tree",
|
|
53
|
+
"mgg/file-import",
|
|
54
|
+
"mgg/file-odt",
|
|
55
|
+
"mgg/file-rtf",
|
|
56
|
+
"mgg/file-settings-alt",
|
|
57
|
+
"mgg/file-stack-alt",
|
|
58
|
+
"mgg/file-stack",
|
|
59
|
+
"mgg/file-sub",
|
|
60
|
+
"mgg/file-type-document-attachment",
|
|
61
|
+
"mgg/file-type-document-multiple-attachment",
|
|
62
|
+
"mgg/file-type-document-rubber-stamp",
|
|
63
|
+
"mgg/file-type-home",
|
|
64
|
+
"mgg/file-type-pdf",
|
|
65
|
+
"mgg/file-type-success",
|
|
66
|
+
"mgg/file-type-warning",
|
|
67
|
+
"mgg/finance-euro-cashback",
|
|
68
|
+
"mgg/fit-horizontal",
|
|
69
|
+
"mgg/fit-vertical",
|
|
70
|
+
"mgg/fullscreen-on-alt",
|
|
71
|
+
"mgg/google-check-small",
|
|
72
|
+
"mgg/google-place-item",
|
|
73
|
+
"mgg/heart-outline",
|
|
74
|
+
"mgg/heart",
|
|
75
|
+
"mgg/historic-building-unusable",
|
|
76
|
+
"mgg/historic-building",
|
|
77
|
+
"mgg/home-hammer",
|
|
78
|
+
"mgg/home-number",
|
|
79
|
+
"mgg/inagibile",
|
|
80
|
+
"mgg/input-calendar-costs",
|
|
81
|
+
"mgg/input-calendar-period",
|
|
82
|
+
"mgg/input-calendar-time",
|
|
83
|
+
"mgg/isbn",
|
|
84
|
+
"mgg/judge-hammer",
|
|
85
|
+
"mgg/land-registry",
|
|
86
|
+
"mgg/layers",
|
|
87
|
+
"mgg/list-dot",
|
|
88
|
+
"mgg/logo-girasole-camuno",
|
|
89
|
+
"mgg/logo-gpl",
|
|
90
|
+
"mgg/logo-ilibro",
|
|
91
|
+
"mgg/map-marker-settings",
|
|
92
|
+
"mgg/military-draft",
|
|
93
|
+
"mgg/money-bag-settings",
|
|
94
|
+
"mgg/money-on-hand",
|
|
95
|
+
"mgg/move-down",
|
|
96
|
+
"mgg/move-left",
|
|
97
|
+
"mgg/move-right",
|
|
98
|
+
"mgg/move-row-down",
|
|
99
|
+
"mgg/move-row-up",
|
|
100
|
+
"mgg/move-up",
|
|
101
|
+
"mgg/multiple-payments",
|
|
102
|
+
"mgg/national-document-off",
|
|
103
|
+
"mgg/national-document",
|
|
104
|
+
"mgg/order-return-down-left-to-right",
|
|
105
|
+
"mgg/order-return-down-left-to-up",
|
|
106
|
+
"mgg/order-return-down-right-to-left",
|
|
107
|
+
"mgg/order-return-down-right-to-up",
|
|
108
|
+
"mgg/order-return-up-left-to-down",
|
|
109
|
+
"mgg/order-return-up-left-to-right",
|
|
110
|
+
"mgg/order-return-up-right-to-down",
|
|
111
|
+
"mgg/order-return-up-right-to-left",
|
|
112
|
+
"mgg/order-zigzag-down-left-to-right",
|
|
113
|
+
"mgg/order-zigzag-down-left-to-up",
|
|
114
|
+
"mgg/order-zigzag-down-right-to-left",
|
|
115
|
+
"mgg/order-zigzag-down-right-to-up",
|
|
116
|
+
"mgg/order-zigzag-up-left-to-down",
|
|
117
|
+
"mgg/order-zigzag-up-left-to-right",
|
|
118
|
+
"mgg/order-zigzag-up-right-to-down",
|
|
119
|
+
"mgg/order-zigzag-up-right-to-left",
|
|
120
|
+
"mgg/other-properties-off",
|
|
121
|
+
"mgg/other-properties",
|
|
122
|
+
"mgg/partial-wall",
|
|
123
|
+
"mgg/payment-settings",
|
|
124
|
+
"mgg/places-green-doc",
|
|
125
|
+
"mgg/places-green-history",
|
|
126
|
+
"mgg/places-green-info",
|
|
127
|
+
"mgg/places-green",
|
|
128
|
+
"mgg/places-holiday-beach",
|
|
129
|
+
"mgg/places-market",
|
|
130
|
+
"mgg/places-park-alt",
|
|
131
|
+
"mgg/places-park",
|
|
132
|
+
"mgg/places-store-access-denied",
|
|
133
|
+
"mgg/property-owner",
|
|
134
|
+
"mgg/relevance",
|
|
135
|
+
"mgg/reporting-abuse",
|
|
136
|
+
"mgg/residency-permit",
|
|
137
|
+
"mgg/rubber-stamp",
|
|
138
|
+
"mgg/rurale",
|
|
139
|
+
"mgg/search-maggioli",
|
|
140
|
+
"mgg/send-progress",
|
|
141
|
+
"mgg/settings-attachment",
|
|
142
|
+
"mgg/sign-shop",
|
|
143
|
+
"mgg/square-viewfinder",
|
|
144
|
+
"mgg/stamp",
|
|
145
|
+
"mgg/status-progress-a-quarter",
|
|
146
|
+
"mgg/status-progress-complete",
|
|
147
|
+
"mgg/status-progress-half",
|
|
148
|
+
"mgg/status-progress-three-quarter",
|
|
149
|
+
"mgg/stuck-codes",
|
|
150
|
+
"mgg/tea-light",
|
|
151
|
+
"mgg/terminal",
|
|
152
|
+
"mgg/todo-completed-re-executable",
|
|
153
|
+
"mgg/todo-completed",
|
|
154
|
+
"mgg/todo-in-charge-by-me",
|
|
155
|
+
"mgg/todo-in-charge-by-others",
|
|
156
|
+
"mgg/todo-in-evaluation-by-others",
|
|
157
|
+
"mgg/todo-in-evaluation",
|
|
158
|
+
"mgg/todo-incoming-in-charge",
|
|
159
|
+
"mgg/todo-incoming-rejected",
|
|
160
|
+
"mgg/todo-pause",
|
|
161
|
+
"mgg/todo-running-completed",
|
|
162
|
+
"mgg/todo-suspended",
|
|
163
|
+
"mgg/todo",
|
|
164
|
+
"mgg/traffic-cone",
|
|
165
|
+
"mgg/trending-down",
|
|
166
|
+
"mgg/tributes",
|
|
167
|
+
"mgg/urban-city",
|
|
168
|
+
"mgg/user-dead",
|
|
169
|
+
"mgg/user-family",
|
|
170
|
+
"mgg/user-location-off",
|
|
171
|
+
"mgg/user-location",
|
|
172
|
+
"mgg/view-chart-gantt",
|
|
173
|
+
"mgg/view-side-by-side",
|
|
174
|
+
"mgg/work-book"
|
|
175
|
+
]
|
package/src/types/typography.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as o}from"./p-9084d19f.js";export{s as setNonce}from"./p-9084d19f.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-f44da2be",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"activeClicked","onClickActive"],[0,"activeMouseEnter","onMouseEnterActive"],[0,"activeMouseLeave","onMouseLeaveActive"]]]]]],e)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-c6d75694.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
package/{dist/mds-accordion-timer/p-6bb3b141.system.entry.js → www/build/p-118bf4e5.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-3face4e0.system.js"],(function(t){"use strict";var e,i,n,r,c;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;c=t.g}],execute:function(){var a=":host{display:block}";var s=t("mds_accordion_timer",function(){function t(t){var n=this;e(this,t);this.itemActivated=i(this,"itemActivated",7);this.clearIntervals=function(){window.clearInterval(n.timer);window.clearInterval(n.timeChecker);n.timer=null;n.timeChecker=null};this.progress=function(){return Math.abs(n.remainingTime()/n.duration-1)};this.addTimeListener=function(){n.timeChecker=window.setInterval((function(){var t=n.progress();if(n.activeItem!==undefined){n.activeItem.progress=t}if(t===1){n.activeItem.progress=0;n.startNext()}}),100)};this.beginningTime=function(){n.timeStarted=(new Date).getTime();return n.timeStarted};this.remainingTime=function(){var t=n.activeItemDurationTime-((new Date).getTime()-n.timeStarted);return t>=0?t:0};this.setActiveItem=function(t){n.children.forEach((function(e,i){if(i===t){e.active=true;n.activeItem=e;n.itemActivated.emit(t)}else{e.active=false}}))};this.startNext=function(){var t=n.activeItem.uuid+1>n.children.length-1?0:n.activeItem.uuid+1;n.setActiveItem(t);n.startTimer()};this.startTimer=function(){n.clearIntervals();n.time=n.beginningTime();n.activeItemDurationTime=n.duration;n.addTimeListener()};this.playTimer=function(){n.beginningTime();n.addTimeListener()};this.pauseTimer=function(){n.clearIntervals();n.activeItemDurationTime=n.remainingTime()};this.stopTimer=function(){n.clearIntervals();n.time=null};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(e,i){e.uuid=i;if(e.active){t.activeItem=e}}))};t.prototype.connectedCallback=function(){this.startTimer()};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(t.detail===this.activeItem.description){return}var e;this.children.forEach((function(i){i.progress=0;if(i.description===t.detail){e=i.uuid}}));this.setActiveItem(e);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterActive=function(){this.pauseTimer()};t.prototype.onMouseLeaveActive=function(){if(this.timeChecker===null){this.playTimer()}};t.prototype.render=function(){return n(r,null,n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return c(this)},enumerable:false,configurable:true});return t}());s.style=a}}}));
|