@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260326064410 → 0.8.1-dev.20260326064607
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +22 -25
- package/dist/index.mjs +22 -25
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ interface ViewControlProps {
|
|
|
13
13
|
customProps?: Record<string, unknown>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
declare const ViewControl: React.
|
|
16
|
+
declare const ViewControl: React.FC<ViewControlProps>;
|
|
17
17
|
|
|
18
18
|
declare const ViewControlTypes: {
|
|
19
19
|
lineText: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ interface ViewControlProps {
|
|
|
13
13
|
customProps?: Record<string, unknown>;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
declare const ViewControl: React.
|
|
16
|
+
declare const ViewControl: React.FC<ViewControlProps>;
|
|
17
17
|
|
|
18
18
|
declare const ViewControlTypes: {
|
|
19
19
|
lineText: string;
|
package/dist/index.js
CHANGED
|
@@ -672,31 +672,28 @@ var AiGeneratedSummary_default = AiGeneratedSummary;
|
|
|
672
672
|
|
|
673
673
|
// src/components/controls/view/ViewControl.tsx
|
|
674
674
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
675
|
-
var ViewControl =
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
}
|
|
698
|
-
);
|
|
699
|
-
ViewControl.displayName = "ViewControl";
|
|
675
|
+
var ViewControl = (props) => {
|
|
676
|
+
const ControlComponents = {
|
|
677
|
+
[ViewControlTypes_default.lineText]: LineTextView_default,
|
|
678
|
+
// [ViewControlTypes.asset]: Asset,
|
|
679
|
+
[ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
|
|
680
|
+
[ViewControlTypes_default.money]: MoneyView_default,
|
|
681
|
+
[ViewControlTypes_default.date]: DateView_default,
|
|
682
|
+
[ViewControlTypes_default.time]: DateView_default,
|
|
683
|
+
[ViewControlTypes_default.datetime]: DateView_default,
|
|
684
|
+
[ViewControlTypes_default.number]: NumberView_default,
|
|
685
|
+
[ViewControlTypes_default.multilineText]: MultilineTextView_default,
|
|
686
|
+
[ViewControlTypes_default.moneyText]: MoneyView_default,
|
|
687
|
+
[ViewControlTypes_default.percentage]: PercentageView_default,
|
|
688
|
+
// [ViewControlTypes.statusBg]: StatusBg,
|
|
689
|
+
[ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
|
|
690
|
+
// [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
|
|
691
|
+
// [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
|
|
692
|
+
[ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
|
|
693
|
+
};
|
|
694
|
+
const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
|
|
695
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react9.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
|
|
696
|
+
};
|
|
700
697
|
var ViewControl_default = ViewControl;
|
|
701
698
|
|
|
702
699
|
// src/components/controls/edit/InputControl.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -321,31 +321,28 @@ var AiGeneratedSummary_default = AiGeneratedSummary;
|
|
|
321
321
|
|
|
322
322
|
// src/components/controls/view/ViewControl.tsx
|
|
323
323
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
324
|
-
var ViewControl =
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
);
|
|
348
|
-
ViewControl.displayName = "ViewControl";
|
|
324
|
+
var ViewControl = (props) => {
|
|
325
|
+
const ControlComponents = {
|
|
326
|
+
[ViewControlTypes_default.lineText]: LineTextView_default,
|
|
327
|
+
// [ViewControlTypes.asset]: Asset,
|
|
328
|
+
[ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
|
|
329
|
+
[ViewControlTypes_default.money]: MoneyView_default,
|
|
330
|
+
[ViewControlTypes_default.date]: DateView_default,
|
|
331
|
+
[ViewControlTypes_default.time]: DateView_default,
|
|
332
|
+
[ViewControlTypes_default.datetime]: DateView_default,
|
|
333
|
+
[ViewControlTypes_default.number]: NumberView_default,
|
|
334
|
+
[ViewControlTypes_default.multilineText]: MultilineTextView_default,
|
|
335
|
+
[ViewControlTypes_default.moneyText]: MoneyView_default,
|
|
336
|
+
[ViewControlTypes_default.percentage]: PercentageView_default,
|
|
337
|
+
// [ViewControlTypes.statusBg]: StatusBg,
|
|
338
|
+
[ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
|
|
339
|
+
// [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
|
|
340
|
+
// [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
|
|
341
|
+
[ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
|
|
342
|
+
};
|
|
343
|
+
const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
|
|
344
|
+
return /* @__PURE__ */ jsx9(React9.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx9(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
|
|
345
|
+
};
|
|
349
346
|
var ViewControl_default = ViewControl;
|
|
350
347
|
|
|
351
348
|
// src/components/controls/edit/InputControl.tsx
|
package/package.json
CHANGED