@citruslime/ui 2.0.0-beta.17 → 2.0.0-beta.20

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.
Files changed (87) hide show
  1. package/README.md +5 -4
  2. package/dist/citrus-lime-ui.es.js +573 -859
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/{src/components → components}/accordion/cl-ui-accordion.vue.d.ts +7 -5
  5. package/dist/{src/components → components}/accordion/index.d.ts +0 -0
  6. package/dist/{src/components → components}/accordion/item/cl-ui-accordion-item.vue.d.ts +11 -7
  7. package/dist/{src/components → components}/accordion/types.d.ts +0 -0
  8. package/dist/{src/components → components}/app/cl-ui-app.vue.d.ts +19 -12
  9. package/dist/{src/components → components}/app/index.d.ts +0 -0
  10. package/dist/{src/components → components}/button/cl-ui-button.vue.d.ts +22 -11
  11. package/dist/{src/components → components}/button/index.d.ts +0 -0
  12. package/dist/{src/components → components}/button/types.d.ts +0 -0
  13. package/dist/{src/components → components}/calendar/cl-ui-calendar.vue.d.ts +0 -0
  14. package/dist/{src/components → components}/calendar/index.d.ts +0 -0
  15. package/dist/{src/components → components}/calendar/types.d.ts +0 -0
  16. package/dist/{src/components → components}/calendar/utils.d.ts +0 -0
  17. package/dist/{src/components → components}/card/cl-ui-card.vue.d.ts +12 -7
  18. package/dist/{src/components → components}/card/index.d.ts +0 -0
  19. package/dist/{src/components → components}/card/types.d.ts +0 -0
  20. package/dist/{src/components → components}/combo-box/cl-ui-combo-box.vue.d.ts +200 -99
  21. package/dist/{src/components → components}/combo-box/index.d.ts +0 -0
  22. package/dist/{src/components → components}/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +90 -44
  23. package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +17 -9
  24. package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +27 -14
  25. package/dist/{src/components → components}/combo-box/types.d.ts +0 -0
  26. package/dist/{src/components → components}/footer/index.d.ts +0 -0
  27. package/dist/{src/components → components}/grid/cell/cl-ui-grid-cell.vue.d.ts +15 -9
  28. package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +156 -90
  29. package/dist/{src/components → components}/grid/filter/cl-ui-grid-filter.vue.d.ts +17 -11
  30. package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
  31. package/dist/{src/components → components}/grid/footer/cl-ui-grid-footer.vue.d.ts +13 -9
  32. package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +69 -38
  33. package/dist/{src/components → components}/grid/index.d.ts +0 -0
  34. package/dist/{src/components → components}/grid/types.d.ts +0 -0
  35. package/dist/{src/components → components}/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +28 -16
  36. package/dist/{src/components → components}/header/index.d.ts +0 -0
  37. package/dist/{src/components → components}/header/menu/cl-ui-header-menu.vue.d.ts +17 -9
  38. package/dist/{src/components → components}/header/menu/index.d.ts +0 -0
  39. package/dist/{src/components → components}/index.d.ts +0 -0
  40. package/dist/{src/components → components}/input/cl-ui-input.vue.d.ts +0 -0
  41. package/dist/{src/components → components}/input/index.d.ts +0 -0
  42. package/dist/{src/components → components}/input/types.d.ts +0 -0
  43. package/dist/{src/components → components}/input/utils.d.ts +0 -0
  44. package/dist/{src/components → components}/language-switcher/cl-ui-language-switcher.vue.d.ts +11 -7
  45. package/dist/{src/components → components}/language-switcher/index.d.ts +0 -0
  46. package/dist/{src/components → components}/language-switcher/types.d.ts +0 -0
  47. package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
  48. package/dist/{src/components → components}/login/cl-ui-login.vue.d.ts +34 -18
  49. package/dist/{src/components → components}/login/index.d.ts +0 -0
  50. package/dist/{src/components → components}/login/types.d.ts +0 -0
  51. package/dist/{src/components → components}/modal/cl-ui-modal.vue.d.ts +17 -9
  52. package/dist/{src/components → components}/modal/index.d.ts +0 -0
  53. package/dist/{src/components → components}/modal/types.d.ts +0 -0
  54. package/dist/{src/components → components}/navigation/cl-ui-navigation.vue.d.ts +1 -1
  55. package/dist/{src/components → components}/navigation/group/cl-ui-navigation-group.vue.d.ts +6 -5
  56. package/dist/{src/components → components}/navigation/icon/cl-ui-navigation-icon.vue.d.ts +10 -7
  57. package/dist/{src/components → components}/navigation/index.d.ts +0 -0
  58. package/dist/{src/components → components}/notification/cl-ui-notification.vue.d.ts +12 -7
  59. package/dist/{src/components → components}/notification/index.d.ts +0 -0
  60. package/dist/{src/components → components}/notification/types.d.ts +0 -0
  61. package/dist/{src/components → components}/slider/cl-ui-slider.vue.d.ts +35 -18
  62. package/dist/{src/components → components}/slider/index.d.ts +0 -0
  63. package/dist/{src/composables → composables}/index.d.ts +0 -0
  64. package/dist/{src/composables → composables}/notification.d.ts +0 -0
  65. package/dist/{src/main.d.ts → main.d.ts} +0 -2
  66. package/dist/style.css +1 -1
  67. package/dist/{src/utils → utils}/i18n/config.d.ts +0 -0
  68. package/dist/{src/utils → utils}/i18n/defaults.d.ts +0 -0
  69. package/dist/{src/utils → utils}/i18n/index.d.ts +0 -0
  70. package/dist/{src/utils → utils}/i18n/types.d.ts +0 -0
  71. package/dist/utils/index.d.ts +2 -0
  72. package/dist/{src/utils → utils}/validation.d.ts +0 -0
  73. package/package.json +12 -13
  74. package/dist/.eslintrc.js +0 -465
  75. package/dist/.stylelintrc.js +0 -119
  76. package/dist/src/utils/copy.d.ts +0 -8
  77. package/dist/src/utils/debouncer.d.ts +0 -13
  78. package/dist/src/utils/extensions/date/index.d.ts +0 -1
  79. package/dist/src/utils/extensions/date/types.d.ts +0 -8
  80. package/dist/src/utils/extensions/string/types.d.ts +0 -48
  81. package/dist/src/utils/extensions/string/utils.d.ts +0 -83
  82. package/dist/src/utils/id.d.ts +0 -6
  83. package/dist/src/utils/index.d.ts +0 -8
  84. package/dist/src/utils/name-of.d.ts +0 -7
  85. package/dist/src/utils/sort.d.ts +0 -9
  86. package/dist/src/utils/url-params.d.ts +0 -8
  87. package/dist/theme.js +0 -121
package/dist/.eslintrc.js DELETED
@@ -1,465 +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-multi-spaces': 'error',
109
- 'no-unused-vars': 'off',
110
- 'node/no-unsupported-features/es-syntax': 'off',
111
- 'object-curly-spacing': [
112
- 'error',
113
- 'always'
114
- ],
115
- 'object-shorthand': [
116
- 'error',
117
- 'always',
118
- {
119
- avoidExplicitReturnArrows: true,
120
- avoidQuotes: true
121
- }
122
- ],
123
- 'one-var': [
124
- 'error',
125
- 'never'
126
- ],
127
- 'prefer-arrow-callback': 'error',
128
- 'prefer-const': 'error',
129
- quotes: 'off',
130
- 'quote-props': [
131
- 'error',
132
- 'as-needed'
133
- ],
134
- semi: 'off',
135
- 'space-before-blocks': 'error',
136
- 'space-before-function-paren': 'error',
137
- 'space-in-parens': [
138
- 'error',
139
- 'never'
140
- ],
141
- 'space-infix-ops': 'error',
142
- 'space-unary-ops': [
143
- 'error',
144
- {
145
- words: true,
146
- nonwords: false
147
- }
148
- ],
149
- 'sort-vars': 'error',
150
- '@typescript-eslint/consistent-type-imports': 'error',
151
- '@typescript-eslint/explicit-function-return-type': 'error',
152
- '@typescript-eslint/indent': [
153
- 'error',
154
- 4
155
- ],
156
- '@typescript-eslint/member-delimiter-style': [
157
- 'error',
158
- {
159
- singleline: {
160
- requireLast: true
161
- }
162
- }
163
- ],
164
- '@typescript-eslint/naming-convention': [
165
- 'error',
166
- {
167
- selector: 'default',
168
- format: [ 'camelCase' ],
169
- leadingUnderscore: 'allow'
170
- },
171
- {
172
- selector: 'parameter',
173
- format: [ 'camelCase' ],
174
- leadingUnderscore: 'allow'
175
- },
176
- {
177
- selector: 'enumMember',
178
- format: [ 'UPPER_CASE' ]
179
- },
180
- {
181
- selector: 'typeLike',
182
- format: [ 'PascalCase' ]
183
- },
184
- {
185
- selector: 'objectLiteralProperty',
186
- format: [
187
- 'camelCase',
188
- 'PascalCase'
189
- ]
190
- }
191
- ],
192
- '@typescript-eslint/no-empty-function': 'off',
193
- '@typescript-eslint/no-unused-vars': [
194
- 'error',
195
- {
196
- argsIgnorePattern: '^_',
197
- varsIgnorePattern: '^_'
198
- }
199
- ],
200
- '@typescript-eslint/quotes': [
201
- 'error',
202
- 'single',
203
- {
204
- allowTemplateLiterals: true
205
- }
206
- ],
207
- '@typescript-eslint/semi': 'error',
208
- 'vue/component-name-in-template-casing': [
209
- 'error',
210
- 'kebab-case'
211
- ],
212
- 'vue/component-tags-order': [
213
- 'error',
214
- {
215
- order: [
216
- 'script',
217
- 'style',
218
- 'template'
219
- ]
220
- }
221
- ],
222
- 'vue/first-attribute-linebreak': [
223
- 'error',
224
- {
225
- singleline: 'beside',
226
- multiline: 'beside'
227
- }
228
- ],
229
- 'vue/html-closing-bracket-newline': [
230
- 'error',
231
- {
232
- singleline: 'never',
233
- multiline: 'never'
234
- }
235
- ],
236
- 'vue/html-comment-content-newline': [
237
- 'error',
238
- {
239
- singleline: 'never',
240
- multiline: 'always'
241
- }
242
- ],
243
- 'vue/html-comment-content-spacing': [
244
- 'error',
245
- 'always'
246
- ],
247
- 'vue/html-comment-indent': [
248
- 'error',
249
- 4
250
- ],
251
- 'vue/html-indent': [
252
- 'error',
253
- 4,
254
- {
255
- attribute: 1,
256
- baseIndent: 1,
257
- closeBracket: 0,
258
- alignAttributesVertically: true
259
- }
260
- ],
261
- 'vue/html-self-closing': [
262
- 'error',
263
- {
264
- html: {
265
- void: 'never',
266
- normal: 'never',
267
- component: 'always'
268
- },
269
- svg: 'never',
270
- math: 'never'
271
- }
272
- ],
273
- 'vue/max-attributes-per-line': [
274
- 'error',
275
- {
276
- singleline: {
277
- max: 1
278
- },
279
- multiline: {
280
- max: 1
281
- }
282
- }
283
- ],
284
- 'vue/multi-word-component-names': 'off',
285
- 'vue/no-bare-strings-in-template': [
286
- 'error',
287
- {
288
- allowlist: [
289
- '\u002E',
290
- '\u00D7',
291
- '\u00F7',
292
- '\u002B',
293
- '\u2212',
294
- '\u003D',
295
- '\u2260',
296
- '\u00B1',
297
- '\u003C',
298
- '\u003E',
299
- '\u2264',
300
- '\u2265',
301
- '\u223C',
302
- '\u2248',
303
- '\u2282',
304
- '\u2283',
305
- '\u2284',
306
- '\u2286',
307
- '\u2287',
308
- '\u2285',
309
- '\u2208;',
310
- '\u2209',
311
- '\u220B',
312
- '\u220C',
313
- '\u2211',
314
- '\u221E',
315
- '\u2234',
316
- '\u0028',
317
- '\u0029',
318
- '\u005B',
319
- '\u005D',
320
- '\u2039',
321
- '\u203A',
322
- '\u00AB',
323
- '\u00BB',
324
- '\u007B',
325
- '\u007D',
326
- '\u0026',
327
- '\u0023',
328
- '\u0025',
329
- '\u002F',
330
- '\u005C',
331
- '\u2010',
332
- '\u2026',
333
- '\u002A',
334
- '\u002C',
335
- '\u003B',
336
- '\u003A',
337
- '\u0021',
338
- '\u00A1',
339
- '\u003F',
340
- '\u00BF',
341
- '\u2048',
342
- '\u005F',
343
- '\u007C',
344
- '\u2018',
345
- '\u2019',
346
- '\u201C',
347
- '\u201D',
348
- '\u00A9',
349
- '\u00AE',
350
- '\u2122',
351
- '\u2190',
352
- '\u2191',
353
- '\u2192',
354
- '\u2193',
355
- '\u2194',
356
- '\u2195',
357
- '\u2196',
358
- '\u2197',
359
- '\u2198',
360
- '\u2199',
361
- '\u21B0',
362
- '\u21B1',
363
- '\u21B2',
364
- '\u21B3',
365
- '\u21B6',
366
- '\u21B7',
367
- '\u21BA',
368
- '\u21BB',
369
- '\u21C4',
370
- '\u21C5',
371
- '\u21F5',
372
- '\u21C6',
373
- '\u21C7',
374
- '\u21C8',
375
- '\u21C9',
376
- '\u21CA',
377
- '\u21E4',
378
- '\u21E5',
379
- '\u27F2',
380
- '\u27F3',
381
- '\u293A',
382
- '\u293B'
383
- ],
384
- attributes: {
385
- '/.+/': [
386
- 'title',
387
- 'aria-label',
388
- 'aria-placeholder',
389
- 'aria-roledescription',
390
- 'aria-valuetext'
391
- ],
392
- input: [ 'placeholder' ],
393
- img: [ 'alt' ]
394
- },
395
- directives: [
396
- 'v-text',
397
- 'v-html'
398
- ]
399
- }
400
- ],
401
- 'vue/no-empty-component-block': 'error',
402
- 'vue/no-export-in-script-setup': 'error',
403
- 'vue/no-reserved-component-names': [
404
- 'error',
405
- {
406
- disallowVueBuiltInComponents: true,
407
- disallowVue3BuiltInComponents: true
408
- }
409
- ],
410
- 'vue/no-useless-mustaches': 'error',
411
- 'vue/no-useless-v-bind': 'error',
412
- 'vue/no-v-html': 'off',
413
- 'vue/padding-line-between-blocks': [
414
- 'error',
415
- 'always'
416
- ],
417
- 'vue/require-direct-export': 'error',
418
- 'vue/require-name-property': 'error',
419
- 'vue/script-setup-uses-vars': 'error',
420
- 'vue/singleline-html-element-content-newline': [
421
- 'error',
422
- {
423
- ignoreWhenNoAttributes: false
424
- }
425
- ],
426
- 'vue/static-class-names-order': 'error',
427
- 'vue/v-on-function-call': 'error',
428
- strict: [
429
- 'error',
430
- 'never'
431
- ]
432
- },
433
- overrides: [ {
434
- files: '**/*.js',
435
- extends: [
436
- 'plugin:vue/vue3-recommended',
437
- 'eslint:recommended',
438
- 'plugin:jsdoc/recommended',
439
- 'plugin:import/errors',
440
- 'plugin:import/warnings'
441
- ],
442
- rules: {
443
- camelcase: 'off',
444
- indent: [
445
- 'error',
446
- 4
447
- ],
448
- quotes: [
449
- 'error',
450
- 'single',
451
- {
452
- allowTemplateLiterals: true
453
- }
454
- ],
455
- semi: 'error',
456
- '@typescript-eslint/camelcase': 'off',
457
- '@typescript-eslint/explicit-function-return-type': 'off',
458
- '@typescript-eslint/indent': 'off',
459
- '@typescript-eslint/no-empty-function': 'off',
460
- '@typescript-eslint/no-var-requires': 'off',
461
- '@typescript-eslint/quotes': 'off',
462
- '@typescript-eslint/semi': 'off'
463
- }
464
- } ]
465
- };
@@ -1,119 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- 'stylelint-config-recommended-vue',
4
- 'stylelint-config-standard',
5
- 'stylelint-config-idiomatic-order'
6
- ],
7
- plugins: [
8
- 'stylelint-high-performance-animation',
9
- 'stylelint-group-selectors',
10
- 'stylelint-order'
11
- ],
12
- rules: {
13
- 'at-rule-no-unknown': [true, {
14
- ignoreAtRules: [
15
- 'tailwind',
16
- 'apply',
17
- 'variants',
18
- 'responsive',
19
- 'screen',
20
- 'layer'
21
- ],
22
- }],
23
- 'at-rule-no-vendor-prefix': true,
24
- 'block-closing-brace-empty-line-before': 'never',
25
- 'block-closing-brace-newline-after': 'always',
26
- 'block-no-empty': [
27
- true,
28
- {
29
- ignore: [ 'comments' ]
30
- }
31
- ],
32
- 'color-hex-length': 'long',
33
- 'color-hex-case': 'lower',
34
- 'comment-empty-line-before': 'always',
35
- 'comment-whitespace-inside': 'always',
36
- 'declaration-bang-space-after': 'never',
37
- 'declaration-bang-space-before': 'always',
38
- 'declaration-block-semicolon-newline-after': 'always',
39
- 'declaration-block-semicolon-newline-before': 'never-multi-line',
40
- 'declaration-block-semicolon-space-before': 'never',
41
- 'declaration-block-trailing-semicolon': 'always',
42
- 'declaration-colon-space-after': 'always-single-line',
43
- 'declaration-colon-space-before': 'never',
44
- 'declaration-no-important': null,
45
- 'font-weight-notation': 'numeric',
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,8 +0,0 @@
1
- import type { DeepReadonly } from 'vue';
2
- /**
3
- * Deep copies a provided value.
4
- *
5
- * @param value The value to copy.
6
- * @returns A copy of the object.
7
- */
8
- export declare function copy<T>(value: T | Readonly<T> | DeepReadonly<T>): T;
@@ -1,13 +0,0 @@
1
- import type { Ref } from 'vue';
2
- export interface Debouncer {
3
- debouncer: Ref<number | null>;
4
- timeout: Ref<number>;
5
- debounce(event: Function, eventArgs: unknown[]): void;
6
- }
7
- /**
8
- * Composable for creating a debouncer.
9
- *
10
- * @param timeout The timeout, in milliseconds, to use when debouncing.
11
- * @returns A debouncer composable.
12
- */
13
- export declare function useDebouncer(timeout?: number): Debouncer;
@@ -1 +0,0 @@
1
- export {} from './utils';
@@ -1,8 +0,0 @@
1
- declare global {
2
- interface Date {
3
- toLocaleMonthString(locale?: string): string;
4
- toLocaleTimeStringWithoutMilliseconds(locale?: string): string;
5
- toLocaleStringWithoutMilliseconds(locale?: string): string;
6
- }
7
- }
8
- export {};
@@ -1,48 +0,0 @@
1
- declare global {
2
- interface String {
3
- similarity(comparisonString: string): number;
4
- trimChar(character: string): string;
5
- trimStartChar(character: string): string;
6
- trimEndChar(character: string): string;
7
- trimToLength(length: number, addEllipsis?: boolean): string;
8
- firstCharToUpperCase(locale?: string | string[]): string;
9
- firstCharToLowerCase(locale?: string | string[]): string;
10
- removeWhitespace(): string;
11
- removeNonAlphanumeric(): string;
12
- removeNonAlphabetic(): string;
13
- removeNonNumeric(): string;
14
- replacePlaceholders(...args: string[]): string;
15
- camelCaseToKebabCase(lowerCase?: boolean, locale?: string | string[]): string;
16
- camelCaseToPascalCase(locale?: string | string[]): string;
17
- camelCaseToSentenceCase(locale?: string | string[]): string;
18
- camelCaseToSnakeCase(lowerCase?: boolean, locale?: string | string[]): string;
19
- camelCaseToTitleCase(locale?: string | string[]): string;
20
- kebabCaseToCamelCase(locale?: string | string[]): string;
21
- kebabCaseToPascalCase(locale?: string | string[]): string;
22
- kebabCaseToSentenceCase(locale?: string | string[]): string;
23
- kebabCaseToSnakeCase(lowerCase?: boolean, locale?: string | string[]): string;
24
- kebabCaseToTitleCase(locale?: string | string[]): string;
25
- pascalCaseToCamelCase(locale?: string | string[]): string;
26
- pascalCaseToKebabCase(lowerCase?: boolean, locale?: string | string[]): string;
27
- pascalCaseToSentenceCase(locale?: string | string[]): string;
28
- pascalCaseToSnakeCase(lowerCase?: boolean, locale?: string | string[]): string;
29
- pascalCaseToTitleCase(locale?: string | string[]): string;
30
- sentenceCaseToCamelCase(locale?: string | string[]): string;
31
- sentenceCaseToKebabCase(lowerCase?: boolean, locale?: string | string[]): string;
32
- sentenceCaseToPascalCase(locale?: string | string[]): string;
33
- sentenceCaseToSnakeCase(lowerCase?: boolean, locale?: string | string[]): string;
34
- sentenceCaseToTitleCase(locale?: string | string[]): string;
35
- snakeCaseToCamelCase(locale?: string | string[]): string;
36
- snakeCaseToKebabCase(lowerCase?: boolean, locale?: string | string[]): string;
37
- snakeCaseToPascalCase(locale?: string | string[]): string;
38
- snakeCaseToSentenceCase(locale?: string | string[]): string;
39
- snakeCaseToTitleCase(locale?: string | string[]): string;
40
- titleCaseToCamelCase(locale?: string | string[]): string;
41
- titleCaseToKebabCase(lowerCase?: boolean, locale?: string | string[]): string;
42
- titleCaseToPascalCase(locale?: string | string[]): string;
43
- titleCaseToSentenceCase(locale?: string | string[]): string;
44
- titleCaseToSnakeCase(lowerCase?: boolean, locale?: string | string[]): string;
45
- toDateFromTime(): Date;
46
- }
47
- }
48
- export {};