@webitel/ui-sdk 24.12.85 → 24.12.87

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 +54 -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/dynamic-filter-panel-wrapper.vue +32 -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,38 @@
1
+ ## [v24.12.86] - 2025-02-04
2
+ ### :sparkles: New Features
3
+ - [`58779b5`](https://github.com/webitel/webitel-ui-sdk/commit/58779b5aa82394e5b5a95e01e9e229a55a701eb6) - add new icon and new close action in icon action component[WTEL-5926](https://webitel.atlassian.net/browse/WTEL-5926) *(commit by [@Lera24](https://github.com/Lera24))*
4
+ - [`d6115eb`](https://github.com/webitel/webitel-ui-sdk/commit/d6115ebff7d56a117e64d74debfe2b45b50bb34e) - filters v2 loadDataList after filters change [WTEL-5923](https://webitel.atlassian.net/browse/WTEL-5923) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
5
+ - [`cde132c`](https://github.com/webitel/webitel-ui-sdk/commit/cde132cafba0a12b2ce9f473df46c195a4e1fde5) - history searches filter, v2 filters typing and refactors [WTEL-5920](https://webitel.atlassian.net/browse/WTEL-5916) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
6
+ - [`c0dc89d`](https://github.com/webitel/webitel-ui-sdk/commit/c0dc89de87ebc50f1f71162f83810b916a0ce6a9) - history createdAtFrom filter value field [WTEL-5916](https://webitel.atlassian.net/browse/WTEL-5916) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
7
+ - [`17804b4`](https://github.com/webitel/webitel-ui-sdk/commit/17804b40efcc192fcb16a681741b81161c53a494) - filters persistence [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
8
+ - [`fe0781b`](https://github.com/webitel/webitel-ui-sdk/commit/fe0781bc29cb8581ce186a05fc93320c3ebd4b5e) - dynamic filters features and fixes, made while implementing dynamic filter CRUD on history [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
9
+ - [`d9f6f8b`](https://github.com/webitel/webitel-ui-sdk/commit/d9f6f8b91c3a7d2ca453ce72e67abe7f69e8c6be) - dynamic filter components [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
10
+ - [`52ad3a2`](https://github.com/webitel/webitel-ui-sdk/commit/52ad3a21d78c1bd7f1dd1a7baa991627e9caff28) - dynamic filter components refactors [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
11
+ - [`a6d0374`](https://github.com/webitel/webitel-ui-sdk/commit/a6d037430ba01ea04c9b4bd5e5a1ea3c8cd39700) - dynamic filter components [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
12
+ - [`f13b384`](https://github.com/webitel/webitel-ui-sdk/commit/f13b38496c53605a10c57cb379d6c7dfa51a7ad7) - pinia headers store updateSort method, + refactored "sort" computed [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
13
+ - [`3ac4c91`](https://github.com/webitel/webitel-ui-sdk/commit/3ac4c91630dbc06ad176b42920d2de2fdde49466) - pinia pagination store update page/size methods [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
14
+ - [`93a17e4`](https://github.com/webitel/webitel-ui-sdk/commit/93a17e45e9c7d3916c99635c85446df0026e9e2f) - table filters ts classes + interfaces, table store refactors [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
15
+
16
+ ### :bug: Bug Fixes
17
+ - [`732935b`](https://github.com/webitel/webitel-ui-sdk/commit/732935bebe639b3ecf2ca3590239ff868b1882d4) - preset features in progress [WTEL-3751](https://webitel.atlassian.net/browse/WTEL-3751) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
18
+ - [`a27da65`](https://github.com/webitel/webitel-ui-sdk/commit/a27da652c681de8466f688186a0d311a3f319f8a) - rollback activator slot for wt-popup [WTEL-3752](https://webitel.atlassian.net/browse/WTEL-3752) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
19
+ - [`779cdfc`](https://github.com/webitel/webitel-ui-sdk/commit/779cdfcaf5db08b923cafecbece0726843a2642b) - fix to prev [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
20
+
21
+ ### :recycle: Refactors
22
+ - [`d6fb8c6`](https://github.com/webitel/webitel-ui-sdk/commit/d6fb8c62ea280108d017d59f468f082bb9dc0aa4) - history registry refactor with pinia store [WTEL-5921](https://webitel.atlassian.net/browse/WTEL-5921) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
23
+ - [`b6a57ba`](https://github.com/webitel/webitel-ui-sdk/commit/b6a57ba2f3bfdf1d689b8c431c10620e77920c09) - history filters redesign in progress [WTEL-5925](https://webitel.atlassian.net/browse/WTEL-5925) *(commit by [@dlohvinov](https://github.com/dlohvinov))*
24
+ - [`6f9df26`](https://github.com/webitel/webitel-ui-sdk/commit/6f9df265cea11b7ea7791038c2aea6d577628363) - v2 filters persistence typing + other type fixes [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
25
+ - [`073d885`](https://github.com/webitel/webitel-ui-sdk/commit/073d885c8676f4f3e7e6485955e20fb8601e200e) - implemented v2 filters persistence prototype on history [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
26
+ - [`ddb1897`](https://github.com/webitel/webitel-ui-sdk/commit/ddb18975c24fdae035eb25889a2ea110cd41b8bf) - composed filters v2 table related stores to one [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
27
+ - [`1b99ceb`](https://github.com/webitel/webitel-ui-sdk/commit/1b99ceb7d8b6a93a1c077a76aeee0d1177591a8b) - lint [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
28
+ - [`949db51`](https://github.com/webitel/webitel-ui-sdk/commit/949db51c58260f76bb3b1d6d5ee86fe4c758ca0b) - small pinia table store refactors + fixes [WTEL-5622] *(commit by [@dlohvinov](https://github.com/dlohvinov))*
29
+
30
+
31
+ ## [v24.12.85] - 2025-02-03
32
+ ### :bug: Bug Fixes
33
+ - [`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))*
34
+
35
+
1
36
  ## [v24.12.84] - 2025-02-03
2
37
  ### :bug: Bug Fixes
3
38
  - [`371c2a8`](https://github.com/webitel/webitel-ui-sdk/commit/371c2a8e70b0a87f2245435a99358224feff7689) - fixed wt-popup close emit *(commit by [@plnnsimon](https://github.com/plnnsimon))*
@@ -230,35 +265,43 @@
230
265
 
231
266
 
232
267
  ## [v24.12.37] - 2025-01-02
268
+
233
269
  ### :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
270
 
271
+ - [`f909155`](https://github.com/webitel/webitel-ui-sdk/commit/f909155cac0a29ebd30c24a22febf12ae9da311d) - wt-select value prop [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
236
272
 
237
273
  ## [v24.12.36] - 2025-01-02
274
+
238
275
  ### :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
276
 
277
+ - [`3a4d3e5`](https://github.com/webitel/webitel-ui-sdk/commit/3a4d3e5fd4d999ef90a99f094791c5be11fea284) - wt-select useValueFromOptionsByProp, + docs [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
241
278
 
242
279
  ## [v24.12.35] - 2024-12-31
280
+
243
281
  ### :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))*
282
+
283
+ - [`cedd5e7`](https://github.com/webitel/webitel-ui-sdk/commit/cedd5e71d1aa78124731a28db3f5a986919ba750) - wt-select useValueFromOptionsByProp [WTEL-5622] _(commit by [@dlohvinov](https://github.com/dlohvinov))_
245
284
 
246
285
  ### :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
286
 
287
+ - [`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
288
 
250
289
  ## [v24.12.34] - 2024-12-31
290
+
251
291
  ### :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
292
 
293
+ - [`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
294
 
255
295
  ## [v24.12.33] - 2024-12-30
296
+
256
297
  ### :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
298
 
299
+ - [`72dc591`](https://github.com/webitel/webitel-ui-sdk/commit/72dc591809131afd51323631bfe8fc809ea48296) - fix comments on wt-select after running fix lint error
259
300
 
260
301
  ## [v24.12.32] - 2024-12-30
302
+
261
303
  ### :sparkles: New Features
304
+
262
305
  - [`4b0b0b1`](https://github.com/webitel/webitel-ui-sdk/commit/4b0b0b1416498a72aabbb8496a32a85181798997) - update package version to 24.12.32
263
306
  - [`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
307
  - [`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 +319,7 @@
276
319
  - [`2db75e3`](https://github.com/webitel/webitel-ui-sdk/commit/2db75e336f6934b63dc2edcdc61ea216e2cb0ecc) - Implement base component wt-tree-table from wt-table with mock array services
277
320
 
278
321
  ### :bug: Bug Fixes
322
+
279
323
  - [`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
324
  - [`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
325
  - [`a727657`](https://github.com/webitel/webitel-ui-sdk/commit/a727657a803102e7bd223e3c4d664ff6ca528aa4) - Update useTable composable [WTEL-5569](https://webitel.atlassian.net/browse/WTEL-5569)
@@ -285,9 +329,10 @@
285
329
  - [`2957fa1`](https://github.com/webitel/webitel-ui-sdk/commit/2957fa1335d8b40f730c2010fff64e5565064dcd) - remove hide title props from wt-expansion-panel
286
330
  - [`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
331
 
288
-
289
332
  ## [v24.12.31] - 2024-12-27
333
+
290
334
  ### :sparkles: New Features
335
+
291
336
  - [`16a6aca`](https://github.com/webitel/webitel-ui-sdk/commit/16a6acadf46f1c16a3548e82698116dc738172bd) - update prettier config
292
337
  - [`eae9dc4`](https://github.com/webitel/webitel-ui-sdk/commit/eae9dc4be79ba6b6a9e92cf8496a4563d28791d8) - run fix eslint errors
293
338
  - [`2ca8e63`](https://github.com/webitel/webitel-ui-sdk/commit/2ca8e63b9293e7539b736827d4a5a9ad0f3b28a0) - update lint scripts
@@ -296,7 +341,6 @@
296
341
  - [`b8c5fe2`](https://github.com/webitel/webitel-ui-sdk/commit/b8c5fe2ec60df84bcc4bc701e0fd128489681b49) - run fix eslint errors
297
342
  - [`aa7f3ab`](https://github.com/webitel/webitel-ui-sdk/commit/aa7f3ab45786b9e0f7aa7e38c9818bf9c352b502) - Implement Eslint lint and prettier configs. Remove Biome
298
343
 
299
-
300
344
  ## [v24.12.29] - 2024-12-18
301
345
 
302
346
  ### :sparkles: New Features
@@ -945,3 +989,5 @@
945
989
  [v24.12.81]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.80...v24.12.81
946
990
  [v24.12.82]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.81...v24.12.82
947
991
  [v24.12.84]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.83...v24.12.84
992
+ [v24.12.85]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.84...v24.12.85
993
+ [v24.12.86]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.85...v24.12.86
@@ -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,