@webitel/ui-sdk 24.12.84 → 24.12.86

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 (48) hide show
  1. package/CHANGELOG.md +29 -8
  2. package/dist/img/sprite/add-filter.svg +8 -0
  3. package/dist/img/sprite/index.js +2 -0
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +2759 -2752
  6. package/dist/ui-sdk.umd.cjs +15 -15
  7. package/package.json +1 -1
  8. package/src/assets/icons/sprite/add-filter.svg +8 -0
  9. package/src/assets/icons/sprite/index.js +2 -0
  10. package/src/components/index.js +71 -0
  11. package/src/components/wt-action-bar/wt-action-bar.vue +9 -4
  12. package/src/components/wt-datepicker/wt-datepicker.vue +11 -1
  13. package/src/components/wt-icon-action/iconMappings.js +1 -0
  14. package/src/components/wt-loader/_internals/wt-loader--md.vue +3 -2
  15. package/src/components/wt-tooltip/_internals/useTooltipTriggerSubscriptions.js +0 -1
  16. package/src/components/wt-tooltip/wt-tooltip.vue +4 -1
  17. package/src/css/main.scss +0 -1
  18. package/src/css/pages/table-page.scss +0 -1
  19. package/src/css/styleguide/placeholder/_placeholder.scss +2 -2
  20. package/src/enums/IconAction/IconAction.enum.js +1 -0
  21. package/src/locale/en/en.js +19 -0
  22. package/src/locale/ru/ru.js +1 -0
  23. package/src/locale/ua/ua.js +1 -0
  24. package/src/modules/Filters/v2/filters/classes/Filter.ts +30 -0
  25. package/src/modules/Filters/v2/filters/classes/FilterStorage.ts +34 -0
  26. package/src/modules/Filters/v2/filters/classes/FilterStorageOptions.d.ts +6 -0
  27. package/src/modules/Filters/v2/filters/classes/FiltersManager.ts +189 -0
  28. package/src/modules/Filters/v2/filters/components/dynamic/config/dynamic-filter-config-form.vue +146 -0
  29. package/src/modules/Filters/v2/filters/components/dynamic/config/dynamic-filter-config-view.vue +29 -0
  30. package/src/modules/Filters/v2/filters/components/dynamic/dynamic-filter-add-action.vue +41 -0
  31. package/src/modules/Filters/v2/filters/components/dynamic/preview/dynamic-filter-preview-info.vue +48 -0
  32. package/src/modules/Filters/v2/filters/components/dynamic/preview/dynamic-filter-preview.vue +61 -0
  33. package/src/modules/Filters/v2/filters/components/static/search-filter.vue +14 -0
  34. package/src/modules/Filters/v2/filters/components/table-filters-panel.vue +87 -0
  35. package/src/modules/Filters/v2/filters/createTableFiltersStore.ts +81 -0
  36. package/src/modules/Filters/v2/filters/index.ts +27 -0
  37. package/src/modules/Filters/v2/filters/scripts/utils.ts +31 -0
  38. package/src/modules/Filters/v2/filters/types/Filter.d.ts +41 -0
  39. package/src/modules/Filters/v2/filters/types/FiltersManager.d.ts +76 -0
  40. package/src/modules/Filters/v2/headers/createTableHeadersStore.ts +89 -0
  41. package/src/modules/Filters/v2/index.ts +0 -0
  42. package/src/modules/Filters/v2/pagination/createTablePaginationStore.ts +54 -0
  43. package/src/modules/Filters/v2/persist/PersistedStorage.types.ts +51 -0
  44. package/src/modules/Filters/v2/persist/useLocalStoragePersistedStorage.ts +31 -0
  45. package/src/modules/Filters/v2/persist/usePersistedStorage.ts +150 -0
  46. package/src/modules/Filters/v2/persist/useRoutePersistedStorage.ts +41 -0
  47. package/src/modules/Filters/v2/table/createTableStore.store.ts +180 -0
  48. package/src/modules/Filters/v2/types/tableStore.types.ts +60 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [v24.12.85] - 2025-02-03
2
+ ### :bug: Bug Fixes
3
+ - [`97a6215`](https://github.com/webitel/webitel-ui-sdk/commit/97a6215daa21dce2122876df8cd8528b978eb4d0) - clear value in datepicker component[WTEL-5830](https://webitel.atlassian.net/browse/WTEL-5830) *(commit by [@Lera24](https://github.com/Lera24))*
4
+
5
+
6
+ ## [v24.12.84] - 2025-02-03
7
+ ### :bug: Bug Fixes
8
+ - [`371c2a8`](https://github.com/webitel/webitel-ui-sdk/commit/371c2a8e70b0a87f2245435a99358224feff7689) - fixed wt-popup close emit *(commit by [@plnnsimon](https://github.com/plnnsimon))*
9
+
10
+
1
11
  ## [v24.12.82] - 2025-01-31
2
12
  ### :bug: Bug Fixes
3
13
  - [`47191cb`](https://github.com/webitel/webitel-ui-sdk/commit/47191cbc432711c4f360b0e9c097e5c6ae7dacd8) - update package version to 24.12.82
@@ -225,35 +235,43 @@
225
235
 
226
236
 
227
237
  ## [v24.12.37] - 2025-01-02
238
+
228
239
  ### :bug: Bug Fixes
229
- - [`f909155`](https://github.com/webitel/webitel-ui-sdk/commit/f909155cac0a29ebd30c24a22febf12ae9da311d) - wt-select value prop [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
230
240
 
241
+ - [`f909155`](https://github.com/webitel/webitel-ui-sdk/commit/f909155cac0a29ebd30c24a22febf12ae9da311d) - wt-select value prop [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
231
242
 
232
243
  ## [v24.12.36] - 2025-01-02
244
+
233
245
  ### :bug: Bug Fixes
234
- - [`3a4d3e5`](https://github.com/webitel/webitel-ui-sdk/commit/3a4d3e5fd4d999ef90a99f094791c5be11fea284) - wt-select useValueFromOptionsByProp, + docs [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
235
246
 
247
+ - [`3a4d3e5`](https://github.com/webitel/webitel-ui-sdk/commit/3a4d3e5fd4d999ef90a99f094791c5be11fea284) - wt-select useValueFromOptionsByProp, + docs [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
236
248
 
237
249
  ## [v24.12.35] - 2024-12-31
250
+
238
251
  ### :sparkles: New Features
239
- - [`cedd5e7`](https://github.com/webitel/webitel-ui-sdk/commit/cedd5e71d1aa78124731a28db3f5a986919ba750) - wt-select useValueFromOptionsByProp [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
252
+
253
+ - [`cedd5e7`](https://github.com/webitel/webitel-ui-sdk/commit/cedd5e71d1aa78124731a28db3f5a986919ba750) - wt-select useValueFromOptionsByProp [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
240
254
 
241
255
  ### :white_check_mark: Tests
242
- - [`309a6f9`](https://github.com/webitel/webitel-ui-sdk/commit/309a6f9b4426d1407f0c9b70bb6cbddb8f960e85) - fixed tests, related to wt-select useValueFromOptionsByProp [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
243
256
 
257
+ - [`309a6f9`](https://github.com/webitel/webitel-ui-sdk/commit/309a6f9b4426d1407f0c9b70bb6cbddb8f960e85) - fixed tests, related to wt-select useValueFromOptionsByProp [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
244
258
 
245
259
  ## [v24.12.34] - 2024-12-31
260
+
246
261
  ### :sparkles: New Features
247
- - [`2d057c6`](https://github.com/webitel/webitel-ui-sdk/commit/2d057c64a444d3b76b9080fdd7967fe36f15ed97) - add draggable locale[WTEL-4740](https://webitel.atlassian.net/browse/WTEL-4740) *(commit by [@Lera24](https://github.com/Lera24))*
248
262
 
263
+ - [`2d057c6`](https://github.com/webitel/webitel-ui-sdk/commit/2d057c64a444d3b76b9080fdd7967fe36f15ed97) - add draggable locale[WTEL-4740](https://webitel.atlassian.net/browse/WTEL-4740) _(commit by [@Lera24](https://github.com/Lera24))_
249
264
 
250
265
  ## [v24.12.33] - 2024-12-30
266
+
251
267
  ### :bug: Bug Fixes
252
- - [`72dc591`](https://github.com/webitel/webitel-ui-sdk/commit/72dc591809131afd51323631bfe8fc809ea48296) - fix comments on wt-select after running fix lint error
253
268
 
269
+ - [`72dc591`](https://github.com/webitel/webitel-ui-sdk/commit/72dc591809131afd51323631bfe8fc809ea48296) - fix comments on wt-select after running fix lint error
254
270
 
255
271
  ## [v24.12.32] - 2024-12-30
272
+
256
273
  ### :sparkles: New Features
274
+
257
275
  - [`4b0b0b1`](https://github.com/webitel/webitel-ui-sdk/commit/4b0b0b1416498a72aabbb8496a32a85181798997) - update package version to 24.12.32
258
276
  - [`66362bf`](https://github.com/webitel/webitel-ui-sdk/commit/66362bf41fdd29b1a81f61e3f763d57548bce0cd) - update wt-tree-table row props declared [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
259
277
  - [`e4e58be`](https://github.com/webitel/webitel-ui-sdk/commit/e4e58bef0736f12f746b6de7e2d2cb17928ec41a) - update set key for child elements [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
@@ -271,6 +289,7 @@
271
289
  - [`2db75e3`](https://github.com/webitel/webitel-ui-sdk/commit/2db75e336f6934b63dc2edcdc61ea216e2cb0ecc) - Implement base component wt-tree-table from wt-table with mock array services
272
290
 
273
291
  ### :bug: Bug Fixes
292
+
274
293
  - [`e031288`](https://github.com/webitel/webitel-ui-sdk/commit/e0312883373b2ad43924b1b027be29abe2a2c414) - update package version to 24.12.30 [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
275
294
  - [`ba9049e`](https://github.com/webitel/webitel-ui-sdk/commit/ba9049e6c1dd36432b03de90f3905541da127436) - replace any type to unknown [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
276
295
  - [`a727657`](https://github.com/webitel/webitel-ui-sdk/commit/a727657a803102e7bd223e3c4d664ff6ca528aa4) - Update useTable composable [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
@@ -280,9 +299,10 @@
280
299
  - [`2957fa1`](https://github.com/webitel/webitel-ui-sdk/commit/2957fa1335d8b40f730c2010fff64e5565064dcd) - remove hide title props from wt-expansion-panel
281
300
  - [`e982b86`](https://github.com/webitel/webitel-ui-sdk/commit/e982b8607858f530174a4267dacd04ce13cacb58) - implement fixes by code styles and remove unused code [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
282
301
 
283
-
284
302
  ## [v24.12.31] - 2024-12-27
303
+
285
304
  ### :sparkles: New Features
305
+
286
306
  - [`16a6aca`](https://github.com/webitel/webitel-ui-sdk/commit/16a6acadf46f1c16a3548e82698116dc738172bd) - update prettier config
287
307
  - [`eae9dc4`](https://github.com/webitel/webitel-ui-sdk/commit/eae9dc4be79ba6b6a9e92cf8496a4563d28791d8) - run fix eslint errors
288
308
  - [`2ca8e63`](https://github.com/webitel/webitel-ui-sdk/commit/2ca8e63b9293e7539b736827d4a5a9ad0f3b28a0) - update lint scripts
@@ -291,7 +311,6 @@
291
311
  - [`b8c5fe2`](https://github.com/webitel/webitel-ui-sdk/commit/b8c5fe2ec60df84bcc4bc701e0fd128489681b49) - run fix eslint errors
292
312
  - [`aa7f3ab`](https://github.com/webitel/webitel-ui-sdk/commit/aa7f3ab45786b9e0f7aa7e38c9818bf9c352b502) - Implement Eslint lint and prettier configs. Remove Biome
293
313
 
294
-
295
314
  ## [v24.12.29] - 2024-12-18
296
315
 
297
316
  ### :sparkles: New Features
@@ -939,3 +958,5 @@
939
958
  [v24.12.80]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.79...v24.12.80
940
959
  [v24.12.81]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.80...v24.12.81
941
960
  [v24.12.82]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.81...v24.12.82
961
+ [v24.12.84]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.83...v24.12.84
962
+ [v24.12.85]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.84...v24.12.85
@@ -0,0 +1,8 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Name=add-filter, Filled=false, Colored=false, Version=current, Badged=False">
3
+ <g id="Union">
4
+ <path d="M13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V11L8 11C7.44771 11 7 11.4477 7 12C7 12.5523 7.44771 13 8 13L11 13V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H13V8Z" fill="#454E68"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z" fill="#454E68"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -14,6 +14,7 @@ import assignee from './assignee.svg';
14
14
  import attach from './attach.svg';
15
15
  import attention from './attention.svg';
16
16
  import azure from './azure.svg';
17
+ import addFilter from './add-filter.svg';
17
18
  import back from './back.svg';
18
19
  import bell from './bell.svg';
19
20
  import bellBadged from './bell-badged.svg';
@@ -213,6 +214,7 @@ export default objCamelToKebab({
213
214
  attach,
214
215
  attention,
215
216
  azure,
217
+ addFilter,
216
218
  back,
217
219
  bell,
218
220
  bellBadged,