@thienvu18/designable-formily-setters 2.0.1 → 2.0.2

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.
Files changed (89) hide show
  1. package/esm/components/DataSourceSetter/DataSettingPanel.d.ts +8 -8
  2. package/esm/components/DataSourceSetter/DataSettingPanel.js +124 -52
  3. package/esm/components/DataSourceSetter/Header.d.ts +5 -5
  4. package/esm/components/DataSourceSetter/Header.js +16 -7
  5. package/esm/components/DataSourceSetter/Title.d.ts +5 -5
  6. package/esm/components/DataSourceSetter/Title.js +57 -44
  7. package/esm/components/DataSourceSetter/TreePanel.d.ts +10 -10
  8. package/esm/components/DataSourceSetter/TreePanel.js +129 -89
  9. package/esm/components/DataSourceSetter/index.d.ts +16 -16
  10. package/esm/components/DataSourceSetter/index.js +81 -24
  11. package/esm/components/DataSourceSetter/shared.d.ts +14 -7
  12. package/esm/components/DataSourceSetter/shared.js +39 -41
  13. package/esm/components/DataSourceSetter/styles.less +4 -3
  14. package/esm/components/DataSourceSetter/types.d.ts +12 -12
  15. package/esm/components/DataSourceSetter/types.js +1 -1
  16. package/esm/components/ReactionsSetter/FieldPropertySetter.d.ts +6 -6
  17. package/esm/components/ReactionsSetter/FieldPropertySetter.js +140 -63
  18. package/esm/components/ReactionsSetter/PathSelector.d.ts +10 -9
  19. package/esm/components/ReactionsSetter/PathSelector.js +97 -100
  20. package/esm/components/ReactionsSetter/declarations.d.ts +3 -3
  21. package/esm/components/ReactionsSetter/declarations.js +31 -18
  22. package/esm/components/ReactionsSetter/helpers.d.ts +20 -10
  23. package/esm/components/ReactionsSetter/helpers.js +10 -10
  24. package/esm/components/ReactionsSetter/index.d.ts +6 -6
  25. package/esm/components/ReactionsSetter/index.js +412 -230
  26. package/esm/components/ReactionsSetter/properties.d.ts +14 -11
  27. package/esm/components/ReactionsSetter/properties.js +49 -40
  28. package/esm/components/ReactionsSetter/styles.less +2 -2
  29. package/esm/components/ReactionsSetter/types.d.ts +11 -11
  30. package/esm/components/ReactionsSetter/types.js +1 -1
  31. package/esm/components/ValidatorSetter/index.d.ts +4 -4
  32. package/esm/components/ValidatorSetter/index.js +148 -125
  33. package/esm/components/index.d.ts +3 -3
  34. package/esm/components/index.js +3 -3
  35. package/esm/index.d.ts +2 -2
  36. package/esm/index.js +2 -2
  37. package/esm/locales/en-US.d.ts +92 -92
  38. package/esm/locales/en-US.js +96 -93
  39. package/esm/locales/index.d.ts +1 -1
  40. package/esm/locales/index.js +5 -5
  41. package/esm/locales/ko-KR.d.ts +92 -92
  42. package/esm/locales/ko-KR.js +94 -93
  43. package/esm/locales/zh-CN.d.ts +92 -92
  44. package/esm/locales/zh-CN.js +94 -93
  45. package/lib/components/DataSourceSetter/DataSettingPanel.d.ts +8 -8
  46. package/lib/components/DataSourceSetter/DataSettingPanel.js +129 -55
  47. package/lib/components/DataSourceSetter/Header.d.ts +5 -5
  48. package/lib/components/DataSourceSetter/Header.js +19 -10
  49. package/lib/components/DataSourceSetter/Title.d.ts +5 -5
  50. package/lib/components/DataSourceSetter/Title.js +70 -47
  51. package/lib/components/DataSourceSetter/TreePanel.d.ts +10 -10
  52. package/lib/components/DataSourceSetter/TreePanel.js +134 -92
  53. package/lib/components/DataSourceSetter/index.d.ts +16 -16
  54. package/lib/components/DataSourceSetter/index.js +94 -30
  55. package/lib/components/DataSourceSetter/shared.d.ts +14 -7
  56. package/lib/components/DataSourceSetter/shared.js +48 -47
  57. package/lib/components/DataSourceSetter/styles.less +4 -3
  58. package/lib/components/DataSourceSetter/types.d.ts +12 -12
  59. package/lib/components/DataSourceSetter/types.js +2 -2
  60. package/lib/components/ReactionsSetter/FieldPropertySetter.d.ts +6 -6
  61. package/lib/components/ReactionsSetter/FieldPropertySetter.js +150 -67
  62. package/lib/components/ReactionsSetter/PathSelector.d.ts +10 -9
  63. package/lib/components/ReactionsSetter/PathSelector.js +101 -104
  64. package/lib/components/ReactionsSetter/declarations.d.ts +3 -3
  65. package/lib/components/ReactionsSetter/declarations.js +35 -22
  66. package/lib/components/ReactionsSetter/helpers.d.ts +20 -10
  67. package/lib/components/ReactionsSetter/helpers.js +23 -13
  68. package/lib/components/ReactionsSetter/index.d.ts +6 -6
  69. package/lib/components/ReactionsSetter/index.js +434 -234
  70. package/lib/components/ReactionsSetter/properties.d.ts +14 -11
  71. package/lib/components/ReactionsSetter/properties.js +43 -43
  72. package/lib/components/ReactionsSetter/styles.less +2 -2
  73. package/lib/components/ReactionsSetter/types.d.ts +11 -11
  74. package/lib/components/ReactionsSetter/types.js +2 -2
  75. package/lib/components/ValidatorSetter/index.d.ts +4 -4
  76. package/lib/components/ValidatorSetter/index.js +151 -128
  77. package/lib/components/index.d.ts +3 -3
  78. package/lib/components/index.js +35 -19
  79. package/lib/index.d.ts +2 -2
  80. package/lib/index.js +34 -18
  81. package/lib/locales/en-US.d.ts +92 -92
  82. package/lib/locales/en-US.js +98 -95
  83. package/lib/locales/index.d.ts +1 -1
  84. package/lib/locales/index.js +16 -10
  85. package/lib/locales/ko-KR.d.ts +92 -92
  86. package/lib/locales/ko-KR.js +96 -95
  87. package/lib/locales/zh-CN.d.ts +92 -92
  88. package/lib/locales/zh-CN.js +96 -95
  89. package/package.json +5 -5
@@ -1,11 +1,14 @@
1
- export declare const FieldProperties: ({
2
- key: string;
3
- type: string;
4
- helpCode: string;
5
- token?: undefined;
6
- } | {
7
- key: string;
8
- token: string;
9
- type: string;
10
- helpCode: string;
11
- })[];
1
+ export declare const FieldProperties: (
2
+ | {
3
+ key: string
4
+ type: string
5
+ helpCode: string
6
+ token?: undefined
7
+ }
8
+ | {
9
+ key: string
10
+ token: string
11
+ type: string
12
+ helpCode: string
13
+ }
14
+ )[]
@@ -1,44 +1,44 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldProperties = void 0;
4
- const helpers_1 = require("./helpers");
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: true })
3
+ exports.FieldProperties = void 0
4
+ const helpers_1 = require('./helpers')
5
5
  exports.FieldProperties = [
6
- {
7
- key: 'visible',
8
- type: 'boolean',
9
- helpCode: helpers_1.BooleanHelper,
10
- },
11
- { key: 'hidden', type: 'boolean', helpCode: helpers_1.BooleanHelper },
12
- {
13
- key: 'display',
14
- type: '"visible" | "hidden" | "none"',
15
- helpCode: helpers_1.DisplayHelper,
16
- },
17
- {
18
- key: 'pattern',
19
- type: '"editable" | "disabled" | "readOnly" | "readPretty"',
20
- helpCode: helpers_1.PatternHelper,
21
- },
22
- { key: 'title', type: 'string', helpCode: helpers_1.StringHelper },
23
- { key: 'description', type: 'string', helpCode: helpers_1.StringHelper },
24
- { key: 'value', type: 'any', helpCode: helpers_1.AnyHelper },
25
- { key: 'initialValue', type: 'any', helpCode: helpers_1.AnyHelper },
26
- { key: 'required', type: 'boolean', helpCode: helpers_1.BooleanHelper },
27
- {
28
- key: 'dataSource',
29
- type: 'Array<{label?:string,value?:any}>',
30
- helpCode: helpers_1.DataSourceHelper,
31
- },
32
- {
33
- key: 'componentProps',
34
- token: 'componentProps',
35
- type: 'object',
36
- helpCode: helpers_1.ComponentPropsHelper,
37
- },
38
- {
39
- key: 'decoratorProps',
40
- token: 'decoratorProps',
41
- type: 'object',
42
- helpCode: helpers_1.DecoratorPropsHelper,
43
- },
44
- ];
6
+ {
7
+ key: 'visible',
8
+ type: 'boolean',
9
+ helpCode: helpers_1.BooleanHelper,
10
+ },
11
+ { key: 'hidden', type: 'boolean', helpCode: helpers_1.BooleanHelper },
12
+ {
13
+ key: 'display',
14
+ type: '"visible" | "hidden" | "none"',
15
+ helpCode: helpers_1.DisplayHelper,
16
+ },
17
+ {
18
+ key: 'pattern',
19
+ type: '"editable" | "disabled" | "readOnly" | "readPretty"',
20
+ helpCode: helpers_1.PatternHelper,
21
+ },
22
+ { key: 'title', type: 'string', helpCode: helpers_1.StringHelper },
23
+ { key: 'description', type: 'string', helpCode: helpers_1.StringHelper },
24
+ { key: 'value', type: 'any', helpCode: helpers_1.AnyHelper },
25
+ { key: 'initialValue', type: 'any', helpCode: helpers_1.AnyHelper },
26
+ { key: 'required', type: 'boolean', helpCode: helpers_1.BooleanHelper },
27
+ {
28
+ key: 'dataSource',
29
+ type: 'Array<{label?:string,value?:any}>',
30
+ helpCode: helpers_1.DataSourceHelper,
31
+ },
32
+ {
33
+ key: 'componentProps',
34
+ token: 'componentProps',
35
+ type: 'object',
36
+ helpCode: helpers_1.ComponentPropsHelper,
37
+ },
38
+ {
39
+ key: 'decoratorProps',
40
+ token: 'decoratorProps',
41
+ type: 'object',
42
+ helpCode: helpers_1.DecoratorPropsHelper,
43
+ },
44
+ ]
@@ -1,4 +1,3 @@
1
-
2
1
  .dn-reactions-setter {
3
2
  width: 100%;
4
3
  min-height: 623px;
@@ -25,7 +24,8 @@
25
24
  &-header {
26
25
  padding: 8px 10px !important;
27
26
  background-color: var(--dn-color-bg-container, #fff) !important;
28
- border-bottom: 1px solid var(--dn-color-border-secondary, rgba(5, 5, 5, 0.06)) !important;
27
+ border-bottom: 1px solid
28
+ var(--dn-color-border-secondary, rgba(5, 5, 5, 0.06)) !important;
29
29
  font-weight: 500 !important;
30
30
 
31
31
  .@{ant-prefix}-collapse-arrow {
@@ -1,13 +1,13 @@
1
1
  export interface IReaction {
2
- dependencies?: {
3
- [key: string]: string;
4
- };
5
- fulfill?: {
6
- state?: {
7
- [key: string]: string;
8
- };
9
- schema?: {
10
- [key: string]: string;
11
- };
12
- };
2
+ dependencies?: {
3
+ [key: string]: string
4
+ }
5
+ fulfill?: {
6
+ state?: {
7
+ [key: string]: string
8
+ }
9
+ schema?: {
10
+ [key: string]: string
11
+ }
12
+ }
13
13
  }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: true })
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import React from 'react'
2
2
  export interface IValidatorSetterProps {
3
- value?: any;
4
- onChange?: (value: any) => void;
3
+ value?: any
4
+ onChange?: (value: any) => void
5
5
  }
6
- export declare const ValidatorSetter: React.FC<IValidatorSetterProps>;
6
+ export declare const ValidatorSetter: React.FC<IValidatorSetterProps>
@@ -1,138 +1,161 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidatorSetter = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("@formily/react");
6
- const designable_core_1 = require("@thienvu18/designable-core");
7
- const formily_antd_v6_1 = require("@thienvu18/formily-antd-v6");
8
- const designable_react_settings_form_1 = require("@thienvu18/designable-react-settings-form");
9
- const antd_1 = require("antd");
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: true })
3
+ exports.ValidatorSetter = void 0
4
+ const jsx_runtime_1 = require('react/jsx-runtime')
5
+ const react_1 = require('@formily/react')
6
+ const designable_core_1 = require('@thienvu18/designable-core')
7
+ const formily_antd_v6_1 = require('@thienvu18/formily-antd-v6')
8
+ const designable_react_settings_form_1 = require('@thienvu18/designable-react-settings-form')
9
+ const antd_1 = require('antd')
10
10
  const ValidatorSchema = {
11
- type: 'array',
12
- items: {
13
- type: 'object',
14
- 'x-decorator': 'ArrayItems.Item',
15
- 'x-decorator-props': {
16
- style: {
17
- alignItems: 'center',
18
- borderRadius: 3,
19
- paddingTop: 6,
20
- paddingBottom: 6,
21
- },
22
- },
11
+ type: 'array',
12
+ items: {
13
+ type: 'object',
14
+ 'x-decorator': 'ArrayItems.Item',
15
+ 'x-decorator-props': {
16
+ style: {
17
+ alignItems: 'center',
18
+ borderRadius: 3,
19
+ paddingTop: 6,
20
+ paddingBottom: 6,
21
+ },
22
+ },
23
+ properties: {
24
+ sortable: {
25
+ type: 'void',
26
+ 'x-component': 'ArrayItems.SortHandle',
27
+ 'x-component-props': { style: { marginRight: 10 } },
28
+ },
29
+ drawer: {
30
+ type: 'void',
31
+ 'x-component': 'DrawerSetter',
23
32
  properties: {
24
- sortable: {
25
- type: 'void',
26
- 'x-component': 'ArrayItems.SortHandle',
27
- 'x-component-props': { style: { marginRight: 10 } },
28
- },
29
- drawer: {
30
- type: 'void',
31
- 'x-component': 'DrawerSetter',
32
- properties: {
33
- triggerType: {
34
- type: 'string',
35
- enum: ['onInput', 'onFocus', 'onBlur'],
36
- 'x-decorator': 'FormItem',
37
- 'x-component': 'Select',
38
- },
39
- validator: {
40
- type: 'string',
41
- 'x-decorator': 'FormItem',
42
- 'x-component': 'ValueInput',
43
- 'x-component-props': {
44
- include: ['EXPRESSION'],
45
- },
46
- },
47
- message: {
48
- type: 'string',
49
- 'x-decorator': 'FormItem',
50
- 'x-component': 'Input.TextArea',
51
- },
52
- format: {
53
- type: 'string',
54
- 'x-decorator': 'FormItem',
55
- 'x-component': 'Select',
56
- 'x-component-props': {
57
- allowClear: true,
58
- },
59
- },
60
- pattern: {
61
- type: 'string',
62
- 'x-decorator': 'FormItem',
63
- 'x-component': 'Input',
64
- 'x-component-props': {
65
- prefix: '/',
66
- suffix: '/',
67
- },
68
- },
69
- len: {
70
- type: 'string',
71
- 'x-decorator': 'FormItem',
72
- 'x-component': 'NumberPicker',
73
- },
74
- max: {
75
- type: 'string',
76
- 'x-decorator': 'FormItem',
77
- 'x-component': 'NumberPicker',
78
- },
79
- min: {
80
- type: 'string',
81
- 'x-decorator': 'FormItem',
82
- 'x-component': 'NumberPicker',
83
- },
84
- exclusiveMaximum: {
85
- type: 'string',
86
- 'x-decorator': 'FormItem',
87
- 'x-component': 'NumberPicker',
88
- },
89
- exclusiveMinimum: {
90
- type: 'string',
91
- 'x-decorator': 'FormItem',
92
- 'x-component': 'NumberPicker',
93
- },
94
- whitespace: {
95
- type: 'string',
96
- 'x-decorator': 'FormItem',
97
- 'x-component': 'Switch',
98
- },
99
- required: {
100
- type: 'string',
101
- 'x-decorator': 'FormItem',
102
- 'x-component': 'Switch',
103
- },
104
- },
105
- },
106
- moveDown: {
107
- type: 'void',
108
- 'x-component': 'ArrayItems.MoveDown',
109
- 'x-component-props': { style: { marginLeft: 10 } },
33
+ triggerType: {
34
+ type: 'string',
35
+ enum: ['onInput', 'onFocus', 'onBlur'],
36
+ 'x-decorator': 'FormItem',
37
+ 'x-component': 'Select',
38
+ },
39
+ validator: {
40
+ type: 'string',
41
+ 'x-decorator': 'FormItem',
42
+ 'x-component': 'ValueInput',
43
+ 'x-component-props': {
44
+ include: ['EXPRESSION'],
110
45
  },
111
- moveUp: {
112
- type: 'void',
113
- 'x-component': 'ArrayItems.MoveUp',
114
- 'x-component-props': { style: { marginLeft: 5 } },
46
+ },
47
+ message: {
48
+ type: 'string',
49
+ 'x-decorator': 'FormItem',
50
+ 'x-component': 'Input.TextArea',
51
+ },
52
+ format: {
53
+ type: 'string',
54
+ 'x-decorator': 'FormItem',
55
+ 'x-component': 'Select',
56
+ 'x-component-props': {
57
+ allowClear: true,
115
58
  },
116
- remove: {
117
- type: 'void',
118
- 'x-component': 'ArrayItems.Remove',
119
- 'x-component-props': { style: { marginLeft: 5 } },
59
+ },
60
+ pattern: {
61
+ type: 'string',
62
+ 'x-decorator': 'FormItem',
63
+ 'x-component': 'Input',
64
+ 'x-component-props': {
65
+ prefix: '/',
66
+ suffix: '/',
120
67
  },
68
+ },
69
+ len: {
70
+ type: 'string',
71
+ 'x-decorator': 'FormItem',
72
+ 'x-component': 'NumberPicker',
73
+ },
74
+ max: {
75
+ type: 'string',
76
+ 'x-decorator': 'FormItem',
77
+ 'x-component': 'NumberPicker',
78
+ },
79
+ min: {
80
+ type: 'string',
81
+ 'x-decorator': 'FormItem',
82
+ 'x-component': 'NumberPicker',
83
+ },
84
+ exclusiveMaximum: {
85
+ type: 'string',
86
+ 'x-decorator': 'FormItem',
87
+ 'x-component': 'NumberPicker',
88
+ },
89
+ exclusiveMinimum: {
90
+ type: 'string',
91
+ 'x-decorator': 'FormItem',
92
+ 'x-component': 'NumberPicker',
93
+ },
94
+ whitespace: {
95
+ type: 'string',
96
+ 'x-decorator': 'FormItem',
97
+ 'x-component': 'Switch',
98
+ },
99
+ required: {
100
+ type: 'string',
101
+ 'x-decorator': 'FormItem',
102
+ 'x-component': 'Switch',
103
+ },
121
104
  },
105
+ },
106
+ moveDown: {
107
+ type: 'void',
108
+ 'x-component': 'ArrayItems.MoveDown',
109
+ 'x-component-props': { style: { marginLeft: 10 } },
110
+ },
111
+ moveUp: {
112
+ type: 'void',
113
+ 'x-component': 'ArrayItems.MoveUp',
114
+ 'x-component-props': { style: { marginLeft: 5 } },
115
+ },
116
+ remove: {
117
+ type: 'void',
118
+ 'x-component': 'ArrayItems.Remove',
119
+ 'x-component-props': { style: { marginLeft: 5 } },
120
+ },
122
121
  },
123
- properties: {
124
- addValidatorRules: {
125
- type: 'void',
126
- 'x-component': 'ArrayItems.Addition',
127
- 'x-component-props': {
128
- style: {
129
- marginBottom: 10,
130
- },
131
- },
122
+ },
123
+ properties: {
124
+ addValidatorRules: {
125
+ type: 'void',
126
+ 'x-component': 'ArrayItems.Addition',
127
+ 'x-component-props': {
128
+ style: {
129
+ marginBottom: 10,
132
130
  },
131
+ },
133
132
  },
134
- };
133
+ },
134
+ }
135
135
  exports.ValidatorSetter = (0, react_1.observer)((props) => {
136
- const field = (0, react_1.useField)();
137
- return ((0, jsx_runtime_1.jsxs)(designable_react_settings_form_1.FoldItem, { label: field.title, children: [(0, jsx_runtime_1.jsx)(designable_react_settings_form_1.FoldItem.Base, { children: (0, jsx_runtime_1.jsx)(antd_1.Select, { value: Array.isArray(props.value) ? undefined : props.value, onChange: props.onChange, allowClear: true, placeholder: designable_core_1.GlobalRegistry.getDesignerMessage('SettingComponents.ValidatorSetter.pleaseSelect'), options: designable_core_1.GlobalRegistry.getDesignerMessage('SettingComponents.ValidatorSetter.formats') }) }), (0, jsx_runtime_1.jsx)(designable_react_settings_form_1.FoldItem.Extra, { children: (0, jsx_runtime_1.jsx)(react_1.SchemaContext.Provider, { value: new react_1.Schema(ValidatorSchema), children: (0, jsx_runtime_1.jsx)(formily_antd_v6_1.ArrayItems, {}) }) })] }));
138
- });
136
+ const field = (0, react_1.useField)()
137
+ return (0, jsx_runtime_1.jsxs)(designable_react_settings_form_1.FoldItem, {
138
+ label: field.title,
139
+ children: [
140
+ (0, jsx_runtime_1.jsx)(designable_react_settings_form_1.FoldItem.Base, {
141
+ children: (0, jsx_runtime_1.jsx)(antd_1.Select, {
142
+ value: Array.isArray(props.value) ? undefined : props.value,
143
+ onChange: props.onChange,
144
+ allowClear: true,
145
+ placeholder: designable_core_1.GlobalRegistry.getDesignerMessage(
146
+ 'SettingComponents.ValidatorSetter.pleaseSelect'
147
+ ),
148
+ options: designable_core_1.GlobalRegistry.getDesignerMessage(
149
+ 'SettingComponents.ValidatorSetter.formats'
150
+ ),
151
+ }),
152
+ }),
153
+ (0, jsx_runtime_1.jsx)(designable_react_settings_form_1.FoldItem.Extra, {
154
+ children: (0, jsx_runtime_1.jsx)(react_1.SchemaContext.Provider, {
155
+ value: new react_1.Schema(ValidatorSchema),
156
+ children: (0, jsx_runtime_1.jsx)(formily_antd_v6_1.ArrayItems, {}),
157
+ }),
158
+ }),
159
+ ],
160
+ })
161
+ })
@@ -1,3 +1,3 @@
1
- export * from './DataSourceSetter';
2
- export * from './ReactionsSetter';
3
- export * from './ValidatorSetter';
1
+ export * from './DataSourceSetter'
2
+ export * from './ReactionsSetter'
3
+ export * from './ValidatorSetter'
@@ -1,19 +1,35 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./DataSourceSetter"), exports);
18
- __exportStar(require("./ReactionsSetter"), exports);
19
- __exportStar(require("./ValidatorSetter"), exports);
1
+ 'use strict'
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k
7
+ var desc = Object.getOwnPropertyDescriptor(m, k)
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k]
16
+ },
17
+ }
18
+ }
19
+ Object.defineProperty(o, k2, desc)
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k
23
+ o[k2] = m[k]
24
+ })
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p)
31
+ }
32
+ Object.defineProperty(exports, '__esModule', { value: true })
33
+ __exportStar(require('./DataSourceSetter'), exports)
34
+ __exportStar(require('./ReactionsSetter'), exports)
35
+ __exportStar(require('./ValidatorSetter'), exports)
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import './locales';
2
- export * from './components';
1
+ import './locales'
2
+ export * from './components'
package/lib/index.js CHANGED
@@ -1,18 +1,34 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- require("./locales");
18
- __exportStar(require("./components"), exports);
1
+ 'use strict'
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k
7
+ var desc = Object.getOwnPropertyDescriptor(m, k)
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k]
16
+ },
17
+ }
18
+ }
19
+ Object.defineProperty(o, k2, desc)
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k
23
+ o[k2] = m[k]
24
+ })
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p)
31
+ }
32
+ Object.defineProperty(exports, '__esModule', { value: true })
33
+ require('./locales')
34
+ __exportStar(require('./components'), exports)