cnhis-design-vue 3.1.57-release.2 → 3.1.57
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/README.md +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- 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 +218 -216
- 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/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +6 -6
- 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/src/components/form.vue2.js +1 -1
- 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/hooks/birthProcess/useBirthProcess.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/surgicalAnesthesia/useCenter.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 +2 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +3 -3
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +7 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +7 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -0
- 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/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-table/index.d.ts +218 -216
- package/es/components/iho-table/src/IhoTable.vue.d.ts +218 -216
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/{bindEventSettingPlugin/index.d.ts → bindEventSettingPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{defaultConfigPlugin/index.d.ts → defaultConfigPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/dragScrollPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -0
- 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/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/{keyboardEventPlugin/index.d.ts → keyboardEventPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{lowCodeFieldAdaptorPlugin/index.d.ts → lowCodeFieldAdaptorPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{operationalFormPlugin/index.d.ts → operationalFormPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +32 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowClickPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/rowDragPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rowDragPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{varialbleHeightPlugin/index.d.ts → varialbleHeightPlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -0
- package/es/components/iho-table/src/plugins/{virtualTreePlugin/index.d.ts → virtualTreePlugin.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +2 -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/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
- 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/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +74 -68
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +0 -1
package/README.md
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
# 安装
|
|
2
|
-
|
|
3
|
-
```shell
|
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
|
5
|
-
# or
|
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 1.全局引入
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
// main.ts
|
|
13
|
-
import { createApp } from 'vue';
|
|
14
|
-
import App from './App.vue';
|
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
-
import cui from 'cnhis-design-vue';
|
|
17
|
-
|
|
18
|
-
const app = createApp(App);
|
|
19
|
-
app.use(cui).mount('#app');
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## 2. 按需引入
|
|
23
|
-
|
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
-
|
|
26
|
-
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
# 安装自动导入样式的插件
|
|
30
|
-
npm i -d vite-plugin-style-import
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
// vite.config.ts
|
|
35
|
-
import { defineConfig } from 'vite';
|
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
-
|
|
38
|
-
export default defineConfig({
|
|
39
|
-
plugins: [
|
|
40
|
-
// ...otherPlugins
|
|
41
|
-
createStyleImportPlugin({
|
|
42
|
-
libs: [
|
|
43
|
-
{
|
|
44
|
-
libraryName: 'cnhis-design-vue',
|
|
45
|
-
esModule: true,
|
|
46
|
-
ensureStyleFile: true,
|
|
47
|
-
resolveStyle: name => {
|
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
-
|
|
59
|
-
```typescript
|
|
60
|
-
// main.ts
|
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## 3.FAQ
|
|
65
|
-
|
|
66
|
-
### 3.1 项目打包后样式丢失
|
|
67
|
-
|
|
68
|
-
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
// vite.config.ts
|
|
72
|
-
import { defineConfig } from 'vite';
|
|
73
|
-
|
|
74
|
-
export default defineConfig({
|
|
75
|
-
build: {
|
|
76
|
-
rollupOptions: {
|
|
77
|
-
// ..otherOptions
|
|
78
|
-
output: {
|
|
79
|
-
dir: './dist',
|
|
80
|
-
manualChunks: {
|
|
81
|
-
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
```
|
|
1
|
+
# 安装
|
|
2
|
+
|
|
3
|
+
```shell
|
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
|
5
|
+
# or
|
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 1.全局引入
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
// main.ts
|
|
13
|
+
import { createApp } from 'vue';
|
|
14
|
+
import App from './App.vue';
|
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
+
import cui from 'cnhis-design-vue';
|
|
17
|
+
|
|
18
|
+
const app = createApp(App);
|
|
19
|
+
app.use(cui).mount('#app');
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2. 按需引入
|
|
23
|
+
|
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
+
|
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
# 安装自动导入样式的插件
|
|
30
|
+
npm i -d vite-plugin-style-import
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// vite.config.ts
|
|
35
|
+
import { defineConfig } from 'vite';
|
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
+
|
|
38
|
+
export default defineConfig({
|
|
39
|
+
plugins: [
|
|
40
|
+
// ...otherPlugins
|
|
41
|
+
createStyleImportPlugin({
|
|
42
|
+
libs: [
|
|
43
|
+
{
|
|
44
|
+
libraryName: 'cnhis-design-vue',
|
|
45
|
+
esModule: true,
|
|
46
|
+
ensureStyleFile: true,
|
|
47
|
+
resolveStyle: name => {
|
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// main.ts
|
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 3.FAQ
|
|
65
|
+
|
|
66
|
+
### 3.1 项目打包后样式丢失
|
|
67
|
+
|
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
// vite.config.ts
|
|
72
|
+
import { defineConfig } from 'vite';
|
|
73
|
+
|
|
74
|
+
export default defineConfig({
|
|
75
|
+
build: {
|
|
76
|
+
rollupOptions: {
|
|
77
|
+
// ..otherOptions
|
|
78
|
+
output: {
|
|
79
|
+
dir: './dist',
|
|
80
|
+
manualChunks: {
|
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
```
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/Viewer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/features/modeling';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'diagram-js/lib/navigation/movecanvas';
|
|
@@ -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};
|