@anzusystems/common-admin 2.0.0-rc.15 → 2.0.0-rc.16

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.
@@ -1,9 +1,9 @@
1
1
  import e from "./AUserSystemPanel.js";
2
2
  import { useUserCreateFromSource as t } from "../composables/userCreateFromSource.js";
3
- import { Fragment as n, createBlock as r, createElementBlock as i, createVNode as a, defineComponent as o, onMounted as s, openBlock as c, ref as l, renderList as u, unref as d, withCtx as f } from "vue";
4
- import { VCard as p, VCardText as m } from "vuetify/components/VCard";
3
+ import { Fragment as n, createBlock as r, createElementBlock as i, createVNode as a, defineComponent as o, normalizeClass as s, onMounted as c, openBlock as l, ref as u, renderList as d, unref as f, withCtx as p } from "vue";
4
+ import { VCard as m, VCardText as h } from "vuetify/components/VCard";
5
5
  // src/domains/anzuUser/components/AUserOtherSystemsTable.vue?vue&type=script&setup=true&lang.ts
6
- var h = /*@__PURE__*/ o({
6
+ var g = /*@__PURE__*/ o({
7
7
  __name: "AUserOtherSystemsTable",
8
8
  props: {
9
9
  descriptors: {},
@@ -14,37 +14,39 @@ var h = /*@__PURE__*/ o({
14
14
  default: !1
15
15
  }
16
16
  },
17
- setup(o, { expose: h }) {
18
- let g = o, { source: _, createEnabled: v, creatingSystem: y, loadSource: b, create: x } = t({
19
- userId: () => g.userId,
20
- sources: () => g.sources
21
- }), S = l([]), C = (e) => {
22
- let t = g.descriptors.findIndex((t) => t.system === e);
23
- S.value[t]?.refresh();
24
- }, w = async (e, t) => {
25
- await x(e, t) && C(e.system);
17
+ setup(o, { expose: g }) {
18
+ let _ = o, { source: v, createEnabled: y, creatingSystem: b, loadSource: x, create: S } = t({
19
+ userId: () => _.userId,
20
+ sources: () => _.sources
21
+ }), C = u([]), w = (e) => {
22
+ let t = _.descriptors.findIndex((t) => t.system === e);
23
+ C.value[t]?.refresh();
24
+ }, T = async (e, t) => {
25
+ await S(e, t) && w(e.system);
26
26
  };
27
- return s(b), h({
27
+ return c(x), g({
28
28
  refresh: () => {
29
- b(), S.value.forEach((e) => e?.refresh());
29
+ x(), C.value.forEach((e) => e?.refresh());
30
30
  },
31
- refreshSystem: C,
32
- source: _
33
- }), (t, s) => (c(), r(p, { variant: "flat" }, {
34
- default: f(() => [a(m, { class: "d-flex flex-column ga-4" }, {
35
- default: f(() => [(c(!0), i(n, null, u(o.descriptors, (t) => (c(), r(e, {
31
+ refreshSystem: w,
32
+ source: v
33
+ }), (t, c) => (l(), r(m, { variant: "flat" }, {
34
+ default: p(() => [a(h, { class: "d-flex flex-column ga-3" }, {
35
+ default: p(() => [(l(!0), i(n, null, d(o.descriptors, (t, n) => (l(), r(e, {
36
36
  key: t.system,
37
37
  ref_for: !0,
38
38
  ref_key: "panels",
39
- ref: S,
39
+ ref: C,
40
+ class: s({ "border-b pb-3": n < o.descriptors.length - 1 }),
40
41
  descriptor: t,
41
42
  "user-id": o.userId,
42
43
  readonly: o.readonly,
43
- "create-enabled": d(v),
44
- source: d(_),
45
- creating: d(y) === t.system,
46
- onCreate: w
44
+ "create-enabled": f(y),
45
+ source: f(v),
46
+ creating: f(b) === t.system,
47
+ onCreate: T
47
48
  }, null, 8, [
49
+ "class",
48
50
  "descriptor",
49
51
  "user-id",
50
52
  "readonly",
@@ -58,6 +60,6 @@ var h = /*@__PURE__*/ o({
58
60
  }));
59
61
  }
60
62
  });
61
- export { h as default };
63
+ export { g as default };
62
64
 
63
65
  //# sourceMappingURL=AUserOtherSystemsTable.vue_vue_type_script_setup_true_lang.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AUserOtherSystemsTable.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_component_VCard","_withCtx","_createVNode","_component_VCardText","_createElementBlock","_Fragment","_renderList","AUserSystemPanel","_unref","AUserSystemPanel_default","AUserOtherSystemsTable_vue_vue_type_script_setup_true_lang_default","__expose","props","__props","useUserCreateFromSource","panels","ref","refreshSystem","index","descriptor","system","onCreate","create","target","metadata","onMounted","loadSource","panel","openBlock","createBlock","VCard","withCtx","createVNode","VCardText","createElementBlock","Fragment","renderList","unref","createEnabled","source","creatingSystem"],"sources":["../../../../src/domains/anzuUser/components/AUserOtherSystemsTable.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { onMounted, ref } from 'vue'\nimport AUserSystemPanel from '@/domains/anzuUser/components/AUserSystemPanel.vue'\nimport type { AnyUserSystemDescriptor } from '@/domains/anzuUser/composables/userSystemDescriptor'\nimport { useUserCreateFromSource } from '@/domains/anzuUser/composables/userCreateFromSource'\nimport type { BaseUser } from '@/shared/types/AnzuUser'\nimport type { IntegerId } from '@/shared/types/common'\n\nconst props = withDefaults(\n defineProps<{\n /** The systems this admin does not manage, one row each. */\n descriptors: AnyUserSystemDescriptor[]\n userId: IntegerId\n /** Where an account created from a row copies from, in order of preference; see `useUserCreateFromSource`. */\n sources: AnyUserSystemDescriptor[]\n readonly?: boolean\n }>(),\n {\n readonly: false,\n }\n)\n\nconst { source, createEnabled, creatingSystem, loadSource, create } = useUserCreateFromSource({\n userId: () => props.userId,\n sources: () => props.sources,\n})\n\n/**\n * A read-only list of panels, not `AUserSystemOverview`. The overview adds search, bulk\n * actions and inconsistency detection, and building on it would make task 2 depend on task 3.\n */\nconst panels = ref<InstanceType<typeof AUserSystemPanel>[]>([])\n\nconst refreshSystem = (system: string) => {\n const index = props.descriptors.findIndex((descriptor) => descriptor.system === system)\n panels.value[index]?.refresh()\n}\n\nconst onCreate = async (target: AnyUserSystemDescriptor, metadata: BaseUser) => {\n if (await create(target, metadata)) refreshSystem(target.system)\n}\n\nonMounted(loadSource)\n\ndefineExpose({\n refresh: () => {\n void loadSource()\n panels.value.forEach((panel) => panel?.refresh())\n },\n refreshSystem,\n /** The source record, for a page that names the person. */\n source,\n})\n</script>\n\n<template>\n <VCard variant=\"flat\">\n <VCardText class=\"d-flex flex-column ga-4\">\n <AUserSystemPanel\n v-for=\"descriptor in descriptors\"\n :key=\"descriptor.system\"\n ref=\"panels\"\n :descriptor=\"descriptor\"\n :user-id=\"userId\"\n :readonly=\"readonly\"\n :create-enabled=\"createEnabled\"\n :source=\"source\"\n :creating=\"creatingSystem === descriptor.system\"\n @create=\"onCreate\"\n />\n </VCardText>\n </VCard>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAQA,IAAMc,IAAQC,GAcR,EAAE,WAAQ,kBAAe,mBAAgB,eAAY,cAAWC,EAAwB;GAC5F,cAAcF,EAAM;GACpB,eAAeA,EAAM;EACvB,CAAC,GAMKG,IAASC,EAA6C,CAAC,CAAC,GAExDC,KAAiB,MAAmB;GACxC,IAAMC,IAAQN,EAAM,YAAY,WAAW,MAAeO,EAAW,WAAWC,CAAM;GACtF,EAAO,MAAMF,EAAM,EAAE,QAAQ;EAC/B,GAEMG,IAAW,OAAO,GAAiC,MAAuB;GAC9E,AAAI,MAAMC,EAAOC,GAAQC,CAAQ,KAAGP,EAAcM,EAAO,MAAM;EACjE;E,OAEAE,EAAUC,CAAU,GAEpBf,EAAa;GACX,eAAe;IAEb,AADAe,EAAgB,GAChBX,EAAO,MAAM,SAAS,MAAUY,GAAO,QAAQ,CAAC;GAClD;GACA;GAEA;EACF,CAAC,I,UAIC7B,EAAA,GAAAC,EAeQC,GAAA,EAfD,SAAQ,OAAM,GAAA;GACnB,SAAAC,QAaY,CAbZC,EAaYC,GAAA,EAbD,OAAM,0BAAyB,GAAA;IAEtC,SAAAF,QAAiC,EADnCH,EAAA,EAAA,GAAAM,EAWEC,GAAA,MAAAC,EAVqBO,EAAA,cAAd,OADTf,EAAA,GAAAC,EAWEQ,GAAA;KATC,KAAKY,EAAW;;KACb,SAAA;KAAJ,KAAIJ;KACS;KACZ,WAASF,EAAA;KACT,UAAUA,EAAA;KACV,kBAAgBL,EAAA8B,CAAA;KAChB,QAAQ9B,EAAA+B,CAAA;KACR,UAAU/B,EAAAgC,CAAA,MAAmBrB,EAAW;KAChC"}
1
+ {"version":3,"file":"AUserOtherSystemsTable.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createBlock","_component_VCard","_withCtx","_createVNode","_component_VCardText","_createElementBlock","_Fragment","_renderList","AUserSystemPanel","_normalizeClass","_unref","AUserSystemPanel_default","AUserOtherSystemsTable_vue_vue_type_script_setup_true_lang_default","__expose","props","__props","useUserCreateFromSource","panels","ref","refreshSystem","index","descriptor","system","onCreate","create","target","metadata","onMounted","loadSource","panel","openBlock","createBlock","VCard","withCtx","createVNode","VCardText","createElementBlock","Fragment","renderList","normalizeClass","unref","createEnabled","source","creatingSystem"],"sources":["../../../../src/domains/anzuUser/components/AUserOtherSystemsTable.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { onMounted, ref } from 'vue'\nimport AUserSystemPanel from '@/domains/anzuUser/components/AUserSystemPanel.vue'\nimport type { AnyUserSystemDescriptor } from '@/domains/anzuUser/composables/userSystemDescriptor'\nimport { useUserCreateFromSource } from '@/domains/anzuUser/composables/userCreateFromSource'\nimport type { BaseUser } from '@/shared/types/AnzuUser'\nimport type { IntegerId } from '@/shared/types/common'\n\nconst props = withDefaults(\n defineProps<{\n /** The systems this admin does not manage, one row each. */\n descriptors: AnyUserSystemDescriptor[]\n userId: IntegerId\n /** Where an account created from a row copies from, in order of preference; see `useUserCreateFromSource`. */\n sources: AnyUserSystemDescriptor[]\n readonly?: boolean\n }>(),\n {\n readonly: false,\n }\n)\n\nconst { source, createEnabled, creatingSystem, loadSource, create } = useUserCreateFromSource({\n userId: () => props.userId,\n sources: () => props.sources,\n})\n\n/**\n * A read-only list of panels, not `AUserSystemOverview`. The overview adds search, bulk\n * actions and inconsistency detection, and building on it would make task 2 depend on task 3.\n */\nconst panels = ref<InstanceType<typeof AUserSystemPanel>[]>([])\n\nconst refreshSystem = (system: string) => {\n const index = props.descriptors.findIndex((descriptor) => descriptor.system === system)\n panels.value[index]?.refresh()\n}\n\nconst onCreate = async (target: AnyUserSystemDescriptor, metadata: BaseUser) => {\n if (await create(target, metadata)) refreshSystem(target.system)\n}\n\nonMounted(loadSource)\n\ndefineExpose({\n refresh: () => {\n void loadSource()\n panels.value.forEach((panel) => panel?.refresh())\n },\n refreshSystem,\n /** The source record, for a page that names the person. */\n source,\n})\n</script>\n\n<template>\n <VCard variant=\"flat\">\n <VCardText class=\"d-flex flex-column ga-3\">\n <AUserSystemPanel\n v-for=\"(descriptor, index) in descriptors\"\n :key=\"descriptor.system\"\n ref=\"panels\"\n :class=\"{ 'border-b pb-3': index < descriptors.length - 1 }\"\n :descriptor=\"descriptor\"\n :user-id=\"userId\"\n :readonly=\"readonly\"\n :create-enabled=\"createEnabled\"\n :source=\"source\"\n :creating=\"creatingSystem === descriptor.system\"\n @create=\"onCreate\"\n />\n </VCardText>\n </VCard>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAQA,IAAMe,IAAQC,GAcR,EAAE,WAAQ,kBAAe,mBAAgB,eAAY,cAAWC,EAAwB;GAC5F,cAAcF,EAAM;GACpB,eAAeA,EAAM;EACvB,CAAC,GAMKG,IAASC,EAA6C,CAAC,CAAC,GAExDC,KAAiB,MAAmB;GACxC,IAAMC,IAAQN,EAAM,YAAY,WAAW,MAAeO,EAAW,WAAWC,CAAM;GACtF,EAAO,MAAMF,EAAM,EAAE,QAAQ;EAC/B,GAEMG,IAAW,OAAO,GAAiC,MAAuB;GAC9E,AAAI,MAAMC,EAAOC,GAAQC,CAAQ,KAAGP,EAAcM,EAAO,MAAM;EACjE;E,OAEAE,EAAUC,CAAU,GAEpBf,EAAa;GACX,eAAe;IAEb,AADAe,EAAgB,GAChBX,EAAO,MAAM,SAAS,MAAUY,GAAO,QAAQ,CAAC;GAClD;GACA;GAEA;EACF,CAAC,I,UAIC9B,EAAA,GAAAC,EAgBQC,GAAA,EAhBD,SAAQ,OAAM,GAAA;GACnB,SAAAC,QAcY,CAdZC,EAcYC,GAAA,EAdD,OAAM,0BAAyB,GAAA;IAEtC,SAAAF,QAA0C,EAD5CH,EAAA,EAAA,GAAAM,EAYEC,GAAA,MAAAC,EAX8BQ,EAAA,cAAtB,GAAY,OADtBhB,EAAA,GAAAC,EAYEQ,GAAA;KAVC,KAAKa,EAAW;;KACb,SAAA;KAAJ,KAAIJ;KACH,OAAKR,EAAA,EAAA,iBAAqBW,IAAQL,EAAA,YAAY,SAAM,EAAA,CAAA;KACxC;KACZ,WAASA,EAAA;KACT,UAAUA,EAAA;KACV,kBAAgBL,EAAA+B,CAAA;KAChB,QAAQ/B,EAAAgC,CAAA;KACR,UAAUhC,EAAAiC,CAAA,MAAmBtB,EAAW;KAChC"}
@@ -9,18 +9,18 @@ import { computed as u, createBlock as d, createCommentVNode as f, createElement
9
9
  import { useI18n as E } from "vue-i18n";
10
10
  import { VChip as D } from "vuetify/components/VChip";
11
11
  import { VSpacer as O } from "vuetify/components/VGrid";
12
- import { VBtn as k } from "vuetify/components/VBtn";
12
+ import { VBtn as ee } from "vuetify/components/VBtn";
13
13
  // src/domains/anzuUser/components/AUserSystemPanel.vue?vue&type=script&setup=true&lang.ts
14
- var A = ["data-cy"], j = { class: "font-weight-medium" }, M = {
15
- key: 1,
16
- class: "text-body-small text-medium-emphasis"
17
- }, N = {
14
+ var te = ["data-cy"], k = { class: "d-flex align-center flex-wrap ga-2" }, A = { class: "font-weight-medium" }, j = {
18
15
  key: 2,
19
- class: "text-body-small text-medium-emphasis w-100"
20
- }, P = {
21
- key: 5,
22
16
  class: "text-body-small text-medium-emphasis",
23
17
  "data-cy": "user-system-no-write"
18
+ }, M = { class: "d-flex align-center flex-wrap ga-2 mt-1" }, N = {
19
+ key: 1,
20
+ class: "text-body-small text-medium-emphasis"
21
+ }, P = {
22
+ key: 0,
23
+ class: "text-body-small text-medium-emphasis mt-1"
24
24
  }, F = /*@__PURE__*/ _({
25
25
  __name: "AUserSystemPanel",
26
26
  props: {
@@ -49,61 +49,62 @@ var A = ["data-cy"], j = { class: "font-weight-medium" }, M = {
49
49
  ok: "success",
50
50
  warn: "warning",
51
51
  error: "error"
52
- }, Q = u(() => V.value.access === o.Unavailable || V.value.access === o.Unauthenticated), $ = () => U(L.userId);
53
- return b($), w(() => L.userId, $), y(W), F({ refresh: $ }), (r, i) => (x(), p("div", {
54
- class: "d-flex align-center flex-wrap ga-2",
55
- "data-cy": `user-system-panel-${_.descriptor.system}`
56
- }, [
57
- m("div", j, S(G.value), 1),
58
- g(n, { axes: C(V) }, null, 8, ["axes"]),
59
- X.value ? (x(), d(D, {
60
- key: 0,
61
- color: Z[X.value.tone],
62
- label: "",
63
- size: "small"
64
- }, {
65
- default: T(() => [h(S(X.value.label) + ": " + S(X.value.value), 1)]),
66
- _: 1
67
- }, 8, ["color"])) : f("", !0),
68
- C(H) ? (x(), p("div", M, S(C(H).person.fullName) + " · " + S(C(H).email), 1)) : f("", !0),
69
- _.descriptor.enabledNote ? (x(), p("div", N, S(_.descriptor.enabledNote), 1)) : f("", !0),
70
- g(O),
71
- K.value && Y.value ? (x(), d(t, {
72
- key: 3,
73
- target: Y.value,
74
- "system-label": G.value
75
- }, null, 8, ["target", "system-label"])) : f("", !0),
76
- q.value ? (x(), d(e, {
77
- key: 4,
78
- "system-label": G.value,
79
- "create-note": _.descriptor.createNote,
80
- "will-be-enabled": _.createEnabled,
81
- loading: _.creating,
82
- "required-metadata": _.descriptor.requiredMetadata,
83
- "user-id": _.userId,
84
- source: _.source,
85
- onConfirm: i[0] ||= (e) => R("create", _.descriptor, e)
86
- }, null, 8, [
87
- "system-label",
88
- "create-note",
89
- "will-be-enabled",
90
- "loading",
91
- "required-metadata",
92
- "user-id",
93
- "source"
94
- ])) : f("", !0),
95
- J.value ? (x(), p("span", P, S(C(z)("common.userSystem.state.noWriteRight")), 1)) : f("", !0),
96
- Q.value ? (x(), d(k, {
97
- key: 6,
98
- size: "small",
99
- variant: "text",
100
- "data-cy": "user-system-retry",
101
- onClick: $
102
- }, {
103
- default: T(() => [h(S(C(z)("common.userSystem.button.retry")), 1)]),
104
- _: 1
105
- })) : f("", !0)
106
- ], 8, A));
52
+ }, Q = u(() => H.value === null ? "" : [H.value.person.fullName, H.value.email].filter(Boolean).join(" · ")), ne = u(() => V.value.access === o.Unavailable || V.value.access === o.Unauthenticated), $ = () => U(L.userId);
53
+ return b($), w(() => L.userId, $), y(W), F({ refresh: $ }), (r, i) => (x(), p("div", { "data-cy": `user-system-panel-${_.descriptor.system}` }, [
54
+ m("div", k, [
55
+ m("div", A, S(G.value), 1),
56
+ g(O),
57
+ K.value && Y.value ? (x(), d(t, {
58
+ key: 0,
59
+ target: Y.value,
60
+ "system-label": G.value
61
+ }, null, 8, ["target", "system-label"])) : f("", !0),
62
+ q.value ? (x(), d(e, {
63
+ key: 1,
64
+ "system-label": G.value,
65
+ "create-note": _.descriptor.createNote,
66
+ "will-be-enabled": _.createEnabled,
67
+ loading: _.creating,
68
+ "required-metadata": _.descriptor.requiredMetadata,
69
+ "user-id": _.userId,
70
+ source: _.source,
71
+ onConfirm: i[0] ||= (e) => R("create", _.descriptor, e)
72
+ }, null, 8, [
73
+ "system-label",
74
+ "create-note",
75
+ "will-be-enabled",
76
+ "loading",
77
+ "required-metadata",
78
+ "user-id",
79
+ "source"
80
+ ])) : f("", !0),
81
+ J.value ? (x(), p("span", j, S(C(z)("common.userSystem.state.noWriteRight")), 1)) : f("", !0),
82
+ ne.value ? (x(), d(ee, {
83
+ key: 3,
84
+ size: "small",
85
+ variant: "text",
86
+ "data-cy": "user-system-retry",
87
+ onClick: $
88
+ }, {
89
+ default: T(() => [h(S(C(z)("common.userSystem.button.retry")), 1)]),
90
+ _: 1
91
+ })) : f("", !0)
92
+ ]),
93
+ m("div", M, [
94
+ g(n, { axes: C(V) }, null, 8, ["axes"]),
95
+ X.value ? (x(), d(D, {
96
+ key: 0,
97
+ color: Z[X.value.tone],
98
+ label: "",
99
+ size: "small"
100
+ }, {
101
+ default: T(() => [h(S(X.value.label) + ": " + S(X.value.value), 1)]),
102
+ _: 1
103
+ }, 8, ["color"])) : f("", !0),
104
+ Q.value ? (x(), p("div", N, S(Q.value), 1)) : f("", !0)
105
+ ]),
106
+ _.descriptor.enabledNote ? (x(), p("div", P, S(_.descriptor.enabledNote), 1)) : f("", !0)
107
+ ], 8, te));
107
108
  }
108
109
  });
109
110
  export { F as default };
@@ -1 +1 @@
1
- {"version":3,"file":"AUserSystemPanel.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_createVNode","AUserSystemStatusChip","_unref","_createBlock","_component_VChip","_withCtx","_createTextVNode","_component_VSpacer","AUserManageButton","AUserCreateInSystemButton","_component_VBtn","AUserCreateInSystemButton_default","AUserManageButton_default","AUserSystemStatusChip_default","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","AUserSystemPanel_vue_vue_type_script_setup_true_lang_default","__expose","__emit","props","__props","emit","useI18n","refreshHook","inject","UserSystemRefreshHookKey","useUserSystemProbe","label","computed","showManage","axes","UserSystemLoad","user","isUndefined","descriptorMayWrite","showCreate","isAuthoritativelyAbsent","showNoWriteRight","manageTarget","extraState","EXTRA_STATE_COLOR","canRetry","UserSystemAccess","run","probe","onMounted","watch","onBeforeUnmount","cancel","openBlock","createElementBlock","createElementVNode","toDisplayString","createVNode","unref","createBlock","VChip","withCtx","createTextVNode","createCommentVNode","VSpacer","_cache","t","VBtn"],"sources":["../../../../src/domains/anzuUser/components/AUserSystemPanel.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed, inject, onBeforeUnmount, onMounted, watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport AUserCreateInSystemButton from '@/domains/anzuUser/components/AUserCreateInSystemButton.vue'\nimport AUserManageButton from '@/domains/anzuUser/components/AUserManageButton.vue'\nimport AUserSystemStatusChip from '@/domains/anzuUser/components/AUserSystemStatusChip.vue'\nimport { type AnyUserSystemDescriptor, descriptorMayWrite } from '@/domains/anzuUser/composables/userSystemDescriptor'\nimport { useUserSystemProbe, UserSystemRefreshHookKey } from '@/domains/anzuUser/composables/userSystemProbe'\nimport { isAuthoritativelyAbsent, UserSystemAccess, UserSystemLoad } from '@/domains/anzuUser/utils/userSystemState'\nimport type { BaseUser } from '@/shared/types/AnzuUser'\nimport type { IntegerId } from '@/shared/types/common'\nimport { isUndefined } from '@/shared/utils/common'\n\nconst props = withDefaults(\n defineProps<{\n descriptor: AnyUserSystemDescriptor\n userId: IntegerId\n /**\n * On a viewing page there is no Create, because no read-only screen offers a write action.\n * Manage stays because it only navigates.\n */\n readonly?: boolean\n /** Whether the account about to be created would be switched on. */\n createEnabled?: boolean\n /** What the owning system holds, to prefill the create form. */\n source?: BaseUser | null\n creating?: boolean\n }>(),\n {\n readonly: false,\n createEnabled: false,\n source: null,\n creating: false,\n }\n)\n\nconst emit = defineEmits<{\n (e: 'create', descriptor: AnyUserSystemDescriptor, user: BaseUser): void\n}>()\n\nconst { t } = useI18n()\n\n// Provided once per page rather than passed down through every row.\nconst refreshHook = inject(UserSystemRefreshHookKey, undefined)\n\n/* eslint-disable vue/no-setup-props-reactivity-loss */\nconst { axes, user, probe, cancel } = useUserSystemProbe({ descriptor: props.descriptor, refreshHook })\n/* eslint-enable vue/no-setup-props-reactivity-loss */\n\nconst label = computed(() => props.descriptor.label ?? props.descriptor.system)\n\n/**\n * The buttons depend on the probe's answer, not on `<Acl>`, except that the descriptor can deny writing (`canWrite`).\n * On a cross-system surface no current user is loaded for other backends, so `can()` would throw and\n * `<Acl>` would render nothing. The probe is the only signal, so its 401 handling must be right.\n */\nconst showManage = computed(\n () =>\n axes.value.load === UserSystemLoad.Loaded &&\n user.value !== null &&\n !isUndefined(props.descriptor.manage) &&\n descriptorMayWrite(props.descriptor, 'update')\n)\nconst showCreate = computed(\n () => !props.readonly && isAuthoritativelyAbsent(axes.value) && descriptorMayWrite(props.descriptor, 'create')\n)\n\nconst showNoWriteRight = computed(\n () =>\n (axes.value.load === UserSystemLoad.Loaded &&\n user.value !== null &&\n !isUndefined(props.descriptor.manage) &&\n !descriptorMayWrite(props.descriptor, 'update')) ||\n (!props.readonly && isAuthoritativelyAbsent(axes.value) && !descriptorMayWrite(props.descriptor, 'create'))\n)\n\nconst manageTarget = computed(() => {\n if (user.value === null || isUndefined(props.descriptor.manage)) return null\n return props.descriptor.manage(user.value)\n})\n\nconst extraState = computed(() => {\n if (user.value === null || isUndefined(props.descriptor.extraState)) return null\n return props.descriptor.extraState(user.value)\n})\n\nconst EXTRA_STATE_COLOR = { ok: 'success', warn: 'warning', error: 'error' } as const\n\nconst canRetry = computed(\n () => axes.value.access === UserSystemAccess.Unavailable || axes.value.access === UserSystemAccess.Unauthenticated\n)\n\nconst run = () => probe(props.userId)\n\nonMounted(run)\n\nwatch(() => props.userId, run)\n\nonBeforeUnmount(cancel)\n\ndefineExpose({\n refresh: run,\n})\n</script>\n\n<template>\n <div\n class=\"d-flex align-center flex-wrap ga-2\"\n :data-cy=\"`user-system-panel-${descriptor.system}`\"\n >\n <div class=\"font-weight-medium\">{{ label }}</div>\n <AUserSystemStatusChip :axes=\"axes\" />\n <VChip\n v-if=\"extraState\"\n :color=\"EXTRA_STATE_COLOR[extraState.tone]\"\n label\n size=\"small\"\n >\n {{ extraState.label }}: {{ extraState.value }}\n </VChip>\n <div\n v-if=\"user\"\n class=\"text-body-small text-medium-emphasis\"\n >\n {{ user.person.fullName }} · {{ user.email }}\n </div>\n <div\n v-if=\"descriptor.enabledNote\"\n class=\"text-body-small text-medium-emphasis w-100\"\n >\n {{ descriptor.enabledNote }}\n </div>\n <VSpacer />\n <AUserManageButton\n v-if=\"showManage && manageTarget\"\n :target=\"manageTarget\"\n :system-label=\"label\"\n />\n <AUserCreateInSystemButton\n v-if=\"showCreate\"\n :system-label=\"label\"\n :create-note=\"descriptor.createNote\"\n :will-be-enabled=\"createEnabled\"\n :loading=\"creating\"\n :required-metadata=\"descriptor.requiredMetadata\"\n :user-id=\"userId\"\n :source=\"source\"\n @confirm=\"(user) => emit('create', descriptor, user)\"\n />\n <span\n v-if=\"showNoWriteRight\"\n class=\"text-body-small text-medium-emphasis\"\n data-cy=\"user-system-no-write\"\n >\n {{ t('common.userSystem.state.noWriteRight') }}\n </span>\n <VBtn\n v-if=\"canRetry\"\n size=\"small\"\n variant=\"text\"\n data-cy=\"user-system-retry\"\n @click=\"run\"\n >\n {{ t('common.userSystem.button.retry') }}\n </VBtn>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaA,IAAM0B,IAAQC,GAuBRC,IAAOH,GAIP,EAAE,SAAMI,EAAQ,GAGhBC,IAAcC,EAAOC,GAA0B,KAAA,CAAS,GAGxD,EAAE,SAAM,SAAM,UAAO,cAAWC,EAAmB;GAAE,YAAYP,EAAM;GAAY;EAAY,CAAC,GAGhGQ,IAAQC,QAAeT,EAAM,WAAW,SAASA,EAAM,WAAW,MAAM,GAOxEU,IAAaD,QAEfE,EAAK,MAAM,SAASC,EAAe,UACnCC,EAAK,UAAU,QACf,CAACC,EAAYd,EAAM,WAAW,MAAM,KACpCe,EAAmBf,EAAM,YAAY,QAAQ,CACjD,GACMgB,IAAaP,QACX,CAACT,EAAM,YAAYiB,EAAwBN,EAAK,KAAK,KAAKI,EAAmBf,EAAM,YAAY,QAAQ,CAC/G,GAEMkB,IAAmBT,QAEpBE,EAAK,MAAM,SAASC,EAAe,UAClCC,EAAK,UAAU,QACf,CAACC,EAAYd,EAAM,WAAW,MAAM,KACpC,CAACe,EAAmBf,EAAM,YAAY,QAAQ,KAC/C,CAACA,EAAM,YAAYiB,EAAwBN,EAAK,KAAK,KAAK,CAACI,EAAmBf,EAAM,YAAY,QAAQ,CAC7G,GAEMmB,IAAeV,QACfI,EAAK,UAAU,QAAQC,EAAYd,EAAM,WAAW,MAAM,IAAU,OACjEA,EAAM,WAAW,OAAOa,EAAK,KAAK,CAC1C,GAEKO,IAAaX,QACbI,EAAK,UAAU,QAAQC,EAAYd,EAAM,WAAW,UAAU,IAAU,OACrEA,EAAM,WAAW,WAAWa,EAAK,KAAK,CAC9C,GAEKQ,IAAoB;GAAE,IAAI;GAAW,MAAM;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P,EAAA,WAAW;IACxB,mBAAiBA,EAAA;IACjB,SAASA,EAAA;IACT,qBAAmBA,EAAA,WAAW;IAC9B,WAASA,EAAA;IACT,QAAQA,EAAA;IACR,WAAO,AAAAyC,EAAA,QAAG,MAASxC,EAAI,UAAWD,EAAA,YAAYY,CAAI;;;;;;;;;;GAG7CK,EAAA,SADR5C,EAAA,GAAAC,EAMO,QANPqB,GAMOnB,EADFG,EAAA+D,CAAA,CAAC,CAAA,sCAAA,CAAA,GAAA,CAAA,K;GAGErB,EAAA,SADRhD,EAAA,GAAAO,EAQOO,GAAA;;IANL,MAAK;IACL,SAAQ;IACR,WAAQ;IACP,SAAOoC;;IAER,SAAAzC,QAAyC,CAAtCC,EAAAP,EAAAG,EAAA+D,CAAA,CAAC,CAAA,gCAAA,CAAA,GAAA,CAAA,C"}
1
+ {"version":3,"file":"AUserSystemPanel.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_createVNode","_component_VSpacer","_createBlock","AUserManageButton","AUserCreateInSystemButton","_unref","_component_VBtn","_withCtx","_createTextVNode","AUserSystemStatusChip","_component_VChip","AUserCreateInSystemButton_default","AUserManageButton_default","AUserSystemStatusChip_default","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","AUserSystemPanel_vue_vue_type_script_setup_true_lang_default","__expose","__emit","props","__props","emit","useI18n","refreshHook","inject","UserSystemRefreshHookKey","useUserSystemProbe","label","computed","showManage","axes","UserSystemLoad","user","isUndefined","descriptorMayWrite","showCreate","isAuthoritativelyAbsent","showNoWriteRight","manageTarget","extraState","EXTRA_STATE_COLOR","userLine","canRetry","UserSystemAccess","run","probe","onMounted","watch","onBeforeUnmount","cancel","openBlock","createElementBlock","createElementVNode","toDisplayString","createVNode","VSpacer","createBlock","createCommentVNode","_cache","unref","t","VBtn","withCtx","createTextVNode","VChip"],"sources":["../../../../src/domains/anzuUser/components/AUserSystemPanel.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed, inject, onBeforeUnmount, onMounted, watch } from 'vue'\nimport { useI18n } from 'vue-i18n'\nimport AUserCreateInSystemButton from '@/domains/anzuUser/components/AUserCreateInSystemButton.vue'\nimport AUserManageButton from '@/domains/anzuUser/components/AUserManageButton.vue'\nimport AUserSystemStatusChip from '@/domains/anzuUser/components/AUserSystemStatusChip.vue'\nimport { type AnyUserSystemDescriptor, descriptorMayWrite } from '@/domains/anzuUser/composables/userSystemDescriptor'\nimport { useUserSystemProbe, UserSystemRefreshHookKey } from '@/domains/anzuUser/composables/userSystemProbe'\nimport { isAuthoritativelyAbsent, UserSystemAccess, UserSystemLoad } from '@/domains/anzuUser/utils/userSystemState'\nimport type { BaseUser } from '@/shared/types/AnzuUser'\nimport type { IntegerId } from '@/shared/types/common'\nimport { isUndefined } from '@/shared/utils/common'\n\nconst props = withDefaults(\n defineProps<{\n descriptor: AnyUserSystemDescriptor\n userId: IntegerId\n /**\n * On a viewing page there is no Create, because no read-only screen offers a write action.\n * Manage stays because it only navigates.\n */\n readonly?: boolean\n /** Whether the account about to be created would be switched on. */\n createEnabled?: boolean\n /** What the owning system holds, to prefill the create form. */\n source?: BaseUser | null\n creating?: boolean\n }>(),\n {\n readonly: false,\n createEnabled: false,\n source: null,\n creating: false,\n }\n)\n\nconst emit = defineEmits<{\n (e: 'create', descriptor: AnyUserSystemDescriptor, user: BaseUser): void\n}>()\n\nconst { t } = useI18n()\n\n// Provided once per page rather than passed down through every row.\nconst refreshHook = inject(UserSystemRefreshHookKey, undefined)\n\n/* eslint-disable vue/no-setup-props-reactivity-loss */\nconst { axes, user, probe, cancel } = useUserSystemProbe({ descriptor: props.descriptor, refreshHook })\n/* eslint-enable vue/no-setup-props-reactivity-loss */\n\nconst label = computed(() => props.descriptor.label ?? props.descriptor.system)\n\n/**\n * The buttons depend on the probe's answer, not on `<Acl>`, except that the descriptor can deny writing (`canWrite`).\n * On a cross-system surface no current user is loaded for other backends, so `can()` would throw and\n * `<Acl>` would render nothing. The probe is the only signal, so its 401 handling must be right.\n */\nconst showManage = computed(\n () =>\n axes.value.load === UserSystemLoad.Loaded &&\n user.value !== null &&\n !isUndefined(props.descriptor.manage) &&\n descriptorMayWrite(props.descriptor, 'update')\n)\nconst showCreate = computed(\n () => !props.readonly && isAuthoritativelyAbsent(axes.value) && descriptorMayWrite(props.descriptor, 'create')\n)\n\nconst showNoWriteRight = computed(\n () =>\n (axes.value.load === UserSystemLoad.Loaded &&\n user.value !== null &&\n !isUndefined(props.descriptor.manage) &&\n !descriptorMayWrite(props.descriptor, 'update')) ||\n (!props.readonly && isAuthoritativelyAbsent(axes.value) && !descriptorMayWrite(props.descriptor, 'create'))\n)\n\nconst manageTarget = computed(() => {\n if (user.value === null || isUndefined(props.descriptor.manage)) return null\n return props.descriptor.manage(user.value)\n})\n\nconst extraState = computed(() => {\n if (user.value === null || isUndefined(props.descriptor.extraState)) return null\n return props.descriptor.extraState(user.value)\n})\n\nconst EXTRA_STATE_COLOR = { ok: 'success', warn: 'warning', error: 'error' } as const\n\nconst userLine = computed(() =>\n user.value === null ? '' : [user.value.person.fullName, user.value.email].filter(Boolean).join(' · ')\n)\n\nconst canRetry = computed(\n () => axes.value.access === UserSystemAccess.Unavailable || axes.value.access === UserSystemAccess.Unauthenticated\n)\n\nconst run = () => probe(props.userId)\n\nonMounted(run)\n\nwatch(() => props.userId, run)\n\nonBeforeUnmount(cancel)\n\ndefineExpose({\n refresh: run,\n})\n</script>\n\n<template>\n <div :data-cy=\"`user-system-panel-${descriptor.system}`\">\n <div class=\"d-flex align-center flex-wrap ga-2\">\n <div class=\"font-weight-medium\">{{ label }}</div>\n <VSpacer />\n <AUserManageButton\n v-if=\"showManage && manageTarget\"\n :target=\"manageTarget\"\n :system-label=\"label\"\n />\n <AUserCreateInSystemButton\n v-if=\"showCreate\"\n :system-label=\"label\"\n :create-note=\"descriptor.createNote\"\n :will-be-enabled=\"createEnabled\"\n :loading=\"creating\"\n :required-metadata=\"descriptor.requiredMetadata\"\n :user-id=\"userId\"\n :source=\"source\"\n @confirm=\"(user) => emit('create', descriptor, user)\"\n />\n <span\n v-if=\"showNoWriteRight\"\n class=\"text-body-small text-medium-emphasis\"\n data-cy=\"user-system-no-write\"\n >\n {{ t('common.userSystem.state.noWriteRight') }}\n </span>\n <VBtn\n v-if=\"canRetry\"\n size=\"small\"\n variant=\"text\"\n data-cy=\"user-system-retry\"\n @click=\"run\"\n >\n {{ t('common.userSystem.button.retry') }}\n </VBtn>\n </div>\n <div class=\"d-flex align-center flex-wrap ga-2 mt-1\">\n <AUserSystemStatusChip :axes=\"axes\" />\n <VChip\n v-if=\"extraState\"\n :color=\"EXTRA_STATE_COLOR[extraState.tone]\"\n label\n size=\"small\"\n >\n {{ extraState.label }}: {{ extraState.value }}\n </VChip>\n <div\n v-if=\"userLine\"\n class=\"text-body-small text-medium-emphasis\"\n >\n {{ userLine }}\n </div>\n </div>\n <div\n v-if=\"descriptor.enabledNote\"\n class=\"text-body-small text-medium-emphasis mt-1\"\n >\n {{ descriptor.enabledNote }}\n </div>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaA,IAAM4B,IAAQC,GAuBRC,IAAOH,GAIP,EAAE,SAAMI,EAAQ,GAGhBC,IAAcC,EAAOC,GAA0B,KAAA,CAAS,GAGxD,EAAE,SAAM,SAAM,UAAO,cAAWC,EAAmB;GAAE,YAAYP,EAAM;GAAY;EAAY,CAAC,GAGhGQ,IAAQC,QAAeT,EAAM,WAAW,SAASA,EAAM,WAAW,MAAM,GAOxEU,IAAaD,QAEfE,EAAK,MAAM,SAASC,EAAe,UACnCC,EAAK,UAAU,QACf,CAACC,EAAYd,EAAM,WAAW,MAAM,KACpCe,EAAmBf,EAAM,YAAY,QAAQ,CACjD,GACMgB,IAAaP,QACX,CAACT,EAAM,YAAYiB,EAAwBN,EAAK,KAAK,KAAKI,EAAmBf,EAAM,YAAY,Q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"version": "2.0.0-rc.15",
43
+ "version": "2.0.0-rc.16",
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.15",
83
+ "@anzusystems/common-admin": "2.0.0-rc.16",
84
84
  "@intlify/unplugin-vue-i18n": "^11.2.8",
85
85
  "@mdi/font": "^7.4.47",
86
86
  "@sentry/vite-plugin": "11.12.0",