cnhis-design-vue 3.4.0-beta.44 → 3.4.0-beta.46
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/classification/index.d.ts +57 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +57 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +57 -0
- package/es/components/classification/src/index.vue.d.ts +57 -0
- package/es/components/date-picker/index.d.ts +19 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +19 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +23 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +29 -6
- package/es/components/field-set/src/FieldColor.vue.d.ts +38 -0
- package/es/components/field-set/src/components/condition.vue.d.ts +19 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +38 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +19 -0
- package/es/components/iho-chat/index.d.ts +38 -0
- package/es/components/iho-chat/src/Index.vue.d.ts +38 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +19 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +19 -0
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +19 -0
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +19 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +19 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +38 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +38 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +38 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +76 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +76 -0
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18n } from '../../../_virtual/_virtual_i18n-methods.js';
|
|
2
|
-
import { defineComponent, useAttrs, ref, computed, onBeforeUnmount, watch, openBlock, createBlock, unref, createSlots, renderList, withCtx, renderSlot, nextTick } from 'vue';
|
|
2
|
+
import { defineComponent, useAttrs, ref, computed, onMounted, onBeforeUnmount, watch, openBlock, createBlock, unref, createSlots, renderList, withCtx, renderSlot, nextTick } from 'vue';
|
|
3
3
|
import { promiseTimeout } from '@vueuse/shared';
|
|
4
4
|
import { NDatePicker } from 'naive-ui';
|
|
5
5
|
import '../../../shared/utils/index.js';
|
|
@@ -10,6 +10,7 @@ import '../../../shared/hooks/selectHooks/useSearchContent.js';
|
|
|
10
10
|
import '@vicons/ionicons5';
|
|
11
11
|
import '../../../shared/hooks/useScrollLoading.js';
|
|
12
12
|
import { subYears, addYears, isWithinInterval, format, sub, startOfDay, endOfDay } from 'date-fns';
|
|
13
|
+
import { useEventListener } from '@vueuse/core';
|
|
13
14
|
|
|
14
15
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
16
|
__name: "DatePicker",
|
|
@@ -47,6 +48,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
48
|
},
|
|
48
49
|
isDateDisabled: {
|
|
49
50
|
type: Function
|
|
51
|
+
},
|
|
52
|
+
shortcutListenerConfig: {
|
|
53
|
+
type: Object
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
emits: ["update:formatted-value"],
|
|
@@ -117,6 +121,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
121
|
emit,
|
|
118
122
|
allowedInvalidValue: props.allowedInvalidValue
|
|
119
123
|
});
|
|
124
|
+
function handleShortcutClick(event) {
|
|
125
|
+
var _a, _b, _c, _d, _e, _f;
|
|
126
|
+
const target = event.target;
|
|
127
|
+
if (!target)
|
|
128
|
+
return;
|
|
129
|
+
const actionsPanelEl = (_d = (_c = (_b = (_a = datePickerRef.value) == null ? void 0 : _a.panelInstRef) == null ? void 0 : _b.$el) == null ? void 0 : _c.querySelector) == null ? void 0 : _d.call(_c, ".n-date-panel-actions");
|
|
130
|
+
if (!actionsPanelEl)
|
|
131
|
+
return;
|
|
132
|
+
if (((_e = target.parentElement) == null ? void 0 : _e.className.includes("n-button--default-type")) && actionsPanelEl.contains(target)) {
|
|
133
|
+
(_f = props.shortcutListenerConfig) == null ? void 0 : _f.callback(target.innerText);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
onMounted(() => {
|
|
137
|
+
var _a;
|
|
138
|
+
if (!((_a = props.shortcutListenerConfig) == null ? void 0 : _a.enable))
|
|
139
|
+
return;
|
|
140
|
+
useEventListener(document, "click", handleShortcutClick, true);
|
|
141
|
+
});
|
|
120
142
|
async function onUpdateShow(show) {
|
|
121
143
|
setHoliday(show);
|
|
122
144
|
if (!show || !isDateTime.value)
|
|
@@ -134,6 +134,33 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
|
134
134
|
const line = drawLine([originX, y, endX, y], scaleValue.positionLine);
|
|
135
135
|
canvas.value.add(line);
|
|
136
136
|
}
|
|
137
|
+
function creatShaDowBorder(points, mode, style) {
|
|
138
|
+
const borderGroup = new fabric.Group();
|
|
139
|
+
const lines = [];
|
|
140
|
+
const drawnLines = /* @__PURE__ */ new Set();
|
|
141
|
+
for (let i = 0; i < points.length; i++) {
|
|
142
|
+
const nextIndex = (i + 1) % points.length;
|
|
143
|
+
const startPoint = points[i];
|
|
144
|
+
const endPoint = points[nextIndex];
|
|
145
|
+
const lineKey1 = `${startPoint.x},${startPoint.y},${endPoint.x},${endPoint.y}`;
|
|
146
|
+
const lineKey2 = `${endPoint.x},${endPoint.y},${startPoint.x},${startPoint.y}`;
|
|
147
|
+
if (drawnLines.has(lineKey1) || drawnLines.has(lineKey2)) {
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
if (startPoint.x === endPoint.x && startPoint.y === endPoint.y || mode === "line" && startPoint.x === endPoint.x) {
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
drawnLines.add(lineKey1);
|
|
154
|
+
const line = new fabric.Line([startPoint.x, startPoint.y, endPoint.x, endPoint.y], {
|
|
155
|
+
...defaultStyle,
|
|
156
|
+
...style,
|
|
157
|
+
strokeWidth: 1
|
|
158
|
+
});
|
|
159
|
+
lines.push(line);
|
|
160
|
+
}
|
|
161
|
+
borderGroup.add(...lines).addWithUpdate();
|
|
162
|
+
return borderGroup;
|
|
163
|
+
}
|
|
137
164
|
function drawShaDow(target) {
|
|
138
165
|
var _a;
|
|
139
166
|
const pulseObj = yScaleValue.find((item) => item.show && item.type === "pulse");
|
|
@@ -174,16 +201,12 @@ function useCenter(canvas, propItems, emits, computedX, computedY, getXValue, ge
|
|
|
174
201
|
x: v[0],
|
|
175
202
|
y: v[1]
|
|
176
203
|
}));
|
|
177
|
-
const polygon = new fabric.Polygon(points, {
|
|
204
|
+
const polygon = mode === "color" ? new fabric.Polygon(points, {
|
|
178
205
|
...defaultStyle,
|
|
179
206
|
...style,
|
|
180
207
|
strokeWidth: 1
|
|
181
|
-
});
|
|
208
|
+
}) : creatShaDowBorder(points, mode, style);
|
|
182
209
|
if (["slash", "line"].includes(mode)) {
|
|
183
|
-
polygon.set({
|
|
184
|
-
fill: "transparent",
|
|
185
|
-
stroke: style.stroke || "#f00"
|
|
186
|
-
});
|
|
187
210
|
const shadowLines = [];
|
|
188
211
|
if (["slash"].includes(mode)) {
|
|
189
212
|
shadowLines.push(...createShadowLines(item, style._angle, style.space, omit(style, ["_angle", "space"])));
|
|
@@ -869,6 +869,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
869
869
|
isDateDisabled: {
|
|
870
870
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
871
871
|
};
|
|
872
|
+
shortcutListenerConfig: {
|
|
873
|
+
type: PropType<{
|
|
874
|
+
enable: boolean;
|
|
875
|
+
callback: (key: string) => void;
|
|
876
|
+
}>;
|
|
877
|
+
};
|
|
872
878
|
}>, {
|
|
873
879
|
attrs: {
|
|
874
880
|
[x: string]: unknown;
|
|
@@ -908,6 +914,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
908
914
|
isDateDisabled: {
|
|
909
915
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
910
916
|
};
|
|
917
|
+
shortcutListenerConfig: {
|
|
918
|
+
type: PropType<{
|
|
919
|
+
enable: boolean;
|
|
920
|
+
callback: (key: string) => void;
|
|
921
|
+
}>;
|
|
922
|
+
};
|
|
911
923
|
}>> & Readonly<{
|
|
912
924
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
913
925
|
}> & {}>;
|
|
@@ -924,6 +936,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
924
936
|
focus: () => any;
|
|
925
937
|
blur: () => any;
|
|
926
938
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
939
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
927
940
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
928
941
|
watchers: import("../../../shared/types").AnyFn[];
|
|
929
942
|
stopWatcher: () => void;
|
|
@@ -967,6 +980,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
967
980
|
isDateDisabled: {
|
|
968
981
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
969
982
|
};
|
|
983
|
+
shortcutListenerConfig: {
|
|
984
|
+
type: PropType<{
|
|
985
|
+
enable: boolean;
|
|
986
|
+
callback: (key: string) => void;
|
|
987
|
+
}>;
|
|
988
|
+
};
|
|
970
989
|
}>> & Readonly<{
|
|
971
990
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
972
991
|
}>, {
|
|
@@ -1233,6 +1252,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1233
1252
|
isDateDisabled: {
|
|
1234
1253
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1235
1254
|
};
|
|
1255
|
+
shortcutListenerConfig: {
|
|
1256
|
+
type: PropType<{
|
|
1257
|
+
enable: boolean;
|
|
1258
|
+
callback: (key: string) => void;
|
|
1259
|
+
}>;
|
|
1260
|
+
};
|
|
1236
1261
|
}>, {
|
|
1237
1262
|
attrs: {
|
|
1238
1263
|
[x: string]: unknown;
|
|
@@ -1272,6 +1297,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1272
1297
|
isDateDisabled: {
|
|
1273
1298
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1274
1299
|
};
|
|
1300
|
+
shortcutListenerConfig: {
|
|
1301
|
+
type: PropType<{
|
|
1302
|
+
enable: boolean;
|
|
1303
|
+
callback: (key: string) => void;
|
|
1304
|
+
}>;
|
|
1305
|
+
};
|
|
1275
1306
|
}>> & Readonly<{
|
|
1276
1307
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1277
1308
|
}> & {}>;
|
|
@@ -1288,6 +1319,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1288
1319
|
focus: () => any;
|
|
1289
1320
|
blur: () => any;
|
|
1290
1321
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1322
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1291
1323
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1292
1324
|
watchers: import("../../../shared/types").AnyFn[];
|
|
1293
1325
|
stopWatcher: () => void;
|
|
@@ -1331,6 +1363,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1331
1363
|
isDateDisabled: {
|
|
1332
1364
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1333
1365
|
};
|
|
1366
|
+
shortcutListenerConfig: {
|
|
1367
|
+
type: PropType<{
|
|
1368
|
+
enable: boolean;
|
|
1369
|
+
callback: (key: string) => void;
|
|
1370
|
+
}>;
|
|
1371
|
+
};
|
|
1334
1372
|
}>> & Readonly<{
|
|
1335
1373
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1336
1374
|
}>, {
|
|
@@ -145,6 +145,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
145
|
isDateDisabled: {
|
|
146
146
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
147
147
|
};
|
|
148
|
+
shortcutListenerConfig: {
|
|
149
|
+
type: PropType<{
|
|
150
|
+
enable: boolean;
|
|
151
|
+
callback: (key: string) => void;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
148
154
|
}>, {
|
|
149
155
|
attrs: {
|
|
150
156
|
[x: string]: unknown;
|
|
@@ -184,6 +190,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
184
190
|
isDateDisabled: {
|
|
185
191
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
186
192
|
};
|
|
193
|
+
shortcutListenerConfig: {
|
|
194
|
+
type: PropType<{
|
|
195
|
+
enable: boolean;
|
|
196
|
+
callback: (key: string) => void;
|
|
197
|
+
}>;
|
|
198
|
+
};
|
|
187
199
|
}>> & Readonly<{
|
|
188
200
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
189
201
|
}> & {}>;
|
|
@@ -200,6 +212,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
200
212
|
focus: () => any;
|
|
201
213
|
blur: () => any;
|
|
202
214
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
215
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
203
216
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
204
217
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
205
218
|
stopWatcher: () => void;
|
|
@@ -243,6 +256,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
243
256
|
isDateDisabled: {
|
|
244
257
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
245
258
|
};
|
|
259
|
+
shortcutListenerConfig: {
|
|
260
|
+
type: PropType<{
|
|
261
|
+
enable: boolean;
|
|
262
|
+
callback: (key: string) => void;
|
|
263
|
+
}>;
|
|
264
|
+
};
|
|
246
265
|
}>> & Readonly<{
|
|
247
266
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
248
267
|
}>, {
|
|
@@ -309,6 +309,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
309
309
|
isDateDisabled: {
|
|
310
310
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
311
311
|
};
|
|
312
|
+
shortcutListenerConfig: {
|
|
313
|
+
type: PropType<{
|
|
314
|
+
enable: boolean;
|
|
315
|
+
callback: (key: string) => void;
|
|
316
|
+
}>;
|
|
317
|
+
};
|
|
312
318
|
}>, {
|
|
313
319
|
attrs: {
|
|
314
320
|
[x: string]: unknown;
|
|
@@ -348,6 +354,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
354
|
isDateDisabled: {
|
|
349
355
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
350
356
|
};
|
|
357
|
+
shortcutListenerConfig: {
|
|
358
|
+
type: PropType<{
|
|
359
|
+
enable: boolean;
|
|
360
|
+
callback: (key: string) => void;
|
|
361
|
+
}>;
|
|
362
|
+
};
|
|
351
363
|
}>> & Readonly<{
|
|
352
364
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
353
365
|
}> & {}>;
|
|
@@ -364,6 +376,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
364
376
|
focus: () => any;
|
|
365
377
|
blur: () => any;
|
|
366
378
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
379
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
367
380
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
368
381
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
369
382
|
stopWatcher: () => void;
|
|
@@ -407,6 +420,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
407
420
|
isDateDisabled: {
|
|
408
421
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
409
422
|
};
|
|
423
|
+
shortcutListenerConfig: {
|
|
424
|
+
type: PropType<{
|
|
425
|
+
enable: boolean;
|
|
426
|
+
callback: (key: string) => void;
|
|
427
|
+
}>;
|
|
428
|
+
};
|
|
410
429
|
}>> & Readonly<{
|
|
411
430
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
412
431
|
}>, {
|
|
@@ -673,6 +692,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
673
692
|
isDateDisabled: {
|
|
674
693
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
675
694
|
};
|
|
695
|
+
shortcutListenerConfig: {
|
|
696
|
+
type: PropType<{
|
|
697
|
+
enable: boolean;
|
|
698
|
+
callback: (key: string) => void;
|
|
699
|
+
}>;
|
|
700
|
+
};
|
|
676
701
|
}>, {
|
|
677
702
|
attrs: {
|
|
678
703
|
[x: string]: unknown;
|
|
@@ -712,6 +737,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
712
737
|
isDateDisabled: {
|
|
713
738
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
714
739
|
};
|
|
740
|
+
shortcutListenerConfig: {
|
|
741
|
+
type: PropType<{
|
|
742
|
+
enable: boolean;
|
|
743
|
+
callback: (key: string) => void;
|
|
744
|
+
}>;
|
|
745
|
+
};
|
|
715
746
|
}>> & Readonly<{
|
|
716
747
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
717
748
|
}> & {}>;
|
|
@@ -728,6 +759,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
728
759
|
focus: () => any;
|
|
729
760
|
blur: () => any;
|
|
730
761
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
762
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
731
763
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
732
764
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
733
765
|
stopWatcher: () => void;
|
|
@@ -771,6 +803,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
771
803
|
isDateDisabled: {
|
|
772
804
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
773
805
|
};
|
|
806
|
+
shortcutListenerConfig: {
|
|
807
|
+
type: PropType<{
|
|
808
|
+
enable: boolean;
|
|
809
|
+
callback: (key: string) => void;
|
|
810
|
+
}>;
|
|
811
|
+
};
|
|
774
812
|
}>> & Readonly<{
|
|
775
813
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
776
814
|
}>, {
|
|
@@ -243,6 +243,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
243
243
|
isDateDisabled: {
|
|
244
244
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
245
245
|
};
|
|
246
|
+
shortcutListenerConfig: {
|
|
247
|
+
type: PropType<{
|
|
248
|
+
enable: boolean;
|
|
249
|
+
callback: (key: string) => void;
|
|
250
|
+
}>;
|
|
251
|
+
};
|
|
246
252
|
}>, {
|
|
247
253
|
attrs: {
|
|
248
254
|
[x: string]: unknown;
|
|
@@ -282,6 +288,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
282
288
|
isDateDisabled: {
|
|
283
289
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
284
290
|
};
|
|
291
|
+
shortcutListenerConfig: {
|
|
292
|
+
type: PropType<{
|
|
293
|
+
enable: boolean;
|
|
294
|
+
callback: (key: string) => void;
|
|
295
|
+
}>;
|
|
296
|
+
};
|
|
285
297
|
}>> & Readonly<{
|
|
286
298
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
287
299
|
}> & {}>;
|
|
@@ -298,6 +310,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
298
310
|
focus: () => any;
|
|
299
311
|
blur: () => any;
|
|
300
312
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
313
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
301
314
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
302
315
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
303
316
|
stopWatcher: () => void;
|
|
@@ -341,6 +354,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
341
354
|
isDateDisabled: {
|
|
342
355
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
343
356
|
};
|
|
357
|
+
shortcutListenerConfig: {
|
|
358
|
+
type: PropType<{
|
|
359
|
+
enable: boolean;
|
|
360
|
+
callback: (key: string) => void;
|
|
361
|
+
}>;
|
|
362
|
+
};
|
|
344
363
|
}>> & Readonly<{
|
|
345
364
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
346
365
|
}>, {
|
|
@@ -449,6 +449,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
449
449
|
isDateDisabled: {
|
|
450
450
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
451
451
|
};
|
|
452
|
+
shortcutListenerConfig: {
|
|
453
|
+
type: import("vue").PropType<{
|
|
454
|
+
enable: boolean;
|
|
455
|
+
callback: (key: string) => void;
|
|
456
|
+
}>;
|
|
457
|
+
};
|
|
452
458
|
}>, {
|
|
453
459
|
attrs: {
|
|
454
460
|
[x: string]: unknown;
|
|
@@ -488,6 +494,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
488
494
|
isDateDisabled: {
|
|
489
495
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
490
496
|
};
|
|
497
|
+
shortcutListenerConfig: {
|
|
498
|
+
type: import("vue").PropType<{
|
|
499
|
+
enable: boolean;
|
|
500
|
+
callback: (key: string) => void;
|
|
501
|
+
}>;
|
|
502
|
+
};
|
|
491
503
|
}>> & Readonly<{
|
|
492
504
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
493
505
|
}> & {}>;
|
|
@@ -504,6 +516,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
504
516
|
focus: () => any;
|
|
505
517
|
blur: () => any;
|
|
506
518
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
519
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
507
520
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
508
521
|
watchers: import("../../shared/types").AnyFn[];
|
|
509
522
|
stopWatcher: () => void;
|
|
@@ -547,6 +560,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
547
560
|
isDateDisabled: {
|
|
548
561
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
549
562
|
};
|
|
563
|
+
shortcutListenerConfig: {
|
|
564
|
+
type: import("vue").PropType<{
|
|
565
|
+
enable: boolean;
|
|
566
|
+
callback: (key: string) => void;
|
|
567
|
+
}>;
|
|
568
|
+
};
|
|
550
569
|
}>> & Readonly<{
|
|
551
570
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
552
571
|
}>, {
|
|
@@ -1647,6 +1666,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1647
1666
|
isDateDisabled: {
|
|
1648
1667
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1649
1668
|
};
|
|
1669
|
+
shortcutListenerConfig: {
|
|
1670
|
+
type: import("vue").PropType<{
|
|
1671
|
+
enable: boolean;
|
|
1672
|
+
callback: (key: string) => void;
|
|
1673
|
+
}>;
|
|
1674
|
+
};
|
|
1650
1675
|
}>, {
|
|
1651
1676
|
attrs: {
|
|
1652
1677
|
[x: string]: unknown;
|
|
@@ -1686,6 +1711,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1686
1711
|
isDateDisabled: {
|
|
1687
1712
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1688
1713
|
};
|
|
1714
|
+
shortcutListenerConfig: {
|
|
1715
|
+
type: import("vue").PropType<{
|
|
1716
|
+
enable: boolean;
|
|
1717
|
+
callback: (key: string) => void;
|
|
1718
|
+
}>;
|
|
1719
|
+
};
|
|
1689
1720
|
}>> & Readonly<{
|
|
1690
1721
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1691
1722
|
}> & {}>;
|
|
@@ -1702,6 +1733,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1702
1733
|
focus: () => any;
|
|
1703
1734
|
blur: () => any;
|
|
1704
1735
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1736
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1705
1737
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1706
1738
|
watchers: import("../../shared/types").AnyFn[];
|
|
1707
1739
|
stopWatcher: () => void;
|
|
@@ -1745,6 +1777,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<import("vue"
|
|
|
1745
1777
|
isDateDisabled: {
|
|
1746
1778
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1747
1779
|
};
|
|
1780
|
+
shortcutListenerConfig: {
|
|
1781
|
+
type: import("vue").PropType<{
|
|
1782
|
+
enable: boolean;
|
|
1783
|
+
callback: (key: string) => void;
|
|
1784
|
+
}>;
|
|
1785
|
+
};
|
|
1748
1786
|
}>> & Readonly<{
|
|
1749
1787
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1750
1788
|
}>, {
|
|
@@ -450,6 +450,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
450
450
|
isDateDisabled: {
|
|
451
451
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
452
452
|
};
|
|
453
|
+
shortcutListenerConfig: {
|
|
454
|
+
type: PropType<{
|
|
455
|
+
enable: boolean;
|
|
456
|
+
callback: (key: string) => void;
|
|
457
|
+
}>;
|
|
458
|
+
};
|
|
453
459
|
}>, {
|
|
454
460
|
attrs: {
|
|
455
461
|
[x: string]: unknown;
|
|
@@ -489,6 +495,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
489
495
|
isDateDisabled: {
|
|
490
496
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
491
497
|
};
|
|
498
|
+
shortcutListenerConfig: {
|
|
499
|
+
type: PropType<{
|
|
500
|
+
enable: boolean;
|
|
501
|
+
callback: (key: string) => void;
|
|
502
|
+
}>;
|
|
503
|
+
};
|
|
492
504
|
}>> & Readonly<{
|
|
493
505
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
494
506
|
}> & {}>;
|
|
@@ -505,6 +517,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
505
517
|
focus: () => any;
|
|
506
518
|
blur: () => any;
|
|
507
519
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
520
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
508
521
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
509
522
|
watchers: import("../../../shared/types").AnyFn[];
|
|
510
523
|
stopWatcher: () => void;
|
|
@@ -548,6 +561,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
548
561
|
isDateDisabled: {
|
|
549
562
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
550
563
|
};
|
|
564
|
+
shortcutListenerConfig: {
|
|
565
|
+
type: PropType<{
|
|
566
|
+
enable: boolean;
|
|
567
|
+
callback: (key: string) => void;
|
|
568
|
+
}>;
|
|
569
|
+
};
|
|
551
570
|
}>> & Readonly<{
|
|
552
571
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
553
572
|
}>, {
|
|
@@ -1648,6 +1667,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1648
1667
|
isDateDisabled: {
|
|
1649
1668
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1650
1669
|
};
|
|
1670
|
+
shortcutListenerConfig: {
|
|
1671
|
+
type: PropType<{
|
|
1672
|
+
enable: boolean;
|
|
1673
|
+
callback: (key: string) => void;
|
|
1674
|
+
}>;
|
|
1675
|
+
};
|
|
1651
1676
|
}>, {
|
|
1652
1677
|
attrs: {
|
|
1653
1678
|
[x: string]: unknown;
|
|
@@ -1687,6 +1712,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1687
1712
|
isDateDisabled: {
|
|
1688
1713
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1689
1714
|
};
|
|
1715
|
+
shortcutListenerConfig: {
|
|
1716
|
+
type: PropType<{
|
|
1717
|
+
enable: boolean;
|
|
1718
|
+
callback: (key: string) => void;
|
|
1719
|
+
}>;
|
|
1720
|
+
};
|
|
1690
1721
|
}>> & Readonly<{
|
|
1691
1722
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1692
1723
|
}> & {}>;
|
|
@@ -1703,6 +1734,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1703
1734
|
focus: () => any;
|
|
1704
1735
|
blur: () => any;
|
|
1705
1736
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1737
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1706
1738
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1707
1739
|
watchers: import("../../../shared/types").AnyFn[];
|
|
1708
1740
|
stopWatcher: () => void;
|
|
@@ -1746,6 +1778,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1746
1778
|
isDateDisabled: {
|
|
1747
1779
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1748
1780
|
};
|
|
1781
|
+
shortcutListenerConfig: {
|
|
1782
|
+
type: PropType<{
|
|
1783
|
+
enable: boolean;
|
|
1784
|
+
callback: (key: string) => void;
|
|
1785
|
+
}>;
|
|
1786
|
+
};
|
|
1749
1787
|
}>> & Readonly<{
|
|
1750
1788
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1751
1789
|
}>, {
|
|
@@ -1018,6 +1018,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1018
1018
|
isDateDisabled: {
|
|
1019
1019
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1020
1020
|
};
|
|
1021
|
+
shortcutListenerConfig: {
|
|
1022
|
+
type: import("vue").PropType<{
|
|
1023
|
+
enable: boolean;
|
|
1024
|
+
callback: (key: string) => void;
|
|
1025
|
+
}>;
|
|
1026
|
+
};
|
|
1021
1027
|
}>, {
|
|
1022
1028
|
attrs: {
|
|
1023
1029
|
[x: string]: unknown;
|
|
@@ -1057,6 +1063,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1057
1063
|
isDateDisabled: {
|
|
1058
1064
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1059
1065
|
};
|
|
1066
|
+
shortcutListenerConfig: {
|
|
1067
|
+
type: import("vue").PropType<{
|
|
1068
|
+
enable: boolean;
|
|
1069
|
+
callback: (key: string) => void;
|
|
1070
|
+
}>;
|
|
1071
|
+
};
|
|
1060
1072
|
}>> & Readonly<{
|
|
1061
1073
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1062
1074
|
}> & {}>;
|
|
@@ -1073,6 +1085,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1073
1085
|
focus: () => any;
|
|
1074
1086
|
blur: () => any;
|
|
1075
1087
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1088
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1076
1089
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1077
1090
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
1078
1091
|
stopWatcher: () => void;
|
|
@@ -1116,6 +1129,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1116
1129
|
isDateDisabled: {
|
|
1117
1130
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1118
1131
|
};
|
|
1132
|
+
shortcutListenerConfig: {
|
|
1133
|
+
type: import("vue").PropType<{
|
|
1134
|
+
enable: boolean;
|
|
1135
|
+
callback: (key: string) => void;
|
|
1136
|
+
}>;
|
|
1137
|
+
};
|
|
1119
1138
|
}>> & Readonly<{
|
|
1120
1139
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1121
1140
|
}>, {
|
|
@@ -135,6 +135,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
135
135
|
isDateDisabled: {
|
|
136
136
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
137
137
|
};
|
|
138
|
+
shortcutListenerConfig: {
|
|
139
|
+
type: PropType<{
|
|
140
|
+
enable: boolean;
|
|
141
|
+
callback: (key: string) => void;
|
|
142
|
+
}>;
|
|
143
|
+
};
|
|
138
144
|
}>, {
|
|
139
145
|
attrs: {
|
|
140
146
|
[x: string]: unknown;
|
|
@@ -174,6 +180,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
174
180
|
isDateDisabled: {
|
|
175
181
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
176
182
|
};
|
|
183
|
+
shortcutListenerConfig: {
|
|
184
|
+
type: PropType<{
|
|
185
|
+
enable: boolean;
|
|
186
|
+
callback: (key: string) => void;
|
|
187
|
+
}>;
|
|
188
|
+
};
|
|
177
189
|
}>> & Readonly<{
|
|
178
190
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
179
191
|
}> & {}>;
|
|
@@ -190,6 +202,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
190
202
|
focus: () => any;
|
|
191
203
|
blur: () => any;
|
|
192
204
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
205
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
193
206
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
194
207
|
watchers: import("../../../../shared/types").AnyFn[];
|
|
195
208
|
stopWatcher: () => void;
|
|
@@ -233,6 +246,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
246
|
isDateDisabled: {
|
|
234
247
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
235
248
|
};
|
|
249
|
+
shortcutListenerConfig: {
|
|
250
|
+
type: PropType<{
|
|
251
|
+
enable: boolean;
|
|
252
|
+
callback: (key: string) => void;
|
|
253
|
+
}>;
|
|
254
|
+
};
|
|
236
255
|
}>> & Readonly<{
|
|
237
256
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
238
257
|
}>, {
|