@dao-style/biz 0.5.0 → 0.6.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 +4 -0
- package/dist/components/iframe/src/Iframe.vue.d.ts +1 -1
- package/dist/components/instance-cluster/src/InstanceCluster.vue.d.ts +9 -9
- package/dist/components/instance-namespace/src/InstanceNamespace.vue.d.ts +9 -9
- package/dist/components/instance-storage-class/src/InstanceStorageClass.vue.d.ts +9 -9
- 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/port-config/props.d.ts +4 -0
- package/dist/components/port-config/props.js +4 -0
- package/dist/components/port-config/props.mjs +4 -0
- package/dist/components/port-config/src/PortConfig.vue.d.ts +9 -0
- package/dist/components/port-config/src/PortConfig.vue.js +4 -2
- package/dist/components/port-config/src/PortConfig.vue.mjs +4 -2
- package/dist/components/remote-component/src/RemoteComponent.vue.d.ts +2 -1
- package/dist/components/remote-component/src/RemoteComponent.vue.js +4 -3
- package/dist/components/remote-component/src/RemoteComponent.vue.mjs +5 -4
- package/dist/components/remote-component/src/RemoteComponent.vue2.js +3 -2
- package/dist/components/remote-component/src/RemoteComponent.vue2.mjs +3 -2
- package/dist/components/time-picker/src/TimePicker.vue.d.ts +1 -1
- package/dist/forms/import-parameter-template/props.d.ts +11 -11
- package/dist/forms/import-parameter-template/src/ImportParameterTemplate.vue.d.ts +33 -33
- package/dist/group-mapping.json +1 -1
- package/dist/index.js +27 -24
- package/dist/index.mjs +4 -2
- package/dist/locales/en-US/workloads/ContainerImage.json.js +2 -1
- package/dist/locales/en-US/workloads/ContainerImage.json.mjs +2 -1
- package/dist/locales/en-US/workloads/WorkloadLogs.json.js +4 -1
- package/dist/locales/en-US/workloads/WorkloadLogs.json.mjs +4 -1
- package/dist/locales/index.d.ts +1 -0
- package/dist/locales/ja/common.json.js +39 -0
- package/dist/locales/ja/common.json.mjs +39 -0
- package/dist/locales/ja/components/AccessType.json.js +29 -0
- package/dist/locales/ja/components/AccessType.json.mjs +29 -0
- package/dist/locales/ja/components/ArrayEditor.json.js +11 -0
- package/dist/locales/ja/components/ArrayEditor.json.mjs +11 -0
- package/dist/locales/ja/components/CloudShellGroup.json.js +20 -0
- package/dist/locales/ja/components/CloudShellGroup.json.mjs +20 -0
- package/dist/locales/ja/components/ClusterUnknownMessage.json.js +11 -0
- package/dist/locales/ja/components/ClusterUnknownMessage.json.mjs +11 -0
- package/dist/locales/ja/components/FormBlock.json.js +8 -0
- package/dist/locales/ja/components/FormBlock.json.mjs +8 -0
- package/dist/locales/ja/components/Gpu.json.js +109 -0
- package/dist/locales/ja/components/Gpu.json.mjs +109 -0
- package/dist/locales/ja/components/InstanceCluster.json.js +8 -0
- package/dist/locales/ja/components/InstanceCluster.json.mjs +8 -0
- package/dist/locales/ja/components/InstanceDescription.json.js +14 -0
- package/dist/locales/ja/components/InstanceDescription.json.mjs +14 -0
- package/dist/locales/ja/components/InstanceInstallationEnv.json.js +38 -0
- package/dist/locales/ja/components/InstanceInstallationEnv.json.mjs +38 -0
- package/dist/locales/ja/components/InstanceLoadBalancer.json.js +32 -0
- package/dist/locales/ja/components/InstanceLoadBalancer.json.mjs +32 -0
- package/dist/locales/ja/components/InstanceMonitorInterval.json.js +14 -0
- package/dist/locales/ja/components/InstanceMonitorInterval.json.mjs +14 -0
- package/dist/locales/ja/components/InstanceName.json.js +11 -0
- package/dist/locales/ja/components/InstanceName.json.mjs +11 -0
- package/dist/locales/ja/components/InstanceNamespace.json.js +11 -0
- package/dist/locales/ja/components/InstanceNamespace.json.mjs +11 -0
- package/dist/locales/ja/components/InstancePassword.json.js +17 -0
- package/dist/locales/ja/components/InstancePassword.json.mjs +17 -0
- package/dist/locales/ja/components/InstanceStorageCapacity.json.js +8 -0
- package/dist/locales/ja/components/InstanceStorageCapacity.json.mjs +8 -0
- package/dist/locales/ja/components/InstanceStorageClass.json.js +11 -0
- package/dist/locales/ja/components/InstanceStorageClass.json.mjs +11 -0
- package/dist/locales/ja/components/InstanceUsername.json.js +14 -0
- package/dist/locales/ja/components/InstanceUsername.json.mjs +14 -0
- package/dist/locales/ja/components/MatchExpressionsEditor.json.js +24 -0
- package/dist/locales/ja/components/MatchExpressionsEditor.json.mjs +24 -0
- package/dist/locales/ja/components/NetworkConfig.json.js +14 -0
- package/dist/locales/ja/components/NetworkConfig.json.mjs +14 -0
- package/dist/locales/ja/components/NodeAffinity.json.js +35 -0
- package/dist/locales/ja/components/NodeAffinity.json.mjs +35 -0
- package/dist/locales/ja/components/NodeSelector.json.js +17 -0
- package/dist/locales/ja/components/NodeSelector.json.mjs +17 -0
- package/dist/locales/ja/components/ObjectEditor.json.js +17 -0
- package/dist/locales/ja/components/ObjectEditor.json.mjs +17 -0
- package/dist/locales/ja/components/ParameterConfiguration.json.js +28 -0
- package/dist/locales/ja/components/ParameterConfiguration.json.mjs +28 -0
- package/dist/locales/ja/components/ParameterList.json.js +27 -0
- package/dist/locales/ja/components/ParameterList.json.mjs +27 -0
- package/dist/locales/ja/components/ParameterTemplateList.json.js +29 -0
- package/dist/locales/ja/components/ParameterTemplateList.json.mjs +29 -0
- package/dist/locales/ja/components/PodAffinity.json.js +53 -0
- package/dist/locales/ja/components/PodAffinity.json.mjs +53 -0
- package/dist/locales/ja/components/PortConfig.json.js +32 -0
- package/dist/locales/ja/components/PortConfig.json.mjs +32 -0
- package/dist/locales/ja/components/PreviewNodeAffinity.json.js +35 -0
- package/dist/locales/ja/components/PreviewNodeAffinity.json.mjs +35 -0
- package/dist/locales/ja/components/PreviewPodAffinity.json.js +38 -0
- package/dist/locales/ja/components/PreviewPodAffinity.json.mjs +38 -0
- package/dist/locales/ja/components/PreviewPorts.json.js +17 -0
- package/dist/locales/ja/components/PreviewPorts.json.mjs +17 -0
- package/dist/locales/ja/components/PreviewTolerations.json.js +20 -0
- package/dist/locales/ja/components/PreviewTolerations.json.mjs +20 -0
- package/dist/locales/ja/components/ResourceConfig.json.js +32 -0
- package/dist/locales/ja/components/ResourceConfig.json.mjs +32 -0
- package/dist/locales/ja/components/TimePicker.json.js +43 -0
- package/dist/locales/ja/components/TimePicker.json.mjs +43 -0
- package/dist/locales/ja/components/Tolerations.json.js +20 -0
- package/dist/locales/ja/components/Tolerations.json.mjs +20 -0
- package/dist/locales/ja/dialogs/ClusterUnknownDialog.json.js +11 -0
- package/dist/locales/ja/dialogs/ClusterUnknownDialog.json.mjs +11 -0
- package/dist/locales/ja/dialogs/CreateNetworkConfigDialog.json.js +8 -0
- package/dist/locales/ja/dialogs/CreateNetworkConfigDialog.json.mjs +8 -0
- package/dist/locales/ja/dialogs/DeleteBackupDialog.json.js +22 -0
- package/dist/locales/ja/dialogs/DeleteBackupDialog.json.mjs +22 -0
- package/dist/locales/ja/dialogs/SelectLabelsDialog.json.js +11 -0
- package/dist/locales/ja/dialogs/SelectLabelsDialog.json.mjs +11 -0
- package/dist/locales/ja/dialogs/SelectTaintsDialog.json.js +20 -0
- package/dist/locales/ja/dialogs/SelectTaintsDialog.json.mjs +20 -0
- package/dist/locales/ja/dialogs/SwitchMasterNodeDialog.json.js +35 -0
- package/dist/locales/ja/dialogs/SwitchMasterNodeDialog.json.mjs +35 -0
- package/dist/locales/ja/dialogs/SwitchWorkspaceDialog.json.js +15 -0
- package/dist/locales/ja/dialogs/SwitchWorkspaceDialog.json.mjs +15 -0
- package/dist/locales/ja/dialogs/UpdateNetworkConfigDialog.json.js +8 -0
- package/dist/locales/ja/dialogs/UpdateNetworkConfigDialog.json.mjs +8 -0
- package/dist/locales/ja/forms/BackupRestore.json.js +55 -0
- package/dist/locales/ja/forms/BackupRestore.json.mjs +55 -0
- package/dist/locales/ja/forms/BackupSetting.json.js +56 -0
- package/dist/locales/ja/forms/BackupSetting.json.mjs +56 -0
- package/dist/locales/ja/forms/ImportParameterTemplate.json.js +29 -0
- package/dist/locales/ja/forms/ImportParameterTemplate.json.mjs +29 -0
- package/dist/locales/ja/index.d.ts +4 -0
- package/dist/locales/ja/index.js +150 -0
- package/dist/locales/ja/index.mjs +149 -0
- package/dist/locales/ja/utils/multiRowEditorValidate.json.js +8 -0
- package/dist/locales/ja/utils/multiRowEditorValidate.json.mjs +8 -0
- package/dist/locales/ja/validate.json.js +32 -0
- package/dist/locales/ja/validate.json.mjs +32 -0
- package/dist/locales/ja/workloads/ContainerBasicInfo.json.js +35 -0
- package/dist/locales/ja/workloads/ContainerBasicInfo.json.mjs +35 -0
- package/dist/locales/ja/workloads/ContainerCustomResource.json.js +17 -0
- package/dist/locales/ja/workloads/ContainerCustomResource.json.mjs +17 -0
- package/dist/locales/ja/workloads/ContainerEnv.json.js +56 -0
- package/dist/locales/ja/workloads/ContainerEnv.json.mjs +56 -0
- package/dist/locales/ja/workloads/ContainerImage.json.js +44 -0
- package/dist/locales/ja/workloads/ContainerImage.json.mjs +44 -0
- package/dist/locales/ja/workloads/ContainerNetwork.json.js +52 -0
- package/dist/locales/ja/workloads/ContainerNetwork.json.mjs +52 -0
- package/dist/locales/ja/workloads/ContainerSecurity.json.js +14 -0
- package/dist/locales/ja/workloads/ContainerSecurity.json.mjs +14 -0
- package/dist/locales/ja/workloads/ContainerStorage.json.js +154 -0
- package/dist/locales/ja/workloads/ContainerStorage.json.mjs +154 -0
- package/dist/locales/ja/workloads/Containers.json.js +27 -0
- package/dist/locales/ja/workloads/Containers.json.mjs +27 -0
- package/dist/locales/ja/workloads/DnsConfig.json.js +50 -0
- package/dist/locales/ja/workloads/DnsConfig.json.mjs +50 -0
- package/dist/locales/ja/workloads/HealthCheck.json.js +49 -0
- package/dist/locales/ja/workloads/HealthCheck.json.mjs +49 -0
- package/dist/locales/ja/workloads/HttpGetAction.json.js +20 -0
- package/dist/locales/ja/workloads/HttpGetAction.json.mjs +20 -0
- package/dist/locales/ja/workloads/JobConfig.json.js +36 -0
- package/dist/locales/ja/workloads/JobConfig.json.mjs +36 -0
- package/dist/locales/ja/workloads/LifeCycle.json.js +44 -0
- package/dist/locales/ja/workloads/LifeCycle.json.mjs +44 -0
- package/dist/locales/ja/workloads/ScheduleConfig.json.js +23 -0
- package/dist/locales/ja/workloads/ScheduleConfig.json.mjs +23 -0
- package/dist/locales/ja/workloads/UpgradeStrategy.json.js +62 -0
- package/dist/locales/ja/workloads/UpgradeStrategy.json.mjs +62 -0
- package/dist/locales/ja/workloads/WorkloadAdvanced.json.js +23 -0
- package/dist/locales/ja/workloads/WorkloadAdvanced.json.mjs +23 -0
- package/dist/locales/ja/workloads/WorkloadAnnotationInput.json.js +8 -0
- package/dist/locales/ja/workloads/WorkloadAnnotationInput.json.mjs +8 -0
- package/dist/locales/ja/workloads/WorkloadAnnotations.json.js +14 -0
- package/dist/locales/ja/workloads/WorkloadAnnotations.json.mjs +14 -0
- package/dist/locales/ja/workloads/WorkloadLabels.json.js +14 -0
- package/dist/locales/ja/workloads/WorkloadLabels.json.mjs +14 -0
- package/dist/locales/ja/workloads/WorkloadLogs.json.js +41 -0
- package/dist/locales/ja/workloads/WorkloadLogs.json.mjs +41 -0
- package/dist/locales/ja/workloads/workload-advanced/JobConfig.json.js +3 -0
- package/dist/locales/ja/workloads/workload-advanced/JobConfig.json.mjs +4 -0
- package/dist/locales/ja/workloads/workload-advanced/NetworkConfig.json.js +20 -0
- package/dist/locales/ja/workloads/workload-advanced/NetworkConfig.json.mjs +20 -0
- package/dist/locales/ja/workloads/workload-advanced/PodManagement.json.js +20 -0
- package/dist/locales/ja/workloads/workload-advanced/PodManagement.json.mjs +20 -0
- package/dist/locales/zh-CN/workloads/ContainerImage.json.js +2 -1
- package/dist/locales/zh-CN/workloads/ContainerImage.json.mjs +2 -1
- package/dist/node_modules/@vueuse/core/index.js +90 -56
- package/dist/node_modules/@vueuse/core/index.mjs +92 -58
- package/dist/node_modules/@vueuse/shared/index.js +82 -1
- package/dist/node_modules/@vueuse/shared/index.mjs +83 -2
- package/dist/style.css +608 -592
- package/dist/styles/dialogs/switch-workspace-dialog/switch-workspace-dialog.css +3 -0
- package/dist/styles/workloads/container-image/select-image-dialog.css +13 -0
- package/dist/utils/loadRemoteComponent.d.ts +1 -0
- package/dist/utils/loadRemoteComponent.js +80 -15
- package/dist/utils/loadRemoteComponent.mjs +80 -16
- package/dist/utils/useSubForm.js +1 -1
- package/dist/utils/useSubForm.mjs +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-image/props.d.ts +8 -0
- package/dist/workloads/container-image/props.js +4 -0
- package/dist/workloads/container-image/props.mjs +4 -0
- package/dist/workloads/container-image/src/ContainerImage.vue.d.ts +9 -0
- package/dist/workloads/container-image/src/ContainerImage.vue2.js +112 -26
- package/dist/workloads/container-image/src/ContainerImage.vue2.mjs +114 -28
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue.d.ts +4 -4
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue.js +25 -5
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue.mjs +26 -6
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue2.js +12 -5
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue2.mjs +13 -6
- package/dist/workloads/container-storage/src/components/PvcNodePath.vue.d.ts +5 -22
- package/dist/workloads/container-storage/src/components/PvcNodePath.vue2.js +123 -60
- package/dist/workloads/container-storage/src/components/PvcNodePath.vue2.mjs +124 -61
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue.d.ts +1 -2
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue.js +4 -5
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue.mjs +4 -5
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue2.js +12 -7
- package/dist/workloads/container-storage/src/components/PvcNodePathItem.vue2.mjs +12 -7
- package/dist/workloads/containers/demo/data.d.ts +10 -2
- package/dist/workloads/containers/src/ContainerItem.vue.d.ts +1 -0
- 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 -0
- package/dist/workloads/containers/src/Containers.vue2.js +3 -1
- package/dist/workloads/containers/src/Containers.vue2.mjs +3 -1
- package/dist/workloads/containers/src/dialogs/ConfirmDialog.vue.d.ts +3 -3
- package/dist/workloads/containers/src/patch-form-item-validate/form-item-validate.d.ts +30 -30
- package/dist/workloads/containers/src/patch-form-item-validate/form-item-validate.vue.d.ts +13 -13
- package/dist/workloads/containers/src/patch-form-item-validate/props.d.ts +5 -5
- package/dist/workloads/health-check/src/AdvancedContainer.vue.d.ts +3 -3
- package/package.json +3 -3
- package/dist/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.js +0 -136
- package/dist/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.mjs +0 -136
|
@@ -75,7 +75,7 @@ export declare const formItemValidateProps: {
|
|
|
75
75
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onAfter-reset"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "type" | "
|
|
78
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "type" | "block" | "disabled" | "size" | "status" | "borderless" | "append" | "prepend">;
|
|
79
79
|
$attrs: {
|
|
80
80
|
[x: string]: unknown;
|
|
81
81
|
};
|
|
@@ -87,7 +87,7 @@ export declare const formItemValidateProps: {
|
|
|
87
87
|
}>;
|
|
88
88
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
89
89
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
90
|
-
$emit: (event: "update:modelValue" | "input" | "
|
|
90
|
+
$emit: (event: "update:modelValue" | "input" | "change" | "focus" | "blur" | "after-reset", ...args: any[]) => void;
|
|
91
91
|
$el: any;
|
|
92
92
|
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
93
93
|
modelValue: {
|
|
@@ -169,7 +169,7 @@ export declare const formItemValidateProps: {
|
|
|
169
169
|
inputType: import("vue").ComputedRef<import("@dao-style/core").InputType>;
|
|
170
170
|
passwordIcon: import("vue").ComputedRef<"icon-eye-slash" | "icon-eye">;
|
|
171
171
|
toggleShowPassword: () => void;
|
|
172
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input" | "
|
|
172
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input" | "change" | "focus" | "blur" | "after-reset")[], string, {
|
|
173
173
|
type: import("@dao-style/core").InputType;
|
|
174
174
|
modelValue: import("@dao-style/core").ModalValueType;
|
|
175
175
|
disabled: boolean;
|
|
@@ -363,7 +363,7 @@ export declare const formItemValidateProps: {
|
|
|
363
363
|
inputType: import("vue").ComputedRef<import("@dao-style/core").InputType>;
|
|
364
364
|
passwordIcon: import("vue").ComputedRef<"icon-eye-slash" | "icon-eye">;
|
|
365
365
|
toggleShowPassword: () => void;
|
|
366
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input" | "
|
|
366
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "input" | "change" | "focus" | "blur" | "after-reset")[], "update:modelValue" | "input" | "change" | "focus" | "blur" | "after-reset", {
|
|
367
367
|
type: import("@dao-style/core").InputType;
|
|
368
368
|
modelValue: import("@dao-style/core").ModalValueType;
|
|
369
369
|
disabled: boolean;
|
|
@@ -452,7 +452,7 @@ export declare const formItemValidateProps: {
|
|
|
452
452
|
default: undefined;
|
|
453
453
|
};
|
|
454
454
|
type: {
|
|
455
|
-
type: PropType<"
|
|
455
|
+
type: PropType<"horizontal" | "vertical">;
|
|
456
456
|
default: undefined;
|
|
457
457
|
};
|
|
458
458
|
};
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
12
|
level: {
|
|
13
|
-
type: PropType<"3rd" | "
|
|
13
|
+
type: PropType<"3rd" | "1st" | "2nd">;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
}, {
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
level: {
|
|
29
|
-
type: PropType<"3rd" | "
|
|
29
|
+
type: PropType<"3rd" | "1st" | "2nd">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
}>> & {
|
|
@@ -34,6 +34,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
}, {
|
|
35
35
|
modelValue: boolean;
|
|
36
36
|
title: string;
|
|
37
|
-
level: "3rd" | "
|
|
37
|
+
level: "3rd" | "1st" | "2nd";
|
|
38
38
|
}>;
|
|
39
39
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dao-style/biz",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"dist/cjs/**/*.js",
|
|
7
7
|
"dist/es/**/*.mjs",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@commitlint/cli": "^17.5.1",
|
|
40
40
|
"@commitlint/config-conventional": "^17.4.4",
|
|
41
41
|
"@commitlint/cz-commitlint": "^17.5.0",
|
|
42
|
-
"@dao-style/core": "^1.
|
|
43
|
-
"@dao-style/extend": "^1.
|
|
42
|
+
"@dao-style/core": "^1.34.0",
|
|
43
|
+
"@dao-style/extend": "^1.26.0",
|
|
44
44
|
"@dao-style/unplugin-extend": "^0.0.8",
|
|
45
45
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
46
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
var _a;
|
|
5
|
-
const isClient = typeof window !== "undefined";
|
|
6
|
-
const isDef = (val) => typeof val !== "undefined";
|
|
7
|
-
const isFunction = (val) => typeof val === "function";
|
|
8
|
-
const isString = (val) => typeof val === "string";
|
|
9
|
-
const noop = () => {
|
|
10
|
-
};
|
|
11
|
-
isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
12
|
-
function resolveUnref(r) {
|
|
13
|
-
return typeof r === "function" ? r() : vue.unref(r);
|
|
14
|
-
}
|
|
15
|
-
function createFilterWrapper(filter, fn) {
|
|
16
|
-
function wrapper(...args) {
|
|
17
|
-
filter(() => fn.apply(this, args), { fn, thisArg: this, args });
|
|
18
|
-
}
|
|
19
|
-
return wrapper;
|
|
20
|
-
}
|
|
21
|
-
const bypassFilter = (invoke) => {
|
|
22
|
-
return invoke();
|
|
23
|
-
};
|
|
24
|
-
function pausableFilter(extendFilter = bypassFilter) {
|
|
25
|
-
const isActive = vue.ref(true);
|
|
26
|
-
function pause() {
|
|
27
|
-
isActive.value = false;
|
|
28
|
-
}
|
|
29
|
-
function resume() {
|
|
30
|
-
isActive.value = true;
|
|
31
|
-
}
|
|
32
|
-
const eventFilter = (...args) => {
|
|
33
|
-
if (isActive.value)
|
|
34
|
-
extendFilter(...args);
|
|
35
|
-
};
|
|
36
|
-
return { isActive, pause, resume, eventFilter };
|
|
37
|
-
}
|
|
38
|
-
function identity(arg) {
|
|
39
|
-
return arg;
|
|
40
|
-
}
|
|
41
|
-
function tryOnScopeDispose(fn) {
|
|
42
|
-
if (vue.getCurrentScope()) {
|
|
43
|
-
vue.onScopeDispose(fn);
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
function tryOnMounted(fn, sync = true) {
|
|
49
|
-
if (vue.getCurrentInstance())
|
|
50
|
-
vue.onMounted(fn);
|
|
51
|
-
else if (sync)
|
|
52
|
-
fn();
|
|
53
|
-
else
|
|
54
|
-
vue.nextTick(fn);
|
|
55
|
-
}
|
|
56
|
-
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
57
|
-
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
58
|
-
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
59
|
-
var __objRest$5 = (source, exclude) => {
|
|
60
|
-
var target = {};
|
|
61
|
-
for (var prop in source)
|
|
62
|
-
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
63
|
-
target[prop] = source[prop];
|
|
64
|
-
if (source != null && __getOwnPropSymbols$6)
|
|
65
|
-
for (var prop of __getOwnPropSymbols$6(source)) {
|
|
66
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
|
|
67
|
-
target[prop] = source[prop];
|
|
68
|
-
}
|
|
69
|
-
return target;
|
|
70
|
-
};
|
|
71
|
-
function watchWithFilter(source, cb, options = {}) {
|
|
72
|
-
const _a2 = options, {
|
|
73
|
-
eventFilter = bypassFilter
|
|
74
|
-
} = _a2, watchOptions = __objRest$5(_a2, [
|
|
75
|
-
"eventFilter"
|
|
76
|
-
]);
|
|
77
|
-
return vue.watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
78
|
-
}
|
|
79
|
-
var __defProp$2 = Object.defineProperty;
|
|
80
|
-
var __defProps$2 = Object.defineProperties;
|
|
81
|
-
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
82
|
-
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
83
|
-
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
84
|
-
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
85
|
-
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
86
|
-
var __spreadValues$2 = (a, b) => {
|
|
87
|
-
for (var prop in b || (b = {}))
|
|
88
|
-
if (__hasOwnProp$2.call(b, prop))
|
|
89
|
-
__defNormalProp$2(a, prop, b[prop]);
|
|
90
|
-
if (__getOwnPropSymbols$2)
|
|
91
|
-
for (var prop of __getOwnPropSymbols$2(b)) {
|
|
92
|
-
if (__propIsEnum$2.call(b, prop))
|
|
93
|
-
__defNormalProp$2(a, prop, b[prop]);
|
|
94
|
-
}
|
|
95
|
-
return a;
|
|
96
|
-
};
|
|
97
|
-
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
98
|
-
var __objRest$1 = (source, exclude) => {
|
|
99
|
-
var target = {};
|
|
100
|
-
for (var prop in source)
|
|
101
|
-
if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
102
|
-
target[prop] = source[prop];
|
|
103
|
-
if (source != null && __getOwnPropSymbols$2)
|
|
104
|
-
for (var prop of __getOwnPropSymbols$2(source)) {
|
|
105
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
|
|
106
|
-
target[prop] = source[prop];
|
|
107
|
-
}
|
|
108
|
-
return target;
|
|
109
|
-
};
|
|
110
|
-
function watchPausable(source, cb, options = {}) {
|
|
111
|
-
const _a2 = options, {
|
|
112
|
-
eventFilter: filter
|
|
113
|
-
} = _a2, watchOptions = __objRest$1(_a2, [
|
|
114
|
-
"eventFilter"
|
|
115
|
-
]);
|
|
116
|
-
const { eventFilter, pause, resume, isActive } = pausableFilter(filter);
|
|
117
|
-
const stop = watchWithFilter(source, cb, __spreadProps$2(__spreadValues$2({}, watchOptions), {
|
|
118
|
-
eventFilter
|
|
119
|
-
}));
|
|
120
|
-
return { stop, pause, resume, isActive };
|
|
121
|
-
}
|
|
122
|
-
exports.bypassFilter = bypassFilter;
|
|
123
|
-
exports.createFilterWrapper = createFilterWrapper;
|
|
124
|
-
exports.identity = identity;
|
|
125
|
-
exports.isClient = isClient;
|
|
126
|
-
exports.isDef = isDef;
|
|
127
|
-
exports.isFunction = isFunction;
|
|
128
|
-
exports.isString = isString;
|
|
129
|
-
exports.noop = noop;
|
|
130
|
-
exports.pausableFilter = pausableFilter;
|
|
131
|
-
exports.pausableWatch = watchPausable;
|
|
132
|
-
exports.resolveUnref = resolveUnref;
|
|
133
|
-
exports.tryOnMounted = tryOnMounted;
|
|
134
|
-
exports.tryOnScopeDispose = tryOnScopeDispose;
|
|
135
|
-
exports.watchPausable = watchPausable;
|
|
136
|
-
exports.watchWithFilter = watchWithFilter;
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { ref, watch, getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick } from "vue";
|
|
2
|
-
var _a;
|
|
3
|
-
const isClient = typeof window !== "undefined";
|
|
4
|
-
const isDef = (val) => typeof val !== "undefined";
|
|
5
|
-
const isFunction = (val) => typeof val === "function";
|
|
6
|
-
const isString = (val) => typeof val === "string";
|
|
7
|
-
const noop = () => {
|
|
8
|
-
};
|
|
9
|
-
isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
10
|
-
function resolveUnref(r) {
|
|
11
|
-
return typeof r === "function" ? r() : unref(r);
|
|
12
|
-
}
|
|
13
|
-
function createFilterWrapper(filter, fn) {
|
|
14
|
-
function wrapper(...args) {
|
|
15
|
-
filter(() => fn.apply(this, args), { fn, thisArg: this, args });
|
|
16
|
-
}
|
|
17
|
-
return wrapper;
|
|
18
|
-
}
|
|
19
|
-
const bypassFilter = (invoke) => {
|
|
20
|
-
return invoke();
|
|
21
|
-
};
|
|
22
|
-
function pausableFilter(extendFilter = bypassFilter) {
|
|
23
|
-
const isActive = ref(true);
|
|
24
|
-
function pause() {
|
|
25
|
-
isActive.value = false;
|
|
26
|
-
}
|
|
27
|
-
function resume() {
|
|
28
|
-
isActive.value = true;
|
|
29
|
-
}
|
|
30
|
-
const eventFilter = (...args) => {
|
|
31
|
-
if (isActive.value)
|
|
32
|
-
extendFilter(...args);
|
|
33
|
-
};
|
|
34
|
-
return { isActive, pause, resume, eventFilter };
|
|
35
|
-
}
|
|
36
|
-
function identity(arg) {
|
|
37
|
-
return arg;
|
|
38
|
-
}
|
|
39
|
-
function tryOnScopeDispose(fn) {
|
|
40
|
-
if (getCurrentScope()) {
|
|
41
|
-
onScopeDispose(fn);
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
return false;
|
|
45
|
-
}
|
|
46
|
-
function tryOnMounted(fn, sync = true) {
|
|
47
|
-
if (getCurrentInstance())
|
|
48
|
-
onMounted(fn);
|
|
49
|
-
else if (sync)
|
|
50
|
-
fn();
|
|
51
|
-
else
|
|
52
|
-
nextTick(fn);
|
|
53
|
-
}
|
|
54
|
-
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
55
|
-
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
56
|
-
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
57
|
-
var __objRest$5 = (source, exclude) => {
|
|
58
|
-
var target = {};
|
|
59
|
-
for (var prop in source)
|
|
60
|
-
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
61
|
-
target[prop] = source[prop];
|
|
62
|
-
if (source != null && __getOwnPropSymbols$6)
|
|
63
|
-
for (var prop of __getOwnPropSymbols$6(source)) {
|
|
64
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
|
|
65
|
-
target[prop] = source[prop];
|
|
66
|
-
}
|
|
67
|
-
return target;
|
|
68
|
-
};
|
|
69
|
-
function watchWithFilter(source, cb, options = {}) {
|
|
70
|
-
const _a2 = options, {
|
|
71
|
-
eventFilter = bypassFilter
|
|
72
|
-
} = _a2, watchOptions = __objRest$5(_a2, [
|
|
73
|
-
"eventFilter"
|
|
74
|
-
]);
|
|
75
|
-
return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
76
|
-
}
|
|
77
|
-
var __defProp$2 = Object.defineProperty;
|
|
78
|
-
var __defProps$2 = Object.defineProperties;
|
|
79
|
-
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
80
|
-
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
81
|
-
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
82
|
-
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
83
|
-
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
84
|
-
var __spreadValues$2 = (a, b) => {
|
|
85
|
-
for (var prop in b || (b = {}))
|
|
86
|
-
if (__hasOwnProp$2.call(b, prop))
|
|
87
|
-
__defNormalProp$2(a, prop, b[prop]);
|
|
88
|
-
if (__getOwnPropSymbols$2)
|
|
89
|
-
for (var prop of __getOwnPropSymbols$2(b)) {
|
|
90
|
-
if (__propIsEnum$2.call(b, prop))
|
|
91
|
-
__defNormalProp$2(a, prop, b[prop]);
|
|
92
|
-
}
|
|
93
|
-
return a;
|
|
94
|
-
};
|
|
95
|
-
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
96
|
-
var __objRest$1 = (source, exclude) => {
|
|
97
|
-
var target = {};
|
|
98
|
-
for (var prop in source)
|
|
99
|
-
if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
100
|
-
target[prop] = source[prop];
|
|
101
|
-
if (source != null && __getOwnPropSymbols$2)
|
|
102
|
-
for (var prop of __getOwnPropSymbols$2(source)) {
|
|
103
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
|
|
104
|
-
target[prop] = source[prop];
|
|
105
|
-
}
|
|
106
|
-
return target;
|
|
107
|
-
};
|
|
108
|
-
function watchPausable(source, cb, options = {}) {
|
|
109
|
-
const _a2 = options, {
|
|
110
|
-
eventFilter: filter
|
|
111
|
-
} = _a2, watchOptions = __objRest$1(_a2, [
|
|
112
|
-
"eventFilter"
|
|
113
|
-
]);
|
|
114
|
-
const { eventFilter, pause, resume, isActive } = pausableFilter(filter);
|
|
115
|
-
const stop = watchWithFilter(source, cb, __spreadProps$2(__spreadValues$2({}, watchOptions), {
|
|
116
|
-
eventFilter
|
|
117
|
-
}));
|
|
118
|
-
return { stop, pause, resume, isActive };
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
bypassFilter,
|
|
122
|
-
createFilterWrapper,
|
|
123
|
-
identity,
|
|
124
|
-
isClient,
|
|
125
|
-
isDef,
|
|
126
|
-
isFunction,
|
|
127
|
-
isString,
|
|
128
|
-
noop,
|
|
129
|
-
pausableFilter,
|
|
130
|
-
watchPausable as pausableWatch,
|
|
131
|
-
resolveUnref,
|
|
132
|
-
tryOnMounted,
|
|
133
|
-
tryOnScopeDispose,
|
|
134
|
-
watchPausable,
|
|
135
|
-
watchWithFilter
|
|
136
|
-
};
|