@weitutech/by-components-v3 1.1.24 → 1.1.26

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.
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<IDatePickerProps, {}, {},
11
11
  endPlaceholder: string;
12
12
  rangeSeparator: string;
13
13
  active: string;
14
+ shortcutLayout: import("./type").ShortcutLayout;
14
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
16
  export default _default;
@@ -1,3 +1,4 @@
1
+ export type ShortcutLayout = 'external' | 'panel';
1
2
  export type IDatePickerProps = {
2
3
  modelValue: any[] | string;
3
4
  startPlaceholder?: string;
@@ -6,4 +7,10 @@ export type IDatePickerProps = {
6
7
  rangeSeparator?: string;
7
8
  size?: string;
8
9
  active?: string;
10
+ /**
11
+ * 快捷按钮展示方式
12
+ * external: 快捷按钮在输入框右侧(默认,保持原有样式)
13
+ * panel: 快捷按钮在日期选择面板内左侧
14
+ */
15
+ shortcutLayout?: ShortcutLayout;
9
16
  };
@@ -7,13 +7,13 @@ type __VLS_Slots = {} & {
7
7
  footer?: (props: typeof __VLS_20) => any;
8
8
  };
9
9
  declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- cancel: (button: DialogButton, index: number) => any;
11
10
  close: () => any;
11
+ cancel: (button: DialogButton, index: number) => any;
12
12
  confirm: (button: DialogButton, index: number) => any;
13
13
  "update:visible": (visible: boolean) => any;
14
14
  }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
15
- onCancel?: (button: DialogButton, index: number) => any;
16
15
  onClose?: () => any;
16
+ onCancel?: (button: DialogButton, index: number) => any;
17
17
  onConfirm?: (button: DialogButton, index: number) => any;
18
18
  "onUpdate:visible"?: (visible: boolean) => any;
19
19
  }>, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@weitutech/by-components-v3",
4
- "version": "1.1.24",
4
+ "version": "1.1.26",
5
5
  "private": false,
6
6
  "main": "/src/main.ts",
7
7
  "module": "./dist/by-components-v3.js",