@webitel/ui-sdk 24.12.85 → 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 (47) hide show
  1. package/CHANGELOG.md +23 -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 +1416 -1415
  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-icon-action/iconMappings.js +1 -0
  13. package/src/components/wt-loader/_internals/wt-loader--md.vue +3 -2
  14. package/src/components/wt-tooltip/_internals/useTooltipTriggerSubscriptions.js +0 -1
  15. package/src/components/wt-tooltip/wt-tooltip.vue +4 -1
  16. package/src/css/main.scss +0 -1
  17. package/src/css/pages/table-page.scss +0 -1
  18. package/src/css/styleguide/placeholder/_placeholder.scss +2 -2
  19. package/src/enums/IconAction/IconAction.enum.js +1 -0
  20. package/src/locale/en/en.js +19 -0
  21. package/src/locale/ru/ru.js +1 -0
  22. package/src/locale/ua/ua.js +1 -0
  23. package/src/modules/Filters/v2/filters/classes/Filter.ts +30 -0
  24. package/src/modules/Filters/v2/filters/classes/FilterStorage.ts +34 -0
  25. package/src/modules/Filters/v2/filters/classes/FilterStorageOptions.d.ts +6 -0
  26. package/src/modules/Filters/v2/filters/classes/FiltersManager.ts +189 -0
  27. package/src/modules/Filters/v2/filters/components/dynamic/config/dynamic-filter-config-form.vue +146 -0
  28. package/src/modules/Filters/v2/filters/components/dynamic/config/dynamic-filter-config-view.vue +29 -0
  29. package/src/modules/Filters/v2/filters/components/dynamic/dynamic-filter-add-action.vue +41 -0
  30. package/src/modules/Filters/v2/filters/components/dynamic/preview/dynamic-filter-preview-info.vue +48 -0
  31. package/src/modules/Filters/v2/filters/components/dynamic/preview/dynamic-filter-preview.vue +61 -0
  32. package/src/modules/Filters/v2/filters/components/static/search-filter.vue +14 -0
  33. package/src/modules/Filters/v2/filters/components/table-filters-panel.vue +87 -0
  34. package/src/modules/Filters/v2/filters/createTableFiltersStore.ts +81 -0
  35. package/src/modules/Filters/v2/filters/index.ts +27 -0
  36. package/src/modules/Filters/v2/filters/scripts/utils.ts +31 -0
  37. package/src/modules/Filters/v2/filters/types/Filter.d.ts +41 -0
  38. package/src/modules/Filters/v2/filters/types/FiltersManager.d.ts +76 -0
  39. package/src/modules/Filters/v2/headers/createTableHeadersStore.ts +89 -0
  40. package/src/modules/Filters/v2/index.ts +0 -0
  41. package/src/modules/Filters/v2/pagination/createTablePaginationStore.ts +54 -0
  42. package/src/modules/Filters/v2/persist/PersistedStorage.types.ts +51 -0
  43. package/src/modules/Filters/v2/persist/useLocalStoragePersistedStorage.ts +31 -0
  44. package/src/modules/Filters/v2/persist/usePersistedStorage.ts +150 -0
  45. package/src/modules/Filters/v2/persist/useRoutePersistedStorage.ts +41 -0
  46. package/src/modules/Filters/v2/table/createTableStore.store.ts +180 -0
  47. package/src/modules/Filters/v2/types/tableStore.types.ts +60 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
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
+
1
6
  ## [v24.12.84] - 2025-02-03
2
7
  ### :bug: Bug Fixes
3
8
  - [`371c2a8`](https://github.com/webitel/webitel-ui-sdk/commit/371c2a8e70b0a87f2245435a99358224feff7689) - fixed wt-popup close emit *(commit by [@plnnsimon](https://github.com/plnnsimon))*
@@ -230,35 +235,43 @@
230
235
 
231
236
 
232
237
  ## [v24.12.37] - 2025-01-02
238
+
233
239
  ### :bug: Bug Fixes
234
- - [`f909155`](https://github.com/webitel/webitel-ui-sdk/commit/f909155cac0a29ebd30c24a22febf12ae9da311d) - wt-select value prop [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
235
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))_
236
242
 
237
243
  ## [v24.12.36] - 2025-01-02
244
+
238
245
  ### :bug: Bug Fixes
239
- - [`3a4d3e5`](https://github.com/webitel/webitel-ui-sdk/commit/3a4d3e5fd4d999ef90a99f094791c5be11fea284) - wt-select useValueFromOptionsByProp, + docs [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
240
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))_
241
248
 
242
249
  ## [v24.12.35] - 2024-12-31
250
+
243
251
  ### :sparkles: New Features
244
- - [`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))_
245
254
 
246
255
  ### :white_check_mark: Tests
247
- - [`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))*
248
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))_
249
258
 
250
259
  ## [v24.12.34] - 2024-12-31
260
+
251
261
  ### :sparkles: New Features
252
- - [`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))*
253
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))_
254
264
 
255
265
  ## [v24.12.33] - 2024-12-30
266
+
256
267
  ### :bug: Bug Fixes
257
- - [`72dc591`](https://github.com/webitel/webitel-ui-sdk/commit/72dc591809131afd51323631bfe8fc809ea48296) - fix comments on wt-select after running fix lint error
258
268
 
269
+ - [`72dc591`](https://github.com/webitel/webitel-ui-sdk/commit/72dc591809131afd51323631bfe8fc809ea48296) - fix comments on wt-select after running fix lint error
259
270
 
260
271
  ## [v24.12.32] - 2024-12-30
272
+
261
273
  ### :sparkles: New Features
274
+
262
275
  - [`4b0b0b1`](https://github.com/webitel/webitel-ui-sdk/commit/4b0b0b1416498a72aabbb8496a32a85181798997) - update package version to 24.12.32
263
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)
264
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)
@@ -276,6 +289,7 @@
276
289
  - [`2db75e3`](https://github.com/webitel/webitel-ui-sdk/commit/2db75e336f6934b63dc2edcdc61ea216e2cb0ecc) - Implement base component wt-tree-table from wt-table with mock array services
277
290
 
278
291
  ### :bug: Bug Fixes
292
+
279
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)
280
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)
281
295
  - [`a727657`](https://github.com/webitel/webitel-ui-sdk/commit/a727657a803102e7bd223e3c4d664ff6ca528aa4) - Update useTable composable [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
@@ -285,9 +299,10 @@
285
299
  - [`2957fa1`](https://github.com/webitel/webitel-ui-sdk/commit/2957fa1335d8b40f730c2010fff64e5565064dcd) - remove hide title props from wt-expansion-panel
286
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)
287
301
 
288
-
289
302
  ## [v24.12.31] - 2024-12-27
303
+
290
304
  ### :sparkles: New Features
305
+
291
306
  - [`16a6aca`](https://github.com/webitel/webitel-ui-sdk/commit/16a6acadf46f1c16a3548e82698116dc738172bd) - update prettier config
292
307
  - [`eae9dc4`](https://github.com/webitel/webitel-ui-sdk/commit/eae9dc4be79ba6b6a9e92cf8496a4563d28791d8) - run fix eslint errors
293
308
  - [`2ca8e63`](https://github.com/webitel/webitel-ui-sdk/commit/2ca8e63b9293e7539b736827d4a5a9ad0f3b28a0) - update lint scripts
@@ -296,7 +311,6 @@
296
311
  - [`b8c5fe2`](https://github.com/webitel/webitel-ui-sdk/commit/b8c5fe2ec60df84bcc4bc701e0fd128489681b49) - run fix eslint errors
297
312
  - [`aa7f3ab`](https://github.com/webitel/webitel-ui-sdk/commit/aa7f3ab45786b9e0f7aa7e38c9818bf9c352b502) - Implement Eslint lint and prettier configs. Remove Biome
298
313
 
299
-
300
314
  ## [v24.12.29] - 2024-12-18
301
315
 
302
316
  ### :sparkles: New Features
@@ -945,3 +959,4 @@
945
959
  [v24.12.81]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.80...v24.12.81
946
960
  [v24.12.82]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.81...v24.12.82
947
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,