@webitel/ui-sdk 25.8.76 → 25.8.78
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.
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-checkbox/wt-checkbox.vue +1 -1
- package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.ts +10 -0
- package/src/enums/index.ts +2 -0
- package/types/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +8 -0
- package/types/enums/index.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.8.
|
|
3
|
+
"version": "25.8.78",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -58,7 +58,7 @@ const model = defineModel<boolean | string[]>('selected', {required: true});
|
|
|
58
58
|
|
|
59
59
|
const checkboxId = `checkbox-${Math.random().toString(36).slice(2, 11)}`;
|
|
60
60
|
|
|
61
|
-
const isSingle = computed(() =>
|
|
61
|
+
const isSingle = computed(() => !Array.isArray(model.value));
|
|
62
62
|
|
|
63
63
|
const isChecked = computed(() => {
|
|
64
64
|
if (isSingle.value) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const ProcessingTableColumnType = {
|
|
2
|
+
TEXT: 'text',
|
|
3
|
+
NUMBER: 'number',
|
|
4
|
+
BOOL: 'bool',
|
|
5
|
+
DATETIME: 'datetime',
|
|
6
|
+
LINK: 'link',
|
|
7
|
+
} as const;
|
|
8
|
+
|
|
9
|
+
export type ProcessingTableColumnType =
|
|
10
|
+
(typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
|
package/src/enums/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ComponentSize } from './ComponentSize/ComponentSize';
|
|
|
7
7
|
import { CrudAction } from './CrudAction/CrudAction';
|
|
8
8
|
import IconAction from './IconAction/IconAction.enum.js';
|
|
9
9
|
import { IconColor } from './IconColor/IconColor';
|
|
10
|
+
import { ProcessingTableColumnType } from './ProcessingTableColumnType/ProcessingTableColumnType';
|
|
10
11
|
import QueueType from './QueueType/QueueType.enum.js';
|
|
11
12
|
import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
|
|
12
13
|
import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
|
|
@@ -32,6 +33,7 @@ export {
|
|
|
32
33
|
CrudAction,
|
|
33
34
|
IconAction,
|
|
34
35
|
IconColor,
|
|
36
|
+
ProcessingTableColumnType,
|
|
35
37
|
QueueType,
|
|
36
38
|
RelativeDatetimeValue,
|
|
37
39
|
SupervisorSections,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ProcessingTableColumnType: {
|
|
2
|
+
readonly TEXT: "text";
|
|
3
|
+
readonly NUMBER: "number";
|
|
4
|
+
readonly BOOL: "bool";
|
|
5
|
+
readonly DATETIME: "datetime";
|
|
6
|
+
readonly LINK: "link";
|
|
7
|
+
};
|
|
8
|
+
export type ProcessingTableColumnType = (typeof ProcessingTableColumnType)[keyof typeof ProcessingTableColumnType];
|
package/types/enums/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ComponentSize } from './ComponentSize/ComponentSize';
|
|
|
7
7
|
import { CrudAction } from './CrudAction/CrudAction';
|
|
8
8
|
import IconAction from './IconAction/IconAction.enum.js';
|
|
9
9
|
import { IconColor } from './IconColor/IconColor';
|
|
10
|
+
import { ProcessingTableColumnType } from './ProcessingTableColumnType/ProcessingTableColumnType';
|
|
10
11
|
import QueueType from './QueueType/QueueType.enum.js';
|
|
11
12
|
import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
|
|
12
13
|
import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
|
|
@@ -18,4 +19,4 @@ import WebitelApplications from './WebitelApplications/WebitelApplications.enum.
|
|
|
18
19
|
import { WtApplication } from './WebitelApplications/WtApplication';
|
|
19
20
|
import { WtObject } from './WtObject/WtObject';
|
|
20
21
|
import { WtTypeExtensionFieldKind } from './WtTypeExtensionFieldKind/WtTypeExtensionFieldKind';
|
|
21
|
-
export { AbstractUserStatus, AdminSections, AgentStatus, AuditorSections, ButtonColor, ChatGatewayProvider, ChipColor, ComponentSize, CrmSections, CrudAction, IconAction, IconColor, QueueType, RelativeDatetimeValue, SupervisorSections, TypesExportedSettings, WebitelApplications, WtApplication, WtObject, WtTypeExtensionFieldKind, };
|
|
22
|
+
export { AbstractUserStatus, AdminSections, AgentStatus, AuditorSections, ButtonColor, ChatGatewayProvider, ChipColor, ComponentSize, CrmSections, CrudAction, IconAction, IconColor, ProcessingTableColumnType, QueueType, RelativeDatetimeValue, SupervisorSections, TypesExportedSettings, WebitelApplications, WtApplication, WtObject, WtTypeExtensionFieldKind, };
|