@anzusystems/common-admin 2.0.0-rc.19 → 2.0.0-rc.20

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 (40) hide show
  1. package/dist/common-admin.css +1 -1
  2. package/dist/common-admin.js +7 -1
  3. package/dist/domains/filters/datatable/components/ADatatableSidePanel.js +7 -0
  4. package/dist/domains/filters/datatable/components/ADatatableSidePanel.js.map +1 -0
  5. package/dist/domains/filters/datatable/components/ADatatableSidePanel.vue.d.ts +36 -0
  6. package/dist/domains/filters/datatable/components/ADatatableSidePanel.vue_vue_type_script_setup_true_lang.js +53 -0
  7. package/dist/domains/filters/datatable/components/ADatatableSidePanel.vue_vue_type_script_setup_true_lang.js.map +1 -0
  8. package/dist/domains/filters/datatable/components/ALiveListingPill.js +7 -0
  9. package/dist/domains/filters/datatable/components/ALiveListingPill.js.map +1 -0
  10. package/dist/domains/filters/datatable/components/ALiveListingPill.vue.d.ts +24 -0
  11. package/dist/domains/filters/datatable/components/ALiveListingPill.vue_vue_type_script_setup_true_lang.js +78 -0
  12. package/dist/domains/filters/datatable/components/ALiveListingPill.vue_vue_type_script_setup_true_lang.js.map +1 -0
  13. package/dist/domains/filters/datatable/composables/useDatatableSidePanel.d.ts +25 -0
  14. package/dist/domains/filters/datatable/composables/useDatatableSidePanel.js +45 -0
  15. package/dist/domains/filters/datatable/composables/useDatatableSidePanel.js.map +1 -0
  16. package/dist/domains/filters/datatable/composables/useLiveListing.d.ts +75 -0
  17. package/dist/domains/filters/datatable/composables/useLiveListing.js +142 -0
  18. package/dist/domains/filters/datatable/composables/useLiveListing.js.map +1 -0
  19. package/dist/domains/filters/datatable/composables/useSeenRecords.d.ts +18 -0
  20. package/dist/domains/filters/datatable/composables/useSeenRecords.js +69 -0
  21. package/dist/domains/filters/datatable/composables/useSeenRecords.js.map +1 -0
  22. package/dist/domains/system/appShell/components/AActionbar.vue_vue_type_script_setup_true_lang.js +30 -25
  23. package/dist/domains/system/appShell/components/AActionbar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  24. package/dist/domains/system/composables/breadcrumbs.d.ts +5 -0
  25. package/dist/domains/system/composables/breadcrumbs.js.map +1 -1
  26. package/dist/domains/system/composables/browserTitle.d.ts +46 -0
  27. package/dist/domains/system/composables/browserTitle.js +56 -0
  28. package/dist/domains/system/composables/browserTitle.js.map +1 -0
  29. package/dist/lib.d.ts +10 -0
  30. package/dist/locales/cs/common/system.js +85 -0
  31. package/dist/locales/cs/common/system.js.map +1 -1
  32. package/dist/locales/cs.d.ts +6 -0
  33. package/dist/locales/en/common/system.js +51 -0
  34. package/dist/locales/en/common/system.js.map +1 -1
  35. package/dist/locales/en.d.ts +6 -0
  36. package/dist/locales/sk/common/system.js +85 -0
  37. package/dist/locales/sk/common/system.js.map +1 -1
  38. package/dist/locales/sk.d.ts +6 -0
  39. package/dist/plugins/i18n.d.ts +6 -0
  40. package/package.json +2 -2
@@ -0,0 +1,46 @@
1
+ import { MaybeRefOrGetter } from 'vue';
2
+ import { Breadcrumbs } from './breadcrumbs';
3
+ export interface BrowserTitleFavicon {
4
+ /** The `<link>` in the page head whose icon gets the dot, e.g. `link[rel="icon"][sizes="32x32"]`. */
5
+ selector: string;
6
+ /** The same icon with the dot. */
7
+ href: string;
8
+ }
9
+ export interface BrowserTitleOptions {
10
+ /** Put in front of every title with a colon, e.g. the environment ("Stage"); empty on production. */
11
+ prefix?: MaybeRefOrGetter<string>;
12
+ /** Put after a page title: "Articles · Anzu". */
13
+ appName: MaybeRefOrGetter<string>;
14
+ /** The title of a page without its own. */
15
+ fallback: MaybeRefOrGetter<string>;
16
+ /** Which breadcrumb names the page, negative from the end. Default `-1`, the last one. */
17
+ breadcrumbIndex?: number;
18
+ /** Icons with a dot, shown while a page reports new records. Browsers without favicon swapping show the count only. */
19
+ favicons?: BrowserTitleFavicon[];
20
+ }
21
+ /**
22
+ * Names the browser tab after the page the breadcrumbs of the app bar's `AActionbar` lead to.
23
+ * Used by `AActionbar`; returns the unregister call.
24
+ */
25
+ export declare function registerBrowserTitleBreadcrumbs(breadcrumbs: Breadcrumbs): () => void;
26
+ /** Names the browser tab of a page that has no breadcrumbs in the app bar, for as long as the caller lives. */
27
+ export declare function useBrowserTitlePage(title: MaybeRefOrGetter<string>): void;
28
+ /**
29
+ * Puts a count in front of the browser tab title, "(3) Articles · Anzu", and the dot on the favicon,
30
+ * for as long as the caller lives. An empty label shows neither.
31
+ */
32
+ export declare function useBrowserTitleBadge(label: MaybeRefOrGetter<string>): void;
33
+ export declare const browserTitleBadge: import('vue').ComputedRef<string>;
34
+ export declare const browserPageTitle: import('vue').ComputedRef<string>;
35
+ /** Builds the title the browser tab shows: `{prefix}: ({badge}) {page} · {appName}`. */
36
+ export declare function formatBrowserTitle(parts: {
37
+ prefix: string;
38
+ badge: string;
39
+ page: string;
40
+ appName: string;
41
+ fallback: string;
42
+ }): string;
43
+ /**
44
+ * Keeps `document.title` and the favicon in line with the current page. Called once, in the admin's `App.vue`.
45
+ */
46
+ export declare function useBrowserTitle(options: BrowserTitleOptions): void;
@@ -0,0 +1,56 @@
1
+ import { computed as e, onScopeDispose as t, shallowRef as n, toValue as r, watchEffect as i } from "vue";
2
+ // src/domains/system/composables/browserTitle.ts
3
+ var a = n([]), o = n([]), s = -1, c = (e, t) => {
4
+ let n = Symbol();
5
+ return e.value = [...e.value, {
6
+ token: n,
7
+ value: t
8
+ }], () => {
9
+ e.value = e.value.filter((e) => e.token !== n);
10
+ };
11
+ }, l = (e) => () => {
12
+ let t = e.options.browserTitle;
13
+ if (typeof t == "string") return t;
14
+ if (typeof t == "function") return t();
15
+ let n = typeof t == "number" ? t : s;
16
+ return e.items.value.at(n)?.title ?? "";
17
+ };
18
+ function u(e) {
19
+ return c(a, l(e));
20
+ }
21
+ function d(e) {
22
+ t(c(a, () => r(e)));
23
+ }
24
+ function f(e) {
25
+ t(c(o, () => r(e)));
26
+ }
27
+ var p = e(() => o.value.at(-1)?.value() ?? ""), m = e(() => a.value.at(-1)?.value() ?? "");
28
+ function h(e) {
29
+ let t = e.page ? `${e.page} · ${e.appName}` : e.fallback, n = e.badge ? `(${e.badge}) ${t}` : t;
30
+ return e.prefix ? `${e.prefix}: ${n}` : n;
31
+ }
32
+ function g(e) {
33
+ s = e.breadcrumbIndex ?? -1;
34
+ let t = /* @__PURE__ */ new Map();
35
+ i(() => {
36
+ document.title = h({
37
+ prefix: r(e.prefix) ?? "",
38
+ badge: p.value,
39
+ page: m.value,
40
+ appName: r(e.appName),
41
+ fallback: r(e.fallback)
42
+ });
43
+ }), i(() => {
44
+ let n = p.value !== "";
45
+ for (let r of e.favicons ?? []) {
46
+ let e = document.querySelector(r.selector);
47
+ if (!e) continue;
48
+ t.has(r.selector) || t.set(r.selector, e.href);
49
+ let i = new URL(n ? r.href : t.get(r.selector), document.baseURI).href;
50
+ e.href !== i && (e.href = i);
51
+ }
52
+ });
53
+ }
54
+ export { m as browserPageTitle, p as browserTitleBadge, h as formatBrowserTitle, u as registerBrowserTitleBreadcrumbs, g as useBrowserTitle, f as useBrowserTitleBadge, d as useBrowserTitlePage };
55
+
56
+ //# sourceMappingURL=browserTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browserTitle.js","names":["pageTitles","shallowRef","badges","breadcrumbIndex","register","token","list","entry","breadcrumbTitle","own","breadcrumbs","index","registerBrowserTitleBreadcrumbs","useBrowserTitlePage","toValue","title","useBrowserTitleBadge","label","browserTitleBadge","computed","browserPageTitle","formatBrowserTitle","body","parts","withBadge","useBrowserTitle","options","originalHrefs","watchEffect","withDot","favicon","link","href"],"sources":["../../../../src/domains/system/composables/browserTitle.ts"],"sourcesContent":["import { computed, onScopeDispose, shallowRef, toValue, watchEffect, type MaybeRefOrGetter } from 'vue'\nimport type { Breadcrumbs } from '@/domains/system/composables/breadcrumbs'\n\nexport interface BrowserTitleFavicon {\n /** The `<link>` in the page head whose icon gets the dot, e.g. `link[rel=\"icon\"][sizes=\"32x32\"]`. */\n selector: string\n /** The same icon with the dot. */\n href: string\n}\n\nexport interface BrowserTitleOptions {\n /** Put in front of every title with a colon, e.g. the environment (\"Stage\"); empty on production. */\n prefix?: MaybeRefOrGetter<string>\n /** Put after a page title: \"Articles · Anzu\". */\n appName: MaybeRefOrGetter<string>\n /** The title of a page without its own. */\n fallback: MaybeRefOrGetter<string>\n /** Which breadcrumb names the page, negative from the end. Default `-1`, the last one. */\n breadcrumbIndex?: number\n /** Icons with a dot, shown while a page reports new records. Browsers without favicon swapping show the count only. */\n favicons?: BrowserTitleFavicon[]\n}\n\ntype Entry<T> = { token: symbol; value: T }\n\n// The latest registration wins: a page that mounts before the previous one unmounts takes over at once.\nconst pageTitles = shallowRef<Entry<() => string>[]>([])\nconst badges = shallowRef<Entry<() => string>[]>([])\nlet breadcrumbIndex = -1\n\nconst register = (list: typeof pageTitles, value: () => string) => {\n const token = Symbol()\n list.value = [...list.value, { token, value }]\n return () => {\n list.value = list.value.filter((entry) => entry.token !== token)\n }\n}\n\nconst breadcrumbTitle = (breadcrumbs: Breadcrumbs) => () => {\n const own = breadcrumbs.options.browserTitle\n if (typeof own === 'string') return own\n if (typeof own === 'function') return own()\n const index = typeof own === 'number' ? own : breadcrumbIndex\n return breadcrumbs.items.value.at(index)?.title ?? ''\n}\n\n/**\n * Names the browser tab after the page the breadcrumbs of the app bar's `AActionbar` lead to.\n * Used by `AActionbar`; returns the unregister call.\n */\nexport function registerBrowserTitleBreadcrumbs(breadcrumbs: Breadcrumbs) {\n return register(pageTitles, breadcrumbTitle(breadcrumbs))\n}\n\n/** Names the browser tab of a page that has no breadcrumbs in the app bar, for as long as the caller lives. */\nexport function useBrowserTitlePage(title: MaybeRefOrGetter<string>) {\n onScopeDispose(register(pageTitles, () => toValue(title)))\n}\n\n/**\n * Puts a count in front of the browser tab title, \"(3) Articles · Anzu\", and the dot on the favicon,\n * for as long as the caller lives. An empty label shows neither.\n */\nexport function useBrowserTitleBadge(label: MaybeRefOrGetter<string>) {\n onScopeDispose(register(badges, () => toValue(label)))\n}\n\nexport const browserTitleBadge = computed(() => badges.value.at(-1)?.value() ?? '')\n\nexport const browserPageTitle = computed(() => pageTitles.value.at(-1)?.value() ?? '')\n\n/** Builds the title the browser tab shows: `{prefix}: ({badge}) {page} · {appName}`. */\nexport function formatBrowserTitle(parts: {\n prefix: string\n badge: string\n page: string\n appName: string\n fallback: string\n}) {\n const body = parts.page ? `${parts.page} · ${parts.appName}` : parts.fallback\n const withBadge = parts.badge ? `(${parts.badge}) ${body}` : body\n return parts.prefix ? `${parts.prefix}: ${withBadge}` : withBadge\n}\n\n/**\n * Keeps `document.title` and the favicon in line with the current page. Called once, in the admin's `App.vue`.\n */\nexport function useBrowserTitle(options: BrowserTitleOptions) {\n breadcrumbIndex = options.breadcrumbIndex ?? -1\n const originalHrefs = new Map<string, string>()\n\n watchEffect(() => {\n document.title = formatBrowserTitle({\n prefix: toValue(options.prefix) ?? '',\n badge: browserTitleBadge.value,\n page: browserPageTitle.value,\n appName: toValue(options.appName),\n fallback: toValue(options.fallback),\n })\n })\n\n watchEffect(() => {\n const withDot = browserTitleBadge.value !== ''\n for (const favicon of options.favicons ?? []) {\n const link = document.querySelector<HTMLLinkElement>(favicon.selector)\n if (!link) continue\n if (!originalHrefs.has(favicon.selector)) originalHrefs.set(favicon.selector, link.href)\n // `link.href` reads back absolute, so a relative href is resolved before comparing; otherwise every change of\n // the count would set the icon again and the browser load it again.\n const href = new URL(withDot ? favicon.href : originalHrefs.get(favicon.selector)!, document.baseURI).href\n if (link.href !== href) link.href = href\n }\n })\n}\n"],"mappings":";;AA0BA,IAAMA,IAAaC,EAAkC,CAAC,CAAC,GACjDC,IAASD,EAAkC,CAAC,CAAC,GAC/CE,IAAkB,IAEhBC,KAAY,GAAyB,MAAwB;CACjE,IAAMC,IAAQ,OAAO;CAErB,OADA,EAAK,QAAQ,CAAC,GAAGC,EAAK,OAAO;EAAE;EAAO;CAAM,CAAC,SAChC;EACX,EAAK,QAAQA,EAAK,MAAM,QAAQ,MAAUC,EAAM,UAAUF,CAAK;CACjE;AACF,GAEMG,KAAmB,YAAmC;CAC1D,IAAMC,IAAMC,EAAY,QAAQ;CAChC,IAAI,OAAOD,KAAQ,UAAU,OAAOA;CACpC,IAAI,OAAOA,KAAQ,YAAY,OAAOA,EAAI;CAC1C,IAAME,IAAQ,OAAOF,KAAQ,WAAWA,IAAMN;CAC9C,OAAOO,EAAY,MAAM,MAAM,GAAGC,CAAK,CAAC,EAAE,SAAS;AACrD;AAMA,SAAgBC,EAAgC,GAA0B;CACxE,OAAOR,EAASJ,GAAYQ,EAAgBE,CAAW,CAAC;AAC1D;AAGA,SAAgBG,EAAoB,GAAiC;CACnE,EAAeT,EAASJ,SAAkBc,EAAQC,CAAK,CAAC,CAAC;AAC3D;AAMA,SAAgBC,EAAqB,GAAiC;CACpE,EAAeZ,EAASF,SAAcY,EAAQG,CAAK,CAAC,CAAC;AACvD;AAEA,IAAaC,IAAoBC,QAAejB,EAAO,MAAM,GAAG,EAAE,CAAC,EAAE,MAAM,KAAK,EAAE,GAErEkB,IAAmBD,QAAenB,EAAW,MAAM,GAAG,EAAE,CAAC,EAAE,MAAM,KAAK,EAAE;AAGrF,SAAgBqB,EAAmB,GAMhC;CACD,IAAMC,IAAOC,EAAM,OAAO,GAAGA,EAAM,KAAK,KAAKA,EAAM,YAAYA,EAAM,UAC/DC,IAAYD,EAAM,QAAQ,IAAIA,EAAM,MAAM,IAAID,MAASA;CAC7D,OAAOC,EAAM,SAAS,GAAGA,EAAM,OAAO,IAAIC,MAAcA;AAC1D;AAKA,SAAgBC,EAAgB,GAA8B;CAC5D,IAAkBC,EAAQ,mBAAmB;CAC7C,IAAMC,oBAAgB,IAAI,IAAoB;CAY9C,AAVAC,QAAkB;EAChB,SAAS,QAAQP,EAAmB;GAClC,QAAQP,EAAQY,EAAQ,MAAM,KAAK;GACnC,OAAOR,EAAkB;GACzB,MAAME,EAAiB;GACvB,SAASN,EAAQY,EAAQ,OAAO;GAChC,UAAUZ,EAAQY,EAAQ,QAAQ;EACpC,CAAC;CACH,CAAC,GAEDE,QAAkB;EAChB,IAAMC,IAAUX,EAAkB,UAAU;EAC5C,KAAK,IAAMY,KAAWJ,EAAQ,YAAY,CAAC,GAAG;GAC5C,IAAMK,IAAO,SAAS,cAA+BD,EAAQ,QAAQ;GACrE,IAAI,CAACC,GAAM;GACX,AAAKJ,EAAc,IAAIG,EAAQ,QAAQ,KAAGH,EAAc,IAAIG,EAAQ,UAAUC,EAAK,IAAI;GAGvF,IAAMC,IAAO,IAAI,IAAIH,IAAUC,EAAQ,OAAOH,EAAc,IAAIG,EAAQ,QAAQ,GAAI,SAAS,OAAO,CAAC,CAAC;GACtG,AAAIC,EAAK,SAASC,MAAM,EAAK,OAAOA;EACtC;CACF,CAAC;AACH"}
package/dist/lib.d.ts CHANGED
@@ -346,3 +346,13 @@ export { default as ADamUploadQueueItem } from './domains/dam/uploadQueue/compon
346
346
  export { default as ADamUploadQueueList } from './domains/dam/uploadQueue/components/UploadQueueEditable.vue';
347
347
  export { default as ADamUploadQueueMassOperations } from './domains/dam/uploadQueue/components/AssetQueueSelectedSidebar.vue';
348
348
  export type { UploadQueueListBinding, UploadQueueMassOperationsBinding, } from './domains/dam/uploadQueue/components/uploadQueueBindings';
349
+ export { LIVE_LISTING_INTERVAL, useLiveListing } from './domains/filters/datatable/composables/useLiveListing';
350
+ export type { LiveListingInterval, LiveListingKey, LiveListingNewness, LiveListingProbeOptions, UseLiveListingOptions, } from './domains/filters/datatable/composables/useLiveListing';
351
+ export { default as ALiveListingPill } from './domains/filters/datatable/components/ALiveListingPill.vue';
352
+ export { formatBrowserTitle, useBrowserTitle, useBrowserTitleBadge, useBrowserTitlePage, } from './domains/system/composables/browserTitle';
353
+ export type { BrowserTitleFavicon, BrowserTitleOptions } from './domains/system/composables/browserTitle';
354
+ export { useSeenRecords } from './domains/filters/datatable/composables/useSeenRecords';
355
+ export type { UseSeenRecordsOptions } from './domains/filters/datatable/composables/useSeenRecords';
356
+ export { useDatatableSidePanel } from './domains/filters/datatable/composables/useDatatableSidePanel';
357
+ export type { DatatableSidePanelWidth, UseDatatableSidePanelOptions, } from './domains/filters/datatable/composables/useDatatableSidePanel';
358
+ export { default as ADatatableSidePanel } from './domains/filters/datatable/components/ADatatableSidePanel.vue';
@@ -124,6 +124,91 @@ var e = {
124
124
  s: "Nejstarší"
125
125
  }
126
126
  }
127
+ },
128
+ liveListing: {
129
+ newRecords: {
130
+ t: 0,
131
+ b: {
132
+ t: 1,
133
+ c: [
134
+ {
135
+ t: 2,
136
+ i: [
137
+ {
138
+ t: 3,
139
+ v: "Přibyl "
140
+ },
141
+ {
142
+ t: 4,
143
+ k: "count"
144
+ },
145
+ {
146
+ t: 3,
147
+ v: " záznam"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ t: 2,
153
+ i: [
154
+ {
155
+ t: 3,
156
+ v: "Přibyly "
157
+ },
158
+ {
159
+ t: 4,
160
+ k: "count"
161
+ },
162
+ {
163
+ t: 3,
164
+ v: " záznamy"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ t: 2,
170
+ i: [
171
+ {
172
+ t: 3,
173
+ v: "Přibylo "
174
+ },
175
+ {
176
+ t: 4,
177
+ k: "count"
178
+ },
179
+ {
180
+ t: 3,
181
+ v: " záznamů"
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ }
187
+ },
188
+ failed: {
189
+ t: 0,
190
+ b: {
191
+ t: 2,
192
+ i: [{ t: 3 }],
193
+ s: "Seznam se nepodařilo obnovit. Zkoušíme znovu."
194
+ }
195
+ },
196
+ changes: {
197
+ t: 0,
198
+ b: {
199
+ t: 2,
200
+ i: [{ t: 3 }],
201
+ s: "Načíst změny"
202
+ }
203
+ },
204
+ degraded: {
205
+ t: 0,
206
+ b: {
207
+ t: 2,
208
+ i: [{ t: 3 }],
209
+ s: "Okamžitá upozornění nefungují, seznam kontrolujeme každých pár sekund."
210
+ }
211
+ }
127
212
  }
128
213
  },
129
214
  modal: {
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"k\"","\"v\"","\"notSet\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"liveListing\"","\"newRecords\"","\"c\"","\"v\"","\"k\"","\"failed\"","\"changes\"","\"degraded\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"notSet\""],"sources":[],"mappings":""}
@@ -110,6 +110,12 @@ declare const _default: {
110
110
  mostRecent: string;
111
111
  oldest: string;
112
112
  };
113
+ liveListing: {
114
+ newRecords: string;
115
+ failed: string;
116
+ changes: string;
117
+ degraded: string;
118
+ };
113
119
  };
114
120
  modal: {
115
121
  confirmDelete: string;
@@ -124,6 +124,57 @@ var e = {
124
124
  s: "Oldest"
125
125
  }
126
126
  }
127
+ },
128
+ liveListing: {
129
+ newRecords: {
130
+ t: 0,
131
+ b: {
132
+ t: 1,
133
+ c: [{
134
+ t: 2,
135
+ i: [{
136
+ t: 4,
137
+ k: "count"
138
+ }, {
139
+ t: 3,
140
+ v: " new record"
141
+ }]
142
+ }, {
143
+ t: 2,
144
+ i: [{
145
+ t: 4,
146
+ k: "count"
147
+ }, {
148
+ t: 3,
149
+ v: " new records"
150
+ }]
151
+ }]
152
+ }
153
+ },
154
+ failed: {
155
+ t: 0,
156
+ b: {
157
+ t: 2,
158
+ i: [{ t: 3 }],
159
+ s: "The list could not be refreshed. Trying again."
160
+ }
161
+ },
162
+ changes: {
163
+ t: 0,
164
+ b: {
165
+ t: 2,
166
+ i: [{ t: 3 }],
167
+ s: "Load changes"
168
+ }
169
+ },
170
+ degraded: {
171
+ t: 0,
172
+ b: {
173
+ t: 2,
174
+ i: [{ t: 3 }],
175
+ s: "Instant updates are down; the list is checked every few seconds."
176
+ }
177
+ }
127
178
  }
128
179
  },
129
180
  modal: {
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"k\"","\"v\"","\"notSet\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"liveListing\"","\"newRecords\"","\"c\"","\"k\"","\"v\"","\"failed\"","\"changes\"","\"degraded\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"notSet\""],"sources":[],"mappings":""}
@@ -110,6 +110,12 @@ declare const _default: {
110
110
  mostRecent: string;
111
111
  oldest: string;
112
112
  };
113
+ liveListing: {
114
+ newRecords: string;
115
+ failed: string;
116
+ changes: string;
117
+ degraded: string;
118
+ };
113
119
  };
114
120
  modal: {
115
121
  confirmDelete: string;
@@ -124,6 +124,91 @@ var e = {
124
124
  s: "Najstaršie"
125
125
  }
126
126
  }
127
+ },
128
+ liveListing: {
129
+ newRecords: {
130
+ t: 0,
131
+ b: {
132
+ t: 1,
133
+ c: [
134
+ {
135
+ t: 2,
136
+ i: [
137
+ {
138
+ t: 3,
139
+ v: "Pribudol "
140
+ },
141
+ {
142
+ t: 4,
143
+ k: "count"
144
+ },
145
+ {
146
+ t: 3,
147
+ v: " záznam"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ t: 2,
153
+ i: [
154
+ {
155
+ t: 3,
156
+ v: "Pribudli "
157
+ },
158
+ {
159
+ t: 4,
160
+ k: "count"
161
+ },
162
+ {
163
+ t: 3,
164
+ v: " záznamy"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ t: 2,
170
+ i: [
171
+ {
172
+ t: 3,
173
+ v: "Pribudlo "
174
+ },
175
+ {
176
+ t: 4,
177
+ k: "count"
178
+ },
179
+ {
180
+ t: 3,
181
+ v: " záznamov"
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ }
187
+ },
188
+ failed: {
189
+ t: 0,
190
+ b: {
191
+ t: 2,
192
+ i: [{ t: 3 }],
193
+ s: "Zoznam sa nepodarilo obnoviť. Skúšame znova."
194
+ }
195
+ },
196
+ changes: {
197
+ t: 0,
198
+ b: {
199
+ t: 2,
200
+ i: [{ t: 3 }],
201
+ s: "Načítať zmeny"
202
+ }
203
+ },
204
+ degraded: {
205
+ t: 0,
206
+ b: {
207
+ t: 2,
208
+ i: [{ t: 3 }],
209
+ s: "Okamžité upozornenia nefungujú, zoznam kontrolujeme každých pár sekúnd."
210
+ }
211
+ }
127
212
  }
128
213
  },
129
214
  modal: {
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"k\"","\"v\"","\"notSet\""],"sources":[],"mappings":""}
1
+ {"version":3,"file":"system.js","names":["resource","\"version\"","\"t\"","\"b\"","\"i\"","\"s\"","\"newVersionText\"","\"newVersionReload\"","\"theme\"","\"light\"","\"dark\"","\"auto\"","\"datatable\"","\"config\"","\"displayCols\"","\"itemsPerPage\"","\"from\"","\"noDataText\"","\"ordering\"","\"title\"","\"mostRelevant\"","\"mostRecent\"","\"oldest\"","\"liveListing\"","\"newRecords\"","\"c\"","\"v\"","\"k\"","\"failed\"","\"changes\"","\"degraded\"","\"modal\"","\"confirmDelete\"","\"hide\"","\"show\"","\"adminSwitcher\"","\"button\"","\"currentUser\"","\"logout\"","\"logoutText\"","\"logoutConfirm\"","\"settings\"","\"breadcrumb\"","\"detail\"","\"edit\"","\"create\"","\"login\"","\"text\"","\"notFound\"","\"backButton\"","\"previousButton\"","\"unauthorized\"","\"dropzone\"","\"dropPossibility\"","\"dropHere\"","\"upload\"","\"incorrectFormatSize\"","\"onlyOneFile\"","\"inputSuggestedMax\"","\"notSet\""],"sources":[],"mappings":""}
@@ -110,6 +110,12 @@ declare const _default: {
110
110
  mostRecent: string;
111
111
  oldest: string;
112
112
  };
113
+ liveListing: {
114
+ newRecords: string;
115
+ failed: string;
116
+ changes: string;
117
+ degraded: string;
118
+ };
113
119
  };
114
120
  modal: {
115
121
  confirmDelete: string;
@@ -138,6 +138,12 @@ export declare const i18n: I18n<{
138
138
  mostRecent: string;
139
139
  oldest: string;
140
140
  };
141
+ liveListing: {
142
+ newRecords: string;
143
+ failed: string;
144
+ changes: string;
145
+ degraded: string;
146
+ };
141
147
  };
142
148
  modal: {
143
149
  confirmDelete: string;
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "./package.json": "./package.json"
42
42
  },
43
- "version": "2.0.0-rc.19",
43
+ "version": "2.0.0-rc.20",
44
44
  "license": "Apache-2.0",
45
45
  "repository": {
46
46
  "type": "git",
@@ -80,7 +80,7 @@
80
80
  "release:cleanup": "npx -y --allow-git=all github:anzusystems/release-tools#main cleanup"
81
81
  },
82
82
  "devDependencies": {
83
- "@anzusystems/common-admin": "2.0.0-rc.19",
83
+ "@anzusystems/common-admin": "2.0.0-rc.20",
84
84
  "@intlify/unplugin-vue-i18n": "^11.2.8",
85
85
  "@mdi/font": "^7.4.47",
86
86
  "@sentry/vite-plugin": "11.14.0",