command-center-v3-common 0.0.5 → 0.0.7
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/{box-border-demo-C8vVtOoL.js → box-border-demo-DKeP3OGO.js} +1 -1
- package/dist/{button-demo-CX5nsh5L.js → button-demo-Dx3FpknD.js} +1 -1
- package/dist/{command-center-v3-common-DBu768OS.js → command-center-v3-common-DTIqW_9W.js} +14 -13
- package/dist/command-center-v3-common.js +7 -6
- package/dist/command-center-v3-common.umd.cjs +28 -28
- package/dist/{hy-table-demo-BEAyk0BL.js → hy-table-demo-DTV0uQqH.js} +1 -1
- package/dist/{hy-test-D8vqU479.js → hy-test-Cf9uit7M.js} +1 -1
- package/dist/{image-viewer-demo-C-9Y62cs.js → image-viewer-demo-CRfENB3d.js} +1 -1
- package/dist/index.d.ts +64 -17
- package/dist/{svg-icon-demo-ToWstnIC.js → svg-icon-demo-COJqshtS.js} +1 -1
- package/dist/{test-demo-CXjOXmLw.js → test-demo-CuW2ssk0.js} +1 -1
- package/dist/{tips-modal-demo-6SdUkMjq.js → tips-modal-demo-kJ7LoNka.js} +1 -1
- package/dist/{user-head-demo-Bw_yk0Yb.js → user-head-demo-DRxdkaXx.js} +1 -1
- package/dist/{vue-cropper-demo-D_A62UDb.js → vue-cropper-demo-Dqxgfej1.js} +1 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, ref as u, computed as _, resolveComponent as s, openBlock as h, createElementBlock as f, Fragment as b, createElementVNode as t, createVNode as e, mergeProps as y, unref as g, createSlots as v, withCtx as o } from "vue";
|
2
|
-
import { a as x } from "./command-center-v3-common-
|
2
|
+
import { a as x } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const C = { class: "h-[600px] bg-[#ff000033]" }, w = { class: "flex items-center justify-center gap-x-2.5" }, D = /* @__PURE__ */ t("span", null, "添加部门", -1), S = /* @__PURE__ */ t("span", null, "批量删除", -1), T = { class: "flex items-center" }, j = /* @__PURE__ */ m({
|
4
4
|
__name: "hy-table-demo",
|
5
5
|
setup(k) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as k, ref as _, resolveComponent as a, openBlock as U, createElementBlock as S, createVNode as e, unref as d, isRef as s, createElementVNode as r, withCtx as i, createTextVNode as p } from "vue";
|
2
|
-
import { _ as C } from "./command-center-v3-common-
|
2
|
+
import { _ as C } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const D = { class: "text-hy-text-main overflow-auto h-[800px]" }, Y = { class: "mb-2 h-[300px] w-[200px]" }, z = /* @__PURE__ */ r("div", { class: "text-xs box-border w-full h-full rounded overflow-hidden border border-hy-main bg-hy-dialog-bg-1 shadow-[0_0_6px_0] shadow-hy-main flex flex-col" }, [
|
4
4
|
/* @__PURE__ */ r("div", { class: "bg-[#f00] h-[50px]" }, " 4444 "),
|
5
5
|
/* @__PURE__ */ r("div", { class: "flex-grow h-0" }, " 2632 ")
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, ref as d, resolveComponent as a, openBlock as b, createElementBlock as l, createVNode as f, withCtx as c, createTextVNode as p } from "vue";
|
2
|
-
import { d as g } from "./command-center-v3-common-
|
2
|
+
import { d as g } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const r = { class: "flex items-center justify-center gap-x-3" }, w = /* @__PURE__ */ m({
|
4
4
|
__name: "image-viewer-demo",
|
5
5
|
setup(u) {
|
package/dist/index.d.ts
CHANGED
@@ -19,6 +19,8 @@ declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
19
19
|
|
20
20
|
declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
|
21
21
|
|
22
|
+
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
23
|
+
|
22
24
|
declare type __VLS_Prettify<T> = {
|
23
25
|
[K in keyof T]: T[K];
|
24
26
|
} & {};
|
@@ -51,6 +53,10 @@ declare type __VLS_Prettify_8<T> = {
|
|
51
53
|
[K in keyof T]: T[K];
|
52
54
|
} & {};
|
53
55
|
|
56
|
+
declare type __VLS_Prettify_9<T> = {
|
57
|
+
[K in keyof T]: T[K];
|
58
|
+
} & {};
|
59
|
+
|
54
60
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
55
61
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
56
62
|
type: PropType_2<__VLS_NonUndefinedable<T[K]>>;
|
@@ -123,6 +129,15 @@ declare type __VLS_TypePropsToRuntimeProps_8<T> = {
|
|
123
129
|
};
|
124
130
|
};
|
125
131
|
|
132
|
+
declare type __VLS_TypePropsToRuntimeProps_9<T> = {
|
133
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
134
|
+
type: PropType_2<__VLS_NonUndefinedable_9<T[K]>>;
|
135
|
+
} : {
|
136
|
+
type: PropType_2<T[K]>;
|
137
|
+
required: true;
|
138
|
+
};
|
139
|
+
};
|
140
|
+
|
126
141
|
declare type __VLS_WithDefaults<P, D> = {
|
127
142
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
128
143
|
default: D[K];
|
@@ -171,6 +186,12 @@ declare type __VLS_WithDefaults_8<P, D> = {
|
|
171
186
|
}> : P[K];
|
172
187
|
};
|
173
188
|
|
189
|
+
declare type __VLS_WithDefaults_9<P, D> = {
|
190
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
|
191
|
+
default: D[K];
|
192
|
+
}> : P[K];
|
193
|
+
};
|
194
|
+
|
174
195
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
175
196
|
new (): {
|
176
197
|
$slots: S;
|
@@ -227,18 +248,18 @@ declare interface ColumnList {
|
|
227
248
|
}
|
228
249
|
|
229
250
|
declare interface ConfigType {
|
230
|
-
width
|
231
|
-
tipsTitleIcon
|
251
|
+
width?: number | string;
|
252
|
+
tipsTitleIcon?: string;
|
232
253
|
setClose?: (closeNextTick: () => void) => void;
|
233
|
-
tipsTitleIconClass
|
254
|
+
tipsTitleIconClass?: string;
|
234
255
|
tipsTitle: string;
|
235
256
|
tipsContent: string;
|
236
|
-
isShowClose
|
237
|
-
isShowSubmit
|
238
|
-
closeBtnText
|
239
|
-
submitBtnText
|
240
|
-
closeBtnType
|
241
|
-
submitBtnType
|
257
|
+
isShowClose?: boolean;
|
258
|
+
isShowSubmit?: boolean;
|
259
|
+
closeBtnText?: string;
|
260
|
+
submitBtnText?: string;
|
261
|
+
closeBtnType?: '' | 'default' | 'success' | 'warning' | 'info' | 'text' | 'primary' | 'danger';
|
262
|
+
submitBtnType?: '' | 'default' | 'success' | 'warning' | 'info' | 'text' | 'primary' | 'danger';
|
242
263
|
}
|
243
264
|
|
244
265
|
declare interface Device {
|
@@ -704,14 +725,14 @@ onShowViewer: typeof onShowViewer;
|
|
704
725
|
imageViewerClose: typeof imageViewerClose;
|
705
726
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
706
727
|
|
707
|
-
export declare const HyMenuComponents: DefineComponent<
|
728
|
+
export declare const HyMenuComponents: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<Props_4>, {
|
708
729
|
menuList: () => any[];
|
709
730
|
menuTitle: string;
|
710
731
|
}>, {
|
711
732
|
setRouterPath: typeof setRouterPath;
|
712
733
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
713
734
|
onChange: (...args: any[]) => void;
|
714
|
-
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<
|
735
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<Props_4>, {
|
715
736
|
menuList: () => any[];
|
716
737
|
menuTitle: string;
|
717
738
|
}>>> & {
|
@@ -721,7 +742,7 @@ menuList: MenuItem[];
|
|
721
742
|
menuTitle: string;
|
722
743
|
}, {}>;
|
723
744
|
|
724
|
-
export declare const HyOrgCascader: __VLS_WithTemplateSlots_4<DefineComponent<
|
745
|
+
export declare const HyOrgCascader: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_3>, {
|
725
746
|
size: string;
|
726
747
|
className: string;
|
727
748
|
placeholder: string;
|
@@ -732,7 +753,7 @@ setDefaultValue: (organizationId: any) => void;
|
|
732
753
|
getData: () => Promise<void>;
|
733
754
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
734
755
|
change: (...args: any[]) => void;
|
735
|
-
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<
|
756
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<Props_3>, {
|
736
757
|
size: string;
|
737
758
|
className: string;
|
738
759
|
placeholder: string;
|
@@ -770,7 +791,7 @@ tips: string;
|
|
770
791
|
onClick?: (...args: any[]) => any;
|
771
792
|
}, {}, {}>;
|
772
793
|
|
773
|
-
export declare const HySelect: DefineComponent<
|
794
|
+
export declare const HySelect: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_2>, {
|
774
795
|
modelValue: string;
|
775
796
|
requestParams: {};
|
776
797
|
controller: string;
|
@@ -793,7 +814,7 @@ change: (...args: any[]) => void;
|
|
793
814
|
visibleChange: (...args: any[]) => void;
|
794
815
|
"update:modelValue": (...args: any[]) => void;
|
795
816
|
"on-changeSelectItem": (...args: any[]) => void;
|
796
|
-
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<
|
817
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<Props_2>, {
|
797
818
|
modelValue: string;
|
798
819
|
requestParams: {};
|
799
820
|
controller: string;
|
@@ -877,7 +898,23 @@ returnDisableDevice: boolean;
|
|
877
898
|
showOnlineOnly: boolean;
|
878
899
|
}, {}>;
|
879
900
|
|
880
|
-
export declare const
|
901
|
+
export declare const HySvgIcon: DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IconProps>, {
|
902
|
+
prefix: string;
|
903
|
+
name: string;
|
904
|
+
className: string;
|
905
|
+
color: string;
|
906
|
+
width: string;
|
907
|
+
height: string;
|
908
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<IconProps>, {
|
909
|
+
prefix: string;
|
910
|
+
name: string;
|
911
|
+
className: string;
|
912
|
+
color: string;
|
913
|
+
width: string;
|
914
|
+
height: string;
|
915
|
+
}>>>, {}, {}>;
|
916
|
+
|
917
|
+
export declare const HyTable: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<TableProps>, {
|
881
918
|
height: number;
|
882
919
|
columnList: () => any[];
|
883
920
|
searchArr: () => any[];
|
@@ -909,7 +946,7 @@ getTotalElements: typeof getTotalElements;
|
|
909
946
|
getTotal: (...args: any[]) => void;
|
910
947
|
selectionChange: (...args: any[]) => void;
|
911
948
|
onRowcClick: (...args: any[]) => void;
|
912
|
-
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<
|
949
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<TableProps>, {
|
913
950
|
height: number;
|
914
951
|
columnList: () => any[];
|
915
952
|
searchArr: () => any[];
|
@@ -970,6 +1007,16 @@ getCropBlob: typeof getCropBlob;
|
|
970
1007
|
getBlobToData: typeof getBlobToData;
|
971
1008
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
972
1009
|
|
1010
|
+
declare interface IconProps {
|
1011
|
+
[key: string]: any;
|
1012
|
+
prefix?: string;
|
1013
|
+
name: string;
|
1014
|
+
className?: string;
|
1015
|
+
color?: string;
|
1016
|
+
width?: string | number;
|
1017
|
+
height?: string | number;
|
1018
|
+
}
|
1019
|
+
|
973
1020
|
declare function imageViewerClose(): void;
|
974
1021
|
|
975
1022
|
declare interface MenuItem {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { resolveComponent as s, openBlock as n, createElementBlock as c, createVNode as t } from "vue";
|
2
|
-
import { b as o } from "./command-center-v3-common-
|
2
|
+
import { b as o } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const a = {}, i = { class: "flex items-center justify-center gap-x-3" };
|
4
4
|
function m(r, h) {
|
5
5
|
const e = s("SvgIcon");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { resolveComponent as c, openBlock as i, createElementBlock as s, Fragment as a, createVNode as t, withCtx as e, createTextVNode as r } from "vue";
|
2
|
-
import { b as l } from "./command-center-v3-common-
|
2
|
+
import { b as l } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const _ = {};
|
4
4
|
function m(p, d) {
|
5
5
|
const o = c("el-button"), n = c("el-popover");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, ref as r, resolveComponent as a, openBlock as u, createElementBlock as m, Fragment as d, createElementVNode as T, createVNode as t, withCtx as s, createTextVNode as n } from "vue";
|
2
|
-
import { c as y, H as f } from "./command-center-v3-common-
|
2
|
+
import { c as y, H as f } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const _ = { class: "flex items-center justify-center gap-x-3" }, w = /* @__PURE__ */ p({
|
4
4
|
__name: "tips-modal-demo",
|
5
5
|
setup(h) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as o, ref as l, openBlock as r, createElementBlock as d, createVNode as t, normalizeStyle as n, unref as a, normalizeClass as c, withCtx as x, createElementVNode as p } from "vue";
|
2
|
-
import { e as s } from "./command-center-v3-common-
|
2
|
+
import { e as s } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const h = { class: "flex items-center justify-center gap-x-3" }, y = /* @__PURE__ */ o({
|
4
4
|
__name: "user-head-demo",
|
5
5
|
setup(i) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as _, ref as p, resolveComponent as i, openBlock as g, createElementBlock as v, Fragment as h, createElementVNode as r, unref as x, createVNode as t, withCtx as c, createTextVNode as s } from "vue";
|
2
|
-
import { f as C } from "./command-center-v3-common-
|
2
|
+
import { f as C } from "./command-center-v3-common-DTIqW_9W.js";
|
3
3
|
const w = { class: "flex flex-col items-center justify-center gap-6" }, y = ["src"], b = { class: "flex items-center gap-x-3" }, S = /* @__PURE__ */ _({
|
4
4
|
__name: "vue-cropper-demo",
|
5
5
|
setup(B) {
|