@dao-style/biz 0.4.0-alpha.1 → 0.4.0
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/components/access-type/src/AccessType.vue.d.ts +1 -1
- package/dist/components/array-editor/src/ArrayEditor.vue.d.ts +25 -46
- package/dist/components/cloud-shell/src/CloudShell.vue.d.ts +1 -1
- package/dist/components/cloud-shell/src/CloudShellGroup.vue.d.ts +1 -1
- package/dist/components/cluster-unknown-message/src/ClusterUnknownMessage.vue.d.ts +1 -1
- package/dist/components/form-block/FormBlock.d.ts +126 -96
- package/dist/components/form-block/src/FormBlock.vue.d.ts +1 -1
- package/dist/components/gpu/src/GpuAdvancedForm.vue.d.ts +1 -1
- package/dist/components/gpu/src/GpuForm.vue.d.ts +289 -259
- package/dist/components/gpu/src/GpuFormDynamicItem.vue.d.ts +236 -206
- package/dist/components/gpu/src/GpuFormItem.vue.d.ts +1 -1
- package/dist/components/gpu/src/GpuResources.vue.d.ts +1 -1
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.d.ts +1 -1
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.js +3 -3
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.mjs +1 -1
- package/dist/components/iframe/src/Iframe.vue.d.ts +1 -1
- package/dist/components/image-preview/src/CommonMask.vue.d.ts +1 -1
- package/dist/components/image-preview/src/ImageContainer.vue.d.ts +1 -1
- package/dist/components/image-preview/src/ImagePreview.vue.d.ts +1 -1
- package/dist/components/image-preview/src/ImagePreviewMask.vue.d.ts +1 -1
- package/dist/components/instance-cluster/props.d.ts +6 -0
- package/dist/components/instance-cluster/props.js +5 -0
- package/dist/components/instance-cluster/props.mjs +5 -0
- package/dist/components/instance-cluster/src/InstanceCluster.vue.d.ts +16 -3
- package/dist/components/instance-cluster/src/InstanceCluster.vue.js +48 -33
- package/dist/components/instance-cluster/src/InstanceCluster.vue.mjs +49 -34
- package/dist/components/instance-cluster/src/InstanceCluster.vue2.js +1 -0
- package/dist/components/instance-cluster/src/InstanceCluster.vue2.mjs +2 -1
- package/dist/components/instance-description/src/InstanceDescription.vue.d.ts +1 -1
- package/dist/components/instance-installation-env/src/InstanceInstallationEnv.vue.d.ts +1 -1
- package/dist/components/instance-monitor-interval/src/InstanceMonitorInterval.vue.d.ts +1 -1
- package/dist/components/instance-name/src/InstanceName.vue.d.ts +1 -1
- package/dist/components/instance-namespace/props.d.ts +15 -0
- package/dist/components/instance-namespace/props.js +13 -0
- package/dist/components/instance-namespace/props.mjs +13 -0
- package/dist/components/instance-namespace/src/InstanceNamespace.vue.d.ts +34 -3
- package/dist/components/instance-namespace/src/InstanceNamespace.vue.js +46 -21
- package/dist/components/instance-namespace/src/InstanceNamespace.vue.mjs +47 -22
- package/dist/components/instance-namespace/src/InstanceNamespace.vue2.js +3 -1
- package/dist/components/instance-namespace/src/InstanceNamespace.vue2.mjs +5 -3
- package/dist/components/instance-password/src/InstancePassword.vue.d.ts +1 -1
- package/dist/components/instance-password/src/PasswordValid.vue.d.ts +1 -1
- package/dist/components/instance-storage-capacity/src/InstanceStorageCapacity.vue.d.ts +1 -1
- package/dist/components/instance-storage-class/src/InstanceStorageClass.vue.d.ts +1 -1
- package/dist/components/instance-username/src/InstanceUsername.vue.d.ts +1 -1
- package/dist/components/load-balancer/src/InstanceLoadBalancer.vue.d.ts +1 -1
- package/dist/components/match-expressions-editor/src/MatchExpressionsEditor.vue.d.ts +1 -1
- package/dist/components/node-affinity/src/NodeAffinity.vue.d.ts +1 -1
- package/dist/components/node-selector/src/NodeSelector.vue.d.ts +1 -1
- package/dist/components/node-selector/src/NodeSelector.vue.js +1 -1
- package/dist/components/node-selector/src/NodeSelector.vue.mjs +1 -1
- package/dist/components/object-editor/src/ObjectEditor.vue.d.ts +1 -1
- package/dist/components/object-editor/src/ObjectPoolEditor.vue.d.ts +1 -1
- package/dist/components/object-editor/src/ObjectSimpleEditor.vue.d.ts +1 -1
- package/dist/components/parameter-configuration/src/ParameterConfiguration.vue.d.ts +3 -3
- package/dist/components/parameter-configuration/src/ParameterConfiguration.vue.js +1 -0
- package/dist/components/parameter-configuration/src/ParameterConfiguration.vue.mjs +1 -0
- package/dist/components/parameter-list/src/ParameterList.vue.d.ts +1 -1
- package/dist/components/parameter-template-list/src/ParameterTemplateList.vue.d.ts +2 -2
- package/dist/components/pod-affinity/src/PodAffinity.vue.d.ts +1 -1
- package/dist/components/port-config/src/PortConfig.vue.d.ts +1 -1
- package/dist/components/port-config/src/PortConfig.vue.js +2 -2
- package/dist/components/port-config/src/PortConfig.vue.mjs +2 -2
- package/dist/components/preview-node-affinity/src/PreviewNodeAffinity.vue.d.ts +1 -1
- package/dist/components/preview-pod-affinity/src/PreviewPodAffinity.vue.d.ts +1 -1
- package/dist/components/preview-ports/src/PreviewPorts.vue.d.ts +1 -1
- package/dist/components/preview-tolerations/src/PreviewTolerations.vue.d.ts +1 -1
- package/dist/components/radio-button/src/RadioButton.vue.d.ts +1 -1
- package/dist/components/resource-config/props.d.ts +5 -0
- package/dist/components/resource-config/props.js +5 -0
- package/dist/components/resource-config/props.mjs +5 -0
- package/dist/components/resource-config/src/ResourceConfig.vue.d.ts +11 -1
- package/dist/components/resource-config/src/ResourceConfig.vue.js +28 -2
- package/dist/components/resource-config/src/ResourceConfig.vue.mjs +28 -2
- package/dist/components/resource-config/src/ResourceConfig.vue2.js +84 -28
- package/dist/components/resource-config/src/ResourceConfig.vue2.mjs +84 -28
- package/dist/components/time-picker/src/TimePicker.vue.d.ts +1 -1
- package/dist/components/tolerations/src/Tolerations.vue.d.ts +1 -1
- package/dist/dialogs/cluster-unknown-dialog/src/ClusterUnknownDialog.vue.d.ts +1 -1
- package/dist/dialogs/delete-backup-dialog/src/DeleteBackupDialog.vue.d.ts +1 -1
- package/dist/dialogs/select-labels-dialog/SelectLabelsDialog.vue.d.ts +1 -1
- package/dist/dialogs/select-taints-dialog/SelectTaintsDialog.vue.d.ts +1 -1
- package/dist/dialogs/switch-master-node-dialog/src/SwitchMasterNodeDialog.vue.d.ts +1 -1
- package/dist/dialogs/switch-workspace-dialog/src/SwitchWorkspaceDialog.vue.d.ts +1 -1
- package/dist/forms/backup-restore/props.d.ts +1 -0
- package/dist/forms/backup-restore/src/BackupRestore.vue.d.ts +4 -1
- package/dist/forms/backup-restore/src/ConfirmRestoreDialog.vue.d.ts +1 -1
- package/dist/forms/backup-setting/src/BackupSetting.vue.d.ts +1 -1
- package/dist/forms/import-parameter-template/props.d.ts +0 -1
- package/dist/forms/import-parameter-template/src/ImportParameterTemplate.vue.d.ts +1 -4
- package/dist/group-mapping.json +1 -1
- package/dist/i18n.d.ts +5 -0
- package/dist/i18n.js +14 -0
- package/dist/i18n.mjs +14 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +3 -12
- package/dist/index.mjs +1 -10
- package/dist/locales/en-US/components/InstanceNamespace.json.js +4 -1
- package/dist/locales/en-US/components/InstanceNamespace.json.mjs +4 -1
- package/dist/locales/en-US/components/ResourceConfig.json.js +7 -1
- package/dist/locales/en-US/components/ResourceConfig.json.mjs +7 -1
- package/dist/locales/zh-CN/components/InstanceNamespace.json.js +4 -1
- package/dist/locales/zh-CN/components/InstanceNamespace.json.mjs +4 -1
- package/dist/locales/zh-CN/components/ResourceConfig.json.js +7 -1
- package/dist/locales/zh-CN/components/ResourceConfig.json.mjs +7 -1
- package/dist/node_modules/@vueuse/core/index.js +56 -88
- package/dist/node_modules/@vueuse/core/index.mjs +58 -90
- package/dist/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.js +136 -0
- package/dist/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.mjs +136 -0
- package/dist/node_modules/@vueuse/shared/index.js +1 -36
- package/dist/node_modules/@vueuse/shared/index.mjs +2 -37
- package/dist/style.css +645 -620
- package/dist/styles/components/image-preview/image-preview.css +13 -19
- package/dist/styles/components/instance-cluster/instance-cluster.css +10 -4
- package/dist/styles/components/instance-namespace/instance-namespace.css +7 -1
- package/dist/styles/components/object-editor/object-editor.css +6 -0
- package/dist/styles/components/resource-config/resource-config.css +13 -0
- package/dist/styles/styles/preview-affinity.css +3 -3
- package/dist/utils/useSubForm.js +1 -1
- package/dist/utils/useSubForm.mjs +1 -1
- package/dist/validations/DefaultPassword/index.d.ts +1 -1
- package/dist/validations/DefaultPassword/index.js +4 -4
- package/dist/validations/DefaultPassword/index.mjs +1 -1
- package/dist/validations/Equal/index.d.ts +1 -1
- package/dist/validations/Equal/index.js +3 -3
- package/dist/validations/Equal/index.mjs +1 -1
- package/dist/validations/MaxResource/index.d.ts +1 -1
- package/dist/validations/MaxResource/index.js +4 -4
- package/dist/validations/MaxResource/index.mjs +1 -1
- package/dist/validations/MaybePositiveString/index.d.ts +1 -1
- package/dist/validations/MaybePositiveString/index.js +3 -3
- package/dist/validations/MaybePositiveString/index.mjs +1 -1
- package/dist/validations/MinResource/index.d.ts +1 -1
- package/dist/validations/MinResource/index.js +3 -3
- package/dist/validations/MinResource/index.mjs +1 -1
- package/dist/validations/MoreThanString/index.d.ts +1 -1
- package/dist/validations/MoreThanString/index.js +3 -3
- package/dist/validations/MoreThanString/index.mjs +1 -1
- package/dist/validations/Path/index.d.ts +1 -1
- package/dist/validations/Path/index.js +3 -3
- package/dist/validations/Path/index.mjs +1 -1
- package/dist/validations/ResourceLimit/index.d.ts +1 -1
- package/dist/validations/ResourceLimit/index.js +5 -5
- package/dist/validations/ResourceLimit/index.mjs +1 -1
- package/dist/validations/ResourceRequest/index.d.ts +1 -1
- package/dist/validations/ResourceRequest/index.js +5 -5
- package/dist/validations/ResourceRequest/index.mjs +1 -1
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.d.ts +2 -1
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.js +2 -2
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.mjs +2 -2
- package/dist/workloads/container-custom-resource/src/ContainerCustomResource.vue.d.ts +1 -1
- package/dist/workloads/container-custom-resource/src/ContainerCustomResource.vue2.js +1 -1
- package/dist/workloads/container-custom-resource/src/ContainerCustomResource.vue2.mjs +1 -1
- package/dist/workloads/container-env/src/ContainerEnv.vue.d.ts +1 -1
- package/dist/workloads/container-env/src/ContainerEnvItem.vue.d.ts +1 -1
- package/dist/workloads/container-image/src/ContainerImage.vue.d.ts +2 -2
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue.d.ts +444 -418
- package/dist/workloads/container-image/src/selects/SecretSelect.vue.d.ts +1 -1
- package/dist/workloads/container-network/src/ContainerNetwork.vue.d.ts +1 -1
- package/dist/workloads/container-network/src/GuideToUseSrIov.vue.d.ts +1 -1
- package/dist/workloads/container-security/src/ContainerSecurity.vue.d.ts +1 -1
- package/dist/workloads/container-storage/src/ContainerStorage.vue.d.ts +1 -1
- package/dist/workloads/container-storage/src/components/ContainerPvcTemplateList.vue.d.ts +1 -1
- package/dist/workloads/container-storage/src/components/PvcNodePath.vue.d.ts +208 -178
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue.d.ts +1 -1
- package/dist/workloads/container-storage/src/components/VolumeMountsByPvcTemplate.vue.d.ts +5 -10
- package/dist/workloads/container-storage/src/dialogs/BindPvcTemplateDialog.vue.d.ts +1 -1
- package/dist/workloads/container-storage/src/dialogs/BindPvcTemplateDialog.vue.js +1 -1
- package/dist/workloads/container-storage/src/dialogs/BindPvcTemplateDialog.vue.mjs +1 -1
- package/dist/workloads/container-storage/src/validations/mountPath.d.ts +1 -1
- package/dist/workloads/container-storage/src/validations/mountPath.js +3 -3
- package/dist/workloads/container-storage/src/validations/mountPath.mjs +1 -1
- package/dist/workloads/containers/src/ContainerItem.vue.d.ts +8 -7
- package/dist/workloads/containers/src/ContainerItem.vue2.js +1 -1
- package/dist/workloads/containers/src/ContainerItem.vue2.mjs +1 -1
- package/dist/workloads/containers/src/Containers.vue.d.ts +1 -17
- package/dist/workloads/containers/src/ValidateExpansionItem.vue.d.ts +1 -1
- package/dist/workloads/containers/src/dialogs/ConfirmDialog.vue.d.ts +2 -2
- package/dist/workloads/containers/src/patch-form-item-validate/form-item-validate.d.ts +1143 -1024
- package/dist/workloads/containers/src/patch-form-item-validate/form-item-validate.vue.d.ts +394 -349
- package/dist/workloads/containers/src/patch-form-item-validate/props.d.ts +193 -170
- package/dist/workloads/dns-config/src/DnsConfig.vue.d.ts +1 -1
- package/dist/workloads/health-check/src/AdvancedContainer.vue.d.ts +4 -4
- package/dist/workloads/health-check/src/HealthCheck.vue.d.ts +1 -1
- package/dist/workloads/health-check/src/HealthCheckHandler.vue.d.ts +1 -1
- package/dist/workloads/http-get-action/src/HttpGetAction.vue.d.ts +1 -1
- package/dist/workloads/job-config/src/JobConfig.vue.d.ts +1 -1
- package/dist/workloads/life-cycle/src/FormGroupTitle.vue.d.ts +1 -1
- package/dist/workloads/life-cycle/src/LifeCycle.vue.d.ts +1 -1
- package/dist/workloads/life-cycle/src/LifeCycleHandler.vue.d.ts +1 -1
- package/dist/workloads/schedule-config/src/ScheduleConfig.vue.d.ts +1 -1
- package/dist/workloads/upgrade-strategy/src/UpgradeStrategy.vue.d.ts +1 -1
- package/dist/workloads/upgrade-strategy/src/components/UnitPercentSelect.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/WorkloadAdvanced.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/AffinityConfig.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/JobConfig.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/LabelsAndAnnotations.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/NetworkConfig.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/NetworkConfig.vue.js +2 -2
- package/dist/workloads/workload-advanced/src/tabs/NetworkConfig.vue.mjs +3 -3
- package/dist/workloads/workload-advanced/src/tabs/PodManagement.vue.d.ts +1 -1
- package/dist/workloads/workload-advanced/src/tabs/PodManagement.vue.js +1 -1
- package/dist/workloads/workload-advanced/src/tabs/PodManagement.vue.mjs +1 -1
- package/dist/workloads/workload-advanced/src/tabs/UpgradeStrategy.vue.d.ts +1 -1
- package/dist/workloads/workload-annotation-input/src/WorkloadAnnotationInput.vue.d.ts +1 -1
- package/dist/workloads/workload-annotations/src/WorkloadAnnotations.vue.d.ts +1 -1
- package/dist/workloads/workload-labels/src/WorkloadLabels.vue.d.ts +1 -1
- package/dist/workloads/workload-logs/src/InsightMessage.vue.d.ts +1 -1
- package/dist/workloads/workload-logs/src/LogEmpty.vue.d.ts +1 -1
- package/dist/workloads/workload-logs/src/WorkloadLogs.vue.d.ts +1 -1
- package/package.json +10 -12
|
@@ -70,28 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
formWidth: string;
|
|
71
71
|
sortable: boolean;
|
|
72
72
|
numbered: boolean;
|
|
73
|
-
}> & Omit<{
|
|
74
|
-
readonly modelValue: import("@dao-style/extend").MultiRowEditorRow[];
|
|
75
|
-
readonly showLabel: boolean;
|
|
76
|
-
readonly validator: MultiRowEditorValidator;
|
|
77
|
-
readonly limit: number;
|
|
78
|
-
readonly min: number;
|
|
79
|
-
readonly editable: boolean;
|
|
80
|
-
readonly sortable: boolean;
|
|
81
|
-
readonly numbered: boolean;
|
|
82
|
-
readonly addDisabled?: boolean | MultiRowEditorValidator | undefined;
|
|
83
|
-
readonly columns?: MultiRowEditorColumn[] | undefined;
|
|
84
|
-
readonly addText?: string | undefined;
|
|
85
|
-
readonly unremovableRow?: import("@dao-style/extend").MultiRowEditorUnremovableRow | undefined;
|
|
86
|
-
readonly formWidth?: string | undefined;
|
|
87
|
-
readonly helper?: string | undefined;
|
|
88
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
onValid?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
onRemove?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
onExceed?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
95
74
|
modelValue: {
|
|
96
75
|
type: import("vue").PropType<import("@dao-style/extend").MultiRowEditorRow[]>;
|
|
97
76
|
default: () => never[];
|
|
@@ -155,7 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
134
|
onAdd?: ((...args: any[]) => any) | undefined;
|
|
156
135
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
157
136
|
onExceed?: ((...args: any[]) => any) | undefined;
|
|
158
|
-
}, "modelValue" | "showLabel" | "addDisabled" | "validator" | "columns" | "addText" | "limit" | "min" | "unremovableRow" | "formWidth" | "editable" | "helper" | "sortable" | "numbered">;
|
|
137
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "showLabel" | "addDisabled" | "validator" | "columns" | "addText" | "limit" | "min" | "unremovableRow" | "formWidth" | "editable" | "helper" | "sortable" | "numbered">;
|
|
159
138
|
$attrs: {
|
|
160
139
|
[x: string]: unknown;
|
|
161
140
|
};
|
|
@@ -163,10 +142,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
163
142
|
[x: string]: unknown;
|
|
164
143
|
};
|
|
165
144
|
$slots: Readonly<{
|
|
166
|
-
[name: string]: import("vue").Slot
|
|
145
|
+
[name: string]: import("vue").Slot | undefined;
|
|
167
146
|
}>;
|
|
168
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
169
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string
|
|
147
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
148
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
170
149
|
$emit: (event: "update:modelValue" | "add" | "remove" | "change" | "valid" | "exceed", ...args: any[]) => void;
|
|
171
150
|
$el: any;
|
|
172
151
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -284,27 +263,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
284
263
|
formWidth: string;
|
|
285
264
|
sortable: boolean;
|
|
286
265
|
numbered: boolean;
|
|
287
|
-
}, {}, string
|
|
288
|
-
beforeCreate?: ((
|
|
289
|
-
created?: ((
|
|
290
|
-
beforeMount?: ((
|
|
291
|
-
mounted?: ((
|
|
292
|
-
beforeUpdate?: ((
|
|
293
|
-
updated?: ((
|
|
294
|
-
activated?: ((
|
|
295
|
-
deactivated?: ((
|
|
296
|
-
beforeDestroy?: ((
|
|
297
|
-
beforeUnmount?: ((
|
|
298
|
-
destroyed?: ((
|
|
299
|
-
unmounted?: ((
|
|
300
|
-
renderTracked?: ((
|
|
301
|
-
renderTriggered?: ((
|
|
302
|
-
errorCaptured?: ((
|
|
266
|
+
}, {}, string> & {
|
|
267
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
268
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
269
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
270
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
271
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
272
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
273
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
274
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
275
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
276
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
277
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
278
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
279
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
280
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
281
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[] | undefined;
|
|
303
282
|
};
|
|
304
283
|
$forceUpdate: () => void;
|
|
305
284
|
$nextTick: typeof import("vue").nextTick;
|
|
306
285
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
307
|
-
} &
|
|
286
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
308
287
|
modelValue: {
|
|
309
288
|
type: import("vue").PropType<import("@dao-style/extend").MultiRowEditorRow[]>;
|
|
310
289
|
default: () => never[];
|
|
@@ -368,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
368
347
|
onAdd?: ((...args: any[]) => any) | undefined;
|
|
369
348
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
370
349
|
onExceed?: ((...args: any[]) => any) | undefined;
|
|
371
|
-
}
|
|
350
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
372
351
|
ns: string;
|
|
373
352
|
t: import("vue-i18n").ComposerTranslation<{
|
|
374
353
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -404,7 +383,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
383
|
change: () => void;
|
|
405
384
|
moveUpAt: (index: number) => void;
|
|
406
385
|
moveDownAt: (index: number) => void;
|
|
407
|
-
}> &
|
|
386
|
+
}> & import("vue").ComponentCustomProperties & {
|
|
408
387
|
$slots: {
|
|
409
388
|
footer: import("@dao-style/core").ParamsSlotFn<import("@dao-style/extend").MultiRowEditorSlotHandlers>;
|
|
410
389
|
'footer-right': import("@dao-style/core").ParamsSlotFn<import("@dao-style/extend").MultiRowEditorSlotHandlers>;
|
|
@@ -486,5 +465,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
486
465
|
unique: boolean;
|
|
487
466
|
width: string;
|
|
488
467
|
extraValidator: import("../props").ArrayEditorValidator;
|
|
489
|
-
}
|
|
468
|
+
}>;
|
|
490
469
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -4,88 +4,126 @@ type isUnknown<T> = any extends T ? true : false;
|
|
|
4
4
|
type isBoolean<T> = boolean extends T ? true : false;
|
|
5
5
|
type ParseToAny<T> = isBoolean<isUnknown<T>> extends true ? T : any;
|
|
6
6
|
declare const DaoFormBlock: {
|
|
7
|
-
new (...args: any[]):
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
type:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
type
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
$: import("vue").ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: Partial<{
|
|
11
|
+
modelValue: any[];
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
type: "solid" | "dashed";
|
|
14
|
+
addDisabled: boolean;
|
|
15
|
+
addText: string;
|
|
16
|
+
unremovableRow: (item: unknown) => boolean;
|
|
17
|
+
formWidth: string;
|
|
18
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: import("vue").PropType<any[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
formWidth: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
type: {
|
|
28
|
+
type: import("vue").PropType<"solid" | "dashed">;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
addText: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
unremovableRow: {
|
|
36
|
+
type: import("vue").PropType<(item: unknown) => boolean>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
addDisabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
readonly: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "readonly" | "type" | "addDisabled" | "addText" | "unremovableRow" | "formWidth">;
|
|
51
|
+
$attrs: {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
$refs: {
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
};
|
|
57
|
+
$slots: Readonly<{
|
|
58
|
+
[name: string]: import("vue").Slot | undefined;
|
|
59
|
+
}>;
|
|
60
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
61
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
62
|
+
$emit: (event: "add" | "remove", ...args: any[]) => void;
|
|
63
|
+
$el: any;
|
|
64
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: import("vue").PropType<any[]>;
|
|
67
|
+
default: () => never[];
|
|
68
|
+
};
|
|
69
|
+
formWidth: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
type: {
|
|
74
|
+
type: import("vue").PropType<"solid" | "dashed">;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
addText: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
unremovableRow: {
|
|
82
|
+
type: import("vue").PropType<(item: unknown) => boolean>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
addDisabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
readonly: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
}>> & {
|
|
94
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
classList: import("vue").ComputedRef<string[]>;
|
|
98
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "remove")[], string, {
|
|
99
|
+
modelValue: any[];
|
|
100
|
+
readonly: boolean;
|
|
101
|
+
type: "solid" | "dashed";
|
|
102
|
+
addDisabled: boolean;
|
|
103
|
+
addText: string;
|
|
104
|
+
unremovableRow: (item: unknown) => boolean;
|
|
105
|
+
formWidth: string;
|
|
106
|
+
}, {}, string> & {
|
|
107
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
108
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
109
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
110
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
111
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
112
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
113
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
120
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
121
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
122
|
+
};
|
|
123
|
+
$forceUpdate: () => void;
|
|
124
|
+
$nextTick: typeof import("vue").nextTick;
|
|
125
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
126
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
89
127
|
modelValue: {
|
|
90
128
|
type: import("vue").PropType<any[]>;
|
|
91
129
|
default: () => never[];
|
|
@@ -117,17 +155,9 @@ declare const DaoFormBlock: {
|
|
|
117
155
|
}>> & {
|
|
118
156
|
onAdd?: ((...args: any[]) => any) | undefined;
|
|
119
157
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
120
|
-
}
|
|
158
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
121
159
|
classList: import("vue").ComputedRef<string[]>;
|
|
122
|
-
}
|
|
123
|
-
modelValue: any[];
|
|
124
|
-
readonly: boolean;
|
|
125
|
-
type: "solid" | "dashed";
|
|
126
|
-
addDisabled: boolean;
|
|
127
|
-
addText: string;
|
|
128
|
-
unremovableRow: (item: unknown) => boolean;
|
|
129
|
-
formWidth: string;
|
|
130
|
-
}>;
|
|
160
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
131
161
|
__isFragment?: undefined;
|
|
132
162
|
__isTeleport?: undefined;
|
|
133
163
|
__isSuspense?: undefined;
|
|
@@ -173,8 +203,8 @@ declare const DaoFormBlock: {
|
|
|
173
203
|
addText: string;
|
|
174
204
|
unremovableRow: (item: unknown) => boolean;
|
|
175
205
|
formWidth: string;
|
|
176
|
-
}, {}, string
|
|
177
|
-
modelValue?:
|
|
206
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <T_1>(props: {
|
|
207
|
+
modelValue?: T_1[] | undefined;
|
|
178
208
|
}) => {
|
|
179
209
|
$props: Partial<{
|
|
180
210
|
modelValue: any[];
|
|
@@ -186,11 +216,11 @@ declare const DaoFormBlock: {
|
|
|
186
216
|
addText?: string | undefined;
|
|
187
217
|
unremovableRow?: ((item: unknown) => boolean) | undefined;
|
|
188
218
|
} & {
|
|
189
|
-
modelValue?:
|
|
219
|
+
modelValue?: T_1[] | undefined;
|
|
190
220
|
}>;
|
|
191
221
|
$slots: {
|
|
192
222
|
default: ParamsSlotFn<{
|
|
193
|
-
item: ParseToAny<
|
|
223
|
+
item: ParseToAny<T_1>;
|
|
194
224
|
index: number;
|
|
195
225
|
}>;
|
|
196
226
|
footer: SlotFn;
|