@robot-admin/naive-ui-components 0.6.13 → 0.6.14
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/C_Date.js.map +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Date2.js.map +1 -1
- package/dist/C_Steps-BHYNJI1l.css.map +1 -0
- package/dist/C_Steps-DY7vl-4I.css.map +1 -0
- package/dist/C_Steps.css +38 -38
- package/dist/C_Steps.js.map +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Steps2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +17 -13
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +7 -7
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index25.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.ts +2 -2
- package/dist/style.css +39 -39
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useSplitResize.d.ts +2 -2
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +3 -3
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/package.json +1 -1
- package/dist/C_Steps-HZ438_4G.css.map +0 -1
- package/dist/C_Steps-uMxhEbg-.css.map +0 -1
package/dist/style.css
CHANGED
|
@@ -6985,8 +6985,8 @@ to {
|
|
|
6985
6985
|
|
|
6986
6986
|
/*# sourceMappingURL=C_SplitPane-Br2eK8IG.css.map*/
|
|
6987
6987
|
|
|
6988
|
-
/* --- C_Steps-
|
|
6989
|
-
/* unplugin-vue-components disabled */.c-steps[data-v-
|
|
6988
|
+
/* --- C_Steps-BHYNJI1l.css --- */
|
|
6989
|
+
/* unplugin-vue-components disabled */.c-steps[data-v-96b53094] {
|
|
6990
6990
|
--step-gap: 24px;
|
|
6991
6991
|
--icon-size: 32px;
|
|
6992
6992
|
--line-width: 2px;
|
|
@@ -6999,48 +6999,48 @@ to {
|
|
|
6999
6999
|
--bg-hover: rgba(0, 0, 0, 0.04);
|
|
7000
7000
|
display: flex;
|
|
7001
7001
|
}
|
|
7002
|
-
.steps-connected[data-v-
|
|
7002
|
+
.steps-connected[data-v-96b53094] {
|
|
7003
7003
|
--line-gap: 0px;
|
|
7004
7004
|
}
|
|
7005
|
-
.steps-horizontal[data-v-
|
|
7005
|
+
.steps-horizontal[data-v-96b53094] {
|
|
7006
7006
|
flex-direction: row;
|
|
7007
7007
|
align-items: flex-start;
|
|
7008
7008
|
}
|
|
7009
|
-
.steps-vertical[data-v-
|
|
7009
|
+
.steps-vertical[data-v-96b53094] {
|
|
7010
7010
|
flex-direction: column;
|
|
7011
7011
|
}
|
|
7012
|
-
.step-item[data-v-
|
|
7012
|
+
.step-item[data-v-96b53094] {
|
|
7013
7013
|
display: flex;
|
|
7014
7014
|
position: relative;
|
|
7015
7015
|
flex: 1;
|
|
7016
7016
|
gap: 12px;
|
|
7017
7017
|
}
|
|
7018
|
-
.steps-horizontal .step-item[data-v-
|
|
7018
|
+
.steps-horizontal .step-item[data-v-96b53094] {
|
|
7019
7019
|
flex-direction: column;
|
|
7020
7020
|
align-items: center;
|
|
7021
7021
|
text-align: center;
|
|
7022
7022
|
min-width: 0;
|
|
7023
7023
|
}
|
|
7024
|
-
.steps-vertical .step-item[data-v-
|
|
7024
|
+
.steps-vertical .step-item[data-v-96b53094] {
|
|
7025
7025
|
flex-direction: row;
|
|
7026
7026
|
min-height: 72px;
|
|
7027
7027
|
flex: none;
|
|
7028
7028
|
width: 100%;
|
|
7029
7029
|
}
|
|
7030
|
-
.step-indicator[data-v-
|
|
7030
|
+
.step-indicator[data-v-96b53094] {
|
|
7031
7031
|
position: relative;
|
|
7032
7032
|
display: flex;
|
|
7033
7033
|
align-items: center;
|
|
7034
7034
|
flex-shrink: 0;
|
|
7035
7035
|
}
|
|
7036
|
-
.steps-horizontal .step-indicator[data-v-
|
|
7036
|
+
.steps-horizontal .step-indicator[data-v-96b53094] {
|
|
7037
7037
|
width: 100%;
|
|
7038
7038
|
justify-content: center;
|
|
7039
7039
|
}
|
|
7040
|
-
.steps-vertical .step-indicator[data-v-
|
|
7040
|
+
.steps-vertical .step-indicator[data-v-96b53094] {
|
|
7041
7041
|
flex-direction: column;
|
|
7042
7042
|
}
|
|
7043
|
-
.step-icon[data-v-
|
|
7043
|
+
.step-icon[data-v-96b53094] {
|
|
7044
7044
|
width: var(--icon-size);
|
|
7045
7045
|
height: var(--icon-size);
|
|
7046
7046
|
border-radius: 50%;
|
|
@@ -7054,113 +7054,113 @@ to {
|
|
|
7054
7054
|
transition: all 0.2s ease;
|
|
7055
7055
|
font-size: 16px;
|
|
7056
7056
|
}
|
|
7057
|
-
.step-finish .step-icon[data-v-
|
|
7057
|
+
.step-finish .step-icon[data-v-96b53094] {
|
|
7058
7058
|
border-color: var(--success);
|
|
7059
7059
|
color: var(--success);
|
|
7060
7060
|
}
|
|
7061
|
-
.step-process .step-icon[data-v-
|
|
7061
|
+
.step-process .step-icon[data-v-96b53094] {
|
|
7062
7062
|
border-color: var(--primary);
|
|
7063
7063
|
background: var(--primary);
|
|
7064
7064
|
color: white;
|
|
7065
7065
|
}
|
|
7066
|
-
.step-error .step-icon[data-v-
|
|
7066
|
+
.step-error .step-icon[data-v-96b53094] {
|
|
7067
7067
|
border-color: var(--error);
|
|
7068
7068
|
color: var(--error);
|
|
7069
7069
|
}
|
|
7070
|
-
.step-index[data-v-
|
|
7070
|
+
.step-index[data-v-96b53094] {
|
|
7071
7071
|
font-size: 14px;
|
|
7072
7072
|
font-weight: 500;
|
|
7073
7073
|
}
|
|
7074
|
-
.step-line[data-v-
|
|
7074
|
+
.step-line[data-v-96b53094] {
|
|
7075
7075
|
background: var(--border);
|
|
7076
7076
|
position: absolute;
|
|
7077
7077
|
transition: background 0.2s ease;
|
|
7078
7078
|
}
|
|
7079
|
-
.steps-horizontal .step-line[data-v-
|
|
7079
|
+
.steps-horizontal .step-line[data-v-96b53094] {
|
|
7080
7080
|
height: var(--line-width);
|
|
7081
7081
|
left: calc(50% + var(--icon-size) / 2 + var(--line-gap));
|
|
7082
7082
|
right: calc(-50% + var(--icon-size) / 2 + var(--line-gap));
|
|
7083
7083
|
top: calc(var(--icon-size) / 2);
|
|
7084
7084
|
}
|
|
7085
|
-
.steps-vertical .step-line[data-v-
|
|
7085
|
+
.steps-vertical .step-line[data-v-96b53094] {
|
|
7086
7086
|
width: var(--line-width);
|
|
7087
7087
|
top: var(--icon-size);
|
|
7088
7088
|
bottom: 0;
|
|
7089
7089
|
left: calc(var(--icon-size) / 2 - 1px);
|
|
7090
7090
|
}
|
|
7091
|
-
.step-finish .step-line[data-v-
|
|
7091
|
+
.step-finish .step-line[data-v-96b53094] {
|
|
7092
7092
|
background: var(--success);
|
|
7093
7093
|
}
|
|
7094
|
-
.step-content[data-v-
|
|
7094
|
+
.step-content[data-v-96b53094] {
|
|
7095
7095
|
flex: 1;
|
|
7096
7096
|
min-width: 0;
|
|
7097
7097
|
}
|
|
7098
|
-
.steps-vertical .step-content[data-v-
|
|
7098
|
+
.steps-vertical .step-content[data-v-96b53094] {
|
|
7099
7099
|
padding-top: 4px;
|
|
7100
7100
|
}
|
|
7101
|
-
.step-title[data-v-
|
|
7101
|
+
.step-title[data-v-96b53094] {
|
|
7102
7102
|
font-size: 14px;
|
|
7103
7103
|
font-weight: 500;
|
|
7104
7104
|
line-height: 22px;
|
|
7105
7105
|
margin-bottom: 2px;
|
|
7106
7106
|
word-break: break-word;
|
|
7107
7107
|
}
|
|
7108
|
-
.step-time[data-v-
|
|
7108
|
+
.step-time[data-v-96b53094] {
|
|
7109
7109
|
font-size: 12px;
|
|
7110
7110
|
line-height: 20px;
|
|
7111
7111
|
margin-bottom: 2px;
|
|
7112
7112
|
opacity: 0.65;
|
|
7113
7113
|
}
|
|
7114
|
-
.step-finish .step-time[data-v-
|
|
7114
|
+
.step-finish .step-time[data-v-96b53094] {
|
|
7115
7115
|
color: var(--success);
|
|
7116
7116
|
}
|
|
7117
|
-
.step-description[data-v-
|
|
7117
|
+
.step-description[data-v-96b53094] {
|
|
7118
7118
|
font-size: 12px;
|
|
7119
7119
|
line-height: 20px;
|
|
7120
7120
|
opacity: 0.65;
|
|
7121
7121
|
}
|
|
7122
|
-
.step-wait .step-title[data-v-
|
|
7122
|
+
.step-wait .step-title[data-v-96b53094] {
|
|
7123
7123
|
opacity: 0.65;
|
|
7124
7124
|
}
|
|
7125
|
-
.step-process .step-title[data-v-
|
|
7125
|
+
.step-process .step-title[data-v-96b53094] {
|
|
7126
7126
|
color: var(--primary);
|
|
7127
7127
|
font-weight: 600;
|
|
7128
7128
|
}
|
|
7129
|
-
.step-error .step-title[data-v-
|
|
7129
|
+
.step-error .step-title[data-v-96b53094] {
|
|
7130
7130
|
color: var(--error);
|
|
7131
7131
|
}
|
|
7132
|
-
.step-clickable[data-v-
|
|
7132
|
+
.step-clickable[data-v-96b53094] {
|
|
7133
7133
|
cursor: pointer;
|
|
7134
7134
|
}
|
|
7135
|
-
.step-clickable:hover .step-icon[data-v-
|
|
7135
|
+
.step-clickable:hover .step-icon[data-v-96b53094] {
|
|
7136
7136
|
transform: scale(1.05);
|
|
7137
7137
|
}
|
|
7138
|
-
.step-clickable:not(.step-process):hover .step-icon[data-v-
|
|
7138
|
+
.step-clickable:not(.step-process):hover .step-icon[data-v-96b53094] {
|
|
7139
7139
|
background: var(--bg-hover);
|
|
7140
7140
|
}
|
|
7141
|
-
.step-clickable:hover .step-title[data-v-
|
|
7141
|
+
.step-clickable:hover .step-title[data-v-96b53094] {
|
|
7142
7142
|
color: var(--primary);
|
|
7143
7143
|
}
|
|
7144
7144
|
@media (max-width: 768px) {
|
|
7145
|
-
.steps-horizontal[data-v-
|
|
7145
|
+
.steps-horizontal[data-v-96b53094] {
|
|
7146
7146
|
flex-wrap: wrap;
|
|
7147
7147
|
}
|
|
7148
|
-
.steps-horizontal .step-item[data-v-
|
|
7148
|
+
.steps-horizontal .step-item[data-v-96b53094] {
|
|
7149
7149
|
flex: 0 0 50%;
|
|
7150
7150
|
margin-bottom: 24px;
|
|
7151
7151
|
}
|
|
7152
|
-
.steps-horizontal .step-line[data-v-
|
|
7152
|
+
.steps-horizontal .step-line[data-v-96b53094] {
|
|
7153
7153
|
display: none;
|
|
7154
7154
|
}
|
|
7155
7155
|
}
|
|
7156
7156
|
@media (prefers-reduced-motion: reduce) {
|
|
7157
|
-
.step-icon[data-v-
|
|
7158
|
-
.step-line[data-v-
|
|
7157
|
+
.step-icon[data-v-96b53094],
|
|
7158
|
+
.step-line[data-v-96b53094] {
|
|
7159
7159
|
transition: none;
|
|
7160
7160
|
}
|
|
7161
7161
|
}
|
|
7162
7162
|
|
|
7163
|
-
/*# sourceMappingURL=C_Steps-
|
|
7163
|
+
/*# sourceMappingURL=C_Steps-BHYNJI1l.css.map*/
|
|
7164
7164
|
|
|
7165
7165
|
/* --- C_Table-vZlcgH6x.css --- */
|
|
7166
7166
|
/* unplugin-vue-components disabled */.column-management-tab .search-row[data-v-1a3d4df6] {
|
|
@@ -66,8 +66,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
66
66
|
}) => any) | undefined;
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
-
editable: boolean;
|
|
70
69
|
initialView: CalendarViewType;
|
|
70
|
+
editable: boolean;
|
|
71
71
|
events: CalendarEvent[];
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -52,27 +52,27 @@ interface ImageCropperEmits {
|
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
54
|
error: (error: Event) => any;
|
|
55
|
+
cancel: () => any;
|
|
55
56
|
ready: () => any;
|
|
56
57
|
crop: (result: any) => any;
|
|
57
58
|
confirm: (result: any) => any;
|
|
58
|
-
cancel: () => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
60
|
onError?: ((error: Event) => any) | undefined;
|
|
61
|
+
onCancel?: (() => any) | undefined;
|
|
61
62
|
onReady?: (() => any) | undefined;
|
|
62
63
|
onCrop?: ((result: any) => any) | undefined;
|
|
63
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
|
-
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
height: string | number;
|
|
67
67
|
disabled: boolean;
|
|
68
|
-
|
|
68
|
+
showPreview: boolean;
|
|
69
69
|
aspectRatio: number;
|
|
70
|
+
showToolbar: boolean;
|
|
71
|
+
src: string;
|
|
70
72
|
outputFormat: CropOutputFormat;
|
|
71
73
|
outputQuality: number;
|
|
72
74
|
maxOutputWidth: number;
|
|
73
75
|
maxOutputHeight: number;
|
|
74
|
-
showPreview: boolean;
|
|
75
|
-
showToolbar: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -117,12 +117,19 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
sort: boolean;
|
|
120
|
-
modelValue: DraggableItem[];
|
|
121
120
|
disabled: boolean;
|
|
122
121
|
direction: "vertical" | "horizontal";
|
|
122
|
+
modelValue: DraggableItem[];
|
|
123
123
|
delay: number;
|
|
124
|
+
layout: LayoutMode;
|
|
124
125
|
group: string | GroupOptions;
|
|
126
|
+
alignItems: AlignItems;
|
|
127
|
+
flexWrap: boolean;
|
|
128
|
+
justifyContent: JustifyContent;
|
|
125
129
|
animation: number;
|
|
130
|
+
gap: string | number;
|
|
131
|
+
itemClass: string;
|
|
132
|
+
emptyText: string;
|
|
126
133
|
handle: string;
|
|
127
134
|
showHandle: boolean;
|
|
128
135
|
ghostClass: string;
|
|
@@ -130,18 +137,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
130
137
|
dragClass: string;
|
|
131
138
|
wrapperClass: string;
|
|
132
139
|
listClass: string;
|
|
133
|
-
itemClass: string;
|
|
134
140
|
showEmptyState: boolean;
|
|
135
|
-
emptyText: string;
|
|
136
141
|
swapThreshold: number;
|
|
137
142
|
invertSwap: boolean;
|
|
138
|
-
layout: LayoutMode;
|
|
139
143
|
gridColumns: number;
|
|
140
144
|
gridRows: number;
|
|
141
|
-
gap: string | number;
|
|
142
|
-
flexWrap: boolean;
|
|
143
|
-
justifyContent: JustifyContent;
|
|
144
|
-
alignItems: AlignItems;
|
|
145
145
|
customStyles: Record<string, string | number>;
|
|
146
146
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1354,6 +1354,7 @@ declare const useDynamicFormState: () => {
|
|
|
1354
1354
|
} | undefined;
|
|
1355
1355
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1356
1356
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1357
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1357
1358
|
readonly key?: string | undefined;
|
|
1358
1359
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1359
1360
|
readonly min?: number | undefined;
|
|
@@ -1931,7 +1932,6 @@ declare const useDynamicFormState: () => {
|
|
|
1931
1932
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1932
1933
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1933
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1934
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
1937
1937
|
readonly attrs?: {
|
|
@@ -3631,6 +3631,7 @@ declare const useDynamicFormState: () => {
|
|
|
3631
3631
|
} | undefined;
|
|
3632
3632
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3633
3633
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3634
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3634
3635
|
readonly key?: string | undefined;
|
|
3635
3636
|
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3636
3637
|
readonly min?: number | undefined;
|
|
@@ -4208,7 +4209,6 @@ declare const useDynamicFormState: () => {
|
|
|
4208
4209
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4209
4210
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4210
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4211
|
-
readonly level?: "warning" | "error" | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
4214
4214
|
}[];
|
|
@@ -90,13 +90,13 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
loading: boolean;
|
|
93
|
-
gap: number;
|
|
94
93
|
columns: number;
|
|
95
|
-
|
|
94
|
+
animationDuration: number;
|
|
95
|
+
gap: number;
|
|
96
96
|
infinite: boolean;
|
|
97
|
+
lazy: boolean;
|
|
97
98
|
skeleton: boolean;
|
|
98
99
|
skeletonCount: number;
|
|
99
|
-
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -590,7 +590,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
590
590
|
clearAllSelections(): void;
|
|
591
591
|
};
|
|
592
592
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
593
|
-
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
594
593
|
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
595
594
|
"pagination-change": (...args: unknown[]) => any;
|
|
596
595
|
"row-delete": (...args: unknown[]) => any;
|
|
@@ -599,6 +598,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
599
598
|
"child-selection-change": (parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any;
|
|
600
599
|
"parent-child-link-change": (parentKey: DataTableRowKey$1, shouldSelect: boolean) => any;
|
|
601
600
|
"update:data": (data: DataRecord[]) => any;
|
|
601
|
+
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
602
602
|
"row-add": (newRow: DataRecord) => any;
|
|
603
603
|
"row-copy": (originalRow: DataRecord, newRow: DataRecord) => any;
|
|
604
604
|
"row-move": (row: DataRecord, fromIndex: number, toIndex: number) => any;
|
|
@@ -606,7 +606,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
606
606
|
"view-detail": (data: DataRecord) => any;
|
|
607
607
|
"column-change": (columns: TableColumn[]) => any;
|
|
608
608
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
609
|
-
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
610
609
|
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
611
610
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
612
611
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
@@ -615,6 +614,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
615
614
|
"onChild-selection-change"?: ((parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any) | undefined;
|
|
616
615
|
"onParent-child-link-change"?: ((parentKey: DataTableRowKey$1, shouldSelect: boolean) => any) | undefined;
|
|
617
616
|
"onUpdate:data"?: ((data: DataRecord[]) => any) | undefined;
|
|
617
|
+
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
618
618
|
"onRow-add"?: ((newRow: DataRecord) => any) | undefined;
|
|
619
619
|
"onRow-copy"?: ((originalRow: DataRecord, newRow: DataRecord) => any) | undefined;
|
|
620
620
|
"onRow-move"?: ((row: DataRecord, fromIndex: number, toIndex: number) => any) | undefined;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -68,15 +68,15 @@ type __VLS_Slots = {} & {
|
|
|
68
68
|
declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
69
69
|
expand: (target: CollapseTarget) => any;
|
|
70
70
|
collapse: (target: CollapseTarget) => any;
|
|
71
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
71
72
|
"drag-start": (size: number) => any;
|
|
72
73
|
"drag-end": (size: number) => any;
|
|
73
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
74
74
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
75
75
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
76
76
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
77
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
77
78
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
78
79
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
79
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
direction: SplitDirection;
|
|
@@ -49,10 +49,11 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
format: string;
|
|
52
|
-
placeholder: string;
|
|
53
52
|
mode: TimeMode;
|
|
53
|
+
placeholder: string;
|
|
54
54
|
startPlaceholder: string;
|
|
55
55
|
endPlaceholder: string;
|
|
56
|
+
attrs: Record<string, any>;
|
|
56
57
|
useHours: boolean;
|
|
57
58
|
useMinutes: boolean;
|
|
58
59
|
useSeconds: boolean;
|
|
@@ -61,7 +62,6 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
61
62
|
secondStep: number;
|
|
62
63
|
startTimeProps: Record<string, any>;
|
|
63
64
|
endTimeProps: Record<string, any>;
|
|
64
|
-
attrs: Record<string, any>;
|
|
65
65
|
defaultStartTime: number | null;
|
|
66
66
|
defaultEndTime: number | null;
|
|
67
67
|
defaultSingleTime: number | null;
|
|
@@ -103,12 +103,12 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
103
103
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
105
|
mode: TreeMode;
|
|
106
|
-
actions: ActionConfig[];
|
|
107
106
|
labelField: string;
|
|
108
107
|
childrenField: string;
|
|
109
|
-
|
|
110
|
-
keyField: string;
|
|
108
|
+
actions: ActionConfig[];
|
|
111
109
|
showToolbar: boolean;
|
|
110
|
+
keyField: string;
|
|
111
|
+
draggable: boolean;
|
|
112
112
|
searchPattern: string;
|
|
113
113
|
searchable: boolean;
|
|
114
114
|
searchPlaceholder: string;
|
|
@@ -237,17 +237,17 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
237
237
|
conditionNodes: number;
|
|
238
238
|
}>;
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
|
-
"update:modelValue": (value: WorkflowData) => any;
|
|
241
240
|
change: (value: WorkflowData) => any;
|
|
242
|
-
|
|
241
|
+
"update:modelValue": (value: WorkflowData) => any;
|
|
243
242
|
"validate-error": (errors: ValidationError[]) => any;
|
|
243
|
+
save: (data: WorkflowData) => any;
|
|
244
244
|
"node-click": (node: WorkflowNode) => any;
|
|
245
245
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
|
-
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
247
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
249
|
-
|
|
248
|
+
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
250
249
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
250
|
+
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
251
251
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
252
252
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
253
253
|
}>, {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"C_Steps-HZ438_4G.css","names":[],"sources":["../src/components/C_Steps/index.vue?vue&type=style&index=0&scoped=33e608bb&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.c-steps[data-v-33e608bb] {\n --step-gap: 24px;\n --icon-size: 32px;\n --line-width: 2px;\n --line-gap: 4px;\n --primary: var(--c-primary, #18a058);\n --success: var(--c-success, #18a058);\n --warning: var(--c-warning, #f0a020);\n --error: var(--c-error, #d03050);\n --border: var(--c-border, rgba(0, 0, 0, 0.09));\n --bg-hover: rgba(0, 0, 0, 0.04);\n display: flex;\n}\n.steps-connected[data-v-33e608bb] {\n --line-gap: 0px;\n}\n.steps-horizontal[data-v-33e608bb] {\n flex-direction: row;\n align-items: flex-start;\n}\n.steps-vertical[data-v-33e608bb] {\n flex-direction: column;\n}\n.step-item[data-v-33e608bb] {\n display: flex;\n position: relative;\n flex: 1;\n gap: 12px;\n}\n.steps-horizontal .step-item[data-v-33e608bb] {\n flex-direction: column;\n align-items: center;\n text-align: center;\n min-width: 0;\n}\n.steps-vertical .step-item[data-v-33e608bb] {\n flex-direction: row;\n min-height: 72px;\n flex: none;\n width: 100%;\n}\n.step-indicator[data-v-33e608bb] {\n position: relative;\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n.steps-horizontal .step-indicator[data-v-33e608bb] {\n width: 100%;\n justify-content: center;\n}\n.steps-vertical .step-indicator[data-v-33e608bb] {\n flex-direction: column;\n}\n.step-icon[data-v-33e608bb] {\n width: var(--icon-size);\n height: var(--icon-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n border: var(--line-width) solid var(--border);\n background: var(--c-bg-card, #fff);\n position: relative;\n z-index: 2;\n transition: all 0.2s ease;\n font-size: 16px;\n}\n.step-finish .step-icon[data-v-33e608bb] {\n border-color: var(--success);\n color: var(--success);\n}\n.step-process .step-icon[data-v-33e608bb] {\n border-color: var(--primary);\n background: var(--primary);\n color: white;\n}\n.step-error .step-icon[data-v-33e608bb] {\n border-color: var(--error);\n color: var(--error);\n}\n.step-index[data-v-33e608bb] {\n font-size: 14px;\n font-weight: 500;\n}\n.step-line[data-v-33e608bb] {\n background: var(--border);\n position: absolute;\n transition: background 0.2s ease;\n}\n.steps-horizontal .step-line[data-v-33e608bb] {\n height: var(--line-width);\n left: calc(50% + var(--icon-size) / 2 + var(--line-gap));\n right: calc(-50% + var(--icon-size) / 2 + var(--line-gap));\n top: calc(var(--icon-size) / 2);\n}\n.steps-vertical .step-line[data-v-33e608bb] {\n width: var(--line-width);\n top: var(--icon-size);\n bottom: 0;\n left: calc(var(--icon-size) / 2 - 1px);\n}\n.step-finish .step-line[data-v-33e608bb] {\n background: var(--success);\n}\n.step-content[data-v-33e608bb] {\n flex: 1;\n min-width: 0;\n}\n.steps-vertical .step-content[data-v-33e608bb] {\n padding-top: 4px;\n}\n.step-title[data-v-33e608bb] {\n font-size: 14px;\n font-weight: 500;\n line-height: 22px;\n margin-bottom: 2px;\n word-break: break-word;\n}\n.step-time[data-v-33e608bb] {\n font-size: 12px;\n line-height: 20px;\n margin-bottom: 2px;\n opacity: 0.65;\n}\n.step-finish .step-time[data-v-33e608bb] {\n color: var(--success);\n}\n.step-description[data-v-33e608bb] {\n font-size: 12px;\n line-height: 20px;\n opacity: 0.65;\n}\n.step-wait .step-title[data-v-33e608bb] {\n opacity: 0.65;\n}\n.step-process .step-title[data-v-33e608bb] {\n color: var(--primary);\n font-weight: 600;\n}\n.step-error .step-title[data-v-33e608bb] {\n color: var(--error);\n}\n.step-clickable[data-v-33e608bb] {\n cursor: pointer;\n}\n.step-clickable:hover .step-icon[data-v-33e608bb] {\n transform: scale(1.05);\n}\n.step-clickable:not(.step-process):hover .step-icon[data-v-33e608bb] {\n background: var(--bg-hover);\n}\n.step-clickable:hover .step-title[data-v-33e608bb] {\n color: var(--primary);\n}\n@media (max-width: 768px) {\n.steps-horizontal[data-v-33e608bb] {\n flex-wrap: wrap;\n}\n.steps-horizontal .step-item[data-v-33e608bb] {\n flex: 0 0 50%;\n margin-bottom: 24px;\n}\n.steps-horizontal .step-line[data-v-33e608bb] {\n display: none;\n}\n}\n@media (prefers-reduced-motion: reduce) {\n.step-icon[data-v-33e608bb],\n .step-line[data-v-33e608bb] {\n transition: none;\n}\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"C_Steps-uMxhEbg-.css","names":[],"sources":["../src/components/C_Steps/index.vue?vue&type=style&index=0&scoped=33e608bb&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.c-steps[data-v-33e608bb] {\n --step-gap: 24px;\n --icon-size: 32px;\n --line-width: 2px;\n --line-gap: 4px;\n --primary: var(--c-primary, #18a058);\n --success: var(--c-success, #18a058);\n --warning: var(--c-warning, #f0a020);\n --error: var(--c-error, #d03050);\n --border: var(--c-border, rgba(0, 0, 0, 0.09));\n --bg-hover: rgba(0, 0, 0, 0.04);\n display: flex;\n}\n.steps-connected[data-v-33e608bb] {\n --line-gap: 0px;\n}\n.steps-horizontal[data-v-33e608bb] {\n flex-direction: row;\n align-items: flex-start;\n}\n.steps-vertical[data-v-33e608bb] {\n flex-direction: column;\n}\n.step-item[data-v-33e608bb] {\n display: flex;\n position: relative;\n flex: 1;\n gap: 12px;\n}\n.steps-horizontal .step-item[data-v-33e608bb] {\n flex-direction: column;\n align-items: center;\n text-align: center;\n min-width: 0;\n}\n.steps-vertical .step-item[data-v-33e608bb] {\n flex-direction: row;\n min-height: 72px;\n flex: none;\n width: 100%;\n}\n.step-indicator[data-v-33e608bb] {\n position: relative;\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n.steps-horizontal .step-indicator[data-v-33e608bb] {\n width: 100%;\n justify-content: center;\n}\n.steps-vertical .step-indicator[data-v-33e608bb] {\n flex-direction: column;\n}\n.step-icon[data-v-33e608bb] {\n width: var(--icon-size);\n height: var(--icon-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n border: var(--line-width) solid var(--border);\n background: var(--c-bg-card, #fff);\n position: relative;\n z-index: 2;\n transition: all 0.2s ease;\n font-size: 16px;\n}\n.step-finish .step-icon[data-v-33e608bb] {\n border-color: var(--success);\n color: var(--success);\n}\n.step-process .step-icon[data-v-33e608bb] {\n border-color: var(--primary);\n background: var(--primary);\n color: white;\n}\n.step-error .step-icon[data-v-33e608bb] {\n border-color: var(--error);\n color: var(--error);\n}\n.step-index[data-v-33e608bb] {\n font-size: 14px;\n font-weight: 500;\n}\n.step-line[data-v-33e608bb] {\n background: var(--border);\n position: absolute;\n transition: background 0.2s ease;\n}\n.steps-horizontal .step-line[data-v-33e608bb] {\n height: var(--line-width);\n left: calc(50% + var(--icon-size) / 2 + var(--line-gap));\n right: calc(-50% + var(--icon-size) / 2 + var(--line-gap));\n top: calc(var(--icon-size) / 2);\n}\n.steps-vertical .step-line[data-v-33e608bb] {\n width: var(--line-width);\n top: var(--icon-size);\n bottom: 0;\n left: calc(var(--icon-size) / 2 - 1px);\n}\n.step-finish .step-line[data-v-33e608bb] {\n background: var(--success);\n}\n.step-content[data-v-33e608bb] {\n flex: 1;\n min-width: 0;\n}\n.steps-vertical .step-content[data-v-33e608bb] {\n padding-top: 4px;\n}\n.step-title[data-v-33e608bb] {\n font-size: 14px;\n font-weight: 500;\n line-height: 22px;\n margin-bottom: 2px;\n word-break: break-word;\n}\n.step-time[data-v-33e608bb] {\n font-size: 12px;\n line-height: 20px;\n margin-bottom: 2px;\n opacity: 0.65;\n}\n.step-finish .step-time[data-v-33e608bb] {\n color: var(--success);\n}\n.step-description[data-v-33e608bb] {\n font-size: 12px;\n line-height: 20px;\n opacity: 0.65;\n}\n.step-wait .step-title[data-v-33e608bb] {\n opacity: 0.65;\n}\n.step-process .step-title[data-v-33e608bb] {\n color: var(--primary);\n font-weight: 600;\n}\n.step-error .step-title[data-v-33e608bb] {\n color: var(--error);\n}\n.step-clickable[data-v-33e608bb] {\n cursor: pointer;\n}\n.step-clickable:hover .step-icon[data-v-33e608bb] {\n transform: scale(1.05);\n}\n.step-clickable:not(.step-process):hover .step-icon[data-v-33e608bb] {\n background: var(--bg-hover);\n}\n.step-clickable:hover .step-title[data-v-33e608bb] {\n color: var(--primary);\n}\n@media (max-width: 768px) {\n.steps-horizontal[data-v-33e608bb] {\n flex-wrap: wrap;\n}\n.steps-horizontal .step-item[data-v-33e608bb] {\n flex: 0 0 50%;\n margin-bottom: 24px;\n}\n.steps-horizontal .step-line[data-v-33e608bb] {\n display: none;\n}\n}\n@media (prefers-reduced-motion: reduce) {\n.step-icon[data-v-33e608bb],\n .step-line[data-v-33e608bb] {\n transition: none;\n}\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|