@webitel/ui-sdk 26.8.75 → 26.8.76

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 (156) hide show
  1. package/dist/{clients-BmeOR90W.js → clients-oFIeYM2J.js} +66 -79
  2. package/dist/{components-C-ri6OSQ.js → components-BG2hOYak.js} +11 -11
  3. package/dist/{enums-BvonmHq2.js → enums-B_9ZBu01.js} +2 -2
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +3 -3
  6. package/dist/ui-sdk.umd.cjs +574 -574
  7. package/dist/{useValidation-0JwQGpLM.js → useValidation-CEed9cxY.js} +1 -1
  8. package/dist/{utils-CzBdLnFt.js → utils-BZHq8qMH.js} +1 -1
  9. package/dist/wt-action-bar-D74sgDCk.js +94 -0
  10. package/dist/{wt-button-D-nFhi1f.js → wt-button-CVjzcwNg.js} +2 -2
  11. package/dist/{wt-chat-emoji-CLhgb02d.js → wt-chat-emoji-CP1IO0Z_.js} +4 -4
  12. package/dist/{wt-datepicker-DCa23hYx.js → wt-datepicker-BgjjbOMX.js} +2 -2
  13. package/dist/{wt-display-chip-items-B7QLz9QM.js → wt-display-chip-items-BcuWCOui.js} +2 -2
  14. package/dist/{wt-dual-panel-D-LChluY.js → wt-dual-panel-Cs_Yzfxt.js} +1 -1
  15. package/dist/{wt-expansion-card-CToBA1fy.js → wt-expansion-card-BT586Mul.js} +1 -1
  16. package/dist/{wt-expansion-panel-af2t3VrM.js → wt-expansion-panel-kZmHSvPU.js} +1 -1
  17. package/dist/{wt-icon-WyFAGc4t.js → wt-icon-CAn_j3EL.js} +1 -1
  18. package/dist/{wt-icon-action-DYBTs3Mf.js → wt-icon-action-DJzm0kEk.js} +1 -1
  19. package/dist/{wt-icon-btn-BfhuUt8-.js → wt-icon-btn-BL0OfOZM.js} +1 -1
  20. package/dist/{wt-notifications-bar-CvKwuTEg.js → wt-notifications-bar-DZUTZhZy.js} +2 -2
  21. package/dist/{wt-player-B2etfN5v.js → wt-player-DbQuCEZb.js} +3 -3
  22. package/dist/{wt-screen-recordings-action-CepB2pqh.js → wt-screen-recordings-action-CVHZAWjl.js} +1 -1
  23. package/dist/{wt-search-bar-B4YkhgIB.js → wt-search-bar-DosqJLXT.js} +1 -1
  24. package/dist/{wt-send-message-popup-BhZ7K_Vs.js → wt-send-message-popup-B59bhE16.js} +2 -2
  25. package/dist/{wt-status-select-ELI7j73g.js → wt-status-select-Dnv9tj7o.js} +1 -1
  26. package/dist/{wt-timepicker-C3v9Cp2e.js → wt-timepicker-B4MOaSEZ.js} +2 -2
  27. package/dist/{wt-toast-DxQBRGm2.js → wt-toast-DJJg7o3S.js} +2 -2
  28. package/dist/{wt-tree-table-C5sxm-Eb.js → wt-tree-table-D-Jzijlk.js} +1 -1
  29. package/dist/{wt-type-extension-value-input-gQGgxMcJ.js → wt-type-extension-value-input-BEfx2uDx.js} +3 -3
  30. package/dist/{wt-vidstack-player-B37Mdf0u.js → wt-vidstack-player-efSk6APE.js} +4 -4
  31. package/package.json +1 -1
  32. package/src/components/transitions/__tests__/ExpandTransition.spec.js +15 -0
  33. package/src/components/transitions/__tests__/WtReplaceTransition.spec.js +66 -0
  34. package/src/components/transitions/__tests__/WtTransition.spec.js +35 -0
  35. package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -1
  36. package/src/components/wt-action-bar/__tests__/WtActionBar.spec.js +121 -0
  37. package/src/components/wt-action-bar/wt-action-bar.vue +57 -33
  38. package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +65 -4
  39. package/src/components/wt-app-header/__tests__/WtHeaderActions.spec.js +81 -2
  40. package/src/components/wt-avatar/__tests__/WtAvatar.spec.js +111 -0
  41. package/src/components/wt-badge/__tests__/WtBadge.spec.js +80 -0
  42. package/src/components/wt-badge-new/__tests__/WtBadge.spec.js +61 -0
  43. package/src/components/wt-breadcrumb/__tests__/WtBreadcrumb.spec.js +117 -0
  44. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +37 -5
  45. package/src/components/wt-call-media-metric/__tests__/WtCallMediaMetric.spec.js +84 -0
  46. package/src/components/wt-card/__tests__/WtCard.spec.js +20 -0
  47. package/src/components/wt-checkbox/__tests__/WtCheckbox.spec.js +63 -0
  48. package/src/components/wt-chip/__tests__/WtChip.spec.js +32 -0
  49. package/src/components/wt-confirm-dialog/__tests__/WtConfirmDialog.spec.js +92 -0
  50. package/src/components/wt-context-menu/__tests__/WtContextMenu.spec.js +146 -1
  51. package/src/components/wt-copy-action/__tests__/WtCopyAction.spec.js +57 -0
  52. package/src/components/wt-datepicker/__tests__/WtDatepicker.spec.js +53 -0
  53. package/src/components/wt-datetime-text/__tests__/WtDatetimeText.spec.js +49 -0
  54. package/src/components/wt-divider/__tests__/WtDivider.spec.js +30 -0
  55. package/src/components/wt-dual-panel/__tests__/WtDualPanel.spec.js +120 -0
  56. package/src/components/wt-dummy/__tests__/WtDummy.spec.js +63 -1
  57. package/src/components/wt-empty/__tests__/WtEmpty.spec.js +84 -0
  58. package/src/components/wt-error-page/__tests__/WtErrorPage.spec.js +60 -0
  59. package/src/components/wt-expansion-card/__tests__/WtExpansionCard.spec.js +63 -0
  60. package/src/components/wt-expansion-panel/__tests__/WtExpansionPanel.spec.js +48 -9
  61. package/src/components/wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js +81 -10
  62. package/src/components/wt-hint/__tests__/WtHint.spec.js +44 -1
  63. package/src/components/wt-icon/__tests__/WtIcon.spec.js +29 -0
  64. package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +79 -0
  65. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  66. package/src/components/wt-icon-btn/__tests__/WtIconBtn.spec.js +46 -0
  67. package/src/components/wt-image/__tests__/WtImage.spec.js +83 -0
  68. package/src/components/wt-indicator/__tests__/WtIndicator.spec.js +23 -0
  69. package/src/components/wt-input-number/__tests__/WtInputNumber.spec.js +77 -0
  70. package/src/components/wt-input-text/__tests__/WtInputText.spec.js +85 -0
  71. package/src/components/wt-intersection-observer/__tests__/WtIntersectionObserver.spec.js +24 -3
  72. package/src/components/wt-item-link/__tests__/WtItemLink.spec.js +93 -1
  73. package/src/components/wt-label/__tests__/WtLabel.spec.js +49 -1
  74. package/src/components/wt-load-bar/__tests__/WtLoadBar.spec.js +49 -0
  75. package/src/components/wt-loader/__tests__/WtLoader.spec.js +26 -1
  76. package/src/components/wt-logo/__tests__/WtLogo.spec.js +55 -0
  77. package/src/components/wt-menubar/__tests__/WtMenubar.spec.js +30 -0
  78. package/src/components/wt-message/__tests__/WtMessage.spec.js +46 -0
  79. package/src/components/wt-multi-select/__tests__/WtMultiSelect.spec.js +106 -0
  80. package/src/components/wt-page-header/__tests__/WtPageHeader.spec.js +111 -0
  81. package/src/components/wt-password/__tests__/WtPassword.spec.js +107 -0
  82. package/src/components/wt-popover/__tests__/WtPopover.spec.js +73 -0
  83. package/src/components/wt-progress-bar/__tests__/WtProgressBar.spec.js +34 -0
  84. package/src/components/wt-radio/__tests__/WtRadio.spec.js +45 -0
  85. package/src/components/wt-rounded-action/__tests__/WtRoundedAction.spec.js +48 -0
  86. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +74 -13
  87. package/src/components/wt-single-select/__tests__/WtSingleSelect.spec.js +117 -0
  88. package/src/components/wt-slider/__tests__/WtSlider.spec.js +100 -0
  89. package/src/components/wt-stepper/__tests__/WtStepper.spec.js +105 -0
  90. package/src/components/wt-switcher/__tests__/WtSwitcher.spec.js +47 -0
  91. package/src/components/wt-table/__tests__/WtTable.spec.js +237 -0
  92. package/src/components/wt-table-actions/__tests__/WtTableActions.spec.js +153 -1
  93. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +147 -0
  94. package/src/components/wt-tabs/__tests__/WtTabs.spec.js +55 -0
  95. package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +49 -0
  96. package/src/components/wt-time-input/__tests__/WtTimeInput.spec.js +29 -0
  97. package/src/components/wt-tree/__tests__/WtTree.spec.js +126 -2
  98. package/src/components/wt-tree-line/__tests__/WtTreeLine.spec.js +205 -0
  99. package/src/components/wt-tree-table/__tests__/WtTreeTable.spec.js +155 -0
  100. package/src/components/wt-tree-table-row/__tests__/WtTreeTableRow.spec.js +176 -0
  101. package/src/components/wt-vidstack-player/__tests__/WtVidstackPlayer.spec.js +82 -0
  102. package/src/enums/IconAction/{IconAction.enum.js → IconAction.ts} +4 -2
  103. package/src/enums/index.ts +1 -1
  104. package/src/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue +1 -1
  105. package/types/.tsbuildinfo +1 -1
  106. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +349 -105
  107. package/types/components/wt-datetime-text/__tests__/WtDatetimeText.spec.d.ts +1 -0
  108. package/types/components/wt-divider/__tests__/WtDivider.spec.d.ts +1 -0
  109. package/types/components/wt-dual-panel/__tests__/WtDualPanel.spec.d.ts +1 -0
  110. package/types/components/wt-empty/__tests__/WtEmpty.spec.d.ts +1 -0
  111. package/types/components/wt-error-page/__tests__/WtErrorPage.spec.d.ts +1 -0
  112. package/types/components/wt-expansion-card/__tests__/WtExpansionCard.spec.d.ts +1 -0
  113. package/types/components/wt-image/__tests__/WtImage.spec.d.ts +1 -0
  114. package/types/components/wt-input-number/__tests__/WtInputNumber.spec.d.ts +1 -0
  115. package/types/components/wt-input-text/__tests__/WtInputText.spec.d.ts +1 -0
  116. package/types/components/wt-logo/__tests__/WtLogo.spec.d.ts +1 -0
  117. package/types/components/wt-menubar/__tests__/WtMenubar.spec.d.ts +1 -0
  118. package/types/components/wt-message/__tests__/WtMessage.spec.d.ts +1 -0
  119. package/types/components/wt-multi-select/__tests__/WtMultiSelect.spec.d.ts +1 -0
  120. package/types/components/wt-page-header/__tests__/WtPageHeader.spec.d.ts +1 -0
  121. package/types/components/wt-password/__tests__/WtPassword.spec.d.ts +1 -0
  122. package/types/components/wt-popover/__tests__/WtPopover.spec.d.ts +1 -0
  123. package/types/components/wt-single-select/__tests__/WtSingleSelect.spec.d.ts +1 -0
  124. package/types/components/wt-slider/__tests__/WtSlider.spec.d.ts +1 -0
  125. package/types/components/wt-stepper/__tests__/WtStepper.spec.d.ts +1 -0
  126. package/types/components/wt-table/__tests__/WtTable.spec.d.ts +1 -0
  127. package/types/components/wt-tree-line/__tests__/WtTreeLine.spec.d.ts +1 -0
  128. package/types/components/wt-tree-table/__tests__/WtTreeTable.spec.d.ts +1 -0
  129. package/types/components/wt-tree-table-row/__tests__/WtTreeTableRow.spec.d.ts +1 -0
  130. package/types/components/wt-vidstack-player/__tests__/WtVidstackPlayer.spec.d.ts +1 -0
  131. package/types/enums/IconAction/IconAction.d.ts +31 -0
  132. package/types/enums/index.d.ts +1 -1
  133. package/dist/wt-action-bar-D4wDtBqb.js +0 -87
  134. package/src/components/wt-action-bar/__tests__/wt-action-bar.spec.js +0 -10
  135. package/src/components/wt-avatar/__tests__/wt-avatar.spec.js +0 -10
  136. package/src/components/wt-badge/__tests__/wt-badge.spec.js +0 -10
  137. package/src/components/wt-breadcrumb/__tests__/wt-breadcrumb.spec.js +0 -14
  138. package/src/components/wt-dual-panel/__tests__/WtDualPanel.js +0 -62
  139. package/src/components/wt-empty/__tests__/wt-empty.spec.js +0 -10
  140. package/src/components/wt-error-page/__tests__/wt-error-page.spec.js +0 -30
  141. package/src/components/wt-image/__tests__/wt-image.spec.js +0 -10
  142. package/src/components/wt-logo/__tests__/wt-logo.spec.js +0 -10
  143. package/src/components/wt-page-header/__tests__/wt-page-header.spec.js +0 -10
  144. package/src/components/wt-stepper/__tests__/WtStepper.spec.vue.js +0 -19
  145. package/types/enums/IconAction/IconAction.enum.d.ts +0 -30
  146. /package/types/components/{wt-action-bar/__tests__/wt-action-bar.spec.d.ts → transitions/__tests__/WtReplaceTransition.spec.d.ts} +0 -0
  147. /package/types/components/{wt-avatar/__tests__/wt-avatar.spec.d.ts → transitions/__tests__/WtTransition.spec.d.ts} +0 -0
  148. /package/types/components/{wt-badge/__tests__/wt-badge.spec.d.ts → wt-action-bar/__tests__/WtActionBar.spec.d.ts} +0 -0
  149. /package/types/components/{wt-breadcrumb/__tests__/wt-breadcrumb.spec.d.ts → wt-avatar/__tests__/WtAvatar.spec.d.ts} +0 -0
  150. /package/types/components/{wt-empty/__tests__/wt-empty.spec.d.ts → wt-badge/__tests__/WtBadge.spec.d.ts} +0 -0
  151. /package/types/components/{wt-dual-panel/__tests__/WtDualPanel.d.ts → wt-badge-new/__tests__/WtBadge.spec.d.ts} +0 -0
  152. /package/types/components/{wt-error-page/__tests__/wt-error-page.spec.d.ts → wt-breadcrumb/__tests__/WtBreadcrumb.spec.d.ts} +0 -0
  153. /package/types/components/{wt-image/__tests__/wt-image.spec.d.ts → wt-call-media-metric/__tests__/WtCallMediaMetric.spec.d.ts} +0 -0
  154. /package/types/components/{wt-logo/__tests__/wt-logo.spec.d.ts → wt-card/__tests__/WtCard.spec.d.ts} +0 -0
  155. /package/types/components/{wt-page-header/__tests__/wt-page-header.spec.d.ts → wt-confirm-dialog/__tests__/WtConfirmDialog.spec.d.ts} +0 -0
  156. /package/types/components/{wt-stepper/__tests__/WtStepper.spec.vue.d.ts → wt-copy-action/__tests__/WtCopyAction.spec.d.ts} +0 -0
@@ -1,87 +0,0 @@
1
- import { t as e } from "./caseConverters-6cy_SaV5.js";
2
- import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { o as n } from "./enums-BvonmHq2.js";
4
- import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
5
- import { t as i } from "./wt-icon-action-DYBTs3Mf.js";
6
- import { Fragment as a, computed as o, createElementBlock as s, createVNode as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
7
- //#region src/components/wt-action-bar/WtActionBarActionsOrder.js
8
- var g = [
9
- n.ADD,
10
- n.ADD_CONTACT,
11
- n.COPY,
12
- n.DOWNLOAD_PDF,
13
- n.DOWNLOAD,
14
- n.LOGOUT,
15
- n.UPLOAD,
16
- n.COLUMNS,
17
- n.VARIABLES,
18
- n.FILTERS,
19
- n.REFRESH,
20
- n.RESET_MEMBERS,
21
- n.DELETE,
22
- n.SORT
23
- ], _ = g, v = { class: "wt-action-bar" }, y = /*#__PURE__*/ t({
24
- __name: "wt-action-bar",
25
- props: {
26
- mode: {
27
- type: String,
28
- default: "table",
29
- validator: (e) => ["table", "section"].includes(e)
30
- },
31
- size: { type: String },
32
- include: {
33
- type: Array,
34
- default: () => []
35
- },
36
- exclude: {
37
- type: Array,
38
- default: () => []
39
- },
40
- "sort:order": {
41
- type: String,
42
- default: null,
43
- required: !1,
44
- validator: (e) => Object.values(r).includes(e)
45
- },
46
- disabled: {
47
- type: Boolean,
48
- default: !1
49
- },
50
- ...Object.values(n).reduce((e, t) => (e[`disabled:${t}`] = {
51
- type: Boolean,
52
- default: !1
53
- }, e), {})
54
- },
55
- emits: [...Object.values(n).map((e) => `click:${e}`)],
56
- setup(t, { emit: r }) {
57
- let y = t, b = r, x = o(() => {
58
- let e = y.mode === "section" ? _ : g;
59
- return y.include.length ? e.filter((e) => y.include.includes(e)) : y.exclude.length ? e.filter((e) => !y.exclude.includes(e)) : e;
60
- }), S = (e) => {
61
- b(`click:${e}`);
62
- }, C = (e) => {
63
- switch (e) {
64
- case n.SORT: return { "sort:order": y["sort:order"] };
65
- default: return {};
66
- }
67
- };
68
- return (n, r) => (f(), s("div", v, [
69
- m(n.$slots, "search-bar", d(l({ size: t.size })), void 0, !0),
70
- m(n.$slots, "default", d(l({ size: t.size })), void 0, !0),
71
- (f(!0), s(a, null, p(x.value, (r) => m(n.$slots, r, d(l({
72
- action: r,
73
- size: t.size,
74
- onClick: () => S(r)
75
- })), () => [c(i, u(C(r), {
76
- action: r,
77
- disabled: y[`disabled:${h(e)(r)}`]
78
- }, { onClick: (e) => S(r) }), null, 16, [
79
- "action",
80
- "disabled",
81
- "onClick"
82
- ])], !0)), 256))
83
- ]));
84
- }
85
- }, [["__scopeId", "data-v-affcbbbe"]]);
86
- //#endregion
87
- export { y as default };
@@ -1,10 +0,0 @@
1
- import { mount } from '@vue/test-utils';
2
-
3
- import WtActionBar from '../wt-action-bar.vue';
4
-
5
- describe('WtActionBar', () => {
6
- it('renders a component', () => {
7
- const wrapper = mount(WtActionBar);
8
- expect(wrapper.exists()).toBe(true);
9
- });
10
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtAvatar from '../wt-avatar.vue';
4
-
5
- describe('WtAvatar', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtAvatar);
8
- expect(wrapper.isVisible()).toBe(true);
9
- });
10
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtBadge from '../wt-badge.vue';
4
-
5
- describe('WtBadge', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtBadge);
8
- expect(wrapper.isVisible()).toBe(true);
9
- });
10
- });
@@ -1,14 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtBreadcrumb from '../wt-breadcrumb.vue';
4
-
5
- describe('WtBreadcrumb', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtBreadcrumb, {
8
- props: {
9
- path: [],
10
- },
11
- });
12
- expect(wrapper.isVisible()).toBe(true);
13
- });
14
- });
@@ -1,62 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtDualPanel from '../wt-dual-panel.vue';
4
-
5
- describe('WtDualPanel', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtDualPanel);
8
- expect(wrapper.classes('wt-dual-panel')).toBe(true);
9
- });
10
-
11
- it('renders dual panel header via header slot', () => {
12
- const content = 'Dual Panel header';
13
- const wrapper = shallowMount(WtDualPanel, {
14
- slots: {
15
- header: content,
16
- },
17
- });
18
- expect(wrapper.find('.wt-dual-panel__header').text()).toBe(content);
19
- });
20
-
21
- it('renders dual panel actions panel via actions panel slot when actionsPanel prop is true', () => {
22
- const content = 'Dual Panel actions panel content';
23
- const wrapper = shallowMount(WtDualPanel, {
24
- props: {
25
- actionsPanel: true,
26
- },
27
- slots: {
28
- 'actions-panel': content,
29
- },
30
- });
31
- expect(wrapper.find('.wt-dual-panel__actions-panel').text()).toBe(content);
32
- });
33
-
34
- it('does not render actions panel when actionsPanel prop is false', () => {
35
- const wrapper = shallowMount(WtDualPanel, {
36
- props: {
37
- actionsPanel: false,
38
- },
39
- });
40
- expect(wrapper.find('.wt-dual-panel__actions-panel').exists()).toBe(false);
41
- });
42
-
43
- it('renders dual panel side panel via side panel slot', () => {
44
- const content = 'Dual Panel side panel';
45
- const wrapper = shallowMount(WtDualPanel, {
46
- slots: {
47
- side: content,
48
- },
49
- });
50
- expect(wrapper.find('.wt-dual-panel__side-panel').text()).toBe(content);
51
- });
52
-
53
- it('renders dual panel main panel via main panel slot', () => {
54
- const content = 'Dual Panel main panel';
55
- const wrapper = shallowMount(WtDualPanel, {
56
- slots: {
57
- main: content,
58
- },
59
- });
60
- expect(wrapper.find('.wt-dual-panel__main-panel').text()).toBe(content);
61
- });
62
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtEmpty from '../wt-empty.vue';
4
-
5
- describe('WtEmpty', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtEmpty);
8
- expect(wrapper.exists()).toBe(true);
9
- });
10
- });
@@ -1,30 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import ErrorPage from '../wt-error-page.vue';
4
-
5
- describe('Error Page', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(ErrorPage, {
8
- props: {
9
- type: '',
10
- },
11
- });
12
- expect(wrapper.exists()).toBe(true);
13
- });
14
- it('renders a component with 404 type', () => {
15
- const wrapper = shallowMount(ErrorPage, {
16
- props: {
17
- type: '404',
18
- },
19
- });
20
- expect(wrapper.exists()).toBe(true);
21
- });
22
- it('renders a component with 403 type', () => {
23
- const wrapper = shallowMount(ErrorPage, {
24
- props: {
25
- type: '403',
26
- },
27
- });
28
- expect(wrapper.exists()).toBe(true);
29
- });
30
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtImage from '../wt-image.vue';
4
-
5
- describe('WtImage', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtImage);
8
- expect(wrapper.exists()).toBe(true);
9
- });
10
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtLogo from '../wt-logo.vue';
4
-
5
- describe('WtLogo', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtLogo);
8
- expect(wrapper.exists()).toBeTruthy();
9
- });
10
- });
@@ -1,10 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtPageHeader from '../wt-page-header.vue';
4
-
5
- describe('WtPageHeader', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtPageHeader);
8
- expect(wrapper.isVisible()).toBe(true);
9
- });
10
- });
@@ -1,19 +0,0 @@
1
- import { shallowMount } from '@vue/test-utils';
2
-
3
- import WtStepper from '../wt-stepper.vue';
4
-
5
- describe('WtStepper', () => {
6
- it('renders a component', () => {
7
- const wrapper = shallowMount(WtStepper, {
8
- props: {
9
- steps: [
10
- {
11
- name: 'step 1',
12
- description: 'description',
13
- },
14
- ],
15
- },
16
- });
17
- expect(wrapper.isVisible()).toBe(true);
18
- });
19
- });
@@ -1,30 +0,0 @@
1
- export default IconAction;
2
- declare const IconAction: Readonly<{
3
- REFRESH: "refresh";
4
- ADD: "add";
5
- RESET_MEMBERS: "reset-members";
6
- DELETE: "delete";
7
- FILTERS: "filters";
8
- UPLOAD: "upload";
9
- DOWNLOAD: "download";
10
- EXPORT: "export";
11
- COPY: "copy";
12
- COLUMNS: "columns";
13
- HISTORY: "history";
14
- EDIT: "edit";
15
- COLLAPSE: "collapse";
16
- EXPAND: "expand";
17
- CLOSE: "close";
18
- CANCEL: "cancel";
19
- VARIABLES: "variables";
20
- CLEAR: "clear";
21
- ADD_FILTER: "add-filter";
22
- SAVE: "save";
23
- SAVE_PRESET: "save-preset";
24
- APPLY_PRESET: "apply-preset";
25
- ADD_CONTACT: "add-contact";
26
- DOWNLOAD_PDF: "download-pdf";
27
- CHAT: "chat";
28
- SORT: "sort";
29
- LOGOUT: "logout";
30
- }>;