@maggioli-design-system/mds-input-select 1.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-49333be9.js +1713 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/mds-input-select.cjs.entry.js +80 -0
- package/dist/cjs/mds-input-select.cjs.js +23 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/common/aria.js +29 -0
- package/dist/collection/common/file.js +48 -0
- package/dist/collection/common/icon.js +15 -0
- package/dist/collection/common/keyboard-manager.js +45 -0
- package/dist/collection/common/unit.js +22 -0
- package/dist/collection/common/yugop/core.js +16 -0
- package/dist/collection/common/yugop/index.js +3 -0
- package/dist/collection/common/yugop/random-text.js +59 -0
- package/dist/collection/common/yugop/utils/math.js +11 -0
- package/dist/collection/common/yugop/utils/noop.js +1 -0
- package/dist/collection/common/yugop/utils/prng.js +21 -0
- package/dist/collection/common/yugop/utils/string.js +2 -0
- package/dist/collection/components/mds-input-select/mds-input-select.css +533 -0
- package/dist/collection/components/mds-input-select/mds-input-select.js +174 -0
- package/dist/collection/components/mds-input-select/test/mds-input-select.e2e.js +10 -0
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +28 -0
- package/dist/collection/dictionary/autocomplete.js +59 -0
- package/dist/collection/dictionary/button.js +30 -0
- package/dist/collection/dictionary/color.js +19 -0
- package/dist/collection/dictionary/file-extensions.js +64 -0
- package/dist/collection/dictionary/floating-ui.js +19 -0
- package/dist/collection/dictionary/icon.js +10 -0
- package/dist/collection/dictionary/input.js +37 -0
- package/dist/collection/dictionary/loading.js +5 -0
- package/dist/collection/dictionary/text.js +6 -0
- package/dist/collection/dictionary/typography.js +67 -0
- package/dist/collection/dictionary/variant.js +90 -0
- package/dist/collection/fixtures/cities.js +110 -0
- package/dist/collection/fixtures/filenames.js +57 -0
- package/dist/collection/interface/input-value.js +1 -0
- package/dist/collection/type/autocomplete.js +1 -0
- package/dist/collection/type/button.js +1 -0
- package/dist/collection/type/file-types.js +1 -0
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/form-rel.js +1 -0
- package/dist/collection/type/input.js +1 -0
- package/dist/collection/type/loading.js +1 -0
- package/dist/collection/type/text.js +1 -0
- package/dist/collection/type/typography.js +1 -0
- package/dist/collection/type/variant-file-format.js +111 -0
- package/dist/collection/type/variant.js +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +1 -0
- package/dist/components/mds-input-select.d.ts +11 -0
- package/dist/components/mds-input-select.js +94 -0
- package/dist/documentation.d.ts +401 -0
- package/dist/documentation.json +161 -0
- package/dist/esm/index-5f46338e.js +1684 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +9 -0
- package/dist/esm/mds-input-select.entry.js +76 -0
- package/dist/esm/mds-input-select.js +18 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm-es5/index-5f46338e.js +1 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/mds-input-select.entry.js +1 -0
- package/dist/esm-es5/mds-input-select.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mds-input-select/index.esm.js +0 -0
- package/dist/mds-input-select/mds-input-select.esm.js +1 -0
- package/dist/mds-input-select/mds-input-select.js +127 -0
- package/dist/mds-input-select/p-50ea2036.system.js +1 -0
- package/dist/mds-input-select/p-7c9868ca.entry.js +1 -0
- package/dist/mds-input-select/p-861fc894.system.js +2 -0
- package/dist/mds-input-select/p-ac8d0a7e.js +2 -0
- package/dist/mds-input-select/p-d16d283c.system.js +1 -0
- package/dist/mds-input-select/p-f6ca4ca0.system.entry.js +1 -0
- package/dist/stats.json +628 -0
- package/dist/types/common/aria.d.ts +5 -0
- package/dist/types/common/file.d.ts +12 -0
- package/dist/types/common/icon.d.ts +5 -0
- package/dist/types/common/keyboard-manager.d.ts +12 -0
- package/dist/types/common/unit.d.ts +3 -0
- package/dist/types/common/yugop/core.d.ts +10 -0
- package/dist/types/common/yugop/index.d.ts +1 -0
- package/dist/types/common/yugop/random-text.d.ts +31 -0
- package/dist/types/common/yugop/utils/math.d.ts +3 -0
- package/dist/types/common/yugop/utils/noop.d.ts +1 -0
- package/dist/types/common/yugop/utils/prng.d.ts +8 -0
- package/dist/types/common/yugop/utils/string.d.ts +1 -0
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +26 -0
- package/dist/types/components.d.ts +90 -0
- package/dist/types/dictionary/autocomplete.d.ts +2 -0
- package/dist/types/dictionary/button.d.ts +6 -0
- package/dist/types/dictionary/color.d.ts +3 -0
- package/dist/types/dictionary/file-extensions.d.ts +11 -0
- package/dist/types/dictionary/floating-ui.d.ts +3 -0
- package/dist/types/dictionary/icon.d.ts +4 -0
- package/dist/types/dictionary/input.d.ts +5 -0
- package/dist/types/dictionary/loading.d.ts +2 -0
- package/dist/types/dictionary/text.d.ts +2 -0
- package/dist/types/dictionary/typography.d.ts +11 -0
- package/dist/types/dictionary/variant.d.ts +11 -0
- package/dist/types/fixtures/cities.d.ts +2 -0
- package/dist/types/fixtures/filenames.d.ts +2 -0
- package/dist/types/interface/input-value.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/type/autocomplete.d.ts +2 -0
- package/dist/types/type/button.d.ts +5 -0
- package/dist/types/type/file-types.d.ts +1 -0
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/form-rel.d.ts +1 -0
- package/dist/types/type/input.d.ts +4 -0
- package/dist/types/type/loading.d.ts +1 -0
- package/dist/types/type/text.d.ts +1 -0
- package/dist/types/type/typography.d.ts +10 -0
- package/dist/types/type/variant-file-format.d.ts +11 -0
- package/dist/types/type/variant.d.ts +12 -0
- package/documentation.json +577 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +57 -0
- package/readme.md +29 -0
- package/src/common/aria.ts +39 -0
- package/src/common/file.ts +63 -0
- package/src/common/icon.ts +25 -0
- package/src/common/keyboard-manager.ts +50 -0
- package/src/common/unit.ts +33 -0
- package/src/common/yugop/core.ts +47 -0
- package/src/common/yugop/index.ts +4 -0
- package/src/common/yugop/random-text.ts +95 -0
- package/src/common/yugop/utils/math.ts +21 -0
- package/src/common/yugop/utils/noop.ts +1 -0
- package/src/common/yugop/utils/prng.ts +35 -0
- package/src/common/yugop/utils/string.ts +4 -0
- package/src/components/mds-input-select/.gitlab-ci.yml +25 -0
- package/src/components/mds-input-select/mds-input-select.css +98 -0
- package/src/components/mds-input-select/mds-input-select.tsx +112 -0
- package/src/components/mds-input-select/readme.md +27 -0
- package/src/components/mds-input-select/test/mds-input-select.e2e.ts +12 -0
- package/src/components/mds-input-select/test/mds-input-select.stories.tsx +38 -0
- package/src/components.d.ts +90 -0
- package/src/dictionary/autocomplete.ts +62 -0
- package/src/dictionary/button.ts +41 -0
- package/src/dictionary/color.ts +24 -0
- package/src/dictionary/file-extensions.ts +81 -0
- package/src/dictionary/floating-ui.ts +25 -0
- package/src/dictionary/icon.ts +15 -0
- package/src/dictionary/input.ts +48 -0
- package/src/dictionary/loading.ts +9 -0
- package/src/dictionary/text.ts +9 -0
- package/src/dictionary/typography.ts +88 -0
- package/src/dictionary/variant.ts +111 -0
- package/src/fixtures/cities.ts +116 -0
- package/src/fixtures/filenames.ts +60 -0
- package/src/fixtures/icons.json +315 -0
- package/src/fixtures/iconsauce.json +236 -0
- package/src/interface/input-value.ts +5 -0
- package/src/tailwind/components.css +15 -0
- package/src/type/autocomplete.ts +69 -0
- package/src/type/button.ts +28 -0
- package/src/type/file-types.ts +55 -0
- package/src/type/floating-ui.ts +17 -0
- package/src/type/form-rel.ts +11 -0
- package/src/type/input.ts +25 -0
- package/src/type/loading.ts +3 -0
- package/src/type/text.ts +4 -0
- package/src/type/typography.ts +65 -0
- package/src/type/variant-file-format.ts +128 -0
- package/src/type/variant.ts +99 -0
- package/www/build/index.esm.js +0 -0
- package/www/build/mds-input-select.esm.js +1 -0
- package/www/build/mds-input-select.js +127 -0
- package/www/build/p-50ea2036.system.js +1 -0
- package/www/build/p-7c9868ca.entry.js +1 -0
- package/www/build/p-861fc894.system.js +2 -0
- package/www/build/p-ac8d0a7e.js +2 -0
- package/www/build/p-d16d283c.system.js +1 -0
- package/www/build/p-f6ca4ca0.system.entry.js +1 -0
- package/www/host.config.json +15 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { citiesDictionary } from "../../../fixtures/cities";
|
|
2
|
+
import { autoCompleteDictionary } from "../../../dictionary/autocomplete";
|
|
3
|
+
import { h } from "@stencil/core";
|
|
4
|
+
const cities = {};
|
|
5
|
+
citiesDictionary.map((element, index) => { cities[index] = element; });
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Form / Select',
|
|
8
|
+
argTypes: {
|
|
9
|
+
autocomplete: {
|
|
10
|
+
description: 'Specifies whether the element should have autocomplete enabled',
|
|
11
|
+
options: autoCompleteDictionary,
|
|
12
|
+
control: { type: 'select' },
|
|
13
|
+
},
|
|
14
|
+
autofocus: {
|
|
15
|
+
type: { name: 'boolean' },
|
|
16
|
+
description: 'Specifies that the element should automatically get focus when the page loads',
|
|
17
|
+
},
|
|
18
|
+
placeholder: {
|
|
19
|
+
type: { name: 'string' },
|
|
20
|
+
description: 'Specifies a short hint that describes the expected value of the element',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
const Template = args => h("mds-input-select", Object.assign({}, args), h("option", { value: "1" }, "First contact"), h("option", { value: "2" }, "Second impact"), h("option", { value: "3" }, "The Third Man"), h("option", { value: "4" }, "The Fourth Emendament"));
|
|
25
|
+
export const Default = Template.bind({});
|
|
26
|
+
Default.args = {
|
|
27
|
+
placeholder: 'Seleziona un film...',
|
|
28
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const autoCompleteDictionary = [
|
|
2
|
+
'additional-name',
|
|
3
|
+
'address',
|
|
4
|
+
'address-level1',
|
|
5
|
+
'address-level2',
|
|
6
|
+
'address-level3',
|
|
7
|
+
'address-level4',
|
|
8
|
+
'address-line1',
|
|
9
|
+
'address-line2',
|
|
10
|
+
'address-line3',
|
|
11
|
+
'bday',
|
|
12
|
+
'bday-day',
|
|
13
|
+
'bday-month',
|
|
14
|
+
'bday-year',
|
|
15
|
+
'cc-additional-name',
|
|
16
|
+
'cc-csc',
|
|
17
|
+
'cc-exp',
|
|
18
|
+
'cc-exp-month',
|
|
19
|
+
'cc-exp-year',
|
|
20
|
+
'cc-family-name',
|
|
21
|
+
'cc-family-name',
|
|
22
|
+
'cc-given-name',
|
|
23
|
+
'cc-name',
|
|
24
|
+
'cc-number',
|
|
25
|
+
'cc-type',
|
|
26
|
+
'country',
|
|
27
|
+
'country-name',
|
|
28
|
+
'current-password',
|
|
29
|
+
'email',
|
|
30
|
+
'family-name',
|
|
31
|
+
'given-name',
|
|
32
|
+
'honorific-prefix',
|
|
33
|
+
'honorific-suffix',
|
|
34
|
+
'impp',
|
|
35
|
+
'language',
|
|
36
|
+
'name',
|
|
37
|
+
'new-password',
|
|
38
|
+
'nickname',
|
|
39
|
+
'off',
|
|
40
|
+
'on',
|
|
41
|
+
'one-time-code',
|
|
42
|
+
'organization',
|
|
43
|
+
'organization-title',
|
|
44
|
+
'photo',
|
|
45
|
+
'postal-code',
|
|
46
|
+
'sex',
|
|
47
|
+
'street-address',
|
|
48
|
+
'tel',
|
|
49
|
+
'tel-area-code',
|
|
50
|
+
'tel-country-code',
|
|
51
|
+
'tel-extension',
|
|
52
|
+
'tel-local',
|
|
53
|
+
'tel-national',
|
|
54
|
+
'transaction-amount',
|
|
55
|
+
'transaction-currency',
|
|
56
|
+
'url',
|
|
57
|
+
'username',
|
|
58
|
+
];
|
|
59
|
+
export { autoCompleteDictionary, };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const buttonVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
];
|
|
10
|
+
const buttonToneVariantDictionary = [
|
|
11
|
+
'strong',
|
|
12
|
+
'weak',
|
|
13
|
+
'ghost',
|
|
14
|
+
'quiet',
|
|
15
|
+
];
|
|
16
|
+
const buttonTargetDictionary = [
|
|
17
|
+
'blank',
|
|
18
|
+
'self',
|
|
19
|
+
];
|
|
20
|
+
const buttonSizeDictionary = [
|
|
21
|
+
'sm',
|
|
22
|
+
'md',
|
|
23
|
+
'lg',
|
|
24
|
+
'xl',
|
|
25
|
+
];
|
|
26
|
+
const buttonIconPositionDictionary = [
|
|
27
|
+
'left',
|
|
28
|
+
'right',
|
|
29
|
+
];
|
|
30
|
+
export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonVariantDictionary, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const colorLabelDictionary = [
|
|
2
|
+
'amaranth',
|
|
3
|
+
'aqua',
|
|
4
|
+
'blue',
|
|
5
|
+
'green',
|
|
6
|
+
'lime',
|
|
7
|
+
'orange',
|
|
8
|
+
'orchid',
|
|
9
|
+
'sky',
|
|
10
|
+
'violet',
|
|
11
|
+
'yellow',
|
|
12
|
+
];
|
|
13
|
+
const colorStatusDictionary = [
|
|
14
|
+
'error',
|
|
15
|
+
'info',
|
|
16
|
+
'success',
|
|
17
|
+
'warning',
|
|
18
|
+
];
|
|
19
|
+
export { colorLabelDictionary, colorStatusDictionary, };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const fileExtensionsDictionary = {
|
|
2
|
+
'7z': { format: 'archive', description: 'Archivio compresso' },
|
|
3
|
+
ace: { format: 'archive', description: 'Archivio compresso' },
|
|
4
|
+
ai: { format: 'vector', description: 'Vettoriale Adobe Illustrator' },
|
|
5
|
+
dart: { format: 'code', description: 'Dart' },
|
|
6
|
+
db: { format: 'data', description: 'File di database' },
|
|
7
|
+
default: { format: 'attachment', description: 'Formato sconosciuto' },
|
|
8
|
+
dmg: { format: 'executable', description: 'Apple Disk Image' },
|
|
9
|
+
doc: { format: 'text', description: 'Documento Microsoft Word' },
|
|
10
|
+
docm: { format: 'text', description: 'Documento Microsoft Word' },
|
|
11
|
+
docx: { format: 'text', description: 'Documento Microsoft Word Compresso' },
|
|
12
|
+
eml: { format: 'email', description: 'E-mail di posta elettronica' },
|
|
13
|
+
eps: { format: 'vector', description: 'Vettoriale Corel Draw' },
|
|
14
|
+
exe: { format: 'executable', description: 'File eseguibile Windows' },
|
|
15
|
+
flac: { format: 'audio', description: 'Audio non compresso' },
|
|
16
|
+
gif: { format: 'image', description: 'Immagine compressa', preview: true },
|
|
17
|
+
htm: { format: 'markup', description: 'Pagina web' },
|
|
18
|
+
heic: { format: 'image', description: 'High Efficiency Image File Format' },
|
|
19
|
+
html: { format: 'markup', description: 'Pagina web' },
|
|
20
|
+
jpe: { format: 'image', description: 'Immagine compressa', preview: true },
|
|
21
|
+
jpeg: { format: 'image', description: 'Immagine compressa', preview: true },
|
|
22
|
+
jpg: { format: 'image', description: 'Immagine compressa', preview: true },
|
|
23
|
+
js: { format: 'code', description: 'JavaScript' },
|
|
24
|
+
json: { format: 'data', description: 'JavaScript Object Notation' },
|
|
25
|
+
jsx: { format: 'code', description: 'JavaScript' },
|
|
26
|
+
m2v: { format: 'video', description: 'Filmato SD' },
|
|
27
|
+
mp2: { format: 'audio', description: 'Audio compresso' },
|
|
28
|
+
mp3: { format: 'audio', description: 'Audio compresso' },
|
|
29
|
+
mp4: { format: 'video', description: 'Filmato HD' },
|
|
30
|
+
mp4v: { format: 'video', description: 'Filmato HD' },
|
|
31
|
+
mpeg: { format: 'video', description: 'Filmato SD' },
|
|
32
|
+
mpg4: { format: 'video', description: 'Filmato SD' },
|
|
33
|
+
mpg: { format: 'video', description: 'Filmato SD' },
|
|
34
|
+
mpga: { format: 'audio', description: 'Audio compresso' },
|
|
35
|
+
odp: { format: 'slide', description: 'Slide di presentazione LibreOffice' },
|
|
36
|
+
ods: { format: 'spreadsheet', description: 'Foglio di calcolo LibreOffice' },
|
|
37
|
+
odt: { format: 'text', description: 'File di testo LibreOffice' },
|
|
38
|
+
pdf: { format: 'document', description: 'Documento Adobe' },
|
|
39
|
+
php: { format: 'code', description: 'Hypertext Preprocessor' },
|
|
40
|
+
png: { format: 'image', description: 'Immagine Portable Network Graphics', preview: true },
|
|
41
|
+
ppt: { format: 'slide', description: 'Slide di presentazione PowerPoint' },
|
|
42
|
+
rar: { format: 'archive', description: 'Archivio compresso' },
|
|
43
|
+
rtf: { format: 'text', description: 'Documento di testo Rich Text Format' },
|
|
44
|
+
sass: { format: 'code', description: 'Syntactically Awesome StyleSheets' },
|
|
45
|
+
shtml: { format: 'markup', description: 'Pagina web' },
|
|
46
|
+
svg: { format: 'vector', description: 'Scalable Vector Graphics', preview: true },
|
|
47
|
+
tar: { format: 'archive', description: 'Archivio non compresso' },
|
|
48
|
+
tiff: { format: 'image', description: 'Tag Image File Format' },
|
|
49
|
+
ts: { format: 'code', description: 'TypeScript' },
|
|
50
|
+
tsx: { format: 'code', description: 'TypeScript Extended Syntax' },
|
|
51
|
+
txt: { format: 'text', description: 'Documento di testo non formattato' },
|
|
52
|
+
wav: { format: 'audio', description: 'Audio non compresso' },
|
|
53
|
+
webp: { format: 'image', description: 'Immagine Web Picture', preview: true },
|
|
54
|
+
xar: { format: 'archive', description: 'Archivio compresso' },
|
|
55
|
+
xls: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
|
|
56
|
+
xlsx: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
|
|
57
|
+
zip: { format: 'archive', description: 'Archivio compresso' },
|
|
58
|
+
};
|
|
59
|
+
const genericMimeToExt = new Map([
|
|
60
|
+
['image', ['.png', '.jpg', '.jpeg', '.tiff', '.webp', '.jpe', '.gif', '.heic']],
|
|
61
|
+
['audio', ['.mp2', '.mp3', '.mpga', '.wav', '.flac']],
|
|
62
|
+
['video', ['.mv2', '.mp4', '.mp4v', '.mpeg', '.mpg4', '.mpg']],
|
|
63
|
+
]);
|
|
64
|
+
export { fileExtensionsDictionary, genericMimeToExt, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const floatingUIPlacementDictionary = [
|
|
2
|
+
'bottom',
|
|
3
|
+
'bottom-end',
|
|
4
|
+
'bottom-start',
|
|
5
|
+
'left',
|
|
6
|
+
'left-end',
|
|
7
|
+
'left-start',
|
|
8
|
+
'right',
|
|
9
|
+
'right-end',
|
|
10
|
+
'right-start',
|
|
11
|
+
'top',
|
|
12
|
+
'top-end',
|
|
13
|
+
'top-start',
|
|
14
|
+
];
|
|
15
|
+
const floatingUIStrategyDictionary = [
|
|
16
|
+
'absolute',
|
|
17
|
+
'fixed',
|
|
18
|
+
];
|
|
19
|
+
export { floatingUIPlacementDictionary, floatingUIStrategyDictionary, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import jsonIconsDictionary from "../fixtures/icons.json";
|
|
2
|
+
import jsonMggIconsDictionary from "../fixtures/iconsauce.json";
|
|
3
|
+
const iconsDictionary = jsonIconsDictionary;
|
|
4
|
+
const mggIconsDictionary = jsonMggIconsDictionary;
|
|
5
|
+
const svgIconsDictionary = [
|
|
6
|
+
`${location.origin}/svg/mi/baseline/email.svg`,
|
|
7
|
+
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Im0yMzMtODAgNjUtMjgxTDgwLTU1MGwyODgtMjUgMTEyLTI2NSAxMTIgMjY1IDI4OCAyNS0yMTggMTg5IDY1IDI4MS0yNDctMTQ5TDIzMy04MFoiLz48L3N2Zz4=',
|
|
8
|
+
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6s-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8z"/></svg>',
|
|
9
|
+
];
|
|
10
|
+
export { iconsDictionary, mggIconsDictionary, svgIconsDictionary, };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const inputTextTypeDictionary = [
|
|
2
|
+
'date',
|
|
3
|
+
'email',
|
|
4
|
+
'number',
|
|
5
|
+
'password',
|
|
6
|
+
'search',
|
|
7
|
+
'tel',
|
|
8
|
+
'text',
|
|
9
|
+
'textarea',
|
|
10
|
+
'time',
|
|
11
|
+
'url',
|
|
12
|
+
];
|
|
13
|
+
const inputFieldTypeDictionary = [
|
|
14
|
+
'date',
|
|
15
|
+
'email',
|
|
16
|
+
'number',
|
|
17
|
+
'password',
|
|
18
|
+
'search',
|
|
19
|
+
'tel',
|
|
20
|
+
'text',
|
|
21
|
+
'textarea',
|
|
22
|
+
'time',
|
|
23
|
+
'url',
|
|
24
|
+
'cc',
|
|
25
|
+
'cf',
|
|
26
|
+
'isbn',
|
|
27
|
+
'piva',
|
|
28
|
+
];
|
|
29
|
+
const inputControlsLayoutDictionary = [
|
|
30
|
+
'horizontal',
|
|
31
|
+
'vertical',
|
|
32
|
+
];
|
|
33
|
+
const inputControlsIconDictionary = [
|
|
34
|
+
'arrow',
|
|
35
|
+
'arithmetic',
|
|
36
|
+
];
|
|
37
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, inputFieldTypeDictionary, };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const typographyDictionary = [
|
|
2
|
+
'action',
|
|
3
|
+
'caption',
|
|
4
|
+
'snippet',
|
|
5
|
+
'detail',
|
|
6
|
+
'h1',
|
|
7
|
+
'h2',
|
|
8
|
+
'h3',
|
|
9
|
+
'h4',
|
|
10
|
+
'h5',
|
|
11
|
+
'h6',
|
|
12
|
+
'hack',
|
|
13
|
+
'label',
|
|
14
|
+
'option',
|
|
15
|
+
'paragraph',
|
|
16
|
+
'tip',
|
|
17
|
+
];
|
|
18
|
+
const typographyVariationsDictionary = [
|
|
19
|
+
'title',
|
|
20
|
+
'info',
|
|
21
|
+
'read',
|
|
22
|
+
'code',
|
|
23
|
+
];
|
|
24
|
+
const typographyReadingVariationsDictionary = [
|
|
25
|
+
'info',
|
|
26
|
+
'read',
|
|
27
|
+
];
|
|
28
|
+
const typographyMonoDictionary = [
|
|
29
|
+
'snippet',
|
|
30
|
+
'hack',
|
|
31
|
+
];
|
|
32
|
+
const typographyTitleDictionary = [
|
|
33
|
+
'action',
|
|
34
|
+
'h1',
|
|
35
|
+
'h2',
|
|
36
|
+
'h3',
|
|
37
|
+
'h4',
|
|
38
|
+
'h5',
|
|
39
|
+
'h6',
|
|
40
|
+
];
|
|
41
|
+
const typographyInfoDictionary = [
|
|
42
|
+
'caption',
|
|
43
|
+
'detail',
|
|
44
|
+
'label',
|
|
45
|
+
'option',
|
|
46
|
+
'paragraph',
|
|
47
|
+
'tip',
|
|
48
|
+
];
|
|
49
|
+
const typographyReadDictionary = [
|
|
50
|
+
'caption',
|
|
51
|
+
'detail',
|
|
52
|
+
'paragraph',
|
|
53
|
+
];
|
|
54
|
+
const typographySmallerDictionary = [
|
|
55
|
+
'option',
|
|
56
|
+
'tip',
|
|
57
|
+
];
|
|
58
|
+
const typographyTooltipDictionary = [
|
|
59
|
+
'caption',
|
|
60
|
+
'detail',
|
|
61
|
+
'tip',
|
|
62
|
+
];
|
|
63
|
+
const typographyInputDictionary = [
|
|
64
|
+
'snippet',
|
|
65
|
+
'detail',
|
|
66
|
+
];
|
|
67
|
+
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const themeVariantDictionary = [
|
|
2
|
+
'dark',
|
|
3
|
+
'error',
|
|
4
|
+
'info',
|
|
5
|
+
'light',
|
|
6
|
+
'primary',
|
|
7
|
+
'success',
|
|
8
|
+
'warning',
|
|
9
|
+
];
|
|
10
|
+
const themeLuminanceVariantDictionary = [
|
|
11
|
+
'dark',
|
|
12
|
+
'light',
|
|
13
|
+
];
|
|
14
|
+
const themeStatusVariantDictionary = [
|
|
15
|
+
'error',
|
|
16
|
+
'info',
|
|
17
|
+
'success',
|
|
18
|
+
'warning',
|
|
19
|
+
];
|
|
20
|
+
const themeFullVariantDictionary = [
|
|
21
|
+
'amaranth',
|
|
22
|
+
'aqua',
|
|
23
|
+
'blue',
|
|
24
|
+
'dark',
|
|
25
|
+
'error',
|
|
26
|
+
'green',
|
|
27
|
+
'info',
|
|
28
|
+
'light',
|
|
29
|
+
'lime',
|
|
30
|
+
'orange',
|
|
31
|
+
'orchid',
|
|
32
|
+
'sky',
|
|
33
|
+
'success',
|
|
34
|
+
'violet',
|
|
35
|
+
'warning',
|
|
36
|
+
'yellow',
|
|
37
|
+
];
|
|
38
|
+
const themeFullVariantAvatarDictionary = [
|
|
39
|
+
'amaranth',
|
|
40
|
+
'aqua',
|
|
41
|
+
'blue',
|
|
42
|
+
'error',
|
|
43
|
+
'green',
|
|
44
|
+
'info',
|
|
45
|
+
'lime',
|
|
46
|
+
'orange',
|
|
47
|
+
'orchid',
|
|
48
|
+
'primary',
|
|
49
|
+
'sky',
|
|
50
|
+
'success',
|
|
51
|
+
'violet',
|
|
52
|
+
'warning',
|
|
53
|
+
'yellow',
|
|
54
|
+
];
|
|
55
|
+
const themeLabelVariantDictionary = [
|
|
56
|
+
'amaranth',
|
|
57
|
+
'aqua',
|
|
58
|
+
'blue',
|
|
59
|
+
'green',
|
|
60
|
+
'lime',
|
|
61
|
+
'orange',
|
|
62
|
+
'orchid',
|
|
63
|
+
'sky',
|
|
64
|
+
'violet',
|
|
65
|
+
'yellow',
|
|
66
|
+
];
|
|
67
|
+
const toneVariantDictionary = [
|
|
68
|
+
'strong',
|
|
69
|
+
'weak',
|
|
70
|
+
'ghost',
|
|
71
|
+
'quiet',
|
|
72
|
+
];
|
|
73
|
+
const toneActionVariantDictionary = [
|
|
74
|
+
'primary',
|
|
75
|
+
'secondary',
|
|
76
|
+
'tertiary',
|
|
77
|
+
'strong',
|
|
78
|
+
'weak',
|
|
79
|
+
'quiet',
|
|
80
|
+
];
|
|
81
|
+
const toneSimpleVariantDictionary = [
|
|
82
|
+
'strong',
|
|
83
|
+
'weak',
|
|
84
|
+
'quiet',
|
|
85
|
+
];
|
|
86
|
+
const toneMinimalVariantDictionary = [
|
|
87
|
+
'strong',
|
|
88
|
+
'weak',
|
|
89
|
+
];
|
|
90
|
+
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneVariantDictionary, };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
const citiesDictionary = [
|
|
2
|
+
'Agrigento',
|
|
3
|
+
'Alessandria',
|
|
4
|
+
'Ancona',
|
|
5
|
+
'Aosta',
|
|
6
|
+
'Arezzo',
|
|
7
|
+
'Ascoli Piceno',
|
|
8
|
+
'Asti',
|
|
9
|
+
'Avellino',
|
|
10
|
+
'Bari',
|
|
11
|
+
'Barletta-Andria-Trani',
|
|
12
|
+
'Belluno',
|
|
13
|
+
'Benevento',
|
|
14
|
+
'Bergamo',
|
|
15
|
+
'Biella',
|
|
16
|
+
'Bologna',
|
|
17
|
+
'Bolzano',
|
|
18
|
+
'Brescia',
|
|
19
|
+
'Brindisi',
|
|
20
|
+
'Cagliari',
|
|
21
|
+
'Caltanissetta',
|
|
22
|
+
'Campobasso',
|
|
23
|
+
'Caserta',
|
|
24
|
+
'Catania',
|
|
25
|
+
'Catanzaro',
|
|
26
|
+
'Chieti',
|
|
27
|
+
'Como',
|
|
28
|
+
'Cosenza',
|
|
29
|
+
'Cremona',
|
|
30
|
+
'Crotone',
|
|
31
|
+
'Cuneo',
|
|
32
|
+
'Enna',
|
|
33
|
+
'Fermo',
|
|
34
|
+
'Ferrara',
|
|
35
|
+
'Firenze',
|
|
36
|
+
'Foggia',
|
|
37
|
+
'Forlì-Cesena',
|
|
38
|
+
'Frosinone',
|
|
39
|
+
'Genova',
|
|
40
|
+
'Gorizia',
|
|
41
|
+
'Grosseto',
|
|
42
|
+
'Imperia',
|
|
43
|
+
'Isernia',
|
|
44
|
+
'La Spezia',
|
|
45
|
+
'L\'Aquila',
|
|
46
|
+
'Latina',
|
|
47
|
+
'Lecce',
|
|
48
|
+
'Lecco',
|
|
49
|
+
'Livorno',
|
|
50
|
+
'Lodi',
|
|
51
|
+
'Lucca',
|
|
52
|
+
'Macerata',
|
|
53
|
+
'Mantova',
|
|
54
|
+
'Massa-Carrara',
|
|
55
|
+
'Matera',
|
|
56
|
+
'Messina',
|
|
57
|
+
'Milano',
|
|
58
|
+
'Modena',
|
|
59
|
+
'Monza e della Brianza',
|
|
60
|
+
'Napoli',
|
|
61
|
+
'Novara',
|
|
62
|
+
'Nuoro',
|
|
63
|
+
'Oristano',
|
|
64
|
+
'Padova',
|
|
65
|
+
'Palermo',
|
|
66
|
+
'Parma',
|
|
67
|
+
'Pavia',
|
|
68
|
+
'Perugia',
|
|
69
|
+
'Pesaro e Urbino',
|
|
70
|
+
'Pescara',
|
|
71
|
+
'Piacenza',
|
|
72
|
+
'Pisa',
|
|
73
|
+
'Pistoia',
|
|
74
|
+
'Pordenone',
|
|
75
|
+
'Potenza',
|
|
76
|
+
'Prato',
|
|
77
|
+
'Ragusa',
|
|
78
|
+
'Ravenna',
|
|
79
|
+
'Reggio Calabria',
|
|
80
|
+
'Reggio Emilia',
|
|
81
|
+
'Rieti',
|
|
82
|
+
'Rimini',
|
|
83
|
+
'Roma',
|
|
84
|
+
'Rovigo',
|
|
85
|
+
'Salerno',
|
|
86
|
+
'Sassari',
|
|
87
|
+
'Savona',
|
|
88
|
+
'Siena',
|
|
89
|
+
'Siracusa',
|
|
90
|
+
'Sondrio',
|
|
91
|
+
'Sud Sardegna',
|
|
92
|
+
'Taranto',
|
|
93
|
+
'Teramo',
|
|
94
|
+
'Terni',
|
|
95
|
+
'Torino',
|
|
96
|
+
'Trapani',
|
|
97
|
+
'Trento',
|
|
98
|
+
'Treviso',
|
|
99
|
+
'Trieste',
|
|
100
|
+
'Udine',
|
|
101
|
+
'Varese',
|
|
102
|
+
'Venezia',
|
|
103
|
+
'Verbano-Cusio-Ossola',
|
|
104
|
+
'Vercelli',
|
|
105
|
+
'Verona',
|
|
106
|
+
'Vibo Valentia',
|
|
107
|
+
'Vicenza',
|
|
108
|
+
'Viterbo',
|
|
109
|
+
];
|
|
110
|
+
export { citiesDictionary, };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const filesList = [
|
|
2
|
+
'alarm_circuit_plastic.eps',
|
|
3
|
+
'awesome_orchestration.png',
|
|
4
|
+
'b2c_tan_sports.svg',
|
|
5
|
+
'bedfordshire_iceland_identity.txt',
|
|
6
|
+
'books_monetize_arizona.htm',
|
|
7
|
+
'brand.shtml',
|
|
8
|
+
'brunei_logistical.eml',
|
|
9
|
+
'buckinghamshire_macao.jpg',
|
|
10
|
+
'calculating.json',
|
|
11
|
+
'complexity_deposit.mpg',
|
|
12
|
+
'compressing_black_colorado.ods',
|
|
13
|
+
'connect_local_visualize.pdf',
|
|
14
|
+
'copying.default',
|
|
15
|
+
'explicit.mp2',
|
|
16
|
+
'fish.php',
|
|
17
|
+
'flexibility_auto_money.html',
|
|
18
|
+
'foreground_overriding.ai',
|
|
19
|
+
'forge_face.ts',
|
|
20
|
+
'forges.doc',
|
|
21
|
+
'frozen_haptic.7z',
|
|
22
|
+
'gorgeous_manager_savings.ppt',
|
|
23
|
+
'graphic_frozen_bedfordshire.tar',
|
|
24
|
+
'hdd_navigate_panama.xlsx',
|
|
25
|
+
'https://i2.wp.com/clipart.info/images/ccovers/1495750818Apple-PNG-Clip-Art.png',
|
|
26
|
+
'impactful_alarm_handmade.mpeg',
|
|
27
|
+
'initiatives_group.gif',
|
|
28
|
+
'intelligent_radical.jpe',
|
|
29
|
+
'interface_bedfordshire_solid.m2v',
|
|
30
|
+
'iowa_installation.jpeg',
|
|
31
|
+
'liaison_panel_central.flac',
|
|
32
|
+
'matrix_black_hat.db',
|
|
33
|
+
'metrics_lempira_account.xls',
|
|
34
|
+
'monitor.js',
|
|
35
|
+
'nebraska.mp4',
|
|
36
|
+
'needs_based_solid.odp',
|
|
37
|
+
'officer_somalia.docm',
|
|
38
|
+
'open_source.webp',
|
|
39
|
+
'open_source_gorgeous.sass',
|
|
40
|
+
'optimization_radical.mp3',
|
|
41
|
+
'ports_copy_granite.mpga',
|
|
42
|
+
'pound.rtf',
|
|
43
|
+
'protocol_designer.dmg',
|
|
44
|
+
'reduced_regional_greenland.mp4v',
|
|
45
|
+
'revolutionize.mpg4',
|
|
46
|
+
'rss_systematic_avon.exe',
|
|
47
|
+
'salad_compressing.odt',
|
|
48
|
+
'sky_marketing.ace',
|
|
49
|
+
'synergistic.wav',
|
|
50
|
+
'this_is_an_extensionless_file',
|
|
51
|
+
'tuna_table_fall.zip',
|
|
52
|
+
'unbranded.rar',
|
|
53
|
+
'upgradable_gold.docx',
|
|
54
|
+
'wisconsin_bypassing_small.xar',
|
|
55
|
+
'wooden.jsx',
|
|
56
|
+
];
|
|
57
|
+
export { filesList, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|