@vc-shell/framework 1.0.174 → 1.0.175
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/CHANGELOG.md +14 -0
- package/core/plugins/signalR/index.ts +15 -2
- package/dist/core/plugins/signalR/index.d.ts +4 -1
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/framework.js +3650 -3648
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +7 -8
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +4 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Router } from "vue-router";
|
|
2
2
|
import { App } from "vue";
|
|
3
|
-
import { i18n } from "./core/plugins";
|
|
3
|
+
import { i18n, signalR } from "./core/plugins";
|
|
4
4
|
import "normalize.css";
|
|
5
5
|
import "./assets/styles/index.scss";
|
|
6
6
|
declare const _default: {
|
|
@@ -11,6 +11,9 @@ declare const _default: {
|
|
|
11
11
|
locale: string;
|
|
12
12
|
fallbackLocale: string;
|
|
13
13
|
};
|
|
14
|
+
signalR?: {
|
|
15
|
+
creator?: string;
|
|
16
|
+
};
|
|
14
17
|
}): void;
|
|
15
18
|
};
|
|
16
19
|
export default _default;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAIrC,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAIrC,OAAO,EAAE,IAAI,EAAe,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQ5D,OAAO,eAAe,CAAC;AACvB,OAAO,4BAA4B,CAAC;;iBAI3B,GAAG,QACF;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,CAAC,EAAE;YACL,MAAM,EAAE,MAAM,CAAC;YACf,cAAc,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,OAAO,CAAC,EAAE;YACR,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,GACA,IAAI;;AAdT,wBA6HE;AAEF,cAAc,iBAAiB,CAAC;AAEhC,cAAc,YAAY,CAAC;AAE3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,UAAU,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputedRef } from "vue";
|
|
2
2
|
import { DynamicGridSchema } from "../types";
|
|
3
|
-
import { IBladeToolbar } from "../../../../core/types";
|
|
4
3
|
import { IParentCallArgs } from "../../../index";
|
|
5
4
|
export interface Props {
|
|
6
5
|
expanded?: boolean;
|
|
@@ -28,13 +27,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
27
|
closable: boolean;
|
|
29
28
|
param: undefined;
|
|
30
29
|
}>, {
|
|
31
|
-
openDetailsBlade?: Ref<((args?: Omit<import("../../../components").IBladeEvent<import("vue").Component>, "blade"> | undefined) => void | Promise<void>) | undefined> | undefined;
|
|
32
|
-
onListItemClick?: Ref<((args: {
|
|
30
|
+
openDetailsBlade?: import("vue").Ref<((args?: Omit<import("../../../components").IBladeEvent<import("vue").Component>, "blade"> | undefined) => void | Promise<void>) | undefined> | undefined;
|
|
31
|
+
onListItemClick?: import("vue").Ref<((args: {
|
|
33
32
|
item?: Record<string, any> | undefined;
|
|
34
33
|
}) => void) | undefined> | undefined;
|
|
35
|
-
onPaginationClick?: Ref<((query: Record<string, any>) => void) | undefined> | undefined;
|
|
36
|
-
breadcrumbs?: Ref<import("../../../..").Breadcrumbs[] | undefined> | undefined;
|
|
37
|
-
toolbarOverrides?: Ref<IBladeToolbar[] | {
|
|
34
|
+
onPaginationClick?: import("vue").Ref<((query: Record<string, any>) => void) | undefined> | undefined;
|
|
35
|
+
breadcrumbs?: import("vue").Ref<import("../../../..").Breadcrumbs[] | undefined> | undefined;
|
|
36
|
+
toolbarOverrides?: import("vue").Ref<import("../../../../core/types").IBladeToolbar[] | {
|
|
38
37
|
id?: string | undefined;
|
|
39
38
|
icon?: string | (() => string) | undefined;
|
|
40
39
|
disabled?: boolean | undefined;
|
|
@@ -48,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
47
|
isVisible?: boolean | undefined;
|
|
49
48
|
clickHandler?: ((app?: Record<string, any> | import("../../../components").CoreBladeExposed | null | undefined) => void) | undefined;
|
|
50
49
|
}[] | {
|
|
51
|
-
[x: string]: IBladeToolbar;
|
|
50
|
+
[x: string]: import("../../../../core/types").IBladeToolbar;
|
|
52
51
|
} | ((...args: any[]) => any) | undefined> | undefined;
|
|
53
52
|
reload: () => Promise<void>;
|
|
54
53
|
title: ComputedRef<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-blade-list.vue.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/pages/dynamic-blade-list.vue.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"dynamic-blade-list.vue.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/pages/dynamic-blade-list.v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AAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.175",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"whatwg-fetch": "^3.6.19"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
60
|
-
"@vc-shell/ts-config": "^1.0.
|
|
58
|
+
"@vc-shell/api-client-generator": "^1.0.175",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.175",
|
|
60
|
+
"@vc-shell/ts-config": "^1.0.175",
|
|
61
61
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
62
62
|
"sass": "^1.69.6",
|
|
63
63
|
"typescript": "^5.3.3",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
:multiselect="isWidgetView ? false : tableData?.multiselect"
|
|
46
46
|
:header="isWidgetView ? false : tableData?.header"
|
|
47
47
|
:item-action-builder="actionBuilder"
|
|
48
|
-
:enable-item-actions="!!tableData?.actions"
|
|
48
|
+
:enable-item-actions="!!tableData?.actions && !isWidgetView"
|
|
49
49
|
:footer="!isWidgetView"
|
|
50
50
|
:sort="sort"
|
|
51
51
|
:pages="pagination?.pages"
|
|
@@ -149,9 +149,7 @@
|
|
|
149
149
|
<script setup lang="ts">
|
|
150
150
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
151
151
|
import {
|
|
152
|
-
Ref,
|
|
153
152
|
computed,
|
|
154
|
-
inject,
|
|
155
153
|
reactive,
|
|
156
154
|
ref,
|
|
157
155
|
shallowRef,
|
|
@@ -163,12 +161,13 @@ import {
|
|
|
163
161
|
onBeforeMount,
|
|
164
162
|
toRefs,
|
|
165
163
|
provide,
|
|
164
|
+
isRef,
|
|
166
165
|
} from "vue";
|
|
167
166
|
import { useI18n } from "vue-i18n";
|
|
168
|
-
import { DynamicGridSchema, ListContentSchema, SettingsSchema
|
|
167
|
+
import { DynamicGridSchema, ListContentSchema, SettingsSchema } from "../types";
|
|
169
168
|
import { useFilterBuilder, useTableTemplates } from "../composables";
|
|
170
169
|
import { useFunctions, useNotifications } from "../../../../core/composables";
|
|
171
|
-
import { IActionBuilderResult,
|
|
170
|
+
import { IActionBuilderResult, ITableColumns } from "../../../../core/types";
|
|
172
171
|
import { useToolbarReducer } from "../composables/useToolbarReducer";
|
|
173
172
|
import { notification, usePopup } from "../../../components";
|
|
174
173
|
import { ListBaseBladeScope, ListBladeContext, UseList } from "../factories/types";
|
|
@@ -176,7 +175,6 @@ import { IParentCallArgs } from "../../../index";
|
|
|
176
175
|
import * as _ from "lodash-es";
|
|
177
176
|
import { toReactive, useMounted } from "@vueuse/core";
|
|
178
177
|
import { safeIn } from "../helpers/safeIn";
|
|
179
|
-
import { isRef } from "vue";
|
|
180
178
|
|
|
181
179
|
export interface Props {
|
|
182
180
|
expanded?: boolean;
|