@sdata/web-vue 3.29.0 → 3.30.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/es/index.js +3 -3
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -0
- package/es/json-form/types.d.ts +4 -0
- package/es/json-form/types.js +1 -0
- package/es/json-form/utils.js +3 -0
- package/es/sd-vue.js +1 -1
- package/json/web-types.json +1 -1
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -58,6 +58,9 @@ import week_picker_default from "./date-picker/pickers/week-picker.js";
|
|
|
58
58
|
import year_picker_default from "./date-picker/pickers/year-picker.js";
|
|
59
59
|
import range_picker_default from "./date-picker/range-picker.js";
|
|
60
60
|
import DatePicker from "./date-picker/index.js";
|
|
61
|
+
import { defaultInputMaskFormatChars, formatInputMask } from "./input-mask/mask-engine.js";
|
|
62
|
+
import { inputMaskPresets } from "./input-mask/presets.js";
|
|
63
|
+
import InputMask from "./input-mask/index.js";
|
|
61
64
|
import Textarea from "./textarea/index.js";
|
|
62
65
|
import Mention from "./mention/index.js";
|
|
63
66
|
import Rate from "./rate/index.js";
|
|
@@ -107,9 +110,6 @@ import preview_group_default from "./image/preview-group.js";
|
|
|
107
110
|
import Image from "./image/index.js";
|
|
108
111
|
import FilePreviewer from "./file-previewer/index.js";
|
|
109
112
|
import Icon from "./icon-component/index.js";
|
|
110
|
-
import { defaultInputMaskFormatChars, formatInputMask } from "./input-mask/mask-engine.js";
|
|
111
|
-
import { inputMaskPresets } from "./input-mask/presets.js";
|
|
112
|
-
import InputMask from "./input-mask/index.js";
|
|
113
113
|
import KvList from "./kv-list/index.js";
|
|
114
114
|
import content_default from "./layout/content.js";
|
|
115
115
|
import footer_default from "./layout/footer.js";
|
|
@@ -27,6 +27,7 @@ var json_form_component_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
27
27
|
const type = (_props$schema$type2 = props.schema.type) !== null && _props$schema$type2 !== void 0 ? _props$schema$type2 : JSON_FORM_COMPONENT_TYPES.input;
|
|
28
28
|
if ([
|
|
29
29
|
JSON_FORM_COMPONENT_TYPES.input,
|
|
30
|
+
JSON_FORM_COMPONENT_TYPES.inputMask,
|
|
30
31
|
JSON_FORM_COMPONENT_TYPES.inputSearch,
|
|
31
32
|
JSON_FORM_COMPONENT_TYPES.inputNumber,
|
|
32
33
|
JSON_FORM_COMPONENT_TYPES.inputPassword,
|
package/es/json-form/types.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { DatePickerInstance, RangePickerInstance } from '../date-picker';
|
|
|
6
6
|
import type { FieldRule, FormItemInstance } from '../form';
|
|
7
7
|
import type { GridColInstance, GridRowInstance } from '../grid';
|
|
8
8
|
import type { InputInstance, InputPasswordInstance, InputSearchInstance } from '../input';
|
|
9
|
+
import type { InputMaskInstance } from '../input-mask';
|
|
9
10
|
import type { InputNumberInstance } from '../input-number';
|
|
10
11
|
import type { InputTagInstance } from '../input-tag';
|
|
11
12
|
import type { MentionInstance } from '../mention';
|
|
@@ -31,6 +32,7 @@ export declare const JSON_FORM_COMPONENT_TYPES: {
|
|
|
31
32
|
readonly checkboxGroup: "checkboxGroup";
|
|
32
33
|
readonly datePicker: "datePicker";
|
|
33
34
|
readonly input: "input";
|
|
35
|
+
readonly inputMask: "inputMask";
|
|
34
36
|
readonly inputNumber: "inputNumber";
|
|
35
37
|
readonly inputPassword: "inputPassword";
|
|
36
38
|
readonly inputSearch: "inputSearch";
|
|
@@ -67,6 +69,7 @@ type JsonFormBuiltInComponentPropsMap = {
|
|
|
67
69
|
checkboxGroup: CheckboxGroupInstance['$props'];
|
|
68
70
|
datePicker: DatePickerInstance['$props'];
|
|
69
71
|
input: InputInstance['$props'];
|
|
72
|
+
inputMask: InputMaskInstance['$props'];
|
|
70
73
|
inputNumber: InputNumberInstance['$props'];
|
|
71
74
|
inputPassword: InputPasswordInstance['$props'];
|
|
72
75
|
inputSearch: InputSearchInstance['$props'];
|
|
@@ -94,6 +97,7 @@ type JsonFormBuiltInComponentEventsMap = {
|
|
|
94
97
|
checkboxGroup: CheckboxGroupInstance['$emit'];
|
|
95
98
|
datePicker: DatePickerInstance['$emit'];
|
|
96
99
|
input: InputInstance['$emit'];
|
|
100
|
+
inputMask: InputMaskInstance['$emit'];
|
|
97
101
|
inputNumber: InputNumberInstance['$emit'];
|
|
98
102
|
inputPassword: InputPasswordInstance['$emit'];
|
|
99
103
|
inputSearch: InputSearchInstance['$emit'];
|
package/es/json-form/types.js
CHANGED
package/es/json-form/utils.js
CHANGED
|
@@ -15,6 +15,7 @@ import { JSON_FORM_COMPONENT_TYPES } from "./types.js";
|
|
|
15
15
|
import Cascader from "../cascader/index.js";
|
|
16
16
|
import range_picker_default from "../date-picker/range-picker.js";
|
|
17
17
|
import DatePicker from "../date-picker/index.js";
|
|
18
|
+
import InputMask from "../input-mask/index.js";
|
|
18
19
|
import Textarea from "../textarea/index.js";
|
|
19
20
|
import Mention from "../mention/index.js";
|
|
20
21
|
import Rate from "../rate/index.js";
|
|
@@ -31,6 +32,7 @@ var STRETCH_COMPONENT_TYPES = /* @__PURE__ */ new Set([
|
|
|
31
32
|
JSON_FORM_COMPONENT_TYPES.cascader,
|
|
32
33
|
JSON_FORM_COMPONENT_TYPES.datePicker,
|
|
33
34
|
JSON_FORM_COMPONENT_TYPES.input,
|
|
35
|
+
JSON_FORM_COMPONENT_TYPES.inputMask,
|
|
34
36
|
JSON_FORM_COMPONENT_TYPES.inputNumber,
|
|
35
37
|
JSON_FORM_COMPONENT_TYPES.inputPassword,
|
|
36
38
|
JSON_FORM_COMPONENT_TYPES.inputSearch,
|
|
@@ -50,6 +52,7 @@ var jsonFormBuiltInComponents = {
|
|
|
50
52
|
checkboxGroup: checkbox_group_default,
|
|
51
53
|
datePicker: DatePicker,
|
|
52
54
|
input: Input,
|
|
55
|
+
inputMask: InputMask,
|
|
53
56
|
inputNumber: InputNumber,
|
|
54
57
|
inputPassword: input_password_default,
|
|
55
58
|
inputSearch: input_search_default,
|
package/es/sd-vue.js
CHANGED
|
@@ -56,6 +56,7 @@ import week_picker_default from "./date-picker/pickers/week-picker.js";
|
|
|
56
56
|
import year_picker_default from "./date-picker/pickers/year-picker.js";
|
|
57
57
|
import range_picker_default from "./date-picker/range-picker.js";
|
|
58
58
|
import DatePicker from "./date-picker/index.js";
|
|
59
|
+
import InputMask from "./input-mask/index.js";
|
|
59
60
|
import Textarea from "./textarea/index.js";
|
|
60
61
|
import Mention from "./mention/index.js";
|
|
61
62
|
import Rate from "./rate/index.js";
|
|
@@ -105,7 +106,6 @@ import preview_group_default from "./image/preview-group.js";
|
|
|
105
106
|
import Image from "./image/index.js";
|
|
106
107
|
import FilePreviewer from "./file-previewer/index.js";
|
|
107
108
|
import Icon from "./icon-component/index.js";
|
|
108
|
-
import InputMask from "./input-mask/index.js";
|
|
109
109
|
import KvList from "./kv-list/index.js";
|
|
110
110
|
import content_default from "./layout/content.js";
|
|
111
111
|
import footer_default from "./layout/footer.js";
|
package/json/web-types.json
CHANGED