@webitel/ui-sdk 26.8.105 → 26.8.107

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 (57) hide show
  1. package/dist/{clients-BZ1QzRFi.js → clients-Dm3JLACL.js} +2 -2
  2. package/dist/{components-D574RP8y.js → components-CRmvV0ze.js} +14 -14
  3. package/dist/{convertDuration-CGW5IDMW.js → convertDuration-heRoQzks.js} +8 -8
  4. package/dist/{enums-Bd-8yrmg.js → enums-BDtfwdQu.js} +1 -0
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +19 -3
  7. package/dist/ui-sdk.umd.cjs +611 -610
  8. package/dist/{useValidation-CtEfmUkB.js → useValidation-B4q8qUvG.js} +1 -1
  9. package/dist/{utils-B_8uwL9P.js → utils-DaacyMAw.js} +1 -1
  10. package/dist/{wt-action-bar-B4rcG26w.js → wt-action-bar-ChLl_-jR.js} +2 -2
  11. package/dist/{wt-badge-lFnfK2an.js → wt-badge-C8O4Oarp.js} +1 -1
  12. package/dist/{wt-button-BzYDkfhK.js → wt-button-C-BRwWdy.js} +2 -2
  13. package/dist/{wt-chat-emoji-D1RzspYn.js → wt-chat-emoji-DUYgD7x0.js} +4 -4
  14. package/dist/{wt-datepicker-D_O49-Ab.js → wt-datepicker-C1kACub3.js} +2 -2
  15. package/dist/{wt-display-chip-items-D9E7qoJ8.js → wt-display-chip-items-Dm6I2JFC.js} +2 -2
  16. package/dist/{wt-dual-panel-B0inNxRm.js → wt-dual-panel-D5TCilWN.js} +1 -1
  17. package/dist/{wt-expansion-card-DzZYhwnW.js → wt-expansion-card-2wdr_Hpi.js} +1 -1
  18. package/dist/{wt-expansion-panel-tqCCM3go.js → wt-expansion-panel-DP8zz2tS.js} +1 -1
  19. package/dist/{wt-icon-DFtSR4bO.js → wt-icon-B8nQuJZu.js} +1 -1
  20. package/dist/{wt-icon-action-DUAnoMrj.js → wt-icon-action-g26vM7fD.js} +1 -1
  21. package/dist/{wt-icon-btn-CeGGT2PO.js → wt-icon-btn-BFRfANYh.js} +1 -1
  22. package/dist/{wt-notifications-bar-DWME3pmb.js → wt-notifications-bar-BnCbODMe.js} +2 -2
  23. package/dist/{wt-player-DXCQLKch.js → wt-player-DnoC6Gci.js} +3 -3
  24. package/dist/{wt-screen-recordings-action-Cx7-2gDE.js → wt-screen-recordings-action-biHVl6lR.js} +1 -1
  25. package/dist/{wt-search-bar-BkopW1qp.js → wt-search-bar-ByF2Wjsg.js} +1 -1
  26. package/dist/{wt-send-message-popup-C_6OHIhY.js → wt-send-message-popup-afA26_0Q.js} +3 -3
  27. package/dist/{wt-status-select-DnaJ04Gw.js → wt-status-select-BOmAd__4.js} +2 -2
  28. package/dist/{wt-table-_qNHChZt.js → wt-table-C_91bkNX.js} +3 -3
  29. package/dist/{wt-timepicker-C0DHJSeR.js → wt-timepicker-C4kMPkNd.js} +2 -2
  30. package/dist/{wt-toast-Lge1Y6IO.js → wt-toast-CBQIP-YS.js} +2 -2
  31. package/dist/{wt-tree-table-BTHxl_MY.js → wt-tree-table-DMK0J0Jx.js} +1 -1
  32. package/dist/{wt-type-extension-value-input-C9aMICVN.js → wt-type-extension-value-input-CEX06xVC.js} +3 -3
  33. package/dist/{wt-vidstack-player-CLimONj6.js → wt-vidstack-player-1Z1fEhkA.js} +5 -5
  34. package/package.json +5 -1
  35. package/src/components/wt-chip/wt-chip.vue +4 -2
  36. package/src/enums/ChipColor/ChipColor.ts +1 -0
  37. package/src/locale/en/en.js +3 -5
  38. package/src/locale/es/es.js +3 -5
  39. package/src/locale/kz/kz.js +3 -5
  40. package/src/locale/pl/pl.js +3 -5
  41. package/src/locale/ro/ro.js +3 -5
  42. package/src/locale/ru/ru.js +3 -5
  43. package/src/locale/uk/uk.js +3 -5
  44. package/src/locale/uz/uz.js +3 -5
  45. package/src/locale/vi/vi.js +3 -5
  46. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-activity-type-popup.vue +3 -0
  47. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +15 -2
  48. package/src/modules/AgentStatusSelect/composables/useCCenterModeSwitcher.ts +2 -1
  49. package/src/modules/AgentStatusSelect/index.ts +1 -0
  50. package/src/plugins/primevue/theme/components/chip/chip.js +4 -0
  51. package/src/scripts/__tests__/convertDuration.spec.js +32 -0
  52. package/types/.tsbuildinfo +1 -1
  53. package/types/components/wt-chip/wt-chip.vue.d.ts +4 -2
  54. package/types/enums/ChipColor/ChipColor.d.ts +1 -0
  55. package/types/modules/AgentStatusSelect/composables/useCCenterModeSwitcher.d.ts +1 -1
  56. package/types/modules/AgentStatusSelect/index.d.ts +1 -0
  57. package/types/plugins/primevue/theme/components/chip/chip.d.ts +12 -0
@@ -2,10 +2,12 @@ import type { ChipProps } from 'primevue/chip';
2
2
  import { ChipColor } from '../../enums';
3
3
  interface WtProps extends ChipProps {
4
4
  /**
5
- * Chip color. "main" and "outline" are chip-specific colors
5
+ * Chip color. "main" and "transfer" are chip-specific colors; the rest follow
6
+ * the semantic scheme. "info" renders as a light tint with dark text, like
7
+ * "main", rather than a solid fill.
6
8
  * @type {ChipColor}
7
9
  * @default ChipColor.MAIN
8
- * @options ['main', 'outline', 'accent', 'secondary', 'secondary-50', 'success', 'danger', 'transfer']
10
+ * @options ['main', 'primary', 'on-primary', 'secondary', 'success', 'warning', 'error', 'info', 'transfer']
9
11
  */
10
12
  color?: ChipColor;
11
13
  /**
@@ -6,6 +6,7 @@ export declare const ChipColor: {
6
6
  readonly SUCCESS: "success";
7
7
  readonly WARNING: "warning";
8
8
  readonly ERROR: "error";
9
+ readonly INFO: "info";
9
10
  readonly TRANSFER: "transfer";
10
11
  };
11
12
  export type ChipColor = (typeof ChipColor)[keyof typeof ChipColor];
@@ -1,5 +1,5 @@
1
1
  import type { UseCCenterModeSwitcherParams } from '../types/UseCCenterModeSwitcherParams.types';
2
2
  export declare const useCCenterModeSwitcher: ({ activityTypes, loadActivityTypes, openActivityTypePopup, emit, }: UseCCenterModeSwitcherParams) => {
3
3
  callCenterModeChanging: import("vue").Ref<boolean, boolean>;
4
- toggleCallCenterMode: (value: boolean) => Promise<void>;
4
+ toggleCallCenterMode: (value?: boolean) => Promise<void>;
5
5
  };
@@ -0,0 +1 @@
1
+ export { default as WtCcAgentStatusSelect } from './components/wt-cc-agent-status-select.vue';
@@ -56,6 +56,12 @@ declare namespace chip {
56
56
  iconColor: string;
57
57
  iconHoverColor: string;
58
58
  };
59
+ info: {
60
+ background: string;
61
+ color: string;
62
+ iconColor: string;
63
+ iconHoverColor: string;
64
+ };
59
65
  transfer: {
60
66
  background: string;
61
67
  color: string;
@@ -107,6 +113,12 @@ declare namespace chip {
107
113
  iconColor: string;
108
114
  iconHoverColor: string;
109
115
  };
116
+ info: {
117
+ background: string;
118
+ color: string;
119
+ iconColor: string;
120
+ iconHoverColor: string;
121
+ };
110
122
  transfer: {
111
123
  background: string;
112
124
  color: string;