command-center-v3-common 0.0.10 → 0.0.12
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-CuCcUe9t.js → box-border-demo-skfFUc8G.js} +1 -1
- package/dist/{button-demo-CLDCZ22L.js → button-demo-gD6HWX8k.js} +1 -1
- package/dist/command-center-v3-common-YydASLPL.js +53398 -0
- package/dist/command-center-v3-common.js +15 -13
- package/dist/command-center-v3-common.umd.cjs +81 -37
- package/dist/data-time-shortcuts-demo-BYliJUaV.js +31 -0
- package/dist/{hy-table-demo-DaFsXaof.js → hy-table-demo-DB4T45_v.js} +1 -1
- package/dist/{hy-test-DWlAa7Wz.js → hy-test-B2jtJk3l.js} +1 -1
- package/dist/{image-viewer-demo-DNOmvm1Q.js → image-viewer-demo-CYNV6xbG.js} +1 -1
- package/dist/index.d.ts +35 -2
- package/dist/style.css +1 -1
- package/dist/{svg-icon-demo-DCdUL5yU.js → svg-icon-demo-m1tJAtp1.js} +1 -1
- package/dist/{test-demo-EbPLVFUl.js → test-demo-DHQTaU3B.js} +1 -1
- package/dist/{tips-modal-demo-BIPlYqiD.js → tips-modal-demo-BLrVTBuy.js} +1 -1
- package/dist/{user-head-demo-Br52vV2C.js → user-head-demo-Diuf-JGd.js} +1 -1
- package/dist/{vue-cropper-demo-BXA_9V8L.js → vue-cropper-demo-Cm4YfVNY.js} +1 -1
- package/package.json +2 -1
- package/dist/command-center-v3-common-swcMJIB7.js +0 -45254
@@ -0,0 +1,31 @@
|
|
1
|
+
import { defineComponent as a, ref as n, openBlock as l, createBlock as r, unref as i } from "vue";
|
2
|
+
import { D as s } from "./command-center-v3-common-YydASLPL.js";
|
3
|
+
const f = /* @__PURE__ */ a({
|
4
|
+
__name: "data-time-shortcuts-demo",
|
5
|
+
setup(c) {
|
6
|
+
const o = n([
|
7
|
+
{
|
8
|
+
label: "今日",
|
9
|
+
value: 1
|
10
|
+
},
|
11
|
+
{
|
12
|
+
label: "近7天",
|
13
|
+
value: 7
|
14
|
+
},
|
15
|
+
{
|
16
|
+
label: "近30天",
|
17
|
+
value: 30
|
18
|
+
}
|
19
|
+
]);
|
20
|
+
function t(e) {
|
21
|
+
console.log(e);
|
22
|
+
}
|
23
|
+
return (e, u) => (l(), r(s, {
|
24
|
+
"option-list": i(o),
|
25
|
+
onChange: t
|
26
|
+
}, null, 8, ["option-list"]));
|
27
|
+
}
|
28
|
+
});
|
29
|
+
export {
|
30
|
+
f as default
|
31
|
+
};
|
@@ -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-YydASLPL.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-YydASLPL.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-YydASLPL.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
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ComponentOptionsMixin } from 'vue';
|
2
2
|
import { DefineComponent } from 'vue';
|
3
|
+
import { default as HyDataTimeShortcuts } from './common/data-time-shortcuts/index.vue';
|
3
4
|
import { PropType as PropType_2 } from 'vue';
|
4
5
|
import { PublicProps } from 'vue';
|
5
6
|
|
@@ -702,6 +703,14 @@ declare function getTotalElements(): number;
|
|
702
703
|
|
703
704
|
declare function handleCurrentChange(page?: number): void;
|
704
705
|
|
706
|
+
export declare const HyAddDepartmentType: DefineComponent< {}, {
|
707
|
+
show: (row?: OrgType) => void;
|
708
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
709
|
+
"on-submit": (...args: any[]) => void;
|
710
|
+
}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{}>> & {
|
711
|
+
"onOn-submit"?: (...args: any[]) => any;
|
712
|
+
}, {}, {}>;
|
713
|
+
|
705
714
|
export declare const HyBoxBorder: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BoxBorderProps>, {
|
706
715
|
prefix: string;
|
707
716
|
name: string;
|
@@ -720,6 +729,8 @@ height: string;
|
|
720
729
|
content?(_: {}): any;
|
721
730
|
}>;
|
722
731
|
|
732
|
+
export { HyDataTimeShortcuts }
|
733
|
+
|
723
734
|
export declare const HyImageViewer: DefineComponent< {}, {
|
724
735
|
onShowViewer: typeof onShowViewer;
|
725
736
|
imageViewerClose: typeof imageViewerClose;
|
@@ -763,9 +774,9 @@ disabled: boolean;
|
|
763
774
|
onChange?: (...args: any[]) => any;
|
764
775
|
}, {
|
765
776
|
className: string;
|
777
|
+
size: string;
|
766
778
|
disabled: boolean;
|
767
779
|
placeholder: string;
|
768
|
-
size: string;
|
769
780
|
contentType: boolean;
|
770
781
|
}, {}>, {
|
771
782
|
default?(_: {}): any;
|
@@ -836,12 +847,12 @@ onVisibleChange?: (...args: any[]) => any;
|
|
836
847
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
837
848
|
"onOn-changeSelectItem"?: (...args: any[]) => any;
|
838
849
|
}, {
|
850
|
+
size: string;
|
839
851
|
optionLabel: string;
|
840
852
|
optionValue: string;
|
841
853
|
modelValue: any;
|
842
854
|
placeholder: string;
|
843
855
|
clearable: boolean;
|
844
|
-
size: string;
|
845
856
|
requestParams: any;
|
846
857
|
controller: string;
|
847
858
|
filterDataList: any[];
|
@@ -1065,6 +1076,28 @@ declare interface Option_2 {
|
|
1065
1076
|
fillColor: string;
|
1066
1077
|
}
|
1067
1078
|
|
1079
|
+
/**
|
1080
|
+
* OrgType
|
1081
|
+
*/
|
1082
|
+
declare interface OrgType {
|
1083
|
+
bucketId?: string;
|
1084
|
+
createDtm?: Date;
|
1085
|
+
/**
|
1086
|
+
* 部门类型图标
|
1087
|
+
*/
|
1088
|
+
icon?: string;
|
1089
|
+
/**
|
1090
|
+
* 部门类型图标key
|
1091
|
+
*/
|
1092
|
+
iconKey?: string;
|
1093
|
+
id?: string;
|
1094
|
+
/**
|
1095
|
+
* 部门类型名称
|
1096
|
+
*/
|
1097
|
+
typeName?: string;
|
1098
|
+
updateDtm?: Date;
|
1099
|
+
}
|
1100
|
+
|
1068
1101
|
declare interface Props {
|
1069
1102
|
getData?: () => any;
|
1070
1103
|
defaultCheckedKeys?: string[];
|