@acoustte-digital-services/digitalstore-controls 0.10.0 → 0.11.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/dist/index.d.mts CHANGED
@@ -11,4 +11,19 @@ interface ViewControlPropsView {
11
11
 
12
12
  declare const ViewControl: React.FC<ViewControlPropsView>;
13
13
 
14
- export { ViewControl };
14
+ declare const ViewControlTypesView: {
15
+ lineTextView: string;
16
+ emailTextView: string;
17
+ multilineTextBulletsView: string;
18
+ moneyView: string;
19
+ numberView: string;
20
+ dateView: string;
21
+ statusView: string;
22
+ statusBgView: string;
23
+ multilineTextView: string;
24
+ booleanView: string;
25
+ checkboxInputView: string;
26
+ text: string;
27
+ };
28
+
29
+ export { ViewControl, ViewControlTypesView };
package/dist/index.d.ts CHANGED
@@ -11,4 +11,19 @@ interface ViewControlPropsView {
11
11
 
12
12
  declare const ViewControl: React.FC<ViewControlPropsView>;
13
13
 
14
- export { ViewControl };
14
+ declare const ViewControlTypesView: {
15
+ lineTextView: string;
16
+ emailTextView: string;
17
+ multilineTextBulletsView: string;
18
+ moneyView: string;
19
+ numberView: string;
20
+ dateView: string;
21
+ statusView: string;
22
+ statusBgView: string;
23
+ multilineTextView: string;
24
+ booleanView: string;
25
+ checkboxInputView: string;
26
+ text: string;
27
+ };
28
+
29
+ export { ViewControl, ViewControlTypesView };
package/dist/index.js CHANGED
@@ -44,7 +44,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
44
44
  // src/index.ts
45
45
  var index_exports = {};
46
46
  __export(index_exports, {
47
- ViewControl: () => ViewControlView_default
47
+ ViewControl: () => ViewControlView_default,
48
+ ViewControlTypesView: () => ViewControlTypesView_default
48
49
  });
49
50
  module.exports = __toCommonJS(index_exports);
50
51
 
@@ -59,23 +60,6 @@ var linetextView = (props) => {
59
60
  };
60
61
  var LineTextView_default = linetextView;
61
62
 
62
- // src/controls/view/ViewControlTypesView.tsx
63
- var ViewControlTypesView = {
64
- lineTextView: "lineTextView",
65
- emailTextView: "emailTextView",
66
- multilineTextBulletsView: "multilineTextBulletsView",
67
- moneyView: "moneyView",
68
- numberView: "numberView",
69
- dateView: "dateView",
70
- statusView: "statusView",
71
- statusBgView: "statusBgView",
72
- multilineTextView: "multilineTextView",
73
- booleanView: "booleanView",
74
- checkboxInputView: "booleanView",
75
- text: "text"
76
- // booleanView: "booleanView"
77
- };
78
-
79
63
  // src/controls/view/EmailTextView.tsx
80
64
  var import_react2 = __toESM(require("react"));
81
65
  var import_jsx_runtime2 = require("react/jsx-runtime");
@@ -231,21 +215,39 @@ var MultilinetextView = (props) => {
231
215
  };
232
216
  var MultilineTextView_default = MultilinetextView;
233
217
 
218
+ // src/controls/view/ViewControlTypesView.tsx
219
+ var ViewControlTypesView = {
220
+ lineTextView: "lineTextView",
221
+ emailTextView: "emailTextView",
222
+ multilineTextBulletsView: "multilineTextBulletsView",
223
+ moneyView: "moneyView",
224
+ numberView: "numberView",
225
+ dateView: "dateView",
226
+ statusView: "statusView",
227
+ statusBgView: "statusBgView",
228
+ multilineTextView: "multilineTextView",
229
+ booleanView: "booleanView",
230
+ checkboxInputView: "booleanView",
231
+ text: "text"
232
+ // booleanView: "booleanView"
233
+ };
234
+ var ViewControlTypesView_default = ViewControlTypesView;
235
+
234
236
  // src/controls/view/ViewControlView.tsx
235
237
  var import_jsx_runtime11 = require("react/jsx-runtime");
236
238
  var ViewControl = (props) => {
237
239
  const ControlComponents = {
238
- [ViewControlTypesView.lineTextView]: LineTextView_default,
239
- [ViewControlTypesView.emailTextView]: EmailTextView_default,
240
- [ViewControlTypesView.multilineTextBulletsView]: MultilineTextBulletsView_default,
241
- [ViewControlTypesView.moneyView]: MoneyView_default,
242
- [ViewControlTypesView.numberView]: NumberView_default,
243
- [ViewControlTypesView.dateView]: DateView_default,
244
- [ViewControlTypesView.statusView]: StatusView_default,
245
- [ViewControlTypesView.statusBgView]: StatusBgView_default,
246
- [ViewControlTypesView.multilineTextView]: MultilineTextView_default,
247
- [ViewControlTypesView.booleanView]: BooleanView_default,
248
- [ViewControlTypesView.lineTextView]: LineTextView_default
240
+ [ViewControlTypesView_default.lineTextView]: LineTextView_default,
241
+ [ViewControlTypesView_default.emailTextView]: EmailTextView_default,
242
+ [ViewControlTypesView_default.multilineTextBulletsView]: MultilineTextBulletsView_default,
243
+ [ViewControlTypesView_default.moneyView]: MoneyView_default,
244
+ [ViewControlTypesView_default.numberView]: NumberView_default,
245
+ [ViewControlTypesView_default.dateView]: DateView_default,
246
+ [ViewControlTypesView_default.statusView]: StatusView_default,
247
+ [ViewControlTypesView_default.statusBgView]: StatusBgView_default,
248
+ [ViewControlTypesView_default.multilineTextView]: MultilineTextView_default,
249
+ [ViewControlTypesView_default.booleanView]: BooleanView_default,
250
+ [ViewControlTypesView_default.lineTextView]: LineTextView_default
249
251
  // [ViewControlTypes.booleanView]: booleanViewView
250
252
  };
251
253
  const SelectedControlComponent = ControlComponents[props.controlType];
@@ -254,5 +256,6 @@ var ViewControl = (props) => {
254
256
  var ViewControlView_default = ViewControl;
255
257
  // Annotate the CommonJS export names for ESM import in node:
256
258
  0 && (module.exports = {
257
- ViewControl
259
+ ViewControl,
260
+ ViewControlTypesView
258
261
  });
package/dist/index.mjs CHANGED
@@ -26,23 +26,6 @@ var linetextView = (props) => {
26
26
  };
27
27
  var LineTextView_default = linetextView;
28
28
 
29
- // src/controls/view/ViewControlTypesView.tsx
30
- var ViewControlTypesView = {
31
- lineTextView: "lineTextView",
32
- emailTextView: "emailTextView",
33
- multilineTextBulletsView: "multilineTextBulletsView",
34
- moneyView: "moneyView",
35
- numberView: "numberView",
36
- dateView: "dateView",
37
- statusView: "statusView",
38
- statusBgView: "statusBgView",
39
- multilineTextView: "multilineTextView",
40
- booleanView: "booleanView",
41
- checkboxInputView: "booleanView",
42
- text: "text"
43
- // booleanView: "booleanView"
44
- };
45
-
46
29
  // src/controls/view/EmailTextView.tsx
47
30
  import React2 from "react";
48
31
  import { jsx as jsx2 } from "react/jsx-runtime";
@@ -198,21 +181,39 @@ var MultilinetextView = (props) => {
198
181
  };
199
182
  var MultilineTextView_default = MultilinetextView;
200
183
 
184
+ // src/controls/view/ViewControlTypesView.tsx
185
+ var ViewControlTypesView = {
186
+ lineTextView: "lineTextView",
187
+ emailTextView: "emailTextView",
188
+ multilineTextBulletsView: "multilineTextBulletsView",
189
+ moneyView: "moneyView",
190
+ numberView: "numberView",
191
+ dateView: "dateView",
192
+ statusView: "statusView",
193
+ statusBgView: "statusBgView",
194
+ multilineTextView: "multilineTextView",
195
+ booleanView: "booleanView",
196
+ checkboxInputView: "booleanView",
197
+ text: "text"
198
+ // booleanView: "booleanView"
199
+ };
200
+ var ViewControlTypesView_default = ViewControlTypesView;
201
+
201
202
  // src/controls/view/ViewControlView.tsx
202
203
  import { jsx as jsx11 } from "react/jsx-runtime";
203
204
  var ViewControl = (props) => {
204
205
  const ControlComponents = {
205
- [ViewControlTypesView.lineTextView]: LineTextView_default,
206
- [ViewControlTypesView.emailTextView]: EmailTextView_default,
207
- [ViewControlTypesView.multilineTextBulletsView]: MultilineTextBulletsView_default,
208
- [ViewControlTypesView.moneyView]: MoneyView_default,
209
- [ViewControlTypesView.numberView]: NumberView_default,
210
- [ViewControlTypesView.dateView]: DateView_default,
211
- [ViewControlTypesView.statusView]: StatusView_default,
212
- [ViewControlTypesView.statusBgView]: StatusBgView_default,
213
- [ViewControlTypesView.multilineTextView]: MultilineTextView_default,
214
- [ViewControlTypesView.booleanView]: BooleanView_default,
215
- [ViewControlTypesView.lineTextView]: LineTextView_default
206
+ [ViewControlTypesView_default.lineTextView]: LineTextView_default,
207
+ [ViewControlTypesView_default.emailTextView]: EmailTextView_default,
208
+ [ViewControlTypesView_default.multilineTextBulletsView]: MultilineTextBulletsView_default,
209
+ [ViewControlTypesView_default.moneyView]: MoneyView_default,
210
+ [ViewControlTypesView_default.numberView]: NumberView_default,
211
+ [ViewControlTypesView_default.dateView]: DateView_default,
212
+ [ViewControlTypesView_default.statusView]: StatusView_default,
213
+ [ViewControlTypesView_default.statusBgView]: StatusBgView_default,
214
+ [ViewControlTypesView_default.multilineTextView]: MultilineTextView_default,
215
+ [ViewControlTypesView_default.booleanView]: BooleanView_default,
216
+ [ViewControlTypesView_default.lineTextView]: LineTextView_default
216
217
  // [ViewControlTypes.booleanView]: booleanViewView
217
218
  };
218
219
  const SelectedControlComponent = ControlComponents[props.controlType];
@@ -220,5 +221,6 @@ var ViewControl = (props) => {
220
221
  };
221
222
  var ViewControlView_default = ViewControl;
222
223
  export {
223
- ViewControlView_default as ViewControl
224
+ ViewControlView_default as ViewControl,
225
+ ViewControlTypesView_default as ViewControlTypesView
224
226
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",