@bexis2/bexis2-core-ui 0.3.1 → 0.3.3
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/README.md +14 -1
- package/dist/TableView.svelte +1 -1
- package/dist/components/File/FileIcon.svelte +45 -45
- package/dist/components/File/FileInfo.svelte +13 -13
- package/dist/components/ListView.svelte +5 -5
- package/dist/components/Table/Table.svelte +165 -100
- package/dist/components/Table/TableFilter.svelte +1 -0
- package/dist/components/form/Checkbox.svelte +13 -13
- package/dist/components/form/CheckboxKvPList.svelte +16 -16
- package/dist/components/form/CheckboxList.svelte +10 -10
- package/dist/components/form/DateInput.svelte +14 -14
- package/dist/components/form/DropdownKvP.svelte +54 -54
- package/dist/components/form/NumberInput.svelte +15 -15
- package/dist/components/form/TextArea.svelte +14 -14
- package/dist/components/form/TextInput.svelte +15 -15
- package/dist/components/page/Alert.svelte +28 -28
- package/dist/components/page/BackToTop.svelte +30 -30
- package/dist/components/page/Docs.svelte +22 -22
- package/dist/components/page/ErrorMessage.svelte +8 -8
- package/dist/components/page/Footer.svelte +5 -5
- package/dist/components/page/Header.svelte +5 -5
- package/dist/components/page/HelpPopUp.svelte +30 -30
- package/dist/components/page/PageCaller.js +19 -19
- package/dist/components/page/Spinner.svelte +14 -14
- package/dist/components/page/menu/MenuDataCaller.js +10 -10
- package/dist/css/core.ui.postcss +17 -17
- package/dist/css/themes/theme-bexis2.css +96 -96
- package/dist/css/themes/theme-crimson.css +101 -101
- package/dist/css/themes/theme-gold-nouveau.css +140 -140
- package/dist/css/themes/theme-hamlindigo.css +112 -112
- package/dist/css/themes/theme-modern.css +127 -127
- package/dist/css/themes/theme-rocket.css +119 -119
- package/dist/css/themes/theme-sahara.css +128 -128
- package/dist/css/themes/theme-seafoam.css +122 -122
- package/dist/css/themes/theme-seasonal.css +115 -115
- package/dist/css/themes/theme-skeleton.css +118 -118
- package/dist/css/themes/theme-vintage.css +125 -125
- package/dist/models/Models.d.ts +2 -0
- package/dist/services/BaseCaller.js +16 -16
- package/dist/stores/pageStores.js +1 -1
- package/dist/themes/theme-bexis2.js +104 -91
- package/package.json +2 -2
- package/src/lib/TableView.svelte +1 -1
- package/src/lib/components/CodeEditor/CodeEditor.svelte +1 -1
- package/src/lib/components/ListView.svelte +11 -11
- package/src/lib/components/Table/Table.svelte +198 -125
- package/src/lib/components/Table/TableFilter.svelte +7 -3
- package/src/lib/components/Table/filter.ts +141 -141
- package/src/lib/components/file/FileIcon.svelte +45 -45
- package/src/lib/components/file/FileInfo.svelte +13 -13
- package/src/lib/components/form/Checkbox.svelte +24 -24
- package/src/lib/components/form/CheckboxKvPList.svelte +29 -29
- package/src/lib/components/form/CheckboxList.svelte +21 -21
- package/src/lib/components/form/DateInput.svelte +27 -27
- package/src/lib/components/form/DropdownKvP.svelte +54 -54
- package/src/lib/components/form/NumberInput.svelte +30 -30
- package/src/lib/components/form/TextArea.svelte +28 -28
- package/src/lib/components/form/TextInput.svelte +28 -28
- package/src/lib/components/page/Alert.svelte +41 -41
- package/src/lib/components/page/BackToTop.svelte +30 -30
- package/src/lib/components/page/Docs.svelte +46 -46
- package/src/lib/components/page/ErrorMessage.svelte +10 -10
- package/src/lib/components/page/Footer.svelte +18 -18
- package/src/lib/components/page/Header.svelte +18 -18
- package/src/lib/components/page/HelpPopUp.svelte +72 -72
- package/src/lib/components/page/Notification.svelte +42 -47
- package/src/lib/components/page/Page.svelte +0 -1
- package/src/lib/components/page/PageCaller.js +19 -19
- package/src/lib/components/page/Spinner.svelte +20 -20
- package/src/lib/components/page/menu/MenuDataCaller.js +10 -10
- package/src/lib/css/core.ui.postcss +17 -17
- package/src/lib/css/themes/theme-bexis2.css +96 -96
- package/src/lib/css/themes/theme-crimson.css +101 -101
- package/src/lib/css/themes/theme-gold-nouveau.css +140 -140
- package/src/lib/css/themes/theme-hamlindigo.css +112 -112
- package/src/lib/css/themes/theme-modern.css +127 -127
- package/src/lib/css/themes/theme-rocket.css +119 -119
- package/src/lib/css/themes/theme-sahara.css +128 -128
- package/src/lib/css/themes/theme-seafoam.css +122 -122
- package/src/lib/css/themes/theme-seasonal.css +115 -115
- package/src/lib/css/themes/theme-skeleton.css +118 -118
- package/src/lib/css/themes/theme-vintage.css +125 -125
- package/src/lib/index.ts +1 -1
- package/src/lib/models/Models.ts +6 -4
- package/src/lib/models/Page.ts +40 -40
- package/src/lib/services/Api.ts +55 -55
- package/src/lib/services/BaseCaller.js +16 -16
- package/src/lib/stores/apiStores.ts +34 -34
- package/src/lib/stores/pageStores.ts +3 -3
- package/src/lib/themes/theme-bexis2.ts +107 -96
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
/* https://fonts.google.com/specimen/Lato?query=lato¬o.query=Abril */
|
|
2
|
-
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
|
|
3
|
-
|
|
4
|
-
:root {
|
|
5
|
-
/* =~= Theme Properties =~= */
|
|
6
|
-
--theme-font-family-base: system-ui;
|
|
7
|
-
--theme-font-family-heading: system-ui;
|
|
8
|
-
--theme-font-color-base: 0 0 0;
|
|
9
|
-
--theme-font-color-dark: 255 255 255;
|
|
10
|
-
--theme-rounded-base: 9999px;
|
|
11
|
-
--theme-rounded-container: 8px;
|
|
12
|
-
--theme-border-base: 1px;
|
|
13
|
-
/* =~= Theme On-X Colors =~= */
|
|
14
|
-
--on-primary: 0 0 0;
|
|
15
|
-
--on-secondary: 255 255 255;
|
|
16
|
-
--on-tertiary: 0 0 0;
|
|
17
|
-
--on-success: 0 0 0;
|
|
18
|
-
--on-warning: 0 0 0;
|
|
19
|
-
--on-error: 255 255 255;
|
|
20
|
-
--on-surface: 255 255 255;
|
|
21
|
-
/* =~= Theme Colors =~= */
|
|
22
|
-
/* primary | #0FBA81 */
|
|
23
|
-
--color-primary-50: 219 245 236; /* ⬅ #dbf5ec */
|
|
24
|
-
--color-primary-100: 207 241 230; /* ⬅ #cff1e6 */
|
|
25
|
-
--color-primary-200: 195 238 224; /* ⬅ #c3eee0 */
|
|
26
|
-
--color-primary-300: 159 227 205; /* ⬅ #9fe3cd */
|
|
27
|
-
--color-primary-400: 87 207 167; /* ⬅ #57cfa7 */
|
|
28
|
-
--color-primary-500: 15 186 129; /* ⬅ #0FBA81 */
|
|
29
|
-
--color-primary-600: 14 167 116; /* ⬅ #0ea774 */
|
|
30
|
-
--color-primary-700: 11 140 97; /* ⬅ #0b8c61 */
|
|
31
|
-
--color-primary-800: 9 112 77; /* ⬅ #09704d */
|
|
32
|
-
--color-primary-900: 7 91 63; /* ⬅ #075b3f */
|
|
33
|
-
/* secondary | #4F46E5 */
|
|
34
|
-
--color-secondary-50: 229 227 251; /* ⬅ #e5e3fb */
|
|
35
|
-
--color-secondary-100: 220 218 250; /* ⬅ #dcdafa */
|
|
36
|
-
--color-secondary-200: 211 209 249; /* ⬅ #d3d1f9 */
|
|
37
|
-
--color-secondary-300: 185 181 245; /* ⬅ #b9b5f5 */
|
|
38
|
-
--color-secondary-400: 132 126 237; /* ⬅ #847eed */
|
|
39
|
-
--color-secondary-500: 79 70 229; /* ⬅ #4F46E5 */
|
|
40
|
-
--color-secondary-600: 71 63 206; /* ⬅ #473fce */
|
|
41
|
-
--color-secondary-700: 59 53 172; /* ⬅ #3b35ac */
|
|
42
|
-
--color-secondary-800: 47 42 137; /* ⬅ #2f2a89 */
|
|
43
|
-
--color-secondary-900: 39 34 112; /* ⬅ #272270 */
|
|
44
|
-
/* tertiary | #0EA5E9 */
|
|
45
|
-
--color-tertiary-50: 219 242 252; /* ⬅ #dbf2fc */
|
|
46
|
-
--color-tertiary-100: 207 237 251; /* ⬅ #cfedfb */
|
|
47
|
-
--color-tertiary-200: 195 233 250; /* ⬅ #c3e9fa */
|
|
48
|
-
--color-tertiary-300: 159 219 246; /* ⬅ #9fdbf6 */
|
|
49
|
-
--color-tertiary-400: 86 192 240; /* ⬅ #56c0f0 */
|
|
50
|
-
--color-tertiary-500: 14 165 233; /* ⬅ #0EA5E9 */
|
|
51
|
-
--color-tertiary-600: 13 149 210; /* ⬅ #0d95d2 */
|
|
52
|
-
--color-tertiary-700: 11 124 175; /* ⬅ #0b7caf */
|
|
53
|
-
--color-tertiary-800: 8 99 140; /* ⬅ #08638c */
|
|
54
|
-
--color-tertiary-900: 7 81 114; /* ⬅ #075172 */
|
|
55
|
-
/* success | #84cc16 */
|
|
56
|
-
--color-success-50: 237 247 220; /* ⬅ #edf7dc */
|
|
57
|
-
--color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
|
|
58
|
-
--color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
|
|
59
|
-
--color-success-300: 206 235 162; /* ⬅ #ceeba2 */
|
|
60
|
-
--color-success-400: 169 219 92; /* ⬅ #a9db5c */
|
|
61
|
-
--color-success-500: 132 204 22; /* ⬅ #84cc16 */
|
|
62
|
-
--color-success-600: 119 184 20; /* ⬅ #77b814 */
|
|
63
|
-
--color-success-700: 99 153 17; /* ⬅ #639911 */
|
|
64
|
-
--color-success-800: 79 122 13; /* ⬅ #4f7a0d */
|
|
65
|
-
--color-success-900: 65 100 11; /* ⬅ #41640b */
|
|
66
|
-
/* warning | #EAB308 */
|
|
67
|
-
--color-warning-50: 252 244 218; /* ⬅ #fcf4da */
|
|
68
|
-
--color-warning-100: 251 240 206; /* ⬅ #fbf0ce */
|
|
69
|
-
--color-warning-200: 250 236 193; /* ⬅ #faecc1 */
|
|
70
|
-
--color-warning-300: 247 225 156; /* ⬅ #f7e19c */
|
|
71
|
-
--color-warning-400: 240 202 82; /* ⬅ #f0ca52 */
|
|
72
|
-
--color-warning-500: 234 179 8; /* ⬅ #EAB308 */
|
|
73
|
-
--color-warning-600: 211 161 7; /* ⬅ #d3a107 */
|
|
74
|
-
--color-warning-700: 176 134 6; /* ⬅ #b08606 */
|
|
75
|
-
--color-warning-800: 140 107 5; /* ⬅ #8c6b05 */
|
|
76
|
-
--color-warning-900: 115 88 4; /* ⬅ #735804 */
|
|
77
|
-
/* error | #D41976 */
|
|
78
|
-
--color-error-50: 249 221 234; /* ⬅ #f9ddea */
|
|
79
|
-
--color-error-100: 246 209 228; /* ⬅ #f6d1e4 */
|
|
80
|
-
--color-error-200: 244 198 221; /* ⬅ #f4c6dd */
|
|
81
|
-
--color-error-300: 238 163 200; /* ⬅ #eea3c8 */
|
|
82
|
-
--color-error-400: 225 94 159; /* ⬅ #e15e9f */
|
|
83
|
-
--color-error-500: 212 25 118; /* ⬅ #D41976 */
|
|
84
|
-
--color-error-600: 191 23 106; /* ⬅ #bf176a */
|
|
85
|
-
--color-error-700: 159 19 89; /* ⬅ #9f1359 */
|
|
86
|
-
--color-error-800: 127 15 71; /* ⬅ #7f0f47 */
|
|
87
|
-
--color-error-900: 104 12 58; /* ⬅ #680c3a */
|
|
88
|
-
/* surface | #495a8f */
|
|
89
|
-
--color-surface-50: 228 230 238; /* ⬅ #e4e6ee */
|
|
90
|
-
--color-surface-100: 219 222 233; /* ⬅ #dbdee9 */
|
|
91
|
-
--color-surface-200: 210 214 227; /* ⬅ #d2d6e3 */
|
|
92
|
-
--color-surface-300: 182 189 210; /* ⬅ #b6bdd2 */
|
|
93
|
-
--color-surface-400: 128 140 177; /* ⬅ #808cb1 */
|
|
94
|
-
--color-surface-500: 73 90 143; /* ⬅ #495a8f */
|
|
95
|
-
--color-surface-600: 66 81 129; /* ⬅ #425181 */
|
|
96
|
-
--color-surface-700: 55 68 107; /* ⬅ #37446b */
|
|
97
|
-
--color-surface-800: 44 54 86; /* ⬅ #2c3656 */
|
|
98
|
-
--color-surface-900: 36 44 70; /* ⬅ #242c46 */
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* Headings */
|
|
102
|
-
[data-theme='skeleton'] h1,
|
|
103
|
-
[data-theme='skeleton'] h2,
|
|
104
|
-
[data-theme='skeleton'] h3,
|
|
105
|
-
[data-theme='skeleton'] h4,
|
|
106
|
-
[data-theme='skeleton'] h5,
|
|
107
|
-
[data-theme='skeleton'] h6 {
|
|
108
|
-
font-weight: bold;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Applied to body with `<body data-theme="skeleton">` */
|
|
112
|
-
/* Created with: https://csshero.org/mesher/ */
|
|
113
|
-
/* prettier-ignore */
|
|
114
|
-
[data-theme='skeleton'] {
|
|
115
|
-
background-image:
|
|
116
|
-
radial-gradient(at 0% 0%, rgba(var(--color-secondary-500) / 0.33) 0px, transparent 50%),
|
|
117
|
-
radial-gradient(at 98% 1%, rgba(var(--color-error-500) / 0.33) 0px, transparent 50%);
|
|
118
|
-
}
|
|
1
|
+
/* https://fonts.google.com/specimen/Lato?query=lato¬o.query=Abril */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
/* =~= Theme Properties =~= */
|
|
6
|
+
--theme-font-family-base: system-ui;
|
|
7
|
+
--theme-font-family-heading: system-ui;
|
|
8
|
+
--theme-font-color-base: 0 0 0;
|
|
9
|
+
--theme-font-color-dark: 255 255 255;
|
|
10
|
+
--theme-rounded-base: 9999px;
|
|
11
|
+
--theme-rounded-container: 8px;
|
|
12
|
+
--theme-border-base: 1px;
|
|
13
|
+
/* =~= Theme On-X Colors =~= */
|
|
14
|
+
--on-primary: 0 0 0;
|
|
15
|
+
--on-secondary: 255 255 255;
|
|
16
|
+
--on-tertiary: 0 0 0;
|
|
17
|
+
--on-success: 0 0 0;
|
|
18
|
+
--on-warning: 0 0 0;
|
|
19
|
+
--on-error: 255 255 255;
|
|
20
|
+
--on-surface: 255 255 255;
|
|
21
|
+
/* =~= Theme Colors =~= */
|
|
22
|
+
/* primary | #0FBA81 */
|
|
23
|
+
--color-primary-50: 219 245 236; /* ⬅ #dbf5ec */
|
|
24
|
+
--color-primary-100: 207 241 230; /* ⬅ #cff1e6 */
|
|
25
|
+
--color-primary-200: 195 238 224; /* ⬅ #c3eee0 */
|
|
26
|
+
--color-primary-300: 159 227 205; /* ⬅ #9fe3cd */
|
|
27
|
+
--color-primary-400: 87 207 167; /* ⬅ #57cfa7 */
|
|
28
|
+
--color-primary-500: 15 186 129; /* ⬅ #0FBA81 */
|
|
29
|
+
--color-primary-600: 14 167 116; /* ⬅ #0ea774 */
|
|
30
|
+
--color-primary-700: 11 140 97; /* ⬅ #0b8c61 */
|
|
31
|
+
--color-primary-800: 9 112 77; /* ⬅ #09704d */
|
|
32
|
+
--color-primary-900: 7 91 63; /* ⬅ #075b3f */
|
|
33
|
+
/* secondary | #4F46E5 */
|
|
34
|
+
--color-secondary-50: 229 227 251; /* ⬅ #e5e3fb */
|
|
35
|
+
--color-secondary-100: 220 218 250; /* ⬅ #dcdafa */
|
|
36
|
+
--color-secondary-200: 211 209 249; /* ⬅ #d3d1f9 */
|
|
37
|
+
--color-secondary-300: 185 181 245; /* ⬅ #b9b5f5 */
|
|
38
|
+
--color-secondary-400: 132 126 237; /* ⬅ #847eed */
|
|
39
|
+
--color-secondary-500: 79 70 229; /* ⬅ #4F46E5 */
|
|
40
|
+
--color-secondary-600: 71 63 206; /* ⬅ #473fce */
|
|
41
|
+
--color-secondary-700: 59 53 172; /* ⬅ #3b35ac */
|
|
42
|
+
--color-secondary-800: 47 42 137; /* ⬅ #2f2a89 */
|
|
43
|
+
--color-secondary-900: 39 34 112; /* ⬅ #272270 */
|
|
44
|
+
/* tertiary | #0EA5E9 */
|
|
45
|
+
--color-tertiary-50: 219 242 252; /* ⬅ #dbf2fc */
|
|
46
|
+
--color-tertiary-100: 207 237 251; /* ⬅ #cfedfb */
|
|
47
|
+
--color-tertiary-200: 195 233 250; /* ⬅ #c3e9fa */
|
|
48
|
+
--color-tertiary-300: 159 219 246; /* ⬅ #9fdbf6 */
|
|
49
|
+
--color-tertiary-400: 86 192 240; /* ⬅ #56c0f0 */
|
|
50
|
+
--color-tertiary-500: 14 165 233; /* ⬅ #0EA5E9 */
|
|
51
|
+
--color-tertiary-600: 13 149 210; /* ⬅ #0d95d2 */
|
|
52
|
+
--color-tertiary-700: 11 124 175; /* ⬅ #0b7caf */
|
|
53
|
+
--color-tertiary-800: 8 99 140; /* ⬅ #08638c */
|
|
54
|
+
--color-tertiary-900: 7 81 114; /* ⬅ #075172 */
|
|
55
|
+
/* success | #84cc16 */
|
|
56
|
+
--color-success-50: 237 247 220; /* ⬅ #edf7dc */
|
|
57
|
+
--color-success-100: 230 245 208; /* ⬅ #e6f5d0 */
|
|
58
|
+
--color-success-200: 224 242 197; /* ⬅ #e0f2c5 */
|
|
59
|
+
--color-success-300: 206 235 162; /* ⬅ #ceeba2 */
|
|
60
|
+
--color-success-400: 169 219 92; /* ⬅ #a9db5c */
|
|
61
|
+
--color-success-500: 132 204 22; /* ⬅ #84cc16 */
|
|
62
|
+
--color-success-600: 119 184 20; /* ⬅ #77b814 */
|
|
63
|
+
--color-success-700: 99 153 17; /* ⬅ #639911 */
|
|
64
|
+
--color-success-800: 79 122 13; /* ⬅ #4f7a0d */
|
|
65
|
+
--color-success-900: 65 100 11; /* ⬅ #41640b */
|
|
66
|
+
/* warning | #EAB308 */
|
|
67
|
+
--color-warning-50: 252 244 218; /* ⬅ #fcf4da */
|
|
68
|
+
--color-warning-100: 251 240 206; /* ⬅ #fbf0ce */
|
|
69
|
+
--color-warning-200: 250 236 193; /* ⬅ #faecc1 */
|
|
70
|
+
--color-warning-300: 247 225 156; /* ⬅ #f7e19c */
|
|
71
|
+
--color-warning-400: 240 202 82; /* ⬅ #f0ca52 */
|
|
72
|
+
--color-warning-500: 234 179 8; /* ⬅ #EAB308 */
|
|
73
|
+
--color-warning-600: 211 161 7; /* ⬅ #d3a107 */
|
|
74
|
+
--color-warning-700: 176 134 6; /* ⬅ #b08606 */
|
|
75
|
+
--color-warning-800: 140 107 5; /* ⬅ #8c6b05 */
|
|
76
|
+
--color-warning-900: 115 88 4; /* ⬅ #735804 */
|
|
77
|
+
/* error | #D41976 */
|
|
78
|
+
--color-error-50: 249 221 234; /* ⬅ #f9ddea */
|
|
79
|
+
--color-error-100: 246 209 228; /* ⬅ #f6d1e4 */
|
|
80
|
+
--color-error-200: 244 198 221; /* ⬅ #f4c6dd */
|
|
81
|
+
--color-error-300: 238 163 200; /* ⬅ #eea3c8 */
|
|
82
|
+
--color-error-400: 225 94 159; /* ⬅ #e15e9f */
|
|
83
|
+
--color-error-500: 212 25 118; /* ⬅ #D41976 */
|
|
84
|
+
--color-error-600: 191 23 106; /* ⬅ #bf176a */
|
|
85
|
+
--color-error-700: 159 19 89; /* ⬅ #9f1359 */
|
|
86
|
+
--color-error-800: 127 15 71; /* ⬅ #7f0f47 */
|
|
87
|
+
--color-error-900: 104 12 58; /* ⬅ #680c3a */
|
|
88
|
+
/* surface | #495a8f */
|
|
89
|
+
--color-surface-50: 228 230 238; /* ⬅ #e4e6ee */
|
|
90
|
+
--color-surface-100: 219 222 233; /* ⬅ #dbdee9 */
|
|
91
|
+
--color-surface-200: 210 214 227; /* ⬅ #d2d6e3 */
|
|
92
|
+
--color-surface-300: 182 189 210; /* ⬅ #b6bdd2 */
|
|
93
|
+
--color-surface-400: 128 140 177; /* ⬅ #808cb1 */
|
|
94
|
+
--color-surface-500: 73 90 143; /* ⬅ #495a8f */
|
|
95
|
+
--color-surface-600: 66 81 129; /* ⬅ #425181 */
|
|
96
|
+
--color-surface-700: 55 68 107; /* ⬅ #37446b */
|
|
97
|
+
--color-surface-800: 44 54 86; /* ⬅ #2c3656 */
|
|
98
|
+
--color-surface-900: 36 44 70; /* ⬅ #242c46 */
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Headings */
|
|
102
|
+
[data-theme='skeleton'] h1,
|
|
103
|
+
[data-theme='skeleton'] h2,
|
|
104
|
+
[data-theme='skeleton'] h3,
|
|
105
|
+
[data-theme='skeleton'] h4,
|
|
106
|
+
[data-theme='skeleton'] h5,
|
|
107
|
+
[data-theme='skeleton'] h6 {
|
|
108
|
+
font-weight: bold;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Applied to body with `<body data-theme="skeleton">` */
|
|
112
|
+
/* Created with: https://csshero.org/mesher/ */
|
|
113
|
+
/* prettier-ignore */
|
|
114
|
+
[data-theme='skeleton'] {
|
|
115
|
+
background-image:
|
|
116
|
+
radial-gradient(at 0% 0%, rgba(var(--color-secondary-500) / 0.33) 0px, transparent 50%),
|
|
117
|
+
radial-gradient(at 98% 1%, rgba(var(--color-error-500) / 0.33) 0px, transparent 50%);
|
|
118
|
+
}
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
/* https://fonts.google.com/specimen/Abril+Fatface?query=Abril+Fatface¬o.query=Abril */
|
|
2
|
-
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
|
|
3
|
-
/* https://fonts.google.com/noto/specimen/Noto+Sans?query=sans */
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200;1,300&display=swap');
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
/* =~= Theme Styles =~= */
|
|
8
|
-
--theme-font-family-base: 'Noto Sans', sans-serif;
|
|
9
|
-
--theme-font-family-heading: 'Abril Fatface', cursive;
|
|
10
|
-
--theme-font-color-base: var(--color-primary-900);
|
|
11
|
-
--theme-font-color-dark: var(--color-primary-100);
|
|
12
|
-
--theme-rounded-base: 2px;
|
|
13
|
-
--theme-rounded-container: 4px;
|
|
14
|
-
--theme-border-base: 1px;
|
|
15
|
-
/* =~= Theme On-X Colors =~= */
|
|
16
|
-
--on-primary: 0 0 0;
|
|
17
|
-
--on-secondary: 0 0 0;
|
|
18
|
-
--on-tertiary: 0 0 0;
|
|
19
|
-
--on-success: 0 0 0;
|
|
20
|
-
--on-warning: 0 0 0;
|
|
21
|
-
--on-error: 0 0 0;
|
|
22
|
-
--on-surface: 255 255 255;
|
|
23
|
-
/* =~= Theme Colors =~= */
|
|
24
|
-
/* primary | #ea861a */
|
|
25
|
-
--color-primary-50: 252 237 221; /* ⬅ #fceddd */
|
|
26
|
-
--color-primary-100: 251 231 209; /* ⬅ #fbe7d1 */
|
|
27
|
-
--color-primary-200: 250 225 198; /* ⬅ #fae1c6 */
|
|
28
|
-
--color-primary-300: 247 207 163; /* ⬅ #f7cfa3 */
|
|
29
|
-
--color-primary-400: 240 170 95; /* ⬅ #f0aa5f */
|
|
30
|
-
--color-primary-500: 234 134 26; /* ⬅ #ea861a */
|
|
31
|
-
--color-primary-600: 211 121 23; /* ⬅ #d37917 */
|
|
32
|
-
--color-primary-700: 176 101 20; /* ⬅ #b06514 */
|
|
33
|
-
--color-primary-800: 140 80 16; /* ⬅ #8c5010 */
|
|
34
|
-
--color-primary-900: 115 66 13; /* ⬅ #73420d */
|
|
35
|
-
/* secondary | #97cea5 */
|
|
36
|
-
--color-secondary-50: 239 248 242; /* ⬅ #eff8f2 */
|
|
37
|
-
--color-secondary-100: 234 245 237; /* ⬅ #eaf5ed */
|
|
38
|
-
--color-secondary-200: 229 243 233; /* ⬅ #e5f3e9 */
|
|
39
|
-
--color-secondary-300: 213 235 219; /* ⬅ #d5ebdb */
|
|
40
|
-
--color-secondary-400: 182 221 192; /* ⬅ #b6ddc0 */
|
|
41
|
-
--color-secondary-500: 151 206 165; /* ⬅ #97cea5 */
|
|
42
|
-
--color-secondary-600: 136 185 149; /* ⬅ #88b995 */
|
|
43
|
-
--color-secondary-700: 113 155 124; /* ⬅ #719b7c */
|
|
44
|
-
--color-secondary-800: 91 124 99; /* ⬅ #5b7c63 */
|
|
45
|
-
--color-secondary-900: 74 101 81; /* ⬅ #4a6551 */
|
|
46
|
-
/* tertiary | #06b6d4 */
|
|
47
|
-
--color-tertiary-50: 218 244 249; /* ⬅ #daf4f9 */
|
|
48
|
-
--color-tertiary-100: 205 240 246; /* ⬅ #cdf0f6 */
|
|
49
|
-
--color-tertiary-200: 193 237 244; /* ⬅ #c1edf4 */
|
|
50
|
-
--color-tertiary-300: 155 226 238; /* ⬅ #9be2ee */
|
|
51
|
-
--color-tertiary-400: 81 204 225; /* ⬅ #51cce1 */
|
|
52
|
-
--color-tertiary-500: 6 182 212; /* ⬅ #06b6d4 */
|
|
53
|
-
--color-tertiary-600: 5 164 191; /* ⬅ #05a4bf */
|
|
54
|
-
--color-tertiary-700: 5 137 159; /* ⬅ #05899f */
|
|
55
|
-
--color-tertiary-800: 4 109 127; /* ⬅ #046d7f */
|
|
56
|
-
--color-tertiary-900: 3 89 104; /* ⬅ #035968 */
|
|
57
|
-
/* success | #84cb5d */
|
|
58
|
-
--color-success-50: 237 247 231; /* ⬅ #edf7e7 */
|
|
59
|
-
--color-success-100: 230 245 223; /* ⬅ #e6f5df */
|
|
60
|
-
--color-success-200: 224 242 215; /* ⬅ #e0f2d7 */
|
|
61
|
-
--color-success-300: 206 234 190; /* ⬅ #ceeabe */
|
|
62
|
-
--color-success-400: 169 219 142; /* ⬅ #a9db8e */
|
|
63
|
-
--color-success-500: 132 203 93; /* ⬅ #84cb5d */
|
|
64
|
-
--color-success-600: 119 183 84; /* ⬅ #77b754 */
|
|
65
|
-
--color-success-700: 99 152 70; /* ⬅ #639846 */
|
|
66
|
-
--color-success-800: 79 122 56; /* ⬅ #4f7a38 */
|
|
67
|
-
--color-success-900: 65 99 46; /* ⬅ #41632e */
|
|
68
|
-
/* warning | #f2ac23 */
|
|
69
|
-
--color-warning-50: 253 243 222; /* ⬅ #fdf3de */
|
|
70
|
-
--color-warning-100: 252 238 211; /* ⬅ #fceed3 */
|
|
71
|
-
--color-warning-200: 252 234 200; /* ⬅ #fceac8 */
|
|
72
|
-
--color-warning-300: 250 222 167; /* ⬅ #fadea7 */
|
|
73
|
-
--color-warning-400: 246 197 101; /* ⬅ #f6c565 */
|
|
74
|
-
--color-warning-500: 242 172 35; /* ⬅ #f2ac23 */
|
|
75
|
-
--color-warning-600: 218 155 32; /* ⬅ #da9b20 */
|
|
76
|
-
--color-warning-700: 182 129 26; /* ⬅ #b6811a */
|
|
77
|
-
--color-warning-800: 145 103 21; /* ⬅ #916715 */
|
|
78
|
-
--color-warning-900: 119 84 17; /* ⬅ #775411 */
|
|
79
|
-
/* error | #d57e78 */
|
|
80
|
-
--color-error-50: 249 236 235; /* ⬅ #f9eceb */
|
|
81
|
-
--color-error-100: 247 229 228; /* ⬅ #f7e5e4 */
|
|
82
|
-
--color-error-200: 245 223 221; /* ⬅ #f5dfdd */
|
|
83
|
-
--color-error-300: 238 203 201; /* ⬅ #eecbc9 */
|
|
84
|
-
--color-error-400: 226 165 161; /* ⬅ #e2a5a1 */
|
|
85
|
-
--color-error-500: 213 126 120; /* ⬅ #d57e78 */
|
|
86
|
-
--color-error-600: 192 113 108; /* ⬅ #c0716c */
|
|
87
|
-
--color-error-700: 160 95 90; /* ⬅ #a05f5a */
|
|
88
|
-
--color-error-800: 128 76 72; /* ⬅ #804c48 */
|
|
89
|
-
--color-error-900: 104 62 59; /* ⬅ #683e3b */
|
|
90
|
-
/* surface | #3f3731 */
|
|
91
|
-
--color-surface-50: 226 225 224; /* ⬅ #e2e1e0 */
|
|
92
|
-
--color-surface-100: 217 215 214; /* ⬅ #d9d7d6 */
|
|
93
|
-
--color-surface-200: 207 205 204; /* ⬅ #cfcdcc */
|
|
94
|
-
--color-surface-300: 178 175 173; /* ⬅ #b2afad */
|
|
95
|
-
--color-surface-400: 121 115 111; /* ⬅ #79736f */
|
|
96
|
-
--color-surface-500: 63 55 49; /* ⬅ #3f3731 */
|
|
97
|
-
--color-surface-600: 57 50 44; /* ⬅ #39322c */
|
|
98
|
-
--color-surface-700: 47 41 37; /* ⬅ #2f2925 */
|
|
99
|
-
--color-surface-800: 38 33 29; /* ⬅ #26211d */
|
|
100
|
-
--color-surface-900: 31 27 24; /* ⬅ #1f1b18 */
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
[data-theme='vintage'] h1,
|
|
104
|
-
[data-theme='vintage'] h2,
|
|
105
|
-
[data-theme='vintage'] h3,
|
|
106
|
-
[data-theme='vintage'] h4,
|
|
107
|
-
[data-theme='vintage'] h5,
|
|
108
|
-
[data-theme='vintage'] h6 {
|
|
109
|
-
letter-spacing: 1px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Applied to body with `<body data-theme="vintage">` */
|
|
113
|
-
/* Created with: https://csshero.org/mesher/ */
|
|
114
|
-
[data-theme='vintage'] {
|
|
115
|
-
/* prettier-ignore */
|
|
116
|
-
background-image:
|
|
117
|
-
radial-gradient(at 100% 0%, hsla(135,34%,70%,0.20) 0px, transparent 50%),
|
|
118
|
-
radial-gradient(at 85% 100%, hsla(31,83%,50%,0.20) 0px, transparent 50%);
|
|
119
|
-
}
|
|
120
|
-
.dark [data-theme='vintage'] {
|
|
121
|
-
/* prettier-ignore */
|
|
122
|
-
background-image:
|
|
123
|
-
radial-gradient(at 100% 0%, hsla(135,34%,70%,0.14) 0px, transparent 50%),
|
|
124
|
-
radial-gradient(at 85% 100%, hsla(31,83%,50%,0.14) 0px, transparent 50%);
|
|
125
|
-
}
|
|
1
|
+
/* https://fonts.google.com/specimen/Abril+Fatface?query=Abril+Fatface¬o.query=Abril */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
|
|
3
|
+
/* https://fonts.google.com/noto/specimen/Noto+Sans?query=sans */
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200;1,300&display=swap');
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
/* =~= Theme Styles =~= */
|
|
8
|
+
--theme-font-family-base: 'Noto Sans', sans-serif;
|
|
9
|
+
--theme-font-family-heading: 'Abril Fatface', cursive;
|
|
10
|
+
--theme-font-color-base: var(--color-primary-900);
|
|
11
|
+
--theme-font-color-dark: var(--color-primary-100);
|
|
12
|
+
--theme-rounded-base: 2px;
|
|
13
|
+
--theme-rounded-container: 4px;
|
|
14
|
+
--theme-border-base: 1px;
|
|
15
|
+
/* =~= Theme On-X Colors =~= */
|
|
16
|
+
--on-primary: 0 0 0;
|
|
17
|
+
--on-secondary: 0 0 0;
|
|
18
|
+
--on-tertiary: 0 0 0;
|
|
19
|
+
--on-success: 0 0 0;
|
|
20
|
+
--on-warning: 0 0 0;
|
|
21
|
+
--on-error: 0 0 0;
|
|
22
|
+
--on-surface: 255 255 255;
|
|
23
|
+
/* =~= Theme Colors =~= */
|
|
24
|
+
/* primary | #ea861a */
|
|
25
|
+
--color-primary-50: 252 237 221; /* ⬅ #fceddd */
|
|
26
|
+
--color-primary-100: 251 231 209; /* ⬅ #fbe7d1 */
|
|
27
|
+
--color-primary-200: 250 225 198; /* ⬅ #fae1c6 */
|
|
28
|
+
--color-primary-300: 247 207 163; /* ⬅ #f7cfa3 */
|
|
29
|
+
--color-primary-400: 240 170 95; /* ⬅ #f0aa5f */
|
|
30
|
+
--color-primary-500: 234 134 26; /* ⬅ #ea861a */
|
|
31
|
+
--color-primary-600: 211 121 23; /* ⬅ #d37917 */
|
|
32
|
+
--color-primary-700: 176 101 20; /* ⬅ #b06514 */
|
|
33
|
+
--color-primary-800: 140 80 16; /* ⬅ #8c5010 */
|
|
34
|
+
--color-primary-900: 115 66 13; /* ⬅ #73420d */
|
|
35
|
+
/* secondary | #97cea5 */
|
|
36
|
+
--color-secondary-50: 239 248 242; /* ⬅ #eff8f2 */
|
|
37
|
+
--color-secondary-100: 234 245 237; /* ⬅ #eaf5ed */
|
|
38
|
+
--color-secondary-200: 229 243 233; /* ⬅ #e5f3e9 */
|
|
39
|
+
--color-secondary-300: 213 235 219; /* ⬅ #d5ebdb */
|
|
40
|
+
--color-secondary-400: 182 221 192; /* ⬅ #b6ddc0 */
|
|
41
|
+
--color-secondary-500: 151 206 165; /* ⬅ #97cea5 */
|
|
42
|
+
--color-secondary-600: 136 185 149; /* ⬅ #88b995 */
|
|
43
|
+
--color-secondary-700: 113 155 124; /* ⬅ #719b7c */
|
|
44
|
+
--color-secondary-800: 91 124 99; /* ⬅ #5b7c63 */
|
|
45
|
+
--color-secondary-900: 74 101 81; /* ⬅ #4a6551 */
|
|
46
|
+
/* tertiary | #06b6d4 */
|
|
47
|
+
--color-tertiary-50: 218 244 249; /* ⬅ #daf4f9 */
|
|
48
|
+
--color-tertiary-100: 205 240 246; /* ⬅ #cdf0f6 */
|
|
49
|
+
--color-tertiary-200: 193 237 244; /* ⬅ #c1edf4 */
|
|
50
|
+
--color-tertiary-300: 155 226 238; /* ⬅ #9be2ee */
|
|
51
|
+
--color-tertiary-400: 81 204 225; /* ⬅ #51cce1 */
|
|
52
|
+
--color-tertiary-500: 6 182 212; /* ⬅ #06b6d4 */
|
|
53
|
+
--color-tertiary-600: 5 164 191; /* ⬅ #05a4bf */
|
|
54
|
+
--color-tertiary-700: 5 137 159; /* ⬅ #05899f */
|
|
55
|
+
--color-tertiary-800: 4 109 127; /* ⬅ #046d7f */
|
|
56
|
+
--color-tertiary-900: 3 89 104; /* ⬅ #035968 */
|
|
57
|
+
/* success | #84cb5d */
|
|
58
|
+
--color-success-50: 237 247 231; /* ⬅ #edf7e7 */
|
|
59
|
+
--color-success-100: 230 245 223; /* ⬅ #e6f5df */
|
|
60
|
+
--color-success-200: 224 242 215; /* ⬅ #e0f2d7 */
|
|
61
|
+
--color-success-300: 206 234 190; /* ⬅ #ceeabe */
|
|
62
|
+
--color-success-400: 169 219 142; /* ⬅ #a9db8e */
|
|
63
|
+
--color-success-500: 132 203 93; /* ⬅ #84cb5d */
|
|
64
|
+
--color-success-600: 119 183 84; /* ⬅ #77b754 */
|
|
65
|
+
--color-success-700: 99 152 70; /* ⬅ #639846 */
|
|
66
|
+
--color-success-800: 79 122 56; /* ⬅ #4f7a38 */
|
|
67
|
+
--color-success-900: 65 99 46; /* ⬅ #41632e */
|
|
68
|
+
/* warning | #f2ac23 */
|
|
69
|
+
--color-warning-50: 253 243 222; /* ⬅ #fdf3de */
|
|
70
|
+
--color-warning-100: 252 238 211; /* ⬅ #fceed3 */
|
|
71
|
+
--color-warning-200: 252 234 200; /* ⬅ #fceac8 */
|
|
72
|
+
--color-warning-300: 250 222 167; /* ⬅ #fadea7 */
|
|
73
|
+
--color-warning-400: 246 197 101; /* ⬅ #f6c565 */
|
|
74
|
+
--color-warning-500: 242 172 35; /* ⬅ #f2ac23 */
|
|
75
|
+
--color-warning-600: 218 155 32; /* ⬅ #da9b20 */
|
|
76
|
+
--color-warning-700: 182 129 26; /* ⬅ #b6811a */
|
|
77
|
+
--color-warning-800: 145 103 21; /* ⬅ #916715 */
|
|
78
|
+
--color-warning-900: 119 84 17; /* ⬅ #775411 */
|
|
79
|
+
/* error | #d57e78 */
|
|
80
|
+
--color-error-50: 249 236 235; /* ⬅ #f9eceb */
|
|
81
|
+
--color-error-100: 247 229 228; /* ⬅ #f7e5e4 */
|
|
82
|
+
--color-error-200: 245 223 221; /* ⬅ #f5dfdd */
|
|
83
|
+
--color-error-300: 238 203 201; /* ⬅ #eecbc9 */
|
|
84
|
+
--color-error-400: 226 165 161; /* ⬅ #e2a5a1 */
|
|
85
|
+
--color-error-500: 213 126 120; /* ⬅ #d57e78 */
|
|
86
|
+
--color-error-600: 192 113 108; /* ⬅ #c0716c */
|
|
87
|
+
--color-error-700: 160 95 90; /* ⬅ #a05f5a */
|
|
88
|
+
--color-error-800: 128 76 72; /* ⬅ #804c48 */
|
|
89
|
+
--color-error-900: 104 62 59; /* ⬅ #683e3b */
|
|
90
|
+
/* surface | #3f3731 */
|
|
91
|
+
--color-surface-50: 226 225 224; /* ⬅ #e2e1e0 */
|
|
92
|
+
--color-surface-100: 217 215 214; /* ⬅ #d9d7d6 */
|
|
93
|
+
--color-surface-200: 207 205 204; /* ⬅ #cfcdcc */
|
|
94
|
+
--color-surface-300: 178 175 173; /* ⬅ #b2afad */
|
|
95
|
+
--color-surface-400: 121 115 111; /* ⬅ #79736f */
|
|
96
|
+
--color-surface-500: 63 55 49; /* ⬅ #3f3731 */
|
|
97
|
+
--color-surface-600: 57 50 44; /* ⬅ #39322c */
|
|
98
|
+
--color-surface-700: 47 41 37; /* ⬅ #2f2925 */
|
|
99
|
+
--color-surface-800: 38 33 29; /* ⬅ #26211d */
|
|
100
|
+
--color-surface-900: 31 27 24; /* ⬅ #1f1b18 */
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-theme='vintage'] h1,
|
|
104
|
+
[data-theme='vintage'] h2,
|
|
105
|
+
[data-theme='vintage'] h3,
|
|
106
|
+
[data-theme='vintage'] h4,
|
|
107
|
+
[data-theme='vintage'] h5,
|
|
108
|
+
[data-theme='vintage'] h6 {
|
|
109
|
+
letter-spacing: 1px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Applied to body with `<body data-theme="vintage">` */
|
|
113
|
+
/* Created with: https://csshero.org/mesher/ */
|
|
114
|
+
[data-theme='vintage'] {
|
|
115
|
+
/* prettier-ignore */
|
|
116
|
+
background-image:
|
|
117
|
+
radial-gradient(at 100% 0%, hsla(135,34%,70%,0.20) 0px, transparent 50%),
|
|
118
|
+
radial-gradient(at 85% 100%, hsla(31,83%,50%,0.20) 0px, transparent 50%);
|
|
119
|
+
}
|
|
120
|
+
.dark [data-theme='vintage'] {
|
|
121
|
+
/* prettier-ignore */
|
|
122
|
+
background-image:
|
|
123
|
+
radial-gradient(at 100% 0%, hsla(135,34%,70%,0.14) 0px, transparent 50%),
|
|
124
|
+
radial-gradient(at 85% 100%, hsla(31,83%,50%,0.14) 0px, transparent 50%);
|
|
125
|
+
}
|
package/src/lib/index.ts
CHANGED
package/src/lib/models/Models.ts
CHANGED
|
@@ -80,10 +80,10 @@ export interface fileObjType {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export interface ColumnInstructions {
|
|
83
|
-
toStringFn?: (any) => string;
|
|
84
|
-
toSortableValueFn?: (any) => string | number;
|
|
85
|
-
toFilterableValueFn?: (any) => string | number | Date;
|
|
86
|
-
renderComponent?: typeof SvelteComponent;
|
|
83
|
+
toStringFn?: (any) => string; // value by default
|
|
84
|
+
toSortableValueFn?: (any) => string | number; // value by default
|
|
85
|
+
toFilterableValueFn?: (any) => string | number | Date; // value by default
|
|
86
|
+
renderComponent?: typeof SvelteComponent; // null by default
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// Table column type
|
|
@@ -111,7 +111,9 @@ export interface TableConfig<T> {
|
|
|
111
111
|
toggle?: boolean; // false by default
|
|
112
112
|
fitToScreen?: boolean; // true by default
|
|
113
113
|
height?: null | number; // null by default
|
|
114
|
+
rowHeight?: number; // auto by default
|
|
114
115
|
columns?: Columns;
|
|
116
|
+
exportable?: boolean; // false by default
|
|
115
117
|
pageSizes?: number[]; // [5, 10, 15, 20] by default
|
|
116
118
|
defaultPageSize?: number; // 10 by default
|
|
117
119
|
optionsComponent?: typeof SvelteComponent;
|
package/src/lib/models/Page.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
// BREADCRUMB
|
|
2
|
-
/********************************** */
|
|
3
|
-
export interface breadcrumbItemType {
|
|
4
|
-
label: string;
|
|
5
|
-
link: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export class BreadcrumbModel {
|
|
9
|
-
items: breadcrumbItemType[];
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
this.items = [];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// MENU
|
|
17
|
-
/********************************** */
|
|
18
|
-
export class MenuModel {
|
|
19
|
-
Logo: logoType;
|
|
20
|
-
LaunchBar: menuItemType[];
|
|
21
|
-
MenuBar: menuItemType[];
|
|
22
|
-
AccountBar: menuItemType[];
|
|
23
|
-
Settings: menuItemType[];
|
|
24
|
-
Extended: menuItemType[];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface menuItemType {
|
|
28
|
-
Title: string;
|
|
29
|
-
Url: string;
|
|
30
|
-
Target: string;
|
|
31
|
-
Module: string;
|
|
32
|
-
Items: menuItemType[];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface logoType {
|
|
36
|
-
Mime: string;
|
|
37
|
-
Name: string;
|
|
38
|
-
Data: string;
|
|
39
|
-
Height: number;
|
|
40
|
-
}
|
|
1
|
+
// BREADCRUMB
|
|
2
|
+
/********************************** */
|
|
3
|
+
export interface breadcrumbItemType {
|
|
4
|
+
label: string;
|
|
5
|
+
link: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export class BreadcrumbModel {
|
|
9
|
+
items: breadcrumbItemType[];
|
|
10
|
+
|
|
11
|
+
constructor() {
|
|
12
|
+
this.items = [];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// MENU
|
|
17
|
+
/********************************** */
|
|
18
|
+
export class MenuModel {
|
|
19
|
+
Logo: logoType;
|
|
20
|
+
LaunchBar: menuItemType[];
|
|
21
|
+
MenuBar: menuItemType[];
|
|
22
|
+
AccountBar: menuItemType[];
|
|
23
|
+
Settings: menuItemType[];
|
|
24
|
+
Extended: menuItemType[];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface menuItemType {
|
|
28
|
+
Title: string;
|
|
29
|
+
Url: string;
|
|
30
|
+
Target: string;
|
|
31
|
+
Module: string;
|
|
32
|
+
Items: menuItemType[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface logoType {
|
|
36
|
+
Mime: string;
|
|
37
|
+
Name: string;
|
|
38
|
+
Data: string;
|
|
39
|
+
Height: number;
|
|
40
|
+
}
|