@fewangsit/wangsvue 1.5.219 → 1.5.220-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buttonscan/index.d.ts +1 -1
- package/components.d.ts +1 -0
- package/datatable/index.d.ts +8 -1
- package/inputphonenumber/index.d.ts +4 -1
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +1 -1
- package/utils/date.util.d.ts +12 -0
- package/wangsvue.es.js +28121 -28106
- package/wangsvue.js +28121 -28106
- package/wangsvue.system.js +41 -41
package/buttonscan/index.d.ts
CHANGED
package/components.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { default as ButtonRadio } from './buttonradio';
|
|
|
11
11
|
export { default as ButtonSearch } from './buttonsearch';
|
|
12
12
|
export { default as ButtonSelectTree } from './buttonselecttree';
|
|
13
13
|
export { default as ButtonToggle } from './buttontoggle';
|
|
14
|
+
export { default as Calendar } from './calendar';
|
|
14
15
|
export { default as Card } from './card';
|
|
15
16
|
export { default as Checkbox } from './checkbox';
|
|
16
17
|
export { default as CodeSnippet } from './codesnippet';
|
package/datatable/index.d.ts
CHANGED
|
@@ -733,6 +733,13 @@ export type TreeTableEmits = BaseDataTableEmits & {
|
|
|
733
733
|
|
|
734
734
|
export type DataTableEmits = TreeTableEmits;
|
|
735
735
|
|
|
736
|
+
export type DataTableSlots = {
|
|
737
|
+
/**
|
|
738
|
+
* Slot for rendering sub content below a table row.
|
|
739
|
+
*/
|
|
740
|
+
'row-subcontent': (props: { item: Data }) => any;
|
|
741
|
+
};
|
|
742
|
+
|
|
736
743
|
/**
|
|
737
744
|
* **WangsVue - DataTable**
|
|
738
745
|
*
|
|
@@ -746,7 +753,7 @@ export type DataTableEmits = TreeTableEmits;
|
|
|
746
753
|
*/
|
|
747
754
|
declare class DataTable extends ClassComponent<
|
|
748
755
|
DataTableProps,
|
|
749
|
-
|
|
756
|
+
DataTableSlots,
|
|
750
757
|
DataTableEmits
|
|
751
758
|
> {}
|
|
752
759
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { DefineComponent } from 'vue';
|
|
2
2
|
|
|
3
|
+
import { CustomValidation } from '../form';
|
|
4
|
+
|
|
3
5
|
export interface InputPhoneNumberLocaleConfig {
|
|
4
6
|
defaultPlaceholder?: string;
|
|
7
|
+
emptyInvalidText?: string;
|
|
5
8
|
}
|
|
6
9
|
|
|
7
10
|
/**
|
|
@@ -63,7 +66,7 @@ export interface InputPhoneNumberProps {
|
|
|
63
66
|
* Set the custom validator message.
|
|
64
67
|
* By default each field has preserved with its validator message, you don't need to worrying about the message.
|
|
65
68
|
*/
|
|
66
|
-
validatorMessage?: string
|
|
69
|
+
validatorMessage?: string | CustomValidation<'empty'>;
|
|
67
70
|
/**
|
|
68
71
|
* Show information about the field.
|
|
69
72
|
*/
|