@citruslime/ui 2.0.0-beta.7 → 2.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/README.md +5 -4
- package/dist/citrus-lime-ui.es.js +2612 -2214
- package/dist/citrus-lime-ui.umd.js +2 -1
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +26 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +35 -0
- package/dist/{src/components → components}/accordion/types.d.ts +0 -0
- package/dist/{src/components → components}/app/cl-ui-app.vue.d.ts +19 -12
- package/dist/{src/components → components}/app/index.d.ts +0 -0
- package/dist/{src/components → components}/button/cl-ui-button.vue.d.ts +23 -12
- package/dist/{src/components → components}/button/index.d.ts +0 -0
- package/dist/{src/components → components}/button/types.d.ts +0 -0
- package/dist/{src/components → components}/calendar/cl-ui-calendar.vue.d.ts +0 -0
- package/dist/{src/components → components}/calendar/index.d.ts +0 -0
- package/dist/{src/components → components}/calendar/types.d.ts +1 -1
- package/dist/{src/components → components}/calendar/utils.d.ts +15 -0
- package/dist/{src/components → components}/card/cl-ui-card.vue.d.ts +4 -23
- package/dist/{src/components → components}/card/index.d.ts +1 -0
- package/dist/{src/components → components}/card/types.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/cl-ui-combo-box.vue.d.ts +270 -211
- package/dist/{src/components → components}/combo-box/index.d.ts +0 -0
- package/dist/{src/components → components}/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +109 -63
- package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +17 -9
- package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +28 -15
- package/dist/{src/components → components}/combo-box/types.d.ts +0 -19
- package/dist/{src/components → components}/footer/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/cell/cl-ui-grid-cell.vue.d.ts +16 -18
- package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +226 -220
- package/dist/components/grid/filter/cl-ui-grid-filter.vue.d.ts +72 -0
- package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +63 -0
- package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +96 -68
- package/dist/{src/components → components}/grid/index.d.ts +0 -0
- package/dist/{src/components → components}/grid/types.d.ts +0 -47
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +88 -0
- package/dist/{src/components → components}/header/index.d.ts +0 -0
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +40 -0
- package/dist/{src/components → components}/header/menu/index.d.ts +0 -1
- package/dist/{src/components → components}/index.d.ts +2 -2
- package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/types.d.ts +6 -0
- package/dist/components/input/utils.d.ts +44 -0
- package/dist/{src/components → components}/language-switcher/cl-ui-language-switcher.vue.d.ts +14 -20
- package/dist/{src/components → components}/language-switcher/index.d.ts +1 -0
- package/dist/{src/components → components}/language-switcher/types.d.ts +0 -1
- package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
- package/dist/components/login/cl-ui-login.vue.d.ts +106 -0
- package/dist/{src/components → components}/login/index.d.ts +0 -0
- package/dist/components/login/types.d.ts +4 -0
- package/dist/components/modal/cl-ui-modal.vue.d.ts +49 -0
- package/dist/{src/components → components}/modal/index.d.ts +1 -0
- package/dist/{src/components → components}/modal/types.d.ts +2 -0
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +11 -0
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +12 -0
- package/dist/{src/components/footer/cl-ui-footer.vue.d.ts → components/navigation/icon/cl-ui-navigation-icon.vue.d.ts} +14 -16
- package/dist/components/navigation/index.d.ts +5 -0
- package/dist/{src/components → components}/notification/cl-ui-notification.vue.d.ts +12 -7
- package/dist/{src/components → components}/notification/index.d.ts +0 -0
- package/dist/{src/components → components}/notification/types.d.ts +0 -0
- package/dist/components/slider/cl-ui-slider.vue.d.ts +114 -0
- package/dist/{src/components → components}/slider/index.d.ts +0 -1
- package/dist/components/tab/cl-ui-tab.vue.d.ts +52 -0
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +60 -0
- package/dist/components/tab/index.d.ts +4 -0
- package/dist/components/tab/types.d.ts +4 -0
- package/dist/{src/composables → composables}/index.d.ts +0 -0
- package/dist/{src/composables → composables}/notification.d.ts +0 -0
- package/dist/{src/main.d.ts → main.d.ts} +0 -1
- package/dist/style.css +1 -1
- package/dist/utils/i18n/config.d.ts +33 -0
- package/dist/utils/i18n/defaults.d.ts +4 -0
- package/dist/utils/i18n/index.d.ts +3 -0
- package/dist/utils/i18n/types.d.ts +97 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/validation.d.ts +37 -0
- package/package.json +17 -14
- package/dist/.eslintrc.js +0 -455
- package/dist/.stylelintrc.js +0 -119
- package/dist/src/components/accordion/cl-ui-accordion.vue.d.ts +0 -47
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/grid/filter/cl-ui-grid-filter.vue.d.ts +0 -68
- package/dist/src/components/grid/footer/cl-ui-grid-footer.vue.d.ts +0 -62
- package/dist/src/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +0 -71
- package/dist/src/components/header/menu/cl-ui-header-menu.vue.d.ts +0 -16
- package/dist/src/components/header/menu/types.d.ts +0 -13
- package/dist/src/components/login/cl-ui-login.vue.d.ts +0 -170
- package/dist/src/components/login/types.d.ts +0 -11
- package/dist/src/components/modal/cl-ui-modal.vue.d.ts +0 -107
- package/dist/src/components/navigation/cl-ui-navigation.vue.d.ts +0 -669
- package/dist/src/components/navigation/index.d.ts +0 -2
- package/dist/src/components/navigation/types.d.ts +0 -18
- package/dist/src/components/slider/cl-ui-slider.vue.d.ts +0 -97
- package/dist/src/components/slider/types.d.ts +0 -3
- package/dist/src/utils/copy.d.ts +0 -8
- package/dist/src/utils/debouncer.d.ts +0 -13
- package/dist/src/utils/extensions/string/index.d.ts +0 -2
- package/dist/src/utils/extensions/string/utils.d.ts +0 -83
- package/dist/src/utils/i18n/datetime-formats.d.ts +0 -2
- package/dist/src/utils/i18n/index.d.ts +0 -3
- package/dist/src/utils/i18n/number-formats.d.ts +0 -2
- package/dist/src/utils/i18n/types.d.ts +0 -15
- package/dist/src/utils/id.d.ts +0 -6
- package/dist/src/utils/index.d.ts +0 -8
- package/dist/src/utils/name-of.d.ts +0 -7
- package/dist/src/utils/sort.d.ts +0 -9
- package/dist/src/utils/url-params.d.ts +0 -8
- package/dist/theme.js +0 -121
package/dist/.eslintrc.js
DELETED
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
'plugin:vue/vue3-recommended',
|
|
8
|
-
'eslint:recommended',
|
|
9
|
-
'plugin:jsdoc/recommended',
|
|
10
|
-
'plugin:import/errors',
|
|
11
|
-
'plugin:import/warnings',
|
|
12
|
-
'@vue/typescript/recommended',
|
|
13
|
-
'plugin:import/typescript'
|
|
14
|
-
],
|
|
15
|
-
plugins: [
|
|
16
|
-
'import',
|
|
17
|
-
'jsdoc'
|
|
18
|
-
],
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2020
|
|
21
|
-
},
|
|
22
|
-
rules: {
|
|
23
|
-
'array-bracket-newline': [
|
|
24
|
-
'error',
|
|
25
|
-
{
|
|
26
|
-
minItems: 2
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
'array-bracket-spacing': [
|
|
30
|
-
'error',
|
|
31
|
-
'always'
|
|
32
|
-
],
|
|
33
|
-
'array-element-newline': [
|
|
34
|
-
'error',
|
|
35
|
-
'always'
|
|
36
|
-
],
|
|
37
|
-
'brace-style': [
|
|
38
|
-
'error',
|
|
39
|
-
'stroustrup',
|
|
40
|
-
{
|
|
41
|
-
allowSingleLine: false
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
camelcase: 'off',
|
|
45
|
-
'comma-dangle': [
|
|
46
|
-
'error',
|
|
47
|
-
'never'
|
|
48
|
-
],
|
|
49
|
-
'eol-last': 'error',
|
|
50
|
-
eqeqeq: 'error',
|
|
51
|
-
'import/no-unresolved': 'off',
|
|
52
|
-
'import/order': [
|
|
53
|
-
'error',
|
|
54
|
-
{
|
|
55
|
-
alphabetize: {
|
|
56
|
-
order: 'asc'
|
|
57
|
-
},
|
|
58
|
-
'newlines-between': 'always'
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
indent: 'off',
|
|
62
|
-
'jsdoc/require-description': 'warn',
|
|
63
|
-
'jsdoc/require-description-complete-sentence': 'warn',
|
|
64
|
-
'jsdoc/require-param-type': 'off',
|
|
65
|
-
'jsdoc/require-returns-type': 'off',
|
|
66
|
-
'jsdoc/require-throws': 'warn',
|
|
67
|
-
'func-style': [
|
|
68
|
-
'error',
|
|
69
|
-
'declaration',
|
|
70
|
-
{
|
|
71
|
-
allowArrowFunctions: true
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
'key-spacing': [
|
|
75
|
-
'error',
|
|
76
|
-
{
|
|
77
|
-
afterColon: true
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
'keyword-spacing': 'error',
|
|
81
|
-
'linebreak-style': [
|
|
82
|
-
'error',
|
|
83
|
-
'unix'
|
|
84
|
-
],
|
|
85
|
-
'max-statements-per-line': [
|
|
86
|
-
'error',
|
|
87
|
-
{
|
|
88
|
-
max: 1
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
'newline-per-chained-call': [
|
|
92
|
-
'error',
|
|
93
|
-
{
|
|
94
|
-
ignoreChainWithDepth: 2
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
98
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
99
|
-
'no-extra-semi': 'off',
|
|
100
|
-
'no-multiple-empty-lines': [
|
|
101
|
-
'error',
|
|
102
|
-
{
|
|
103
|
-
max: 1,
|
|
104
|
-
maxEOF: 1,
|
|
105
|
-
maxBOF: 0
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
'no-unused-vars': 'off',
|
|
109
|
-
'node/no-unsupported-features/es-syntax': 'off',
|
|
110
|
-
'object-curly-spacing': [
|
|
111
|
-
'error',
|
|
112
|
-
'always'
|
|
113
|
-
],
|
|
114
|
-
'object-shorthand': [
|
|
115
|
-
'error',
|
|
116
|
-
'always',
|
|
117
|
-
{
|
|
118
|
-
avoidExplicitReturnArrows: true,
|
|
119
|
-
avoidQuotes: true
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
'one-var': [
|
|
123
|
-
'error',
|
|
124
|
-
'never'
|
|
125
|
-
],
|
|
126
|
-
'prefer-arrow-callback': 'error',
|
|
127
|
-
'prefer-const': 'error',
|
|
128
|
-
quotes: 'off',
|
|
129
|
-
'quote-props': [
|
|
130
|
-
'error',
|
|
131
|
-
'as-needed'
|
|
132
|
-
],
|
|
133
|
-
semi: 'off',
|
|
134
|
-
'space-before-blocks': 'error',
|
|
135
|
-
'space-before-function-paren': 'error',
|
|
136
|
-
'space-in-parens': [
|
|
137
|
-
'error',
|
|
138
|
-
'never'
|
|
139
|
-
],
|
|
140
|
-
'space-infix-ops': 'error',
|
|
141
|
-
'space-unary-ops': [
|
|
142
|
-
'error',
|
|
143
|
-
{
|
|
144
|
-
words: true,
|
|
145
|
-
nonwords: false
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
'sort-vars': 'error',
|
|
149
|
-
'@typescript-eslint/consistent-type-imports': 'error',
|
|
150
|
-
'@typescript-eslint/explicit-function-return-type': 'error',
|
|
151
|
-
'@typescript-eslint/indent': [
|
|
152
|
-
'error',
|
|
153
|
-
4
|
|
154
|
-
],
|
|
155
|
-
'@typescript-eslint/member-delimiter-style': [
|
|
156
|
-
'error',
|
|
157
|
-
{
|
|
158
|
-
singleline: {
|
|
159
|
-
requireLast: true
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
'@typescript-eslint/naming-convention': [
|
|
164
|
-
'error',
|
|
165
|
-
{
|
|
166
|
-
selector: 'default',
|
|
167
|
-
format: [ 'camelCase' ],
|
|
168
|
-
leadingUnderscore: 'allow'
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
selector: 'parameter',
|
|
172
|
-
format: [ 'camelCase' ],
|
|
173
|
-
leadingUnderscore: 'allow'
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
selector: 'enumMember',
|
|
177
|
-
format: [ 'UPPER_CASE' ]
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
selector: 'typeLike',
|
|
181
|
-
format: [ 'PascalCase' ]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
selector: 'objectLiteralProperty',
|
|
185
|
-
format: [
|
|
186
|
-
'camelCase',
|
|
187
|
-
'PascalCase'
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
'@typescript-eslint/no-empty-function': 'off',
|
|
192
|
-
'@typescript-eslint/no-unused-vars': [
|
|
193
|
-
'error',
|
|
194
|
-
{
|
|
195
|
-
argsIgnorePattern: '^_',
|
|
196
|
-
varsIgnorePattern: '^_'
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
'@typescript-eslint/quotes': [
|
|
200
|
-
'error',
|
|
201
|
-
'single',
|
|
202
|
-
{
|
|
203
|
-
allowTemplateLiterals: true
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
'@typescript-eslint/semi': 'error',
|
|
207
|
-
'vue/component-name-in-template-casing': [
|
|
208
|
-
'error',
|
|
209
|
-
'kebab-case'
|
|
210
|
-
],
|
|
211
|
-
'vue/component-tags-order': [
|
|
212
|
-
'error',
|
|
213
|
-
{
|
|
214
|
-
order: [
|
|
215
|
-
'script',
|
|
216
|
-
'style',
|
|
217
|
-
'template'
|
|
218
|
-
]
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
'vue/html-closing-bracket-newline': [
|
|
222
|
-
'error',
|
|
223
|
-
{
|
|
224
|
-
singleline: 'never',
|
|
225
|
-
multiline: 'never'
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
'vue/html-comment-content-newline': [
|
|
229
|
-
'error',
|
|
230
|
-
{
|
|
231
|
-
singleline: 'never',
|
|
232
|
-
multiline: 'always'
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
'vue/html-comment-content-spacing': [
|
|
236
|
-
'error',
|
|
237
|
-
'always'
|
|
238
|
-
],
|
|
239
|
-
'vue/html-comment-indent': [
|
|
240
|
-
'error',
|
|
241
|
-
4
|
|
242
|
-
],
|
|
243
|
-
'vue/html-indent': [
|
|
244
|
-
'error',
|
|
245
|
-
4,
|
|
246
|
-
{
|
|
247
|
-
attribute: 1,
|
|
248
|
-
baseIndent: 1,
|
|
249
|
-
closeBracket: 0,
|
|
250
|
-
alignAttributesVertically: true
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
'vue/html-self-closing': [
|
|
254
|
-
'error',
|
|
255
|
-
{
|
|
256
|
-
html: {
|
|
257
|
-
void: 'never',
|
|
258
|
-
normal: 'never',
|
|
259
|
-
component: 'always'
|
|
260
|
-
},
|
|
261
|
-
svg: 'never',
|
|
262
|
-
math: 'never'
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
'vue/max-attributes-per-line': [
|
|
266
|
-
'error',
|
|
267
|
-
{
|
|
268
|
-
singleline: 1,
|
|
269
|
-
multiline: {
|
|
270
|
-
max: 1,
|
|
271
|
-
allowFirstLine: true
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
'vue/no-bare-strings-in-template': [
|
|
276
|
-
'error',
|
|
277
|
-
{
|
|
278
|
-
allowlist: [
|
|
279
|
-
'\u002E',
|
|
280
|
-
'\u00D7',
|
|
281
|
-
'\u00F7',
|
|
282
|
-
'\u002B',
|
|
283
|
-
'\u2212',
|
|
284
|
-
'\u003D',
|
|
285
|
-
'\u2260',
|
|
286
|
-
'\u00B1',
|
|
287
|
-
'\u003C',
|
|
288
|
-
'\u003E',
|
|
289
|
-
'\u2264',
|
|
290
|
-
'\u2265',
|
|
291
|
-
'\u223C',
|
|
292
|
-
'\u2248',
|
|
293
|
-
'\u2282',
|
|
294
|
-
'\u2283',
|
|
295
|
-
'\u2284',
|
|
296
|
-
'\u2286',
|
|
297
|
-
'\u2287',
|
|
298
|
-
'\u2285',
|
|
299
|
-
'\u2208;',
|
|
300
|
-
'\u2209',
|
|
301
|
-
'\u220B',
|
|
302
|
-
'\u220C',
|
|
303
|
-
'\u2211',
|
|
304
|
-
'\u221E',
|
|
305
|
-
'\u2234',
|
|
306
|
-
'\u0028',
|
|
307
|
-
'\u0029',
|
|
308
|
-
'\u005B',
|
|
309
|
-
'\u005D',
|
|
310
|
-
'\u2039',
|
|
311
|
-
'\u203A',
|
|
312
|
-
'\u00AB',
|
|
313
|
-
'\u00BB',
|
|
314
|
-
'\u007B',
|
|
315
|
-
'\u007D',
|
|
316
|
-
'\u0026',
|
|
317
|
-
'\u0023',
|
|
318
|
-
'\u0025',
|
|
319
|
-
'\u002F',
|
|
320
|
-
'\u005C',
|
|
321
|
-
'\u2010',
|
|
322
|
-
'\u2026',
|
|
323
|
-
'\u002A',
|
|
324
|
-
'\u002C',
|
|
325
|
-
'\u003B',
|
|
326
|
-
'\u003A',
|
|
327
|
-
'\u0021',
|
|
328
|
-
'\u00A1',
|
|
329
|
-
'\u003F',
|
|
330
|
-
'\u00BF',
|
|
331
|
-
'\u2048',
|
|
332
|
-
'\u005F',
|
|
333
|
-
'\u007C',
|
|
334
|
-
'\u2018',
|
|
335
|
-
'\u2019',
|
|
336
|
-
'\u201C',
|
|
337
|
-
'\u201D',
|
|
338
|
-
'\u00A9',
|
|
339
|
-
'\u00AE',
|
|
340
|
-
'\u2122',
|
|
341
|
-
'\u2190',
|
|
342
|
-
'\u2191',
|
|
343
|
-
'\u2192',
|
|
344
|
-
'\u2193',
|
|
345
|
-
'\u2194',
|
|
346
|
-
'\u2195',
|
|
347
|
-
'\u2196',
|
|
348
|
-
'\u2197',
|
|
349
|
-
'\u2198',
|
|
350
|
-
'\u2199',
|
|
351
|
-
'\u21B0',
|
|
352
|
-
'\u21B1',
|
|
353
|
-
'\u21B2',
|
|
354
|
-
'\u21B3',
|
|
355
|
-
'\u21B6',
|
|
356
|
-
'\u21B7',
|
|
357
|
-
'\u21BA',
|
|
358
|
-
'\u21BB',
|
|
359
|
-
'\u21C4',
|
|
360
|
-
'\u21C5',
|
|
361
|
-
'\u21F5',
|
|
362
|
-
'\u21C6',
|
|
363
|
-
'\u21C7',
|
|
364
|
-
'\u21C8',
|
|
365
|
-
'\u21C9',
|
|
366
|
-
'\u21CA',
|
|
367
|
-
'\u21E4',
|
|
368
|
-
'\u21E5',
|
|
369
|
-
'\u27F2',
|
|
370
|
-
'\u27F3',
|
|
371
|
-
'\u293A',
|
|
372
|
-
'\u293B'
|
|
373
|
-
],
|
|
374
|
-
attributes: {
|
|
375
|
-
'/.+/': [
|
|
376
|
-
'title',
|
|
377
|
-
'aria-label',
|
|
378
|
-
'aria-placeholder',
|
|
379
|
-
'aria-roledescription',
|
|
380
|
-
'aria-valuetext'
|
|
381
|
-
],
|
|
382
|
-
input: [ 'placeholder' ],
|
|
383
|
-
img: [ 'alt' ]
|
|
384
|
-
},
|
|
385
|
-
directives: [
|
|
386
|
-
'v-text',
|
|
387
|
-
'v-html'
|
|
388
|
-
]
|
|
389
|
-
}
|
|
390
|
-
],
|
|
391
|
-
'vue/no-empty-component-block': 'error',
|
|
392
|
-
'vue/no-export-in-script-setup': 'error',
|
|
393
|
-
'vue/no-reserved-component-names': [
|
|
394
|
-
'error',
|
|
395
|
-
{
|
|
396
|
-
disallowVueBuiltInComponents: true,
|
|
397
|
-
disallowVue3BuiltInComponents: true
|
|
398
|
-
}
|
|
399
|
-
],
|
|
400
|
-
'vue/no-useless-mustaches': 'error',
|
|
401
|
-
'vue/no-useless-v-bind': 'error',
|
|
402
|
-
'vue/no-v-html': 'off',
|
|
403
|
-
'vue/padding-line-between-blocks': [
|
|
404
|
-
'error',
|
|
405
|
-
'always'
|
|
406
|
-
],
|
|
407
|
-
'vue/require-direct-export': 'error',
|
|
408
|
-
'vue/require-name-property': 'error',
|
|
409
|
-
'vue/script-setup-uses-vars': 'error',
|
|
410
|
-
'vue/singleline-html-element-content-newline': [
|
|
411
|
-
'error',
|
|
412
|
-
{
|
|
413
|
-
ignoreWhenNoAttributes: false
|
|
414
|
-
}
|
|
415
|
-
],
|
|
416
|
-
'vue/static-class-names-order': 'error',
|
|
417
|
-
'vue/v-on-function-call': 'error',
|
|
418
|
-
strict: [
|
|
419
|
-
'error',
|
|
420
|
-
'never'
|
|
421
|
-
]
|
|
422
|
-
},
|
|
423
|
-
overrides: [ {
|
|
424
|
-
files: '**/*.js',
|
|
425
|
-
extends: [
|
|
426
|
-
'plugin:vue/vue3-recommended',
|
|
427
|
-
'eslint:recommended',
|
|
428
|
-
'plugin:jsdoc/recommended',
|
|
429
|
-
'plugin:import/errors',
|
|
430
|
-
'plugin:import/warnings'
|
|
431
|
-
],
|
|
432
|
-
rules: {
|
|
433
|
-
camelcase: 'off',
|
|
434
|
-
indent: [
|
|
435
|
-
'error',
|
|
436
|
-
4
|
|
437
|
-
],
|
|
438
|
-
quotes: [
|
|
439
|
-
'error',
|
|
440
|
-
'single',
|
|
441
|
-
{
|
|
442
|
-
allowTemplateLiterals: true
|
|
443
|
-
}
|
|
444
|
-
],
|
|
445
|
-
semi: 'error',
|
|
446
|
-
'@typescript-eslint/camelcase': 'off',
|
|
447
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
448
|
-
'@typescript-eslint/indent': 'off',
|
|
449
|
-
'@typescript-eslint/no-empty-function': 'off',
|
|
450
|
-
'@typescript-eslint/no-var-requires': 'off',
|
|
451
|
-
'@typescript-eslint/quotes': 'off',
|
|
452
|
-
'@typescript-eslint/semi': 'off'
|
|
453
|
-
}
|
|
454
|
-
} ]
|
|
455
|
-
};
|
package/dist/.stylelintrc.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: [
|
|
3
|
-
'stylelint-config-standard',
|
|
4
|
-
'stylelint-config-idiomatic-order'
|
|
5
|
-
],
|
|
6
|
-
plugins: [
|
|
7
|
-
'stylelint-high-performance-animation',
|
|
8
|
-
'stylelint-group-selectors',
|
|
9
|
-
'stylelint-order'
|
|
10
|
-
],
|
|
11
|
-
rules: {
|
|
12
|
-
'at-rule-no-unknown': [true, {
|
|
13
|
-
ignoreAtRules: [
|
|
14
|
-
'tailwind',
|
|
15
|
-
'apply',
|
|
16
|
-
'variants',
|
|
17
|
-
'responsive',
|
|
18
|
-
'screen',
|
|
19
|
-
'layer'
|
|
20
|
-
],
|
|
21
|
-
}],
|
|
22
|
-
'at-rule-no-vendor-prefix': true,
|
|
23
|
-
'block-closing-brace-empty-line-before': 'never',
|
|
24
|
-
'block-closing-brace-newline-after': 'always',
|
|
25
|
-
'block-no-empty': [
|
|
26
|
-
true,
|
|
27
|
-
{
|
|
28
|
-
ignore: [ 'comments' ]
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
'color-hex-length': 'long',
|
|
32
|
-
'color-hex-case': 'lower',
|
|
33
|
-
'comment-empty-line-before': 'always',
|
|
34
|
-
'comment-whitespace-inside': 'always',
|
|
35
|
-
'declaration-bang-space-after': 'never',
|
|
36
|
-
'declaration-bang-space-before': 'always',
|
|
37
|
-
'declaration-block-semicolon-newline-after': 'always',
|
|
38
|
-
'declaration-block-semicolon-newline-before': 'never-multi-line',
|
|
39
|
-
'declaration-block-semicolon-space-before': 'never',
|
|
40
|
-
'declaration-block-trailing-semicolon': 'always',
|
|
41
|
-
'declaration-colon-space-after': 'always-single-line',
|
|
42
|
-
'declaration-colon-space-before': 'never',
|
|
43
|
-
'declaration-no-important': null,
|
|
44
|
-
'font-weight-notation': 'numeric',
|
|
45
|
-
'function-calc-no-invalid': true,
|
|
46
|
-
'function-calc-no-unspaced-operator': true,
|
|
47
|
-
'function-url-quotes': 'always',
|
|
48
|
-
indentation: 'tab',
|
|
49
|
-
linebreaks: 'unix',
|
|
50
|
-
'media-feature-colon-space-after': 'always',
|
|
51
|
-
'media-feature-colon-space-before': 'never',
|
|
52
|
-
'media-feature-parentheses-space-inside': 'never',
|
|
53
|
-
'media-feature-range-operator-space-after': 'always',
|
|
54
|
-
'media-feature-range-operator-space-before': 'always',
|
|
55
|
-
'no-duplicate-selectors': true,
|
|
56
|
-
'number-leading-zero': 'always',
|
|
57
|
-
'number-no-trailing-zeros': true,
|
|
58
|
-
'order/properties-alphabetical-order': true,
|
|
59
|
-
'order/properties-order': null,
|
|
60
|
-
'plugin/no-low-performance-animation-properties': [
|
|
61
|
-
true,
|
|
62
|
-
{
|
|
63
|
-
ignore: 'paint-properties',
|
|
64
|
-
'ignoreProperties': [
|
|
65
|
-
'color',
|
|
66
|
-
'background',
|
|
67
|
-
'background-color'
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
'plugin/stylelint-group-selectors': true,
|
|
72
|
-
'property-no-vendor-prefix': true,
|
|
73
|
-
'keyframes-name-pattern': [
|
|
74
|
-
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
75
|
-
{
|
|
76
|
-
severity: 'error',
|
|
77
|
-
message: 'keyframe names must-be-kebab-case.'
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
'rule-empty-line-before': [
|
|
81
|
-
'always-multi-line',
|
|
82
|
-
{
|
|
83
|
-
ignore: [ 'after-comment' ]
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
'selector-attribute-brackets-space-inside': 'never',
|
|
87
|
-
'selector-attribute-operator-space-after': 'never',
|
|
88
|
-
'selector-attribute-operator-space-before': 'never',
|
|
89
|
-
'selector-attribute-quotes': 'always',
|
|
90
|
-
'selector-class-pattern': [
|
|
91
|
-
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
92
|
-
{
|
|
93
|
-
severity: 'error',
|
|
94
|
-
message: 'Class Selectors must-be-kebab-case.'
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
'selector-combinator-space-after': 'always',
|
|
98
|
-
'selector-id-pattern': [
|
|
99
|
-
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
100
|
-
{
|
|
101
|
-
severity: 'error',
|
|
102
|
-
message: 'ID Selectors must-be-kebab-case.'
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
'selector-list-comma-newline-after': 'always',
|
|
106
|
-
'selector-no-vendor-prefix': true,
|
|
107
|
-
'selector-pseudo-element-colon-notation': 'single',
|
|
108
|
-
'selector-pseudo-class-parentheses-space-inside': 'never',
|
|
109
|
-
'selector-type-case': 'lower',
|
|
110
|
-
'string-quotes': 'single',
|
|
111
|
-
'unit-case': 'lower',
|
|
112
|
-
'value-list-comma-newline-after': 'always',
|
|
113
|
-
'value-list-comma-space-after': 'always-single-line',
|
|
114
|
-
'value-list-comma-space-before': 'never',
|
|
115
|
-
'value-keyword-case': 'lower',
|
|
116
|
-
'value-list-max-empty-lines': 0,
|
|
117
|
-
'value-no-vendor-prefix': true
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { AccordionItem } from './types';
|
|
2
|
-
interface Item {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
open: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
8
|
-
items: {
|
|
9
|
-
type: ArrayConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
exclusive: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
required: false;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
openFirst: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
required: false;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
props: {
|
|
24
|
-
items: AccordionItem[];
|
|
25
|
-
exclusive: boolean;
|
|
26
|
-
openFirst: boolean;
|
|
27
|
-
};
|
|
28
|
-
itemList: import("vue").Ref<{
|
|
29
|
-
id: string;
|
|
30
|
-
title: string;
|
|
31
|
-
open: boolean;
|
|
32
|
-
}[]>;
|
|
33
|
-
initialiseItems: () => void;
|
|
34
|
-
toggleItem: (item: Item) => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
-
items?: unknown;
|
|
37
|
-
exclusive?: unknown;
|
|
38
|
-
openFirst?: unknown;
|
|
39
|
-
} & {
|
|
40
|
-
items: unknown[];
|
|
41
|
-
exclusive: boolean;
|
|
42
|
-
openFirst: boolean;
|
|
43
|
-
} & {}>, {
|
|
44
|
-
exclusive: boolean;
|
|
45
|
-
openFirst: boolean;
|
|
46
|
-
}>;
|
|
47
|
-
export default _sfc_main;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { FilterOperation } from '../types';
|
|
2
|
-
import type { FilterRequest, GridFilterLocalisations, GridColumn, FilterMethod, FilterMethodType } from '../types';
|
|
3
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
-
request: {
|
|
5
|
-
type: null;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
currentLocale: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: false;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
localisations: {
|
|
14
|
-
type: null;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
column: {
|
|
18
|
-
type: null;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
firstHalf: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
required: false;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
}, {
|
|
27
|
-
props: {
|
|
28
|
-
request: FilterRequest;
|
|
29
|
-
currentLocale: string;
|
|
30
|
-
localisations: GridFilterLocalisations;
|
|
31
|
-
column: GridColumn;
|
|
32
|
-
firstHalf: boolean;
|
|
33
|
-
};
|
|
34
|
-
emit: (event: "update:request", ...args: any[]) => void;
|
|
35
|
-
debounce: (event: Function, eventArgs: unknown[]) => void;
|
|
36
|
-
allowedFilterMethods: import("vue").ComputedRef<FilterMethod[]>;
|
|
37
|
-
currentFilterMethod: import("vue").ComputedRef<FilterMethod | undefined>;
|
|
38
|
-
currentFilter: import("vue").ComputedRef<string>;
|
|
39
|
-
currentNumberFilter: import("vue").ComputedRef<number>;
|
|
40
|
-
currentDateFilter: import("vue").ComputedRef<Date | null>;
|
|
41
|
-
decimalSeparator: import("vue").ComputedRef<string>;
|
|
42
|
-
getDefaultFilterOperation: () => FilterOperation;
|
|
43
|
-
getAllowedMethods: () => FilterMethod[];
|
|
44
|
-
setFilterMethod: (filterMethod: FilterMethodType) => void;
|
|
45
|
-
setFilter: (target: EventTarget | null, defaultValue?: string | undefined) => void;
|
|
46
|
-
setNumberFilter: (target: EventTarget | null) => void;
|
|
47
|
-
setDateFilter: (value: Date | null) => void;
|
|
48
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
-
'update:request': null;
|
|
50
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
51
|
-
request?: unknown;
|
|
52
|
-
currentLocale?: unknown;
|
|
53
|
-
localisations?: unknown;
|
|
54
|
-
column?: unknown;
|
|
55
|
-
firstHalf?: unknown;
|
|
56
|
-
} & {
|
|
57
|
-
column: any;
|
|
58
|
-
currentLocale: string;
|
|
59
|
-
localisations: any;
|
|
60
|
-
request: any;
|
|
61
|
-
firstHalf: boolean;
|
|
62
|
-
} & {}> & {
|
|
63
|
-
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}, {
|
|
65
|
-
currentLocale: string;
|
|
66
|
-
firstHalf: boolean;
|
|
67
|
-
}>;
|
|
68
|
-
export default _sfc_main;
|