cnhis-design-vue 3.1.57-release.1 → 3.1.57-release.3
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/es/components/button-print/index.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/calendar/index.d.ts +276 -0
- package/es/components/calendar/index.js +1 -0
- package/es/components/calendar/src/Calendar.vue.d.ts +265 -0
- package/es/components/calendar/src/Calendar.vue.js +1 -0
- package/es/components/calendar/src/Calendar.vue2.js +1 -0
- package/es/components/calendar/src/types/index.d.ts +6 -0
- package/es/components/calendar/src/types/index.js +1 -0
- package/es/components/calendar/style/index.css +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +233 -224
- package/es/components/classification/index.d.ts +3 -3
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -3
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -3
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +98 -26
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/form.vue.d.ts +98 -26
- package/es/components/expand-field/src/index.vue.d.ts +98 -26
- package/es/components/fabric-chart/index.d.ts +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +4 -3
- package/es/components/field-set/index.d.ts +107 -616
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
- package/es/components/field-set/src/FieldColor.vue.js +1 -0
- package/es/components/field-set/src/FieldColor.vue2.js +1 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +141 -0
- package/es/components/field-set/src/Index.vue.js +1 -0
- package/es/components/field-set/src/Index.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
- package/es/components/field-set/src/components/condition.vue.js +1 -0
- package/es/components/field-set/src/components/condition.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
- package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
- package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
- package/es/components/field-set/src/constants/index.d.ts +55 -0
- package/es/components/field-set/src/constants/index.js +1 -0
- package/es/components/field-set/src/types/index.d.ts +31 -1
- package/es/components/field-set/src/utils/index.d.ts +2 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +79 -42
- package/es/components/form-config/src/FormConfig.vue.d.ts +79 -42
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +5 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -11
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -2
- package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +3 -2
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +16 -12
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +14 -2
- package/es/components/form-render/index.d.ts +17 -8
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +17 -8
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-table/index.d.ts +216 -216
- package/es/components/iho-table/src/IhoTable.vue.d.ts +216 -216
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +41 -23
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -23
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -9
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +3 -3
- package/es/components/quick-search/src/index.vue.d.ts +3 -3
- package/es/components/recommend-search/index.d.ts +6 -6
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/index.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/select-label/index.d.ts +2 -2
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +1 -1
- package/es/components/select-person/index.d.ts +95 -23
- package/es/components/select-person/src/SelectPerson.vue.d.ts +84 -17
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/types/enums.d.ts +9 -0
- package/es/components/select-person/src/types/enums.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +18 -8
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -8
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
- package/es/components/table-export-field/src/index.vue.d.ts +3 -3
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -4
- package/es/components/time-line/index.d.ts +7 -7
- package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +23 -3
- package/es/shared/utils/business.d.ts +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +8 -2
|
@@ -309,7 +309,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
309
309
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
310
310
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
311
311
|
readonly ignorePathChange: BooleanConstructor;
|
|
312
|
-
readonly validationStatus: import("vue").PropType<"
|
|
312
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
313
313
|
readonly feedback: StringConstructor;
|
|
314
314
|
readonly showLabel: {
|
|
315
315
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -440,7 +440,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
440
440
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
441
441
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
442
442
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
443
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
443
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
444
444
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
445
445
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
446
446
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -474,7 +474,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
474
474
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
475
475
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
476
476
|
readonly ignorePathChange: BooleanConstructor;
|
|
477
|
-
readonly validationStatus: import("vue").PropType<"
|
|
477
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
478
478
|
readonly feedback: StringConstructor;
|
|
479
479
|
readonly showLabel: {
|
|
480
480
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -669,7 +669,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
669
669
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
670
670
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
671
671
|
readonly ignorePathChange: BooleanConstructor;
|
|
672
|
-
readonly validationStatus: import("vue").PropType<"
|
|
672
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
673
673
|
readonly feedback: StringConstructor;
|
|
674
674
|
readonly showLabel: {
|
|
675
675
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -800,7 +800,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
800
800
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
801
801
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
802
802
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
803
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
803
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
804
804
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
805
805
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
806
806
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -834,7 +834,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
834
834
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
835
835
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
836
836
|
readonly ignorePathChange: BooleanConstructor;
|
|
837
|
-
readonly validationStatus: import("vue").PropType<"
|
|
837
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
838
838
|
readonly feedback: StringConstructor;
|
|
839
839
|
readonly showLabel: {
|
|
840
840
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -1847,14 +1847,14 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1847
1847
|
required: false;
|
|
1848
1848
|
};
|
|
1849
1849
|
}>> & {
|
|
1850
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1851
1850
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
1851
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1852
1852
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1853
1853
|
}, {
|
|
1854
1854
|
verifyUser: Function;
|
|
1855
1855
|
identityVerificationTitle: string;
|
|
1856
1856
|
}>;
|
|
1857
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "
|
|
1857
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "success" | "error" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1858
1858
|
printParams: {
|
|
1859
1859
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1860
1860
|
};
|
|
@@ -316,7 +316,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
316
316
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
317
317
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
318
318
|
readonly ignorePathChange: BooleanConstructor;
|
|
319
|
-
readonly validationStatus: PropType<"
|
|
319
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
320
320
|
readonly feedback: StringConstructor;
|
|
321
321
|
readonly showLabel: {
|
|
322
322
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -447,7 +447,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
447
447
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
448
448
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
449
449
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
450
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
450
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
451
451
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
452
452
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
453
453
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -481,7 +481,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
481
481
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
482
482
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
483
483
|
readonly ignorePathChange: BooleanConstructor;
|
|
484
|
-
readonly validationStatus: PropType<"
|
|
484
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
485
485
|
readonly feedback: StringConstructor;
|
|
486
486
|
readonly showLabel: {
|
|
487
487
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -676,7 +676,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
676
676
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
677
677
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
678
678
|
readonly ignorePathChange: BooleanConstructor;
|
|
679
|
-
readonly validationStatus: PropType<"
|
|
679
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
680
680
|
readonly feedback: StringConstructor;
|
|
681
681
|
readonly showLabel: {
|
|
682
682
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -807,7 +807,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
807
807
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
808
808
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
809
809
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
810
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
810
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
811
811
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
812
812
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
813
813
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -841,7 +841,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
841
841
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
842
842
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
843
843
|
readonly ignorePathChange: BooleanConstructor;
|
|
844
|
-
readonly validationStatus: PropType<"
|
|
844
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
845
845
|
readonly feedback: StringConstructor;
|
|
846
846
|
readonly showLabel: {
|
|
847
847
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -1854,14 +1854,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1854
1854
|
required: false;
|
|
1855
1855
|
};
|
|
1856
1856
|
}>> & {
|
|
1857
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1858
1857
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
1858
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1859
1859
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1860
1860
|
}, {
|
|
1861
1861
|
verifyUser: Function;
|
|
1862
1862
|
identityVerificationTitle: string;
|
|
1863
1863
|
}>;
|
|
1864
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "
|
|
1864
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "success" | "error" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1865
1865
|
printParams: {
|
|
1866
1866
|
type: PropType<AnyObject[]>;
|
|
1867
1867
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,reactive as e,computed as n,onMounted as i,watch as r,openBlock as a,createElementBlock as s,Fragment as o,createVNode as l,unref as p,withCtx as d,renderSlot as m,withModifiers as u,createTextVNode as c,toDisplayString as f,mergeProps as g}from"vue";import{isObject as y}from"@vue/shared";import{useMessage as v,NDropdown as b,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as h}from"@vicons/ionicons5";import{Print as w}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import k from"./components/IdentityVerification.vue.js";import{format as T}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as S}from"./api.js";var L=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:"打印",type:String},printText:{default:"直接打印",type:String},previewText:{default:"打印预览",type:String},pdfLoadText:{default:"下载pdf",type:String},formatEditText:{default:"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:"请选中需要打印的数据",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0}},emits:["success","error","clickoutside"],setup(t,{expose:L,emit:O}){var j;const D=t,E=v();let M;const N={},V=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),C=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(j=D.externalOptionConfig)?void 0:j.options)||[]]),B=n((()=>{if(!V.currentFormatId)return{};let t=V.currentFormatId;return V.formatList.find((e=>e.id===t))})),J=n((()=>{var t;return(null==(t=B.value)?void 0:t.name)||"格式选择"})),U=n((()=>{let t=V.formatList.find((t=>t.id===V.currentFormatId));return null==t?void 0:t.templateId})),A=async t=>{if(D.directPrint){if(V.spinning)return;return"button"===t?void await rt():et()}return et()},q=t=>l("span",{class:{active:t.key===V.currentFormatId}},[t.label]),R=(t,e)=>{V.spinning=!1;let n={type:e,formatId:V.currentFormatId,templateId:U.value};O("success",t,n)},_=t=>{V.spinning=!1,O("error",t),y(t)&&"notInstalledApp"===t.type&&E.error(t.message)},z=t=>{O("error",{message:"前置条件执行错误",type:t,preExecution:!0})},H=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:V.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=V.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(V.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(V.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(V.printParams[0]).forEach((t=>{i[t]=[],V.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(H(0)),i),JSON.stringify(n)},G=()=>{let t=V.printParams.length;const e=async e=>{try{--t<=0&&R(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:V.currentFormatId,templateId:U.value,printdlgshow:D.printdlgshow,signature:D.signature};if("MULTI"===D.strategy)for(let n=0;n<V.printParams.length;n++)n>0&&(t.printdlgshow="0"),M.printDirect({...t,params:H(n)},e,_);else M.printDirect({...t,params:$()},(t=>{R(t,"print")}),_)})).catch((()=>{z("print"),V.spinning=!1})).finally((()=>{V.visible=!1})))},K=async(t,e)=>{var n,i;switch(t){case"printText":G();break;case"previewText":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,params:t,btnprint:D.btnprint,signature:D.signature};M.preview(e,(t=>{R(t,"preview")}),_)})).catch((()=>{z("preview"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;case"formatEditText":D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("edit").then((()=>{V.identityVerification.visible=!0})).catch((()=>{z("edit")})).finally((()=>{V.visible=!1,V.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,print:{print:"1",type:"1"},params:t,signature:D.signature};M.downloadPDF(e,(t=>R(t,"preview")),_)})).catch((()=>{z("download"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;default:{V.visible=!1;const r=V.formatList.find((e=>e.id===t))||{};if(Object.keys(r).length>0){V.currentFormatId=t;const[e]=C;e.label=(null==r?void 0:r.name)||e.label,await x({formatForms:[{...r}],name:N.name||r.templateName,number:N.number||r.number,templateId:N.templateId||r.templateId,...N.id?{id:N.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},Q=()=>{V.visible=!1,O("clickoutside")},W=()=>(V.isInited=!1,V.spinning=!1,setTimeout((()=>{V.visible=!1}),0),!1),X=(t,e,n)=>{const i={};return e.forEach((e=>{let r=((t,e)=>{const n={DATE:"yyyy-MM-dd",DATETIME:"yyyy-MM-dd HH:mm:ss"};let i=e;return Object.keys(n).includes(t.type)&&e&&e instanceof Date&&(i=T(e,n[t.type])),(null==t?void 0:t.defaultValue)||i})(e,t[e[n]]);t[e[n]]&&r&&(i[e[n]]=r)})),i},Y=({customizeDataset:t=[],param:e=[]},n=[])=>n.map((n=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(X(n,e,"fieldName"))}})),i=Object.assign({},i,X(n,e,"key")),i})),Z=async t=>{var e;if(V.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format.map((e=>Object.assign({},e,{templateName:t.name}))))})),e})(t.obj):[],V.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await S({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(N,i.map||{});const r=null==(n=null==e?void 0:e[0])?void 0:n.id;if(r&&t.map((t=>t.id)).includes(r))return r}const r=t.find((t=>1==t[e]));return(null==r?void 0:r.id)||t[0].id})(V.formatList,"defaultFlag"),!V.currentFormatId)return E.error("获取打印格式失败,请联系管理员!"),W();(()=>{const t=V.formatList.map((t=>({label:t.name,key:t.id})));C.unshift({label:J.value,key:"format",children:t})})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!U.value)return E.error("获取打印模板失败,请联系管理员!"),W();V.templateParams=n,V.printParams=Y(V.templateParams,D.params)},tt=async()=>{if(V.isInited)return!0;V.isInited=!0,V.spinning=!0,(()=>{if(M)return!1;M=new w})();const t=await D.queryPrintFormatByNumber();return await Z(t),V.spinning=!1,!0},et=async(t=!0)=>{var e,n;if(await D.clickPrevFn())if((null==(e=D.params)?void 0:e.length)||(null==(n=D.printParams)?void 0:n.length)){if(!V.visible){if(!await tt())return!1}t&&(V.visible=!V.visible)}else E.warning(D.noDataMsg)},nt=()=>{V.watchPrintParamsReformatFn&&V.watchPrintParamsReformatFn(),V.isInited?V.printParams=Y(V.templateParams,D.params):V.watchPrintParamsReformatFn=()=>r((()=>V.isInited),(t=>{if(!t)return!1;nt()}))},it=t=>{if(V.identityVerification.visible=!1,F(V.currentFormatId))return R(null,"edit");const e={formatId:V.currentFormatId,templateId:U.value,params:H(),token:t};M.editPrintFormat(e,(t=>{R(t,"edit")}),_)};async function rt(){await et(!1),G()}return i((()=>{V.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;nt()}),{deep:!0}),L({directPrint:rt}),(e,n)=>(a(),s(o,null,[l(p(b),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:V.visible,onClickoutside:Q,options:C,onSelect:K,"render-label":q},{default:d((()=>[m(e.$slots,"button",{handleClickPrintBtn:et,printSpinning:V.spinning,printbtnText:t.btnText,printVisible:V.visible},(()=>[l(p(I),{class:"dropdown-button",loading:t.showLoading&&V.spinning,onClick:n[1]||(n[1]=u((()=>A("button")),["stop"]))},{default:d((()=>[c(f(t.btnText)+" ",1),l(p(P),{component:p(h),style:{"margin-left":"5px"},onClick:n[0]||(n[0]=u((()=>A("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),l(k,g(e.$attrs,{modelValue:V.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>V.identityVerification.visible=t),formatId:V.currentFormatId,templateId:p(U),onSuccess:it}),null,16,["modelValue","formatId","templateId"])],64))}});export{L as default};
|
|
1
|
+
import{defineComponent as t,reactive as e,computed as n,onMounted as i,watch as r,openBlock as a,createElementBlock as s,Fragment as o,createVNode as l,unref as p,withCtx as d,renderSlot as m,withModifiers as u,createTextVNode as c,toDisplayString as f,mergeProps as g}from"vue";import{isObject as y}from"@vue/shared";import{useMessage as v,NDropdown as b,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as h}from"@vicons/ionicons5";import{Print as w}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import k from"./components/IdentityVerification.vue.js";import{format as T}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as S}from"./api.js";var L=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:"打印",type:String},printText:{default:"直接打印",type:String},previewText:{default:"打印预览",type:String},pdfLoadText:{default:"下载pdf",type:String},formatEditText:{default:"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:"请选中需要打印的数据",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0}},emits:["success","error","clickoutside"],setup(t,{expose:L,emit:O}){var j;const D=t,E=v();let M;const N={},V=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),C=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(j=D.externalOptionConfig)?void 0:j.options)||[]]),B=n((()=>{if(!V.currentFormatId)return{};let t=V.currentFormatId;return V.formatList.find((e=>e.id===t))})),J=n((()=>{var t;return(null==(t=B.value)?void 0:t.name)||"格式选择"})),U=n((()=>{let t=V.formatList.find((t=>t.id===V.currentFormatId));return null==t?void 0:t.templateId})),A=async t=>{if(D.directPrint){if(V.spinning)return;return"button"===t?void await rt():et()}return et()},q=t=>l("span",{class:{active:t.key===V.currentFormatId}},[t.label]),R=(t,e)=>{V.spinning=!1;let n={type:e,formatId:V.currentFormatId,templateId:U.value};O("success",t,n)},_=t=>{V.spinning=!1,O("error",t),y(t)&&"notInstalledApp"===t.type&&E.error(t.message)},z=t=>{O("error",{message:"前置条件执行错误",type:t,preExecution:!0})},H=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:V.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=V.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(V.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(V.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(V.printParams[0]).forEach((t=>{i[t]=[],V.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(H(0)),i),JSON.stringify(n)},G=()=>{let t=V.printParams.length;const e=async e=>{try{--t<=0&&R(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:V.currentFormatId,templateId:U.value,printdlgshow:D.printdlgshow,signature:D.signature};if("MULTI"===D.strategy)for(let n=0;n<V.printParams.length;n++)n>0&&(t.printdlgshow="0"),M.printDirect({...t,params:H(n)},e,_);else M.printDirect({...t,params:$()},(t=>{R(t,"print")}),_)})).catch((()=>{z("print"),V.spinning=!1})).finally((()=>{V.visible=!1})))},K=async(t,e)=>{var n,i;switch(t){case"printText":G();break;case"previewText":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,params:t,btnprint:D.btnprint,signature:D.signature};M.preview(e,(t=>{R(t,"preview")}),_)})).catch((()=>{z("preview"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;case"formatEditText":D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("edit").then((()=>{V.identityVerification.visible=!0})).catch((()=>{z("edit")})).finally((()=>{V.visible=!1,V.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,print:{print:"1",type:"1"},params:t,signature:D.signature};M.downloadPDF(e,(t=>R(t,"preview")),_)})).catch((()=>{z("download"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;default:{V.visible=!1;const r=V.formatList.find((e=>e.id===t))||{};if(Object.keys(r).length>0){V.currentFormatId=t;const[e]=C;e.label=(null==r?void 0:r.name)||e.label,await x({formatForms:[{...r}],name:N.name||r.templateName,number:N.number||r.number,templateId:N.templateId||r.templateId,...N.id?{id:N.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},Q=()=>{V.visible=!1,O("clickoutside")},W=()=>(V.isInited=!1,V.spinning=!1,setTimeout((()=>{V.visible=!1}),0),!1),X=(t,e,n)=>{const i={};return e.forEach((e=>{let r=((t,e)=>{const n={DATE:"yyyy-MM-dd",DATETIME:"yyyy-MM-dd HH:mm:ss"};let i=e;return Object.keys(n).includes(t.type)&&e&&e instanceof Date&&(i=T(e,n[t.type])),(null==t?void 0:t.defaultValue)||i})(e,t[e[n]]);t[e[n]]&&r&&(i[e[n]]=r)})),i},Y=({customizeDataset:t=[],param:e=[]},n=[])=>n.map((n=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(X(n,e,"fieldName"))}})),i=Object.assign({},i,X(n,e,"key")),i})),Z=async t=>{var e;if(V.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format.map((e=>Object.assign({},e,{templateName:t.name}))))})),e})(t.obj):[],V.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await S({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(N,i.map||{});const r=null==(n=null==e?void 0:e[0])?void 0:n.id;if(r&&t.map((t=>t.id)).includes(r))return r}const r=t.find((t=>1==t[e]));return(null==r?void 0:r.id)||t[0].id})(V.formatList,"defaultFlag"),!V.currentFormatId)return E.error("获取打印格式失败,请联系管理员!"),W();(()=>{const t=V.formatList.map((t=>({label:t.name,key:t.id})));C.unshift({label:J.value,key:"format",children:t})})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!U.value)return E.error("获取打印模板失败,请联系管理员!"),W();V.templateParams=n,V.printParams=Y(V.templateParams,D.params)},tt=async()=>{if(V.isInited)return!0;V.isInited=!0,V.spinning=!0,(()=>{if(M)return!1;M=new w})();const t=await D.queryPrintFormatByNumber();return await Z(t),V.spinning=!1,!0},et=async(t=!0)=>{var e,n;if(await D.clickPrevFn())if((null==(e=D.params)?void 0:e.length)||(null==(n=D.printParams)?void 0:n.length)){if(!V.visible){if(!await tt())return!1}t&&(V.visible=!V.visible)}else E.warning(D.noDataMsg)},nt=()=>{V.watchPrintParamsReformatFn&&V.watchPrintParamsReformatFn(),V.isInited?V.printParams=Y(V.templateParams,D.params):V.watchPrintParamsReformatFn=()=>r((()=>V.isInited),(t=>{if(!t)return!1;nt()}))},it=t=>{if(V.identityVerification.visible=!1,F(V.currentFormatId))return R(null,"edit");const e={formatId:V.currentFormatId,templateId:U.value,params:H(),token:t};M.editPrintFormat(e,(t=>{R(t,"edit")}),_)};async function rt(){await et(!1),G()}return i((()=>{V.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;nt()}),{deep:!0}),L({directPrint:rt}),(e,n)=>(a(),s(o,null,[l(p(b),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:V.visible,onClickoutside:Q,options:C,onSelect:K,"render-label":q},{default:d((()=>[m(e.$slots,"button",{handleClickPrintBtn:et,printSpinning:V.spinning,printbtnText:t.btnText,printVisible:V.visible},(()=>[l(p(I),{class:"dropdown-button",loading:t.showLoading&&V.spinning,onClick:n[1]||(n[1]=u((()=>A("button")),["stop"]))},{default:d((()=>[c(f(t.btnText)+" ",1),l(p(P),{component:p(h),size:"18",style:{"margin-left":"5px"},onClick:n[0]||(n[0]=u((()=>A("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),l(k,g(e.$attrs,{modelValue:V.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>V.identityVerification.visible=t),formatId:V.currentFormatId,templateId:p(U),onSuccess:it}),null,16,["modelValue","formatId","templateId"])],64))}});export{L as default};
|
|
@@ -87,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
88
88
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
89
89
|
readonly ignorePathChange: BooleanConstructor;
|
|
90
|
-
readonly validationStatus: import("vue").PropType<"
|
|
90
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
91
91
|
readonly feedback: StringConstructor;
|
|
92
92
|
readonly showLabel: {
|
|
93
93
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -218,7 +218,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
218
218
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
219
219
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
220
220
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
221
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
221
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
222
222
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
223
223
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
224
224
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -252,7 +252,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
252
252
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
253
253
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
254
254
|
readonly ignorePathChange: BooleanConstructor;
|
|
255
|
-
readonly validationStatus: import("vue").PropType<"
|
|
255
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
256
256
|
readonly feedback: StringConstructor;
|
|
257
257
|
readonly showLabel: {
|
|
258
258
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
85
85
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
86
86
|
readonly ignorePathChange: BooleanConstructor;
|
|
87
|
-
readonly validationStatus: import("vue").PropType<"
|
|
87
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
88
88
|
readonly feedback: StringConstructor;
|
|
89
89
|
readonly showLabel: {
|
|
90
90
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -215,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
215
215
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
216
216
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
217
217
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
218
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
218
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
219
219
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
220
220
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
221
221
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -249,7 +249,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
249
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
250
250
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
251
251
|
readonly ignorePathChange: BooleanConstructor;
|
|
252
|
-
readonly validationStatus: import("vue").PropType<"
|
|
252
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
253
253
|
readonly feedback: StringConstructor;
|
|
254
254
|
readonly showLabel: {
|
|
255
255
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -444,7 +444,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
444
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
445
445
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
446
446
|
readonly ignorePathChange: BooleanConstructor;
|
|
447
|
-
readonly validationStatus: import("vue").PropType<"
|
|
447
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
448
448
|
readonly feedback: StringConstructor;
|
|
449
449
|
readonly showLabel: {
|
|
450
450
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -575,7 +575,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
575
575
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
576
576
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
577
577
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
578
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
578
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
579
579
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
580
580
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
581
581
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -609,7 +609,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
609
609
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
610
610
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
611
611
|
readonly ignorePathChange: BooleanConstructor;
|
|
612
|
-
readonly validationStatus: import("vue").PropType<"
|
|
612
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
613
613
|
readonly feedback: StringConstructor;
|
|
614
614
|
readonly showLabel: {
|
|
615
615
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -1622,8 +1622,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1622
1622
|
required: false;
|
|
1623
1623
|
};
|
|
1624
1624
|
}>> & {
|
|
1625
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1626
1625
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
1626
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1627
1627
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1628
1628
|
}, {
|
|
1629
1629
|
verifyUser: Function;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dropdown-button{border-color:#d5d5d5!important;color:#212121}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}
|
|
1
|
+
.dropdown-button{border-color:#d5d5d5!important;color:#212121;padding-right:0}.dropdown-button .n-button__content{height:100%}.dropdown-button .n-button__content .n-icon{align-items:center;display:flex;height:100%;justify-content:center;padding-right:10px;width:30px}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/// <reference types="date-fns" />
|
|
2
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
3
|
+
export * from './src/types';
|
|
4
|
+
declare const Calendar: SFCWithInstall<import("vue").DefineComponent<{
|
|
5
|
+
date: {
|
|
6
|
+
type: DateConstructor;
|
|
7
|
+
default: Date;
|
|
8
|
+
};
|
|
9
|
+
showDateNavigation: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
events: {
|
|
14
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
15
|
+
default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
resources: {
|
|
18
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
eventContentRender: {
|
|
22
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>>;
|
|
25
|
+
};
|
|
26
|
+
resourceLabelContentRender: {
|
|
27
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>>;
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
33
|
+
default: () => {};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
dayNames: string[];
|
|
37
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
38
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
date: {
|
|
40
|
+
type: DateConstructor;
|
|
41
|
+
default: Date;
|
|
42
|
+
};
|
|
43
|
+
showDateNavigation: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
events: {
|
|
48
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
49
|
+
default: () => never[];
|
|
50
|
+
};
|
|
51
|
+
resources: {
|
|
52
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
53
|
+
default: () => never[];
|
|
54
|
+
};
|
|
55
|
+
eventContentRender: {
|
|
56
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>>;
|
|
59
|
+
};
|
|
60
|
+
resourceLabelContentRender: {
|
|
61
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>>;
|
|
64
|
+
};
|
|
65
|
+
options: {
|
|
66
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
67
|
+
default: () => {};
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onEventClick?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
onEventDrag?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onEventResize?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onDateChange?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}>>;
|
|
76
|
+
emit: (event: "select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange", ...args: any[]) => void;
|
|
77
|
+
calendarRef: import("vue").Ref<any>;
|
|
78
|
+
currentDate: import("vue").Ref<{
|
|
79
|
+
toString: () => string;
|
|
80
|
+
toDateString: () => string;
|
|
81
|
+
toTimeString: () => string;
|
|
82
|
+
toLocaleString: {
|
|
83
|
+
(): string;
|
|
84
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
85
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
86
|
+
};
|
|
87
|
+
toLocaleDateString: {
|
|
88
|
+
(): string;
|
|
89
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
90
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
91
|
+
};
|
|
92
|
+
toLocaleTimeString: {
|
|
93
|
+
(): string;
|
|
94
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
95
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
96
|
+
};
|
|
97
|
+
valueOf: () => number;
|
|
98
|
+
getTime: () => number;
|
|
99
|
+
getFullYear: () => number;
|
|
100
|
+
getUTCFullYear: () => number;
|
|
101
|
+
getMonth: () => number;
|
|
102
|
+
getUTCMonth: () => number;
|
|
103
|
+
getDate: () => number;
|
|
104
|
+
getUTCDate: () => number;
|
|
105
|
+
getDay: () => number;
|
|
106
|
+
getUTCDay: () => number;
|
|
107
|
+
getHours: () => number;
|
|
108
|
+
getUTCHours: () => number;
|
|
109
|
+
getMinutes: () => number;
|
|
110
|
+
getUTCMinutes: () => number;
|
|
111
|
+
getSeconds: () => number;
|
|
112
|
+
getUTCSeconds: () => number;
|
|
113
|
+
getMilliseconds: () => number;
|
|
114
|
+
getUTCMilliseconds: () => number;
|
|
115
|
+
getTimezoneOffset: () => number;
|
|
116
|
+
setTime: (time: number) => number;
|
|
117
|
+
setMilliseconds: (ms: number) => number;
|
|
118
|
+
setUTCMilliseconds: (ms: number) => number;
|
|
119
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
|
120
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
|
121
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
122
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
123
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
124
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
125
|
+
setDate: (date: number) => number;
|
|
126
|
+
setUTCDate: (date: number) => number;
|
|
127
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
|
128
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
|
129
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
130
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
131
|
+
toUTCString: () => string;
|
|
132
|
+
toISOString: () => string;
|
|
133
|
+
toJSON: (key?: any) => string;
|
|
134
|
+
[Symbol.toPrimitive]: {
|
|
135
|
+
(hint: "default"): string;
|
|
136
|
+
(hint: "string"): string;
|
|
137
|
+
(hint: "number"): number;
|
|
138
|
+
(hint: string): string | number;
|
|
139
|
+
};
|
|
140
|
+
}>;
|
|
141
|
+
dayList: import("vue").Ref<{
|
|
142
|
+
date: {
|
|
143
|
+
toString: () => string;
|
|
144
|
+
toDateString: () => string;
|
|
145
|
+
toTimeString: () => string;
|
|
146
|
+
toLocaleString: {
|
|
147
|
+
(): string;
|
|
148
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
149
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
150
|
+
};
|
|
151
|
+
toLocaleDateString: {
|
|
152
|
+
(): string;
|
|
153
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
154
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
155
|
+
};
|
|
156
|
+
toLocaleTimeString: {
|
|
157
|
+
(): string;
|
|
158
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
159
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
160
|
+
};
|
|
161
|
+
valueOf: () => number;
|
|
162
|
+
getTime: () => number;
|
|
163
|
+
getFullYear: () => number;
|
|
164
|
+
getUTCFullYear: () => number;
|
|
165
|
+
getMonth: () => number;
|
|
166
|
+
getUTCMonth: () => number;
|
|
167
|
+
getDate: () => number;
|
|
168
|
+
getUTCDate: () => number;
|
|
169
|
+
getDay: () => number;
|
|
170
|
+
getUTCDay: () => number;
|
|
171
|
+
getHours: () => number;
|
|
172
|
+
getUTCHours: () => number;
|
|
173
|
+
getMinutes: () => number;
|
|
174
|
+
getUTCMinutes: () => number;
|
|
175
|
+
getSeconds: () => number;
|
|
176
|
+
getUTCSeconds: () => number;
|
|
177
|
+
getMilliseconds: () => number;
|
|
178
|
+
getUTCMilliseconds: () => number;
|
|
179
|
+
getTimezoneOffset: () => number;
|
|
180
|
+
setTime: (time: number) => number;
|
|
181
|
+
setMilliseconds: (ms: number) => number;
|
|
182
|
+
setUTCMilliseconds: (ms: number) => number;
|
|
183
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
|
184
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
|
185
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
186
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
187
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
188
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
189
|
+
setDate: (date: number) => number;
|
|
190
|
+
setUTCDate: (date: number) => number;
|
|
191
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
|
192
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
|
193
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
194
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
195
|
+
toUTCString: () => string;
|
|
196
|
+
toISOString: () => string;
|
|
197
|
+
toJSON: (key?: any) => string;
|
|
198
|
+
[Symbol.toPrimitive]: {
|
|
199
|
+
(hint: "default"): string;
|
|
200
|
+
(hint: "string"): string;
|
|
201
|
+
(hint: "number"): number;
|
|
202
|
+
(hint: string): string | number;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
formatDate: string;
|
|
206
|
+
day: number;
|
|
207
|
+
week: string;
|
|
208
|
+
}[]>;
|
|
209
|
+
isInit: import("vue").Ref<boolean>;
|
|
210
|
+
calendarOptions: import("../../shared/types").AnyObject;
|
|
211
|
+
handleMonth: (type: "prev" | "next") => void;
|
|
212
|
+
setDayList: (date: Date) => void;
|
|
213
|
+
hanleCurrentDate: (dayItem: import("./src/types").IDayItem) => Promise<void>;
|
|
214
|
+
getTime: () => {
|
|
215
|
+
start: Date;
|
|
216
|
+
end: Date;
|
|
217
|
+
startStr: string;
|
|
218
|
+
endStr: string;
|
|
219
|
+
};
|
|
220
|
+
eventContentRender: (info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
221
|
+
[key: string]: any;
|
|
222
|
+
}> | JSX.Element[];
|
|
223
|
+
resourceLabelContentRender: (info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
224
|
+
[key: string]: any;
|
|
225
|
+
}>;
|
|
226
|
+
update: (before: () => void) => Promise<void>;
|
|
227
|
+
NIcon: any;
|
|
228
|
+
ChevronBackOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
229
|
+
ChevronForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
230
|
+
FullCalendar: any;
|
|
231
|
+
isSameDay: typeof import("date-fns").isSameDay;
|
|
232
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange")[], "select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
233
|
+
date: {
|
|
234
|
+
type: DateConstructor;
|
|
235
|
+
default: Date;
|
|
236
|
+
};
|
|
237
|
+
showDateNavigation: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
events: {
|
|
242
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
243
|
+
default: () => never[];
|
|
244
|
+
};
|
|
245
|
+
resources: {
|
|
246
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
247
|
+
default: () => never[];
|
|
248
|
+
};
|
|
249
|
+
eventContentRender: {
|
|
250
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
251
|
+
[key: string]: any;
|
|
252
|
+
}>>;
|
|
253
|
+
};
|
|
254
|
+
resourceLabelContentRender: {
|
|
255
|
+
type: import("vue").PropType<(info: import("../../shared/types").AnyObject) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
}>>;
|
|
258
|
+
};
|
|
259
|
+
options: {
|
|
260
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
261
|
+
default: () => {};
|
|
262
|
+
};
|
|
263
|
+
}>> & {
|
|
264
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
265
|
+
onEventClick?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
onEventDrag?: ((...args: any[]) => any) | undefined;
|
|
267
|
+
onEventResize?: ((...args: any[]) => any) | undefined;
|
|
268
|
+
onDateChange?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
options: import("../../shared/types").AnyObject;
|
|
271
|
+
date: Date;
|
|
272
|
+
events: import("../../shared/types").AnyObject[];
|
|
273
|
+
showDateNavigation: boolean;
|
|
274
|
+
resources: import("../../shared/types").AnyObject[];
|
|
275
|
+
}>>;
|
|
276
|
+
export default Calendar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as a}from"../../shared/utils/index.js";import o from"./src/Calendar.vue.js";const s=o;s.install=function(o){a(o,s,r+"Calendar")};export{s as default};
|