@deviceinsight/ng-ui-scale-lib 9.18.8 → 9.20.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.
Files changed (32) hide show
  1. package/dist/{AccessEditModal-a02b50a1.js → AccessEditModal-ee0139fb.js} +24 -23
  2. package/dist/BundleManagementContainer-093786e5.js +20 -0
  3. package/dist/{BundlesContainer-498d7121.js → BundlesContainer-54c9cc3a.js} +114 -110
  4. package/dist/{ContextBarContext-f2968fee.js → ContextBarContext-0c28ce9d.js} +38292 -46174
  5. package/dist/{DatapointImport-0610eed8.js → DatapointImport-6d394cb5.js} +126 -122
  6. package/dist/{FileUploadInput-aea4f866.js → FileUploadInput-a23ba785.js} +3 -3
  7. package/dist/{Files-25853de9.js → Files-4fc0415e.js} +23 -19
  8. package/dist/GlobalPowerBiReports-f9bf0765.js +11079 -0
  9. package/dist/{Graph-ad8ad6f9.js → Graph-2840eac2.js} +4 -1
  10. package/dist/JsonSettingWidget-8908d40b.js +57 -0
  11. package/dist/{LicensesEditPage-e6c71c43.js → LicensesEditPage-3332b87c.js} +33 -30
  12. package/dist/{LicensesList-d28c9799.js → LicensesList-6254cd37.js} +17 -13
  13. package/dist/{PropertiesEditPage-85bc5517.js → PropertiesEditPage-5b148652.js} +24 -21
  14. package/dist/{PropertiesList-fcf0d837.js → PropertiesList-06478803.js} +17 -13
  15. package/dist/{TemplateEditPage-a34efc41.js → TemplateEditPage-94088888.js} +28 -23
  16. package/dist/TemplateTextInput-e8861a0f.js +50 -0
  17. package/dist/{TemplatesListPage-ce7fea1d.js → TemplatesListPage-866246c6.js} +55 -51
  18. package/dist/{UserGroupAssignments-8fd3c47d.js → UserGroupAssignments-6feae326.js} +36 -32
  19. package/dist/{UserGroupTheme-0e8a16c4.js → UserGroupTheme-7ee8e92e.js} +14 -11
  20. package/dist/api.d.ts +3 -0
  21. package/dist/api.js +59 -56
  22. package/dist/{index-e2b27256.js → index-34a2015c.js} +7 -7
  23. package/dist/index.js +2761 -2765
  24. package/dist/objectWithoutPropertiesLoose-a4604547.js +26 -0
  25. package/dist/{react-router-7b367edf.js → react-router-d38ecdf4.js} +113 -108
  26. package/dist/style.css +1 -1
  27. package/package.json +4 -4
  28. package/dist/BundleManagementContainer-dbac0259.js +0 -17
  29. package/dist/GlobalPowerBiReports-06c92d0e.js +0 -11078
  30. package/dist/JsonSettingWidget-c471537a.js +0 -54
  31. package/dist/TemplateTextInput-fe5912e7.js +0 -47
  32. package/dist/extends-0a3e0827.js +0 -13
@@ -1,54 +0,0 @@
1
- import { df as S, dm as j, az as t, cB as C, ai as v } from "./ContextBarContext-f2968fee.js";
2
- import { useState as d, useEffect as y, useCallback as g } from "react";
3
- import { C as V, j as b } from "./index-e2b27256.js";
4
- import "react-router-dom";
5
- import "@deviceinsight/ng-ui-basic-components";
6
- import "@deviceinsight/ng-ui-components";
7
- import "@deviceinsight/ng-ui-api-client";
8
- import "react-dom";
9
- import "./extends-0a3e0827.js";
10
- function w({ setting: e, ...c }) {
11
- const { setValue: n, setError: o, clearErrors: i, control: p } = S(), {
12
- field: r,
13
- fieldState: { error: s }
14
- } = j({ name: e.name, control: p }), [f, l] = d(""), [m, h] = d(!1);
15
- y(() => {
16
- if (!m && r.value) {
17
- const a = JSON.stringify(r.value, null, 2);
18
- l(a), h(!0);
19
- }
20
- }, [r.value, m]);
21
- const x = g(
22
- (a) => {
23
- try {
24
- l(a);
25
- const u = a === "" ? void 0 : JSON.parse(a);
26
- n(e.name, u, { shouldValidate: !0, shouldDirty: !0 }), i(e.name);
27
- } catch {
28
- o(e.name, { message: "Invalid JSON syntax" });
29
- }
30
- },
31
- [i, o, n, e.name]
32
- );
33
- return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
34
- C,
35
- {
36
- label: /* @__PURE__ */ t.jsx(v, { i18nKey: `appSettings.property.${e.name}`, children: e.name }),
37
- error: (s == null ? void 0 : s.message) ?? "",
38
- size: "full-width",
39
- children: /* @__PURE__ */ t.jsx(
40
- V,
41
- {
42
- "data-testid": c["data-testid"],
43
- onChange: x,
44
- value: f,
45
- basicSetup: { lineNumbers: !0 },
46
- extensions: [b()]
47
- }
48
- )
49
- }
50
- ) });
51
- }
52
- export {
53
- w as default
54
- };
@@ -1,47 +0,0 @@
1
- import { az as l, cB as x, aQ as n } from "./ContextBarContext-f2968fee.js";
2
- import j from "react";
3
- import { C as d, j as b } from "./index-e2b27256.js";
4
- import "react-router-dom";
5
- import "@deviceinsight/ng-ui-basic-components";
6
- import "@deviceinsight/ng-ui-components";
7
- import "@deviceinsight/ng-ui-api-client";
8
- import "react-dom";
9
- import "./extends-0a3e0827.js";
10
- const D = j.forwardRef(
11
- ({ onFocus: r, onChange: i, refField: c, renderAs: a, ...o }, s) => {
12
- function p() {
13
- r();
14
- }
15
- const m = (t, e) => {
16
- !a || a === "input" ? i == null || i(t.replace(/\n/g, ""), e) : i == null || i(t, e);
17
- }, { label: f, ...u } = o;
18
- return /* @__PURE__ */ l.jsx(x, { ...u, label: f, children: /* @__PURE__ */ l.jsx(
19
- "div",
20
- {
21
- className: n("di notification-template-field", {
22
- textarea: a === "textarea"
23
- }),
24
- children: /* @__PURE__ */ l.jsx(
25
- d,
26
- {
27
- ...o,
28
- basicSetup: {
29
- lineNumbers: !1,
30
- highlightActiveLine: !1,
31
- foldGutter: !1
32
- },
33
- onChange: (t, e) => m(t, e),
34
- onCreateEditor: (t) => {
35
- c(t), s && (typeof s == "function" ? s(t) : s.current = t);
36
- },
37
- onFocus: p,
38
- extensions: [b()]
39
- }
40
- )
41
- }
42
- ) });
43
- }
44
- );
45
- export {
46
- D as default
47
- };
@@ -1,13 +0,0 @@
1
- function e() {
2
- return e = Object.assign ? Object.assign.bind() : function(t) {
3
- for (var n = 1; n < arguments.length; n++) {
4
- var r = arguments[n];
5
- for (var a in r)
6
- ({}).hasOwnProperty.call(r, a) && (t[a] = r[a]);
7
- }
8
- return t;
9
- }, e.apply(null, arguments);
10
- }
11
- export {
12
- e as _
13
- };