@hortiview/default-components 1.2.0 → 1.3.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 (39) hide show
  1. package/README.md +12 -0
  2. package/dist/{HealthCheckFailed-BfzG8Esl.js → HealthCheckFailed-BA_vyKwG.js} +6 -6
  3. package/dist/Iconify-B42tJF6q.js +979 -0
  4. package/dist/{LoadingSpinner-BCdWKiWZ.js → LoadingSpinner-5JYKhDod.js} +12 -12
  5. package/dist/OfflineView-BW19N4Cu-CpgiY6nC.js +45 -0
  6. package/dist/assets/GenericTable.css +1 -1
  7. package/dist/assets/OfflineView-BW19N4Cu.css +1 -0
  8. package/dist/{component-DsB0poTj-CmUZ4Kqw.js → component-DsB0poTj-uxpi4oSj.js} +1 -1
  9. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +5 -6
  10. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +7 -8
  11. package/dist/components/GenericTable/GenericTable.js +5083 -5054
  12. package/dist/components/HealthChecks/DataBaseHealthCheck.js +4 -5
  13. package/dist/components/HealthChecks/DefaultHealthCheck.js +4 -5
  14. package/dist/components/HealthChecks/IotServiceHealthCheck.js +4 -5
  15. package/dist/components/HealthChecks/PlatformHealthCheck.js +5 -6
  16. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +7 -8
  17. package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +1 -1
  18. package/dist/components/OfflineView/OfflineView.d.ts +4 -0
  19. package/dist/components/OfflineView/OfflineView.js +18 -0
  20. package/dist/{i18n-BhmFdUcK.js → i18n-CCQpJsQK.js} +8 -8
  21. package/dist/i18n.js +2 -3
  22. package/dist/{i18nInstance-l1IFPZ5d.js → i18nInstance-D_96ADqd.js} +1 -1
  23. package/dist/{index.es-25EARqhH-By1Ap282.js → index.es-25EARqhH-CciUgLci.js} +2 -2
  24. package/dist/{index.es-6TJ1S8Jr-BFJPMGBn.js → index.es-6TJ1S8Jr-C4X_iaSC.js} +493 -831
  25. package/dist/index.es-CiqbARoC-D-muiSwa.js +344 -0
  26. package/dist/index.es-D-CKRzIB-DPq2PQz-.js +63 -0
  27. package/dist/locales/en-US.js +6 -4
  28. package/dist/locales/en-US.json.d.ts +4 -0
  29. package/dist/locales/es-MX.js +6 -4
  30. package/dist/locales/es-MX.json.d.ts +4 -0
  31. package/dist/locales/tr-TR.js +6 -4
  32. package/dist/locales/tr-TR.json.d.ts +4 -0
  33. package/dist/main.d.ts +1 -0
  34. package/dist/main.js +12 -10
  35. package/dist/{useTranslation-B6E1rHIA.js → useTranslation-v0qSkb40.js} +280 -280
  36. package/package.json +3 -3
  37. package/dist/Iconify-DQUxnnUE.js +0 -81
  38. package/dist/assets/i18nInstance.css +0 -1
  39. package/dist/index.es-D-CKRzIB-C6Z-ohcV.js +0 -959
@@ -0,0 +1,344 @@
1
+ import { R as t, d as W, L as z, N as $, _ as q, b as d, q as dt } from "./useTranslation-v0qSkb40.js";
2
+ import u, { forwardRef as C, useRef as L, useImperativeHandle as j, useEffect as rt, useCallback as S } from "react";
3
+ import { U as ut } from "./component-DsB0poTj-uxpi4oSj.js";
4
+ const it = {
5
+ /**
6
+ * Content to be rendered inside the component.
7
+ *
8
+ * Defaults to **null**.
9
+ */
10
+ children: t.node,
11
+ /**
12
+ * A reference to the component to apply the ripple to.
13
+ *
14
+ * Defaults to **undefined**.
15
+ */
16
+ componentRef: t.object,
17
+ /**
18
+ * Allows the ripple to extend beyond the component boundaries.
19
+ *
20
+ * Defaults to **undefined**.
21
+ */
22
+ unbounded: t.bool
23
+ }, ct = {
24
+ children: null,
25
+ componentRef: void 0,
26
+ unbounded: void 0
27
+ }, N = /* @__PURE__ */ C((v, h) => {
28
+ const {
29
+ componentRef: s,
30
+ unbounded: y,
31
+ children: b
32
+ } = v, i = L();
33
+ return j(h, () => i.current, []), rt(() => {
34
+ const k = s.current;
35
+ return k && (i.current = ut.attachTo(s.current), y && (i.current.unbounded = !0)), () => {
36
+ k && i.current.destroy();
37
+ };
38
+ }, [s, y]), b;
39
+ });
40
+ N.displayName = "Ripple";
41
+ N.propTypes = it;
42
+ N.defaultProps = ct;
43
+ const mt = {
44
+ /**
45
+ * @deprecated _Use `themeColor='secondary'` instead._
46
+ *
47
+ * Preview feature, this may change. Apply alternative button color scheme (defined by the individual theme).
48
+ *
49
+ * Defaults to **undefined**.
50
+ */
51
+ altColor: d(t.bool, "Button", 'Use `themeColor="secondary"` instead.'),
52
+ /**
53
+ * One of 'xsmall', 'small', 'medium', 'large' and 'xlarge' will change the size of the button. Defaults according to your theme.
54
+ *
55
+ * Defaults to **'themeDefault'**.
56
+ */
57
+ buttonSize: t.oneOf(["xsmall", "small", "medium", "large", "xlarge", "themeDefault"]),
58
+ /**
59
+ * Content to be rendered inside the button. Can be used instead `label` of to provide more flexibility. Accepts any valid markup. _Warning, if Label is set, it will be used instead of child content._
60
+ *
61
+ * Defaults to **null**.
62
+ */
63
+ children: t.node,
64
+ /**
65
+ * The css class name to be passed through to the component markup.
66
+ *
67
+ * Defaults to **undefined**.
68
+ */
69
+ className: t.string,
70
+ /**
71
+ * @deprecated _forwardRef has been implemented for Button._
72
+ *
73
+ * Reference to the DOM button. This enables a greater level of integration.
74
+ *
75
+ * Defaults to **undefined**.
76
+ */
77
+ customRef: d(t.oneOfType([
78
+ t.func,
79
+ // eslint-disable-next-line react/forbid-prop-types
80
+ t.shape({
81
+ current: t.any
82
+ })
83
+ ]), "Button", "forwardRef has been implemented for Button."),
84
+ /**
85
+ * @deprecated _Use `variant='danger'` instead._
86
+ *
87
+ * Apply danger style to the button.
88
+ *
89
+ * Defaults to **undefined**.
90
+ */
91
+ danger: d(t.bool, "Button", 'Use `variant="danger"` instead.'),
92
+ /**
93
+ * Prevent the user from interacting with the component.
94
+ *
95
+ * Defaults to **false**.
96
+ */
97
+ disabled: t.bool,
98
+ /**
99
+ * Sets elevation of the button. Default will be the theme default.
100
+ *
101
+ * Defaults to **'default'**.
102
+ */
103
+ elevation: t.oneOf(["default", "elevated", "flat"]),
104
+ /**
105
+ * @deprecated _Use `variant='filled'` instead._
106
+ *
107
+ * Apply a filled-in style. Previously called `primary`.
108
+ *
109
+ * Defaults to **undefined**.
110
+ */
111
+ filled: d(t.bool, "Button", 'Use `variant="filled"` instead.'),
112
+ /**
113
+ * Applies a full-width style where the textfield will fill it's container.
114
+ *
115
+ * Defaults to **false**.
116
+ */
117
+ fullWidth: t.bool,
118
+ /**
119
+ * The button will render as an anchor tag. If the tag prop is set, that prop will take precedence.
120
+ *
121
+ * Defaults to **null**.
122
+ */
123
+ href: t.string,
124
+ /**
125
+ * The displayed text. Expects a valid string. If label and children are both set, label will take priority.
126
+ *
127
+ * Defaults to **null**.
128
+ */
129
+ label: t.string,
130
+ /**
131
+ * Adds the given Icon to the left of the button text. May not be used with `trailingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control,
132
+ *
133
+ * Defaults to **undefined**.
134
+ */
135
+ leadingIcon: t.oneOfType([t.string, t.func, t.node]),
136
+ /**
137
+ * The primary interaction event for button.
138
+ *
139
+ * Defaults to **null**.
140
+ */
141
+ onClick: t.func,
142
+ /**
143
+ * @deprecated _Use `variant='outlined'`._
144
+ *
145
+ * Apply outlined style to the button. Previously called `secondary`.
146
+ *
147
+ * Defaults to **undefined**.
148
+ */
149
+ outlined: d(t.bool, "Button", 'Use `variant="outlined"`.'),
150
+ /**
151
+ * @deprecated _Use `variant='filled'` instead._
152
+ *
153
+ * Apply primary style to the Button.
154
+ *
155
+ * Defaults to **undefined**.
156
+ */
157
+ primary: d(t.bool, "Button", 'Use `variant="filled"` instead.'),
158
+ /**
159
+ * @deprecated _Use `'variant=outlined'` instead._
160
+ *
161
+ * Apply secondary style to the Button.
162
+ *
163
+ * Defaults to **undefined**.
164
+ */
165
+ secondary: d(t.bool, "Button", 'Use `"variant=outlined"` instead.'),
166
+ /**
167
+ * By default a button or anchor tag will be rendered, this allows another tag/component to be used instead. A block type element/component is suggested.
168
+ *
169
+ * Defaults to **null**.
170
+ */
171
+ tag: t.oneOfType([t.string, t.elementType, t.instanceOf(u.Component)]),
172
+ /**
173
+ * @deprecated _Use `variant='embedded'` instead._
174
+ *
175
+ * Apply tertiary style to the Button.
176
+ *
177
+ * Defaults to **undefined**.
178
+ */
179
+ tertiary: d(t.bool, "Button", 'Use `variant="embedded"` instead.'),
180
+ /**
181
+ * @deprecated _Use `variant='text'` instead._
182
+ *
183
+ * Apply unfilled, un-outlined style to the Button. Previously called `tertiary`.
184
+ *
185
+ * Defaults to **undefined**.
186
+ */
187
+ text: d(t.bool, "Button", 'Use `variant="text"` instead.'),
188
+ /**
189
+ * Sets the theme color for the button. Most commonly used when the control is placed on a darker surface.
190
+ *
191
+ * Defaults to **'primary'**.
192
+ */
193
+ themeColor: dt(t.oneOf(["primary", "secondary", "danger", "success", "on-unknown-black", "on-unknown-white", "on-primary", "on-secondary", "on-success", "on-danger"]), ["onUnknownBlack", "onUnknownWhite"], "Button", "Please use one of 'primary','secondary','danger','success','on-unknown-black','on-unknown-white','on-primary','on-secondary','on-success','on-danger'."),
194
+ /**
195
+ * Adds the given Icon to the right of the button text. May not be used with `leadingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control.
196
+ *
197
+ * Defaults to **undefined**.
198
+ */
199
+ trailingIcon: t.oneOfType([t.string, t.func, t.node]),
200
+ /**
201
+ * This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
202
+ *
203
+ * Defaults to **'button'**.
204
+ */
205
+ type: t.oneOf(["button", "submit", "reset"]),
206
+ /**
207
+ * @deprecated _Use `elevation='flat' instead._
208
+ *
209
+ * Remove elevation.
210
+ *
211
+ * Defaults to **undefined**.
212
+ */
213
+ unelevated: d(t.bool, "Button", 'Use `elevation="flat" instead.'),
214
+ /**
215
+ * Applies the selected style to the button. `rounded-small` and `rounded-micro` are only available on select themes.
216
+ *
217
+ * Defaults to **'filled'**.
218
+ */
219
+ variant: t.oneOf(["filled", "outlined", "danger", "text", "success", "rounded-small", "rounded-micro"])
220
+ }, st = {
221
+ altColor: void 0,
222
+ buttonSize: "themeDefault",
223
+ children: null,
224
+ className: void 0,
225
+ customRef: void 0,
226
+ danger: void 0,
227
+ disabled: !1,
228
+ elevation: "default",
229
+ filled: void 0,
230
+ fullWidth: !1,
231
+ href: null,
232
+ label: null,
233
+ leadingIcon: void 0,
234
+ outlined: void 0,
235
+ primary: void 0,
236
+ secondary: void 0,
237
+ tag: null,
238
+ tertiary: void 0,
239
+ text: void 0,
240
+ themeColor: "primary",
241
+ trailingIcon: void 0,
242
+ type: "button",
243
+ unelevated: void 0,
244
+ variant: "filled"
245
+ }, bt = {
246
+ /**
247
+ * Children to be rendered. Expects multiple Element Buttons
248
+ *
249
+ * Defaults to **null**.
250
+ */
251
+ children: t.node,
252
+ /**
253
+ * How much spacing between buttons. Dense is 8p, standard is 16px and airy is 24px.
254
+ *
255
+ * Defaults to **'standard'**.
256
+ */
257
+ variant: t.oneOf(["dense", "standard", "airy"])
258
+ }, ft = {
259
+ children: null,
260
+ variant: "standard"
261
+ }, R = /* @__PURE__ */ C((v, h) => {
262
+ const {
263
+ altColor: s,
264
+ buttonSize: y,
265
+ children: b,
266
+ className: i,
267
+ customRef: k,
268
+ disabled: D,
269
+ elevation: I,
270
+ primary: G,
271
+ secondary: H,
272
+ tertiary: A,
273
+ text: F,
274
+ danger: J,
275
+ filled: K,
276
+ fullWidth: M,
277
+ href: E,
278
+ label: Q,
279
+ leadingIcon: c,
280
+ onClick: V,
281
+ outlined: X,
282
+ tag: Y,
283
+ themeColor: e,
284
+ trailingIcon: f,
285
+ type: Z,
286
+ unelevated: n,
287
+ variant: r,
288
+ ...tt
289
+ } = v, B = L(k || null);
290
+ j(h, () => B.current, []);
291
+ const nt = Q || b, et = Y || (E ? "a" : "button"), l = r === "outlined" || X || H, T = r === "rounded-small" || r === "rounded-micro", a = r === "text" || F || A, p = r === "danger" || J || e === "danger", g = r === "success" || e === "success", o = !l && !a && (r === "filled" || K || G), _ = s || e === "secondary", m = e === "primary", ot = f && !c, x = e === "onUnknownBlack" || e === "on-unknown-black", w = e === "onUnknownWhite" || e === "on-unknown-white", U = e === "onPrimary" || e === "on-primary", P = e === "onSecondary" || e === "on-secondary", lt = S(() => typeof c == "string" ? /* @__PURE__ */ u.createElement(z, {
292
+ tabIndex: 0,
293
+ role: "button",
294
+ className: "mdc-button__icon lmnt-button__icon--leading",
295
+ icon: c
296
+ }) : typeof c == "function" ? c({
297
+ className: "mdc-button__icon lmnt-button__icon--leading"
298
+ }) : W(c, "mdc-button__icon lmnt-button__icon--leading"), [c]), at = S(() => typeof f == "string" ? /* @__PURE__ */ u.createElement(z, {
299
+ tabIndex: 0,
300
+ role: "button",
301
+ className: "mdc-button__icon lmnt-button__icon--trailing",
302
+ icon: f
303
+ }) : typeof f == "function" ? f({
304
+ className: "mdc-button__icon lmnt-button__icon--trailing"
305
+ }) : W(f, "mdc-button__icon lmnt-button__icon--trailing"), [f]);
306
+ return /* @__PURE__ */ u.createElement(N, {
307
+ componentRef: B
308
+ }, /* @__PURE__ */ u.createElement(et, $({
309
+ ref: B,
310
+ href: E,
311
+ onClick: V,
312
+ type: Z,
313
+ disabled: D,
314
+ className: q("lmnt", "mdc-button", "lmnt-button", "mdc-button--touch", o && n && m && "lmnt-button--filled-primary", o && p && "lmnt-button--filled-danger", o && g && "lmnt-button--filled-success", o && n && _ && "lmnt-button--filled-secondary", o && !n && m && ["lmnt-button--filled-primary", "mdc-button--raised"], o && !n && _ && ["lmnt-button--filled-secondary", "mdc-button--raised"], o && !n && e === "on-primary" && ["lmnt-button--filled-on-primary", "mdc-button--raised"], o && !n && e === "on-secondary" && ["lmnt-button--filled-on-secondary", "mdc-button--raised"], o && !n && e === "on-success" && ["lmnt-button--filled-on-success", "mdc-button--raised"], o && !n && e === "on-danger" && ["lmnt-button--filled-on-danger", "mdc-button--raised"], o && !n && x && ["lmnt-button--filled-on-unknown-black", "mdc-button--raised"], o && !n && w && ["lmnt-button--filled-on-unknown-white", "mdc-button--raised"], l && m && ["lmnt-button--outlined-primary", "mdc-button--outlined"], o && !n && U && ["lmnt-button--filled-on-primary", "mdc-button--raised"], l && _ && ["lmnt-button--outlined-secondary", "mdc-button--outlined"], l && U && "lmnt-button--outlined-on-primary mdc-button--outlined", l && P && "lmnt-button--outlined-on-secondary mdc-button--outlined", l && w && "lmnt-button--outlined-on-unknown-white mdc-button--outlined", l && x && "lmnt-button--outlined-on-unknown-black mdc-button--outlined", a && U && "lmnt-button--text-on-primary mdc-button__text", a && P && "lmnt-button--text-on-secondary mdc-button__text", a && w && "lmnt-button--text-on-unknown-white mdc-button__text", a && x && "lmnt-button--text-on-unknown-black mdc-button__text", T && w && "lmnt-button--text-on-unknown-white mdc-button__text", T && x && "lmnt-button--text-on-unknown-black mdc-button__text", a && m && "lmnt-button--text-primary", a && _ && "lmnt-button--text-secondary", a && p && "lmnt-button--text-danger", a && g && "lmnt-button--text-success", p && n && _ && "lmnt-button--danger-secondary", p && !n && _ && ["lmnt-button--danger-secondary", "mdc-button--raised"], p && n && m && "lmnt-button--danger-primary", p && !n && m && ["lmnt-button--danger-primary", "mdc-button--raised"], p && l && ["lmnt-button--danger-primary", "mdc-button--outlined"], g && n && m && "lmnt-button--success-primary", g && !n && m && ["lmnt-button--success-primary", "mdc-button--raised"], g && l && ["lmnt-button--success-primary", "mdc-button--outlined"], g && l && ["lmnt-button--success-primary", "mdc-button--outlined"], M && "lmnt-button--full-width", n && !a && "mdc-button--unelevated", I === "flat" && "lmnt-button--flat", I === "elevated" && "lmnt-button--elevated", `lmnt-button--${y}`, r === "rounded-small" && "lmnt-button--rounded lmnt-button--rounded-small mdc-button__text lmnt-button--text-primary", r === "rounded-micro" && "lmnt-button--rounded lmnt-button--rounded-micro mdc-button__text lmnt-button--text-primary", i, "mdc-touch-target-wrapper")
315
+ }, tt), /* @__PURE__ */ u.createElement("span", {
316
+ className: "mdc-button__ripple"
317
+ }), c && lt(), /* @__PURE__ */ u.createElement("span", {
318
+ className: "mdc-button__label"
319
+ }, nt), ot && at(), /* @__PURE__ */ u.createElement("span", {
320
+ className: "mdc-button__touch"
321
+ })));
322
+ });
323
+ R.displayName = "Button";
324
+ R.propTypes = mt;
325
+ R.defaultProps = st;
326
+ const O = /* @__PURE__ */ C((v, h) => {
327
+ const {
328
+ children: s,
329
+ className: y,
330
+ variant: b,
331
+ ...i
332
+ } = v;
333
+ return /* @__PURE__ */ u.createElement("div", $({
334
+ ref: h,
335
+ className: q("lmnt", "lmnt-button-group", b === "dense" && "lmnt-button-group--dense", b === "standard" && "lmnt-button-group--standard", b === "airy" && "lmnt-button-group--airy", y)
336
+ }, i), s);
337
+ });
338
+ O.displayName = "ButtonGroup";
339
+ O.propTypes = bt;
340
+ O.defaultProps = ft;
341
+ export {
342
+ R as O,
343
+ N as o
344
+ };
@@ -0,0 +1,63 @@
1
+ import { N as u, _ as f, R as a } from "./useTranslation-v0qSkb40.js";
2
+ import y, { forwardRef as v, useMemo as N, useRef as R, useImperativeHandle as P } from "react";
3
+ const _ = {
4
+ /**
5
+ * Content to be rendered inside the padding component. Accepts any valid markup.
6
+ *
7
+ * Defaults to **null**.
8
+ */
9
+ children: a.node.isRequired,
10
+ /**
11
+ * The css class name to be passed through to the component markup.
12
+ *
13
+ * Defaults to **undefined**.
14
+ */
15
+ className: a.string,
16
+ /**
17
+ * Adds a custom padding style to the child content. Must be a valid CSS padding declaration. i.e. 38px 30px
18
+ *
19
+ * Defaults to **null**.
20
+ */
21
+ customPadding: a.string,
22
+ /**
23
+ * By default a div will be rendered, this allow another tag to be used instead. A block type component is suggested.
24
+ *
25
+ * Defaults to **'div'**.
26
+ */
27
+ tag: a.oneOfType([a.string, a.elementType]),
28
+ /**
29
+ * Applies the specified padding amount. `dense` is 8px, `standard` is 16px, and `airy` is 24px. If `customPadding` is used, this will be ignored.
30
+ *
31
+ * Defaults to **'standard'**.
32
+ */
33
+ variant: a.oneOf(["dense", "standard", "airy"])
34
+ }, h = {
35
+ children: null,
36
+ className: void 0,
37
+ customPadding: null,
38
+ tag: "div",
39
+ variant: "standard"
40
+ }, n = /* @__PURE__ */ v((t, r) => {
41
+ const {
42
+ tag: i,
43
+ variant: e,
44
+ children: l,
45
+ className: m,
46
+ customPadding: d,
47
+ style: s,
48
+ ...o
49
+ } = t, p = N(() => ({
50
+ ...s,
51
+ padding: d
52
+ }), [s, d]), g = i || "div", c = R();
53
+ return P(r, () => c.current, []), /* @__PURE__ */ y.createElement(g, u({
54
+ className: f("lmnt", "lmnt-padding", e === "dense" && "lmnt-padding--dense", e === "standard" && "lmnt-padding--standard", e === "airy" && "lmnt-padding--airy", m),
55
+ style: p
56
+ }, o), l);
57
+ });
58
+ n.displayName = "Padding";
59
+ n.propTypes = _;
60
+ n.defaultProps = h;
61
+ export {
62
+ n
63
+ };
@@ -1,13 +1,15 @@
1
- const e = { separator: "Please use a period as a decimal separator, e.g. 12,345.67" }, a = { pageOfTranslation: "of", pageTranslation: "Page", rowsPerPageTranslation: "Rows per page" }, t = { dataBase: "The data for this module is loading!", dataBaseSubtitle: "Please wait or come back later.", default: "Sorry, something went wrong!", defaultSubtitle: "The problem is being addressed by our technical team. Please come back later.", iotService: "The data of your devices cannot be retrieved currently.", iotServiceSubtitle: "The problem is being addressed by our technical team. Please come back later.", platform: "The platform data used by this module cannot be retrieved currently.", platformSubtitle: "Please wait or come back later." }, r = { baseMessage: "Loading...", impatienceMessage: "This is taking longer than expected. Please be patient." }, o = {
1
+ const e = { separator: "Please use a period as a decimal separator, e.g. 12,345.67" }, a = { pageOfTranslation: "of", pageTranslation: "Page", rowsPerPageTranslation: "Rows per page" }, t = { dataBase: "The data for this module is loading!", dataBaseSubtitle: "Please wait or come back later.", default: "Sorry, something went wrong!", defaultSubtitle: "The problem is being addressed by our technical team. Please come back later.", iotService: "The data of your devices cannot be retrieved currently.", iotServiceSubtitle: "The problem is being addressed by our technical team. Please come back later.", platform: "The platform data used by this module cannot be retrieved currently.", platformSubtitle: "Please wait or come back later." }, r = { baseMessage: "Loading...", impatienceMessage: "This is taking longer than expected. Please be patient." }, o = { title: "You’re currently offline", subtitle: "This feature is unavailable until you reconnect" }, i = {
2
2
  formNumber: e,
3
3
  genericTable: a,
4
4
  healthCheck: t,
5
- loadingSpinner: r
5
+ loadingSpinner: r,
6
+ offlineView: o
6
7
  };
7
8
  export {
8
- o as default,
9
+ i as default,
9
10
  e as formNumber,
10
11
  a as genericTable,
11
12
  t as healthCheck,
12
- r as loadingSpinner
13
+ r as loadingSpinner,
14
+ o as offlineView
13
15
  };
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  "loadingSpinner": {
21
21
  "baseMessage": "Loading...",
22
22
  "impatienceMessage": "This is taking longer than expected. Please be patient."
23
+ },
24
+ "offlineView": {
25
+ "title": "You’re currently offline",
26
+ "subtitle": "This feature is unavailable until you reconnect"
23
27
  }
24
28
  }
25
29
  ;
@@ -1,14 +1,16 @@
1
1
  const e = { separator: "Utilice un período como separador decimal, p. 12,345.67" }, a = { pageOfTranslation: "de", pageTranslation: "Página", rowsPerPageTranslation: "Filas por página" }, o = { dataBase: "¡Los datos para este módulo se están cargando!", dataBaseSubtitle: "Espere o vuelva más tarde.", default: "Lo siento, algo salió mal!", defaultSubtitle: `El problema está siendo abordado por nuestro equipo técnico.
2
- Vuelve más tarde.`, iotService: "Los datos de sus dispositivos no se pueden recuperar actualmente.", iotServiceSubtitle: "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.", platform: "Los datos de la plataforma utilizados por este módulo no se pueden recuperar actualmente.", platformSubtitle: "Espere o vuelva más tarde." }, s = { baseMessage: "Cargando...", impatienceMessage: "Esto está tardando más de lo esperado. Por favor, sea paciente." }, t = {
2
+ Vuelve más tarde.`, iotService: "Los datos de sus dispositivos no se pueden recuperar actualmente.", iotServiceSubtitle: "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.", platform: "Los datos de la plataforma utilizados por este módulo no se pueden recuperar actualmente.", platformSubtitle: "Espere o vuelva más tarde." }, t = { baseMessage: "Cargando...", impatienceMessage: "Esto está tardando más de lo esperado. Por favor, sea paciente." }, s = { title: "Actualmente estás sin conexión.", subtitle: "Esta función no está disponible hasta que te vuelvas a conectar." }, r = {
3
3
  formNumber: e,
4
4
  genericTable: a,
5
5
  healthCheck: o,
6
- loadingSpinner: s
6
+ loadingSpinner: t,
7
+ offlineView: s
7
8
  };
8
9
  export {
9
- t as default,
10
+ r as default,
10
11
  e as formNumber,
11
12
  a as genericTable,
12
13
  o as healthCheck,
13
- s as loadingSpinner
14
+ t as loadingSpinner,
15
+ s as offlineView
14
16
  };
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  "loadingSpinner": {
21
21
  "baseMessage": "Cargando...",
22
22
  "impatienceMessage": "Esto está tardando más de lo esperado. Por favor, sea paciente."
23
+ },
24
+ "offlineView": {
25
+ "title": "Actualmente estás sin conexión.",
26
+ "subtitle": "Esta función no está disponible hasta que te vuelvas a conectar."
23
27
  }
24
28
  }
25
29
  ;
@@ -1,14 +1,16 @@
1
1
  const a = { separator: "Lütfen ondalık ayırıcı olarak virgül kullanın, ör. 12.345,67" }, e = { pageOfTranslation: "ile ilgili", pageTranslation: "Sayfa", rowsPerPageTranslation: "Sayfa başına satırlar" }, n = { dataBase: "Bu modül için veriler yükleniyor!", dataBaseSubtitle: "Lütfen bekleyin veya daha sonra geri dönün.", default: "Üzgünüm, bir şeyler ters gitti!", defaultSubtitle: `Sorun teknik ekibimiz tarafından ele alınmaktadır.
2
- Lütfen daha sonra tekrar gelin.`, iotService: "Cihazlarınızın verileri şu anda alınamaz.", iotServiceSubtitle: "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.", platform: "Bu modül tarafından kullanılan platform verileri şu anda alınamaz.", platformSubtitle: "Lütfen bekleyin veya daha sonra geri dönün." }, r = { baseMessage: "Yükleme ...", impatienceMessage: "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun." }, l = {
2
+ Lütfen daha sonra tekrar gelin.`, iotService: "Cihazlarınızın verileri şu anda alınamaz.", iotServiceSubtitle: "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.", platform: "Bu modül tarafından kullanılan platform verileri şu anda alınamaz.", platformSubtitle: "Lütfen bekleyin veya daha sonra geri dönün." }, l = { baseMessage: "Yükleme ...", impatienceMessage: "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun." }, r = { title: "Şu anda çevrimdışısınız", subtitle: "Bu özellik yeniden bağlanana kadar kullanılamaz" }, t = {
3
3
  formNumber: a,
4
4
  genericTable: e,
5
5
  healthCheck: n,
6
- loadingSpinner: r
6
+ loadingSpinner: l,
7
+ offlineView: r
7
8
  };
8
9
  export {
9
- l as default,
10
+ t as default,
10
11
  a as formNumber,
11
12
  e as genericTable,
12
13
  n as healthCheck,
13
- r as loadingSpinner
14
+ l as loadingSpinner,
15
+ r as offlineView
14
16
  };
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  "loadingSpinner": {
21
21
  "baseMessage": "Yükleme ...",
22
22
  "impatienceMessage": "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun."
23
+ },
24
+ "offlineView": {
25
+ "title": "Şu anda çevrimdışısınız",
26
+ "subtitle": "Bu özellik yeniden bağlanana kadar kullanılamaz"
23
27
  }
24
28
  }
25
29
  ;
package/dist/main.d.ts CHANGED
@@ -2,6 +2,7 @@ export { DefaultFormNumber } from './components/DefaultFormNumber/DefaultFormNum
2
2
  export { DefaultLoadingSpinner } from './components/DefaultLoadingSpinner/DefaultLoadingSpinner';
3
3
  export { GenericTable } from './components/GenericTable/GenericTable';
4
4
  export { ImpatienceLoadingSpinner } from './components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner';
5
+ export { OfflineView } from './components/OfflineView/OfflineView';
5
6
  /** default health checks */
6
7
  export { DataBaseHealthCheck } from './components/HealthChecks/DataBaseHealthCheck';
7
8
  export { DefaultHealthCheck } from './components/HealthChecks/DefaultHealthCheck';
package/dist/main.js CHANGED
@@ -2,19 +2,21 @@ import { DefaultFormNumber as r } from "./components/DefaultFormNumber/DefaultFo
2
2
  import { DefaultLoadingSpinner as a } from "./components/DefaultLoadingSpinner/DefaultLoadingSpinner.js";
3
3
  import { GenericTable as m } from "./components/GenericTable/GenericTable.js";
4
4
  import { ImpatienceLoadingSpinner as n } from "./components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js";
5
- import { DataBaseHealthCheck as h } from "./components/HealthChecks/DataBaseHealthCheck.js";
6
- import { DefaultHealthCheck as c } from "./components/HealthChecks/DefaultHealthCheck.js";
7
- import { IotServiceHealthCheck as u } from "./components/HealthChecks/IotServiceHealthCheck.js";
8
- import { PlatformHealthCheck as g } from "./components/HealthChecks/PlatformHealthCheck.js";
9
- import { useChangeDefaultComponentsLanguage as k } from "./components/InternationalizationWrapper/InternationalizationWrapper.js";
5
+ import { OfflineView as x } from "./components/OfflineView/OfflineView.js";
6
+ import { DataBaseHealthCheck as i } from "./components/HealthChecks/DataBaseHealthCheck.js";
7
+ import { DefaultHealthCheck as u } from "./components/HealthChecks/DefaultHealthCheck.js";
8
+ import { IotServiceHealthCheck as g } from "./components/HealthChecks/IotServiceHealthCheck.js";
9
+ import { PlatformHealthCheck as k } from "./components/HealthChecks/PlatformHealthCheck.js";
10
+ import { useChangeDefaultComponentsLanguage as s } from "./components/InternationalizationWrapper/InternationalizationWrapper.js";
10
11
  export {
11
- h as DataBaseHealthCheck,
12
+ i as DataBaseHealthCheck,
12
13
  r as DefaultFormNumber,
13
- c as DefaultHealthCheck,
14
+ u as DefaultHealthCheck,
14
15
  a as DefaultLoadingSpinner,
15
16
  m as GenericTable,
16
17
  n as ImpatienceLoadingSpinner,
17
- u as IotServiceHealthCheck,
18
- g as PlatformHealthCheck,
19
- k as useChangeDefaultComponentsLanguage
18
+ g as IotServiceHealthCheck,
19
+ x as OfflineView,
20
+ k as PlatformHealthCheck,
21
+ s as useChangeDefaultComponentsLanguage
20
22
  };