@conduction/nextcloud-vue 2.56.0-beta.63 → 2.56.0-beta.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue.js +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js +115 -12
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js +36 -9
- package/dist/esm/components/CnActionDialog/CnActionDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue.js +1 -1
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue2.js +8 -1
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue2.js.map +1 -1
- package/dist/esm/components/CnWorkQueue/CnWorkQueue.vue3.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +33 -33
- package/dist/esm/utils/actionsDispatcher.js +5 -2
- package/dist/esm/utils/actionsDispatcher.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +281 -142
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +33 -33
- package/package.json +1 -1
- package/src/components/CnActionDialog/CnActionDialog.vue +134 -13
- package/src/components/CnWorkQueue/CnWorkQueue.vue +8 -1
- package/src/utils/actionsDispatcher.js +4 -1
|
@@ -8028,7 +8028,10 @@ function dispatchAction$1(action, context = {}) {
|
|
|
8028
8028
|
return
|
|
8029
8029
|
}
|
|
8030
8030
|
|
|
8031
|
-
|
|
8031
|
+
// A prop that is exactly a token (`"objectId": "@objectId"`) resolves
|
|
8032
|
+
// against the page's object; one the page cannot answer stays as written.
|
|
8033
|
+
const props = context.tokenCtx ? resolveDeepTokens(action.props ?? {}, context.tokenCtx) : (action.props ?? {});
|
|
8034
|
+
context.openModal(target, props);
|
|
8032
8035
|
break
|
|
8033
8036
|
}
|
|
8034
8037
|
|
|
@@ -12853,7 +12856,7 @@ const _hoisted_17$1u = {
|
|
|
12853
12856
|
class: "cn-chart-widget__fallback"
|
|
12854
12857
|
};
|
|
12855
12858
|
const _hoisted_18$1k = { class: "cn-chart-widget__error" };
|
|
12856
|
-
const _hoisted_19$
|
|
12859
|
+
const _hoisted_19$1c = {
|
|
12857
12860
|
key: 6,
|
|
12858
12861
|
class: "cn-chart-widget__footnote",
|
|
12859
12862
|
"data-testid": "cn-chart-widget-footnote"
|
|
@@ -12980,7 +12983,7 @@ function render$7Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12980
12983
|
])
|
|
12981
12984
|
])),
|
|
12982
12985
|
($props.footnote && $data.chartComponent && !$options.showEmptyState && $props.type !== 'bar-list' && $props.type !== 'matrix')
|
|
12983
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$
|
|
12986
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$1c, vue$1.toDisplayString($options.hostTranslate($props.footnote)), 1 /* TEXT */))
|
|
12984
12987
|
: vue$1.createCommentVNode("v-if", true)
|
|
12985
12988
|
], 2 /* CLASS */))
|
|
12986
12989
|
}
|
|
@@ -15949,7 +15952,7 @@ const _hoisted_15$1V = {
|
|
|
15949
15952
|
const _hoisted_16$1K = { class: "cn-conversation-thread__text" };
|
|
15950
15953
|
const _hoisted_17$1t = ["for"];
|
|
15951
15954
|
const _hoisted_18$1j = ["id", "placeholder", "disabled", "aria-describedby"];
|
|
15952
|
-
const _hoisted_19$
|
|
15955
|
+
const _hoisted_19$1b = ["id"];
|
|
15953
15956
|
const _hoisted_20$12 = { class: "cn-conversation-thread__reply-actions" };
|
|
15954
15957
|
|
|
15955
15958
|
function render$7R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -16061,7 +16064,7 @@ function render$7R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16061
16064
|
class: "cn-conversation-thread__error",
|
|
16062
16065
|
role: "alert",
|
|
16063
16066
|
"data-testid": "cn-conversation-error"
|
|
16064
|
-
}, vue$1.toDisplayString($data.errorMessage), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
16067
|
+
}, vue$1.toDisplayString($data.errorMessage), 9 /* TEXT, PROPS */, _hoisted_19$1b))
|
|
16065
16068
|
: vue$1.createCommentVNode("v-if", true),
|
|
16066
16069
|
vue$1.createElementVNode("div", _hoisted_20$12, [
|
|
16067
16070
|
vue$1.renderSlot(_ctx.$slots, "reply-actions", { draft: $data.draft }),
|
|
@@ -21789,7 +21792,7 @@ const _hoisted_15$1U = { class: "cn-column-filter__field" };
|
|
|
21789
21792
|
const _hoisted_16$1J = { class: "cn-column-filter__label" };
|
|
21790
21793
|
const _hoisted_17$1s = ["type"];
|
|
21791
21794
|
const _hoisted_18$1i = { class: "cn-column-filter__field" };
|
|
21792
|
-
const _hoisted_19$
|
|
21795
|
+
const _hoisted_19$1a = { class: "cn-column-filter__label" };
|
|
21793
21796
|
const _hoisted_20$11 = ["type"];
|
|
21794
21797
|
const _hoisted_21$_ = {
|
|
21795
21798
|
key: 3,
|
|
@@ -21896,7 +21899,7 @@ function render$7C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21896
21899
|
])
|
|
21897
21900
|
]),
|
|
21898
21901
|
vue$1.createElementVNode("label", _hoisted_18$1i, [
|
|
21899
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
21902
|
+
vue$1.createElementVNode("span", _hoisted_19$1a, vue$1.toDisplayString($options.toLabel), 1 /* TEXT */),
|
|
21900
21903
|
vue$1.withDirectives(vue$1.createElementVNode("input", {
|
|
21901
21904
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (($data.draft.to) = $event)),
|
|
21902
21905
|
class: "cn-column-filter__input",
|
|
@@ -26581,7 +26584,7 @@ const _hoisted_18$1h = {
|
|
|
26581
26584
|
class: "cn-cell-renderer__avatar-picture",
|
|
26582
26585
|
"aria-hidden": "true"
|
|
26583
26586
|
};
|
|
26584
|
-
const _hoisted_19$
|
|
26587
|
+
const _hoisted_19$19 = { class: "cn-cell-renderer__avatar-text" };
|
|
26585
26588
|
const _hoisted_20$10 = ["title"];
|
|
26586
26589
|
const _hoisted_21$Z = {
|
|
26587
26590
|
key: 0,
|
|
@@ -26862,7 +26865,7 @@ function render$7z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26862
26865
|
style: vue$1.normalizeStyle({ width: $options.avatarSize + 'px', height: $options.avatarSize + 'px' }),
|
|
26863
26866
|
"aria-hidden": "true"
|
|
26864
26867
|
}, vue$1.toDisplayString($options.avatarInitials), 5 /* TEXT, STYLE */)),
|
|
26865
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
26868
|
+
vue$1.createElementVNode("span", _hoisted_19$19, [
|
|
26866
26869
|
vue$1.createElementVNode("span", {
|
|
26867
26870
|
class: "cn-cell-renderer__avatar-name",
|
|
26868
26871
|
title: $options.avatarName || $options.avatarUserId
|
|
@@ -29516,7 +29519,7 @@ const _hoisted_18$1g = {
|
|
|
29516
29519
|
class: "cn-table-empty",
|
|
29517
29520
|
"data-testid": "cn-object-list-empty"
|
|
29518
29521
|
};
|
|
29519
|
-
const _hoisted_19$
|
|
29522
|
+
const _hoisted_19$18 = ["colspan"];
|
|
29520
29523
|
const _hoisted_20$$ = {
|
|
29521
29524
|
key: 0,
|
|
29522
29525
|
class: "cn-table-empty__lens-reason",
|
|
@@ -29751,7 +29754,7 @@ function render$7w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29751
29754
|
vue$1.createTextVNode(vue$1.toDisplayString($options.translateLabel($props.emptyText)), 1 /* TEXT */)
|
|
29752
29755
|
], 64 /* STABLE_FRAGMENT */))
|
|
29753
29756
|
])
|
|
29754
|
-
], 8 /* PROPS */, _hoisted_19$
|
|
29757
|
+
], 8 /* PROPS */, _hoisted_19$18)
|
|
29755
29758
|
]))
|
|
29756
29759
|
: (vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, { key: 1 }, vue$1.renderList($options.effectiveRows, (row, rowIndex) => {
|
|
29757
29760
|
return (vue$1.openBlock(), vue$1.createElementBlock("tr", {
|
|
@@ -65526,7 +65529,7 @@ const _hoisted_17$1p = {
|
|
|
65526
65529
|
class: "cn-icon-browser-panel__cell-label"
|
|
65527
65530
|
};
|
|
65528
65531
|
const _hoisted_18$1f = { class: "cn-icon-browser-panel__empty" };
|
|
65529
|
-
const _hoisted_19$
|
|
65532
|
+
const _hoisted_19$17 = {
|
|
65530
65533
|
key: 2,
|
|
65531
65534
|
class: "cn-icon-browser-panel__hint"
|
|
65532
65535
|
};
|
|
@@ -65705,7 +65708,7 @@ function render$7l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65705
65708
|
vue$1.createElementVNode("p", _hoisted_18$1f, vue$1.toDisplayString($options.emptyMessage), 1 /* TEXT */)
|
|
65706
65709
|
], undefined, 1),
|
|
65707
65710
|
($options.truncated)
|
|
65708
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$
|
|
65711
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$17, vue$1.toDisplayString($options.t('nextcloud-vue', 'Showing {shown} of {total} — refine your search to narrow results.', { shown: $options.visibleIcons.length, total: $options.matchCount })), 1 /* TEXT */))
|
|
65709
65712
|
: vue$1.createCommentVNode("v-if", true)
|
|
65710
65713
|
], 64 /* STABLE_FRAGMENT */))
|
|
65711
65714
|
: vue$1.createCommentVNode("v-if", true)
|
|
@@ -76829,7 +76832,7 @@ const _hoisted_16$1F = {
|
|
|
76829
76832
|
};
|
|
76830
76833
|
const _hoisted_17$1o = { class: "cn-activity-card__day-header" };
|
|
76831
76834
|
const _hoisted_18$1e = { class: "cn-activity-card__day-count" };
|
|
76832
|
-
const _hoisted_19$
|
|
76835
|
+
const _hoisted_19$16 = { class: "cn-activity-card__list" };
|
|
76833
76836
|
const _hoisted_20$Z = { class: "cn-activity-card__row-main" };
|
|
76834
76837
|
const _hoisted_21$W = { class: "cn-activity-card__row-subject" };
|
|
76835
76838
|
const _hoisted_22$T = { class: "cn-activity-card__row-meta" };
|
|
@@ -76903,7 +76906,7 @@ function render$7d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76903
76906
|
vue$1.createElementVNode("span", null, vue$1.toDisplayString(day.label), 1 /* TEXT */),
|
|
76904
76907
|
vue$1.createElementVNode("span", _hoisted_18$1e, vue$1.toDisplayString(day.rows.length), 1 /* TEXT */)
|
|
76905
76908
|
]),
|
|
76906
|
-
vue$1.createElementVNode("ul", _hoisted_19$
|
|
76909
|
+
vue$1.createElementVNode("ul", _hoisted_19$16, [
|
|
76907
76910
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList(day.rows.slice(0, $data.COMPACT_LIMIT), (entry) => {
|
|
76908
76911
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
76909
76912
|
key: $options.entryKey(entry),
|
|
@@ -77810,7 +77813,7 @@ const _hoisted_15$1P = ["value"];
|
|
|
77810
77813
|
const _hoisted_16$1E = { class: "cn-activity-tab__filter" };
|
|
77811
77814
|
const _hoisted_17$1n = { class: "cn-activity-tab__filter-label" };
|
|
77812
77815
|
const _hoisted_18$1d = { value: "" };
|
|
77813
|
-
const _hoisted_19$
|
|
77816
|
+
const _hoisted_19$15 = ["value"];
|
|
77814
77817
|
const _hoisted_20$Y = {
|
|
77815
77818
|
key: 1,
|
|
77816
77819
|
class: "cn-activity-tab__visibility",
|
|
@@ -78010,7 +78013,7 @@ function render$7c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78010
78013
|
return (vue$1.openBlock(), vue$1.createElementBlock("option", {
|
|
78011
78014
|
key: ac,
|
|
78012
78015
|
value: ac
|
|
78013
|
-
}, vue$1.toDisplayString(ac), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
78016
|
+
}, vue$1.toDisplayString(ac), 9 /* TEXT, PROPS */, _hoisted_19$15))
|
|
78014
78017
|
}), 128 /* KEYED_FRAGMENT */))
|
|
78015
78018
|
], 544 /* NEED_HYDRATION, NEED_PATCH */), [
|
|
78016
78019
|
[vue$1.vModelSelect, $data.selectedActor]
|
|
@@ -78620,7 +78623,7 @@ const _hoisted_18$1c = {
|
|
|
78620
78623
|
key: 3,
|
|
78621
78624
|
class: "cn-analytics-card__view-all"
|
|
78622
78625
|
};
|
|
78623
|
-
const _hoisted_19$
|
|
78626
|
+
const _hoisted_19$14 = ["href"];
|
|
78624
78627
|
|
|
78625
78628
|
function render$7b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78626
78629
|
const _component_NcLoadingIcon = vue$1.resolveComponent("NcLoadingIcon");
|
|
@@ -78720,7 +78723,7 @@ function render$7b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78720
78723
|
href: $props.analyticsAppUrl,
|
|
78721
78724
|
target: "_blank",
|
|
78722
78725
|
rel: "noopener noreferrer"
|
|
78723
|
-
}, vue$1.toDisplayString($props.viewAllLabel), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
78726
|
+
}, vue$1.toDisplayString($props.viewAllLabel), 9 /* TEXT, PROPS */, _hoisted_19$14)
|
|
78724
78727
|
]))
|
|
78725
78728
|
: vue$1.createCommentVNode("v-if", true)
|
|
78726
78729
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -80963,7 +80966,7 @@ const _hoisted_18$1b = {
|
|
|
80963
80966
|
key: 2,
|
|
80964
80967
|
class: "cn-audit-details__new"
|
|
80965
80968
|
};
|
|
80966
|
-
const _hoisted_19$
|
|
80969
|
+
const _hoisted_19$13 = {
|
|
80967
80970
|
key: 3,
|
|
80968
80971
|
class: "cn-audit-details__null"
|
|
80969
80972
|
};
|
|
@@ -81115,7 +81118,7 @@ function render$74(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81115
81118
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_18$1b, vue$1.toDisplayString($options.formatValue(change.new)), 1 /* TEXT */))
|
|
81116
81119
|
: vue$1.createCommentVNode("v-if", true),
|
|
81117
81120
|
(change.old === null && change.new === null)
|
|
81118
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
81121
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$13, "null"))
|
|
81119
81122
|
: vue$1.createCommentVNode("v-if", true)
|
|
81120
81123
|
]))
|
|
81121
81124
|
: (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_20$X, [
|
|
@@ -81461,7 +81464,7 @@ const _hoisted_18$1a = {
|
|
|
81461
81464
|
key: 2,
|
|
81462
81465
|
class: "cn-bookmarks-card__list"
|
|
81463
81466
|
};
|
|
81464
|
-
const _hoisted_19$
|
|
81467
|
+
const _hoisted_19$12 = { class: "cn-bookmarks-card__row-icon" };
|
|
81465
81468
|
const _hoisted_20$W = ["src", "onError"];
|
|
81466
81469
|
const _hoisted_21$T = { class: "cn-bookmarks-card__row-main" };
|
|
81467
81470
|
const _hoisted_22$Q = ["href"];
|
|
@@ -81575,7 +81578,7 @@ function render$73(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81575
81578
|
key: $options.bookmarkKey(bookmark),
|
|
81576
81579
|
class: "cn-bookmarks-card__row"
|
|
81577
81580
|
}, [
|
|
81578
|
-
vue$1.createElementVNode("div", _hoisted_19$
|
|
81581
|
+
vue$1.createElementVNode("div", _hoisted_19$12, [
|
|
81579
81582
|
($options.faviconUrl(bookmark))
|
|
81580
81583
|
? (vue$1.openBlock(), vue$1.createElementBlock("img", {
|
|
81581
81584
|
key: 0,
|
|
@@ -83542,7 +83545,7 @@ const _hoisted_18$19 = {
|
|
|
83542
83545
|
key: 0,
|
|
83543
83546
|
class: "cn-calendar-event-picker__event-location"
|
|
83544
83547
|
};
|
|
83545
|
-
const _hoisted_19$
|
|
83548
|
+
const _hoisted_19$11 = {
|
|
83546
83549
|
key: 3,
|
|
83547
83550
|
class: "cn-calendar-event-picker__empty"
|
|
83548
83551
|
};
|
|
@@ -83667,7 +83670,7 @@ function render$6Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83667
83670
|
], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_14$1Y))
|
|
83668
83671
|
}), 128 /* KEYED_FRAGMENT */))
|
|
83669
83672
|
]))
|
|
83670
|
-
: (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
83673
|
+
: (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$11, vue$1.toDisplayString($props.noEventsLabel), 1 /* TEXT */))
|
|
83671
83674
|
]))
|
|
83672
83675
|
: vue$1.createCommentVNode("v-if", true)
|
|
83673
83676
|
])
|
|
@@ -84113,7 +84116,7 @@ const _hoisted_18$18 = {
|
|
|
84113
84116
|
key: 1,
|
|
84114
84117
|
class: "cn-calendar-tab__attendees"
|
|
84115
84118
|
};
|
|
84116
|
-
const _hoisted_19
|
|
84119
|
+
const _hoisted_19$10 = ["title"];
|
|
84117
84120
|
const _hoisted_20$V = ["title"];
|
|
84118
84121
|
const _hoisted_21$S = {
|
|
84119
84122
|
key: 1,
|
|
@@ -84249,7 +84252,7 @@ function render$6Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
84249
84252
|
key: idx,
|
|
84250
84253
|
class: "cn-calendar-tab__avatar",
|
|
84251
84254
|
title: att.name
|
|
84252
|
-
}, vue$1.toDisplayString(att.initials), 9 /* TEXT, PROPS */, _hoisted_19
|
|
84255
|
+
}, vue$1.toDisplayString(att.initials), 9 /* TEXT, PROPS */, _hoisted_19$10))
|
|
84253
84256
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
84254
84257
|
($options.extraAttendees(ev) > 0)
|
|
84255
84258
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", {
|
|
@@ -84811,7 +84814,7 @@ const _hoisted_18$17 = {
|
|
|
84811
84814
|
key: 1,
|
|
84812
84815
|
class: "cn-collectives-card__empty"
|
|
84813
84816
|
};
|
|
84814
|
-
const _hoisted_19
|
|
84817
|
+
const _hoisted_19$$ = {
|
|
84815
84818
|
key: 2,
|
|
84816
84819
|
class: "cn-collectives-card__list"
|
|
84817
84820
|
};
|
|
@@ -84926,7 +84929,7 @@ function render$6X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
84926
84929
|
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_17$1h, vue$1.toDisplayString($data.degraded), 1 /* TEXT */))
|
|
84927
84930
|
: ($data.pages.length === 0)
|
|
84928
84931
|
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_18$17, vue$1.toDisplayString($props.emptyLabel), 1 /* TEXT */))
|
|
84929
|
-
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19
|
|
84932
|
+
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$$, [
|
|
84930
84933
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($options.displayedPages, (page) => {
|
|
84931
84934
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
84932
84935
|
key: $options.pageKey(page),
|
|
@@ -88015,7 +88018,7 @@ const _hoisted_18$16 = {
|
|
|
88015
88018
|
class: "cn-contacts-tab__sub",
|
|
88016
88019
|
"data-testid": "cn-contacts-tab-period"
|
|
88017
88020
|
};
|
|
88018
|
-
const _hoisted_19$
|
|
88021
|
+
const _hoisted_19$_ = { class: "cn-contacts-tab__sub-text" };
|
|
88019
88022
|
const _hoisted_20$T = {
|
|
88020
88023
|
key: 4,
|
|
88021
88024
|
class: "cn-contacts-tab__sub"
|
|
@@ -88177,7 +88180,7 @@ function render$6O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
88177
88180
|
size: 14,
|
|
88178
88181
|
class: "cn-contacts-tab__sub-icon"
|
|
88179
88182
|
}),
|
|
88180
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
88183
|
+
vue$1.createElementVNode("span", _hoisted_19$_, vue$1.toDisplayString($options.periodOf(contact)), 1 /* TEXT */)
|
|
88181
88184
|
]))
|
|
88182
88185
|
: vue$1.createCommentVNode("v-if", true),
|
|
88183
88186
|
(contact.note)
|
|
@@ -90027,7 +90030,7 @@ const _hoisted_16$1v = {
|
|
|
90027
90030
|
};
|
|
90028
90031
|
const _hoisted_17$1e = { class: "cn-deck-card__column-header" };
|
|
90029
90032
|
const _hoisted_18$15 = { class: "cn-deck-card__column-title" };
|
|
90030
|
-
const _hoisted_19$
|
|
90033
|
+
const _hoisted_19$Z = { class: "cn-deck-card__column-count" };
|
|
90031
90034
|
const _hoisted_20$S = { class: "cn-deck-card__column-list" };
|
|
90032
90035
|
const _hoisted_21$P = ["href"];
|
|
90033
90036
|
|
|
@@ -90112,7 +90115,7 @@ function render$6J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90112
90115
|
}, [
|
|
90113
90116
|
vue$1.createElementVNode("header", _hoisted_17$1e, [
|
|
90114
90117
|
vue$1.createElementVNode("span", _hoisted_18$15, vue$1.toDisplayString(stack.label), 1 /* TEXT */),
|
|
90115
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
90118
|
+
vue$1.createElementVNode("span", _hoisted_19$Z, vue$1.toDisplayString(stack.cards.length), 1 /* TEXT */)
|
|
90116
90119
|
]),
|
|
90117
90120
|
vue$1.createElementVNode("ul", _hoisted_20$S, [
|
|
90118
90121
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList(stack.cards, (card) => {
|
|
@@ -92045,7 +92048,7 @@ const _hoisted_16$1t = {
|
|
|
92045
92048
|
};
|
|
92046
92049
|
const _hoisted_17$1c = ["onClick"];
|
|
92047
92050
|
const _hoisted_18$14 = { class: "cn-email-picker__message" };
|
|
92048
|
-
const _hoisted_19$
|
|
92051
|
+
const _hoisted_19$Y = { class: "cn-email-picker__message-subject" };
|
|
92049
92052
|
const _hoisted_20$R = { class: "cn-email-picker__message-meta" };
|
|
92050
92053
|
const _hoisted_21$O = { class: "cn-email-picker__message-sender" };
|
|
92051
92054
|
const _hoisted_22$M = {
|
|
@@ -92221,7 +92224,7 @@ function render$6E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
92221
92224
|
}, [
|
|
92222
92225
|
vue$1.createVNode(_component_EmailOutline, { size: 18 }),
|
|
92223
92226
|
vue$1.createElementVNode("span", _hoisted_18$14, [
|
|
92224
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
92227
|
+
vue$1.createElementVNode("span", _hoisted_19$Y, vue$1.toDisplayString(msg.subject || $options.t('nextcloud-vue', '(no subject)')), 1 /* TEXT */),
|
|
92225
92228
|
vue$1.createElementVNode("span", _hoisted_20$R, [
|
|
92226
92229
|
vue$1.createElementVNode("span", _hoisted_21$O, vue$1.toDisplayString(msg.sender || $options.t('nextcloud-vue', 'Unknown sender')), 1 /* TEXT */),
|
|
92227
92230
|
(msg.date)
|
|
@@ -95337,7 +95340,7 @@ const _hoisted_15$1B = { value: "no" };
|
|
|
95337
95340
|
const _hoisted_16$1r = { value: "na" };
|
|
95338
95341
|
const _hoisted_17$1a = ["onUpdate:modelValue", "data-testid"];
|
|
95339
95342
|
const _hoisted_18$12 = ["data-testid"];
|
|
95340
|
-
const _hoisted_19$
|
|
95343
|
+
const _hoisted_19$X = {
|
|
95341
95344
|
key: 0,
|
|
95342
95345
|
class: "cn-field-inspection__error",
|
|
95343
95346
|
role: "alert",
|
|
@@ -95517,7 +95520,7 @@ function render$6B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95517
95520
|
]))
|
|
95518
95521
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
95519
95522
|
($data.saveError)
|
|
95520
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$
|
|
95523
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$X, vue$1.toDisplayString($data.saveError), 1 /* TEXT */))
|
|
95521
95524
|
: vue$1.createCommentVNode("v-if", true),
|
|
95522
95525
|
vue$1.createVNode(_component_NcButton, {
|
|
95523
95526
|
type: "submit",
|
|
@@ -100053,7 +100056,7 @@ const _hoisted_17$19 = {
|
|
|
100053
100056
|
"data-testid": "cn-files-browser-facets"
|
|
100054
100057
|
};
|
|
100055
100058
|
const _hoisted_18$11 = ["aria-label"];
|
|
100056
|
-
const _hoisted_19$
|
|
100059
|
+
const _hoisted_19$W = ["aria-pressed", "onClick"];
|
|
100057
100060
|
const _hoisted_20$Q = { class: "cn-files-browser__facet-count" };
|
|
100058
100061
|
const _hoisted_21$N = ["aria-label"];
|
|
100059
100062
|
const _hoisted_22$L = {
|
|
@@ -100456,7 +100459,7 @@ function render$6v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100456
100459
|
}, [
|
|
100457
100460
|
vue$1.createTextVNode(vue$1.toDisplayString(option.value) + " ", 1 /* TEXT */),
|
|
100458
100461
|
vue$1.createElementVNode("strong", _hoisted_20$Q, vue$1.toDisplayString(option.count), 1 /* TEXT */)
|
|
100459
|
-
], 10 /* CLASS, PROPS */, _hoisted_19$
|
|
100462
|
+
], 10 /* CLASS, PROPS */, _hoisted_19$W))
|
|
100460
100463
|
}), 128 /* KEYED_FRAGMENT */))
|
|
100461
100464
|
], 8 /* PROPS */, _hoisted_18$11))
|
|
100462
100465
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
@@ -105898,7 +105901,7 @@ const _hoisted_18$10 = {
|
|
|
105898
105901
|
key: 2,
|
|
105899
105902
|
class: "cn-maps-card__list"
|
|
105900
105903
|
};
|
|
105901
|
-
const _hoisted_19$
|
|
105904
|
+
const _hoisted_19$V = { class: "cn-maps-card__row-main" };
|
|
105902
105905
|
const _hoisted_20$P = { class: "cn-maps-card__row-header" };
|
|
105903
105906
|
const _hoisted_21$M = ["href"];
|
|
105904
105907
|
const _hoisted_22$K = {
|
|
@@ -106008,7 +106011,7 @@ function render$6m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106008
106011
|
size: 14,
|
|
106009
106012
|
class: "cn-maps-card__row-icon"
|
|
106010
106013
|
}),
|
|
106011
|
-
vue$1.createElementVNode("div", _hoisted_19$
|
|
106014
|
+
vue$1.createElementVNode("div", _hoisted_19$V, [
|
|
106012
106015
|
vue$1.createElementVNode("div", _hoisted_20$P, [
|
|
106013
106016
|
vue$1.createElementVNode("a", {
|
|
106014
106017
|
href: $options.pointUrl(point),
|
|
@@ -110410,7 +110413,7 @@ const _hoisted_18$$ = {
|
|
|
110410
110413
|
key: 2,
|
|
110411
110414
|
class: "cn-openproject-card__empty"
|
|
110412
110415
|
};
|
|
110413
|
-
const _hoisted_19$
|
|
110416
|
+
const _hoisted_19$U = {
|
|
110414
110417
|
key: 3,
|
|
110415
110418
|
class: "cn-openproject-card__empty"
|
|
110416
110419
|
};
|
|
@@ -110532,7 +110535,7 @@ function render$6c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
110532
110535
|
: ($data.degraded)
|
|
110533
110536
|
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_18$$, vue$1.toDisplayString($data.degraded), 1 /* TEXT */))
|
|
110534
110537
|
: ($data.workPackages.length === 0)
|
|
110535
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
110538
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$U, vue$1.toDisplayString($props.emptyLabel), 1 /* TEXT */))
|
|
110536
110539
|
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_20$O, [
|
|
110537
110540
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($data.workPackages, (wp) => {
|
|
110538
110541
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
@@ -112250,7 +112253,7 @@ const _hoisted_18$_ = {
|
|
|
112250
112253
|
key: 2,
|
|
112251
112254
|
class: "cn-photos-card__grid"
|
|
112252
112255
|
};
|
|
112253
|
-
const _hoisted_19$
|
|
112256
|
+
const _hoisted_19$T = ["href", "title"];
|
|
112254
112257
|
const _hoisted_20$N = { class: "cn-photos-card__tile-cover" };
|
|
112255
112258
|
const _hoisted_21$K = ["src", "onError"];
|
|
112256
112259
|
const _hoisted_22$I = { class: "cn-photos-card__tile-name" };
|
|
@@ -112382,7 +112385,7 @@ function render$68(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
112382
112385
|
}))
|
|
112383
112386
|
]),
|
|
112384
112387
|
vue$1.createElementVNode("span", _hoisted_22$I, vue$1.toDisplayString($options.albumName(album)), 1 /* TEXT */)
|
|
112385
|
-
], 8 /* PROPS */, _hoisted_19$
|
|
112388
|
+
], 8 /* PROPS */, _hoisted_19$T))
|
|
112386
112389
|
}), 128 /* KEYED_FRAGMENT */))
|
|
112387
112390
|
])),
|
|
112388
112391
|
($data.albums.length > $data.COMPACT_LIMIT)
|
|
@@ -113670,7 +113673,7 @@ const _hoisted_18$Z = {
|
|
|
113670
113673
|
key: 0,
|
|
113671
113674
|
class: "cn-polls-card__subtitle"
|
|
113672
113675
|
};
|
|
113673
|
-
const _hoisted_19$
|
|
113676
|
+
const _hoisted_19$S = {
|
|
113674
113677
|
key: 1,
|
|
113675
113678
|
class: "cn-polls-card__options"
|
|
113676
113679
|
};
|
|
@@ -113784,7 +113787,7 @@ function render$64(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113784
113787
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_18$Z, vue$1.toDisplayString($options.rowMeta(poll)), 1 /* TEXT */))
|
|
113785
113788
|
: vue$1.createCommentVNode("v-if", true),
|
|
113786
113789
|
($options.pollOptions(poll).length > 0)
|
|
113787
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$
|
|
113790
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$S, [
|
|
113788
113791
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($options.pollOptions(poll), (opt) => {
|
|
113789
113792
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
113790
113793
|
key: $options.optionKey(opt),
|
|
@@ -114673,7 +114676,7 @@ const _hoisted_15$1p = { class: "cn-polls-tab__option-label" };
|
|
|
114673
114676
|
const _hoisted_16$1g = { class: "cn-polls-tab__option-text" };
|
|
114674
114677
|
const _hoisted_17$13 = { class: "cn-polls-tab__option-count" };
|
|
114675
114678
|
const _hoisted_18$Y = ["aria-valuenow"];
|
|
114676
|
-
const _hoisted_19$
|
|
114679
|
+
const _hoisted_19$R = {
|
|
114677
114680
|
key: 1,
|
|
114678
114681
|
class: "cn-polls-tab__description"
|
|
114679
114682
|
};
|
|
@@ -114859,7 +114862,7 @@ function render$61(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
114859
114862
|
]))
|
|
114860
114863
|
: vue$1.createCommentVNode("v-if", true),
|
|
114861
114864
|
($options.pollDescription(poll))
|
|
114862
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
114865
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$R, vue$1.toDisplayString($options.pollDescription(poll)), 1 /* TEXT */))
|
|
114863
114866
|
: vue$1.createCommentVNode("v-if", true)
|
|
114864
114867
|
], 2 /* CLASS */))
|
|
114865
114868
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -127093,7 +127096,7 @@ const _hoisted_16$1b = {
|
|
|
127093
127096
|
};
|
|
127094
127097
|
const _hoisted_17$$ = { class: "cn-xwiki-card__list" };
|
|
127095
127098
|
const _hoisted_18$V = { class: "cn-xwiki-card__row-header" };
|
|
127096
|
-
const _hoisted_19$
|
|
127099
|
+
const _hoisted_19$Q = ["href"];
|
|
127097
127100
|
const _hoisted_20$L = {
|
|
127098
127101
|
key: 0,
|
|
127099
127102
|
class: "cn-xwiki-card__breadcrumb"
|
|
@@ -127194,7 +127197,7 @@ function render$5L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
127194
127197
|
target: "_blank",
|
|
127195
127198
|
rel: "noopener",
|
|
127196
127199
|
class: "cn-xwiki-card__title"
|
|
127197
|
-
}, vue$1.toDisplayString($options.pageTitle(page)), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
127200
|
+
}, vue$1.toDisplayString($options.pageTitle(page)), 9 /* TEXT, PROPS */, _hoisted_19$Q)
|
|
127198
127201
|
]),
|
|
127199
127202
|
($options.breadcrumbLabel(page))
|
|
127200
127203
|
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_20$L, vue$1.toDisplayString($options.breadcrumbLabel(page)), 1 /* TEXT */))
|
|
@@ -135456,7 +135459,7 @@ const _hoisted_18$U = {
|
|
|
135456
135459
|
key: 6,
|
|
135457
135460
|
class: "cn-form-dialog__switch-wrapper"
|
|
135458
135461
|
};
|
|
135459
|
-
const _hoisted_19$
|
|
135462
|
+
const _hoisted_19$P = {
|
|
135460
135463
|
key: 7,
|
|
135461
135464
|
class: "cn-form-dialog__select-wrapper"
|
|
135462
135465
|
};
|
|
@@ -136051,7 +136054,7 @@ function render$5H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
136051
136054
|
}, null, 8 /* PROPS */, ["id", "text", "more", "help", "label", "error"])
|
|
136052
136055
|
]))
|
|
136053
136056
|
: (field.widget === 'select' || field.widget === 'user' || field.widget === 'group')
|
|
136054
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
136057
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$P, [
|
|
136055
136058
|
(field.look === 'search' && !$options.isUserField(field))
|
|
136056
136059
|
? (vue$1.openBlock(), vue$1.createBlock(_component_CnSearchSelect, {
|
|
136057
136060
|
key: 0,
|
|
@@ -144408,7 +144411,7 @@ const _hoisted_18$S = {
|
|
|
144408
144411
|
class: "cn-related-objects-widget__panel",
|
|
144409
144412
|
role: "tabpanel"
|
|
144410
144413
|
};
|
|
144411
|
-
const _hoisted_19$
|
|
144414
|
+
const _hoisted_19$O = { class: "cn-related-objects-widget__list" };
|
|
144412
144415
|
const _hoisted_20$J = ["href"];
|
|
144413
144416
|
const _hoisted_21$G = { class: "cn-related-objects-widget__label" };
|
|
144414
144417
|
const _hoisted_22$E = {
|
|
@@ -144620,7 +144623,7 @@ function render$5z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
144620
144623
|
: vue$1.createCommentVNode("v-if", true),
|
|
144621
144624
|
($props.layout !== 'sections' && $options.activeGroup)
|
|
144622
144625
|
? (vue$1.openBlock(), vue$1.createElementBlock("section", _hoisted_18$S, [
|
|
144623
|
-
vue$1.createElementVNode("ul", _hoisted_19$
|
|
144626
|
+
vue$1.createElementVNode("ul", _hoisted_19$O, [
|
|
144624
144627
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($options.activeGroup.items, (item, i) => {
|
|
144625
144628
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
144626
144629
|
key: `item-${$options.activeGroup.key}-${item.id || i}`
|
|
@@ -159148,7 +159151,7 @@ const _hoisted_18$R = {
|
|
|
159148
159151
|
key: 0,
|
|
159149
159152
|
class: "cn-object-data-widget__deflist cn-object-data-widget__deflist--nested"
|
|
159150
159153
|
};
|
|
159151
|
-
const _hoisted_19$
|
|
159154
|
+
const _hoisted_19$N = { class: "cn-object-data-widget__deflist-text" };
|
|
159152
159155
|
const _hoisted_20$I = {
|
|
159153
159156
|
key: 1,
|
|
159154
159157
|
class: "cn-object-data-widget__deflist-text"
|
|
@@ -159551,7 +159554,7 @@ function render$5f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
159551
159554
|
return (vue$1.openBlock(), vue$1.createElementBlock(vue$1.Fragment, { key: si }, [
|
|
159552
159555
|
vue$1.createElementVNode("dt", null, vue$1.toDisplayString($options.nestedLabel(field, [pair[0], sub[0]])), 1 /* TEXT */),
|
|
159553
159556
|
vue$1.createElementVNode("dd", null, [
|
|
159554
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
159557
|
+
vue$1.createElementVNode("span", _hoisted_19$N, vue$1.toDisplayString($options.stringifyNested(sub[1])), 1 /* TEXT */)
|
|
159555
159558
|
])
|
|
159556
159559
|
], 64 /* STABLE_FRAGMENT */))
|
|
159557
159560
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -167814,7 +167817,7 @@ const _hoisted_18$Q = {
|
|
|
167814
167817
|
key: 0,
|
|
167815
167818
|
class: "cn-object-card__description"
|
|
167816
167819
|
};
|
|
167817
|
-
const _hoisted_19$
|
|
167820
|
+
const _hoisted_19$M = {
|
|
167818
167821
|
key: 0,
|
|
167819
167822
|
class: "cn-object-card__badges"
|
|
167820
167823
|
};
|
|
@@ -168029,7 +168032,7 @@ function render$4Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168029
168032
|
: vue$1.createCommentVNode("v-if", true)
|
|
168030
168033
|
]),
|
|
168031
168034
|
(_ctx.$slots.badges)
|
|
168032
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
168035
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$M, [
|
|
168033
168036
|
vue$1.renderSlot(_ctx.$slots, "badges", { object: $props.object })
|
|
168034
168037
|
]))
|
|
168035
168038
|
: vue$1.createCommentVNode("v-if", true),
|
|
@@ -171124,7 +171127,7 @@ const _hoisted_18$P = {
|
|
|
171124
171127
|
class: "cn-form-page__suggested",
|
|
171125
171128
|
"data-testid": "cn-form-page-suggested"
|
|
171126
171129
|
};
|
|
171127
|
-
const _hoisted_19$
|
|
171130
|
+
const _hoisted_19$L = { class: "cn-form-page__suggested-tag" };
|
|
171128
171131
|
const _hoisted_20$G = ["id"];
|
|
171129
171132
|
const _hoisted_21$E = {
|
|
171130
171133
|
key: 4,
|
|
@@ -171385,7 +171388,7 @@ function render$4R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
171385
171388
|
: vue$1.createCommentVNode("v-if", true),
|
|
171386
171389
|
($data.suggestions[field.key])
|
|
171387
171390
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_18$P, [
|
|
171388
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
171391
|
+
vue$1.createElementVNode("span", _hoisted_19$L, vue$1.toDisplayString($options.t('nextcloud-vue', 'Suggested')), 1 /* TEXT */),
|
|
171389
171392
|
vue$1.createVNode(_component_NcButton, {
|
|
171390
171393
|
type: "button",
|
|
171391
171394
|
variant: "tertiary",
|
|
@@ -178717,7 +178720,8 @@ const __sfc_main$4B = script$4H;
|
|
|
178717
178720
|
* not be read is named at the top rather than folded into "nothing is
|
|
178718
178721
|
* waiting". A group can be hidden until tomorrow, through the server, so the
|
|
178719
178722
|
* choice follows the reader to another device. dossiq's personal queue is
|
|
178720
|
-
* the first; pipelinq's queue has the same shape.
|
|
178723
|
+
* the first; pipelinq's queue has the same shape. It reads again on
|
|
178724
|
+
* `cn:page:refresh`, so work planned or closed in a dialog shows at once.
|
|
178721
178725
|
*
|
|
178722
178726
|
* `content`:
|
|
178723
178727
|
* - `source`: an endpointSource answering `{ groups, hiddenGroups?, unavailable? }`.
|
|
@@ -178784,9 +178788,14 @@ var script$4G = {
|
|
|
178784
178788
|
},
|
|
178785
178789
|
|
|
178786
178790
|
mounted() {
|
|
178791
|
+
eventBus.subscribe('cn:page:refresh', this.load);
|
|
178787
178792
|
this.load();
|
|
178788
178793
|
},
|
|
178789
178794
|
|
|
178795
|
+
beforeUnmount() {
|
|
178796
|
+
eventBus.unsubscribe('cn:page:refresh', this.load);
|
|
178797
|
+
},
|
|
178798
|
+
|
|
178790
178799
|
methods: {
|
|
178791
178800
|
t: l10n.translate,
|
|
178792
178801
|
|
|
@@ -178984,7 +178993,7 @@ const _hoisted_16$13 = {
|
|
|
178984
178993
|
};
|
|
178985
178994
|
const _hoisted_17$U = { key: 0 };
|
|
178986
178995
|
const _hoisted_18$O = ["data-testid"];
|
|
178987
|
-
const _hoisted_19$
|
|
178996
|
+
const _hoisted_19$K = {
|
|
178988
178997
|
key: 0,
|
|
178989
178998
|
class: "cn-work-queue__muted"
|
|
178990
178999
|
};
|
|
@@ -179108,7 +179117,7 @@ function render$4F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179108
179117
|
: vue$1.createCommentVNode("v-if", true)
|
|
179109
179118
|
]),
|
|
179110
179119
|
(item.dueAt)
|
|
179111
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
179120
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$K, vue$1.toDisplayString(item.dueAt), 1 /* TEXT */))
|
|
179112
179121
|
: vue$1.createCommentVNode("v-if", true)
|
|
179113
179122
|
], 10 /* CLASS, PROPS */, _hoisted_12$1r))
|
|
179114
179123
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -179138,7 +179147,7 @@ function render$4F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179138
179147
|
}
|
|
179139
179148
|
|
|
179140
179149
|
script$4G.render = render$4F;
|
|
179141
|
-
script$4G.__scopeId = "data-v-
|
|
179150
|
+
script$4G.__scopeId = "data-v-d5bc0a42";
|
|
179142
179151
|
const __sfc_main$4A = script$4G;
|
|
179143
179152
|
|
|
179144
179153
|
// 自定义组件前缀
|
|
@@ -181169,7 +181178,7 @@ const _hoisted_16$12 = {
|
|
|
181169
181178
|
};
|
|
181170
181179
|
const _hoisted_17$T = { class: "vc-chrome-fields" };
|
|
181171
181180
|
const _hoisted_18$N = { class: "vc-chrome-field" };
|
|
181172
|
-
const _hoisted_19$
|
|
181181
|
+
const _hoisted_19$J = { class: "vc-chrome-field" };
|
|
181173
181182
|
const _hoisted_20$E = { class: "vc-chrome-field" };
|
|
181174
181183
|
const _hoisted_21$C = {
|
|
181175
181184
|
key: 0,
|
|
@@ -181303,7 +181312,7 @@ function render$4z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
181303
181312
|
onChange: $options.inputChange
|
|
181304
181313
|
}, null, 8 /* PROPS */, ["value", "onChange"])
|
|
181305
181314
|
]),
|
|
181306
|
-
vue$1.createElementVNode("div", _hoisted_19$
|
|
181315
|
+
vue$1.createElementVNode("div", _hoisted_19$J, [
|
|
181307
181316
|
vue$1.createVNode(_component_EdIn, {
|
|
181308
181317
|
label: "s",
|
|
181309
181318
|
value: $options.hsl.s,
|
|
@@ -189572,7 +189581,7 @@ const _hoisted_15$15 = ["title", "onClick"];
|
|
|
189572
189581
|
const _hoisted_16$10 = ["onClick"];
|
|
189573
189582
|
const _hoisted_17$R = { class: "cn-links-form__options" };
|
|
189574
189583
|
const _hoisted_18$L = { class: "cn-links-form__option" };
|
|
189575
|
-
const _hoisted_19$
|
|
189584
|
+
const _hoisted_19$I = ["value"];
|
|
189576
189585
|
const _hoisted_20$D = { class: "cn-links-form__option" };
|
|
189577
189586
|
const _hoisted_21$B = ["value"];
|
|
189578
189587
|
const _hoisted_22$B = { value: "card" };
|
|
@@ -189717,7 +189726,7 @@ function render$4g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189717
189726
|
value: $data.columns,
|
|
189718
189727
|
class: "cn-links-form__input cn-links-form__input--narrow",
|
|
189719
189728
|
onInput: _cache[1] || (_cache[1] = $event => ($options.updateOption('columns', $options.clampColumns($event.target.value))))
|
|
189720
|
-
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_19$
|
|
189729
|
+
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_19$I)
|
|
189721
189730
|
]),
|
|
189722
189731
|
vue$1.createElementVNode("label", _hoisted_20$D, [
|
|
189723
189732
|
vue$1.createElementVNode("span", null, vue$1.toDisplayString(_ctx.t('nextcloud-vue', 'Layout')), 1 /* TEXT */),
|
|
@@ -194200,7 +194209,7 @@ const _hoisted_15$13 = ["src", "onError"];
|
|
|
194200
194209
|
const _hoisted_16$_ = { class: "cn-files-widget__row-label" };
|
|
194201
194210
|
const _hoisted_17$P = { class: "cn-files-widget__row-modified" };
|
|
194202
194211
|
const _hoisted_18$K = { class: "cn-files-widget__row-size" };
|
|
194203
|
-
const _hoisted_19$
|
|
194212
|
+
const _hoisted_19$H = ["aria-label", "onClick"];
|
|
194204
194213
|
const _hoisted_20$C = {
|
|
194205
194214
|
key: 9,
|
|
194206
194215
|
class: "cn-files-widget__pagination"
|
|
@@ -194342,7 +194351,7 @@ function render$44(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194342
194351
|
class: "cn-files-widget__row-delete",
|
|
194343
194352
|
"aria-label": $options.t('nextcloud-vue', 'Delete {name}', { name: item.name }),
|
|
194344
194353
|
onClick: $event => ($options.confirmDelete(item))
|
|
194345
|
-
}, vue$1.toDisplayString($options.t('nextcloud-vue', 'Delete')), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
194354
|
+
}, vue$1.toDisplayString($options.t('nextcloud-vue', 'Delete')), 9 /* TEXT, PROPS */, _hoisted_19$H))
|
|
194346
194355
|
: vue$1.createCommentVNode("v-if", true)
|
|
194347
194356
|
], 2 /* CLASS */))
|
|
194348
194357
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -195382,7 +195391,7 @@ const _hoisted_17$O = {
|
|
|
195382
195391
|
class: "cn-calendar-widget__week"
|
|
195383
195392
|
};
|
|
195384
195393
|
const _hoisted_18$J = { class: "cn-calendar-widget__week-day" };
|
|
195385
|
-
const _hoisted_19$
|
|
195394
|
+
const _hoisted_19$G = { class: "cn-calendar-widget__week-name" };
|
|
195386
195395
|
const _hoisted_20$B = { class: "cn-calendar-widget__week-num" };
|
|
195387
195396
|
const _hoisted_21$A = {
|
|
195388
195397
|
key: 0,
|
|
@@ -195485,7 +195494,7 @@ function render$42(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195485
195494
|
class: vue$1.normalizeClass(["cn-calendar-widget__week-col", { 'is-today': day.isToday }])
|
|
195486
195495
|
}, [
|
|
195487
195496
|
vue$1.createElementVNode("header", _hoisted_18$J, [
|
|
195488
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
195497
|
+
vue$1.createElementVNode("span", _hoisted_19$G, vue$1.toDisplayString(day.weekday), 1 /* TEXT */),
|
|
195489
195498
|
vue$1.createElementVNode("span", _hoisted_20$B, vue$1.toDisplayString(day.dayNum), 1 /* TEXT */)
|
|
195490
195499
|
]),
|
|
195491
195500
|
(day.events.length)
|
|
@@ -196548,7 +196557,7 @@ const _hoisted_18$I = {
|
|
|
196548
196557
|
key: 0,
|
|
196549
196558
|
class: "cn-spend-analytics-widget__panel"
|
|
196550
196559
|
};
|
|
196551
|
-
const _hoisted_19$
|
|
196560
|
+
const _hoisted_19$F = { class: "cn-spend-analytics-widget__panel-title" };
|
|
196552
196561
|
const _hoisted_20$A = { class: "cn-spend-analytics-widget__rows" };
|
|
196553
196562
|
const _hoisted_21$z = {
|
|
196554
196563
|
key: 1,
|
|
@@ -196640,7 +196649,7 @@ function render$40(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
196640
196649
|
]),
|
|
196641
196650
|
($options.viewMode === 'trend')
|
|
196642
196651
|
? (vue$1.openBlock(), vue$1.createElementBlock("section", _hoisted_18$I, [
|
|
196643
|
-
vue$1.createElementVNode("h3", _hoisted_19$
|
|
196652
|
+
vue$1.createElementVNode("h3", _hoisted_19$F, vue$1.toDisplayString($options.t('nextcloud-vue', 'Spend trend')), 1 /* TEXT */),
|
|
196644
196653
|
vue$1.createElementVNode("ul", _hoisted_20$A, [
|
|
196645
196654
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($data.finance.trend, (row) => {
|
|
196646
196655
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
@@ -197479,7 +197488,7 @@ const _hoisted_15$_ = {
|
|
|
197479
197488
|
const _hoisted_16$V = { class: "cn-stat-widget-form__hint" };
|
|
197480
197489
|
const _hoisted_17$M = { class: "cn-stat-widget-form__row2" };
|
|
197481
197490
|
const _hoisted_18$H = { class: "cn-stat-widget-form__color-label" };
|
|
197482
|
-
const _hoisted_19$
|
|
197491
|
+
const _hoisted_19$E = { class: "cn-stat-widget-form__color-label" };
|
|
197483
197492
|
const _hoisted_20$z = { class: "cn-stat-widget-form__section" };
|
|
197484
197493
|
const _hoisted_21$y = { class: "cn-stat-widget-form__hint" };
|
|
197485
197494
|
const _hoisted_22$y = { class: "cn-stat-widget-form__section" };
|
|
@@ -197765,7 +197774,7 @@ function render$3$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
197765
197774
|
onClear: _cache[27] || (_cache[27] = $event => ($options.updateField('valueColor', '')))
|
|
197766
197775
|
}, null, 8 /* PROPS */, ["value"])
|
|
197767
197776
|
]),
|
|
197768
|
-
vue$1.createElementVNode("label", _hoisted_19$
|
|
197777
|
+
vue$1.createElementVNode("label", _hoisted_19$E, [
|
|
197769
197778
|
vue$1.createTextVNode(vue$1.toDisplayString($options.t('nextcloud-vue', 'Icon color')) + " ", 1 /* TEXT */),
|
|
197770
197779
|
vue$1.createVNode(_component_CnColorPicker, {
|
|
197771
197780
|
value: $data.iconColor,
|
|
@@ -200439,7 +200448,7 @@ const _hoisted_17$L = {
|
|
|
200439
200448
|
class: "cn-flow-runs-widget__list"
|
|
200440
200449
|
};
|
|
200441
200450
|
const _hoisted_18$G = ["data-status"];
|
|
200442
|
-
const _hoisted_19$
|
|
200451
|
+
const _hoisted_19$D = ["title"];
|
|
200443
200452
|
const _hoisted_20$y = { class: "cn-flow-runs-widget__body" };
|
|
200444
200453
|
const _hoisted_21$x = { class: "cn-flow-runs-widget__name" };
|
|
200445
200454
|
const _hoisted_22$x = { class: "cn-flow-runs-widget__meta" };
|
|
@@ -200518,7 +200527,7 @@ function render$3V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200518
200527
|
vue$1.createElementVNode("span", {
|
|
200519
200528
|
class: vue$1.normalizeClass(["cn-flow-runs-widget__dot cn-flow-runs-widget__dot--terminal", `cn-flow-runs-widget__dot--${run.status}`]),
|
|
200520
200529
|
title: $options.statusLabel(run.status)
|
|
200521
|
-
}, null, 10 /* CLASS, PROPS */, _hoisted_19$
|
|
200530
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_19$D),
|
|
200522
200531
|
vue$1.createElementVNode("span", _hoisted_20$y, [
|
|
200523
200532
|
vue$1.createElementVNode("span", _hoisted_21$x, vue$1.toDisplayString(run.flowName), 1 /* TEXT */),
|
|
200524
200533
|
vue$1.createElementVNode("span", _hoisted_22$x, vue$1.toDisplayString($options.metaLine(run)), 1 /* TEXT */)
|
|
@@ -203245,7 +203254,7 @@ const _hoisted_16$S = {
|
|
|
203245
203254
|
};
|
|
203246
203255
|
const _hoisted_17$K = ["data-testid"];
|
|
203247
203256
|
const _hoisted_18$F = { class: "cn-facts-widget__meter-head" };
|
|
203248
|
-
const _hoisted_19$
|
|
203257
|
+
const _hoisted_19$C = { class: "cn-facts-widget__meter-label" };
|
|
203249
203258
|
const _hoisted_20$x = { class: "cn-facts-widget__meter-value" };
|
|
203250
203259
|
const _hoisted_21$w = ["aria-label", "aria-valuenow", "aria-valuemax", "aria-valuetext", "data-testid"];
|
|
203251
203260
|
const _hoisted_22$w = { key: 6 };
|
|
@@ -203409,7 +203418,7 @@ function render$3R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203409
203418
|
"data-testid": `cn-fact-${block.key}`
|
|
203410
203419
|
}, [
|
|
203411
203420
|
vue$1.createElementVNode("div", _hoisted_18$F, [
|
|
203412
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
203421
|
+
vue$1.createElementVNode("span", _hoisted_19$C, vue$1.toDisplayString(block.label), 1 /* TEXT */),
|
|
203413
203422
|
vue$1.createElementVNode("span", _hoisted_20$x, vue$1.toDisplayString(block.value), 1 /* TEXT */)
|
|
203414
203423
|
]),
|
|
203415
203424
|
(block.limit !== null)
|
|
@@ -205303,7 +205312,7 @@ const _hoisted_17$J = {
|
|
|
205303
205312
|
class: "cn-checklist-run__note-label"
|
|
205304
205313
|
};
|
|
205305
205314
|
const _hoisted_18$E = ["onUpdate:modelValue", "onInput"];
|
|
205306
|
-
const _hoisted_19$
|
|
205315
|
+
const _hoisted_19$B = {
|
|
205307
205316
|
key: 6,
|
|
205308
205317
|
class: "cn-checklist-run__error",
|
|
205309
205318
|
role: "alert",
|
|
@@ -205457,7 +205466,7 @@ function render$3O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
205457
205466
|
]))
|
|
205458
205467
|
: vue$1.createCommentVNode("v-if", true),
|
|
205459
205468
|
($data.missing.includes(question.id))
|
|
205460
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$
|
|
205469
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$B, vue$1.toDisplayString($options.missingLabel), 1 /* TEXT */))
|
|
205461
205470
|
: vue$1.createCommentVNode("v-if", true)
|
|
205462
205471
|
], 8 /* PROPS */, _hoisted_8$1U))
|
|
205463
205472
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
@@ -212727,7 +212736,7 @@ const _hoisted_17$I = {
|
|
|
212727
212736
|
"aria-hidden": "true"
|
|
212728
212737
|
};
|
|
212729
212738
|
const _hoisted_18$D = { class: "cn-field-list-widget__main" };
|
|
212730
|
-
const _hoisted_19$
|
|
212739
|
+
const _hoisted_19$A = { class: "cn-field-list-widget__title" };
|
|
212731
212740
|
const _hoisted_20$v = {
|
|
212732
212741
|
key: 0,
|
|
212733
212742
|
class: "cn-field-list-widget__meta"
|
|
@@ -212961,7 +212970,7 @@ function render$3D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212961
212970
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_17$I, vue$1.toDisplayString(row.initials), 1 /* TEXT */))
|
|
212962
212971
|
: vue$1.createCommentVNode("v-if", true),
|
|
212963
212972
|
vue$1.createElementVNode("span", _hoisted_18$D, [
|
|
212964
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
212973
|
+
vue$1.createElementVNode("span", _hoisted_19$A, vue$1.toDisplayString(row.title), 1 /* TEXT */),
|
|
212965
212974
|
(row.meta)
|
|
212966
212975
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_20$v, vue$1.toDisplayString(row.meta), 1 /* TEXT */))
|
|
212967
212976
|
: vue$1.createCommentVNode("v-if", true)
|
|
@@ -217444,7 +217453,7 @@ const _hoisted_18$C = {
|
|
|
217444
217453
|
key: 2,
|
|
217445
217454
|
class: "cn-record-list__aside"
|
|
217446
217455
|
};
|
|
217447
|
-
const _hoisted_19$
|
|
217456
|
+
const _hoisted_19$z = {
|
|
217448
217457
|
key: 0,
|
|
217449
217458
|
class: "cn-record-list__flag",
|
|
217450
217459
|
"data-testid": "cn-record-list-flag"
|
|
@@ -217682,7 +217691,7 @@ function render$3w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217682
217691
|
(item.pill || item.badges.length > 0 || item.due || item.trailing || item.flag)
|
|
217683
217692
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_18$C, [
|
|
217684
217693
|
(item.flag)
|
|
217685
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
217694
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$z, vue$1.toDisplayString(item.flag), 1 /* TEXT */))
|
|
217686
217695
|
: vue$1.createCommentVNode("v-if", true),
|
|
217687
217696
|
(item.pill)
|
|
217688
217697
|
? (vue$1.openBlock(), vue$1.createBlock(_component_CnStatusBadge, {
|
|
@@ -237465,7 +237474,7 @@ const _hoisted_16$H = {
|
|
|
237465
237474
|
};
|
|
237466
237475
|
const _hoisted_17$D = { class: "cn-schema-form__cond-accordion-body" };
|
|
237467
237476
|
const _hoisted_18$A = { class: "cn-schema-form__cond-action-header" };
|
|
237468
|
-
const _hoisted_19$
|
|
237477
|
+
const _hoisted_19$y = { class: "cn-schema-form__cond-action-name" };
|
|
237469
237478
|
const _hoisted_20$t = {
|
|
237470
237479
|
key: 0,
|
|
237471
237480
|
class: "cn-schema-form__cond-empty"
|
|
@@ -237747,7 +237756,7 @@ function render$31(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
237747
237756
|
class: "cn-schema-form__cond-action"
|
|
237748
237757
|
}, [
|
|
237749
237758
|
vue$1.createElementVNode("div", _hoisted_18$A, [
|
|
237750
|
-
vue$1.createElementVNode("strong", _hoisted_19$
|
|
237759
|
+
vue$1.createElementVNode("strong", _hoisted_19$y, vue$1.toDisplayString($options.capitalize(action)), 1 /* TEXT */),
|
|
237751
237760
|
vue$1.createVNode(_component_NcButton, {
|
|
237752
237761
|
size: "small",
|
|
237753
237762
|
onClick: $event => ($options.addConditionalRule(action))
|
|
@@ -238684,7 +238693,7 @@ const _hoisted_15$J = { class: "cn-schema-form__detail-label" };
|
|
|
238684
238693
|
const _hoisted_16$G = { class: "cn-schema-form__detail-value" };
|
|
238685
238694
|
const _hoisted_17$C = { class: "cn-schema-form__detail-item" };
|
|
238686
238695
|
const _hoisted_18$z = { class: "cn-schema-form__detail-label" };
|
|
238687
|
-
const _hoisted_19$
|
|
238696
|
+
const _hoisted_19$x = { class: "cn-schema-form__detail-value" };
|
|
238688
238697
|
const _hoisted_20$s = { class: "cn-schema-form__detail-item" };
|
|
238689
238698
|
const _hoisted_21$r = { class: "cn-schema-form__detail-label" };
|
|
238690
238699
|
const _hoisted_22$r = { class: "cn-schema-form__detail-value" };
|
|
@@ -238789,7 +238798,7 @@ function render$30(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
238789
238798
|
: vue$1.createCommentVNode("v-if", true),
|
|
238790
238799
|
vue$1.createElementVNode("div", _hoisted_17$C, [
|
|
238791
238800
|
vue$1.createElementVNode("span", _hoisted_18$z, vue$1.toDisplayString($options.t('nextcloud-vue', 'Version:')), 1 /* TEXT */),
|
|
238792
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
238801
|
+
vue$1.createElementVNode("span", _hoisted_19$x, vue$1.toDisplayString($data.schemaItem.version || $options.t('nextcloud-vue', 'Not set')), 1 /* TEXT */)
|
|
238793
238802
|
]),
|
|
238794
238803
|
vue$1.createElementVNode("div", _hoisted_20$s, [
|
|
238795
238804
|
vue$1.createElementVNode("span", _hoisted_21$r, vue$1.toDisplayString($options.t('nextcloud-vue', 'Owner:')), 1 /* TEXT */),
|
|
@@ -239600,7 +239609,7 @@ const _hoisted_18$y = {
|
|
|
239600
239609
|
key: 0,
|
|
239601
239610
|
class: "cn-edit-data__hint"
|
|
239602
239611
|
};
|
|
239603
|
-
const _hoisted_19$
|
|
239612
|
+
const _hoisted_19$w = {
|
|
239604
239613
|
key: 1,
|
|
239605
239614
|
class: "cn-edit-data__list"
|
|
239606
239615
|
};
|
|
@@ -239835,7 +239844,7 @@ function render$2$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
239835
239844
|
]),
|
|
239836
239845
|
(!$data.schemas.length)
|
|
239837
239846
|
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_18$y, vue$1.toDisplayString($options.t('nextcloud-vue', 'No schemas yet. Add one to define what data this app stores.')), 1 /* TEXT */))
|
|
239838
|
-
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$
|
|
239847
|
+
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$w, [
|
|
239839
239848
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($data.schemas, (schema) => {
|
|
239840
239849
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
239841
239850
|
key: schema.id,
|
|
@@ -274256,7 +274265,7 @@ const _hoisted_15$H = {
|
|
|
274256
274265
|
const _hoisted_16$E = { class: "cn-run-sidebar__touched-action" };
|
|
274257
274266
|
const _hoisted_17$A = { class: "cn-run-sidebar__touched-uuid" };
|
|
274258
274267
|
const _hoisted_18$x = { class: "cn-run-sidebar__hint" };
|
|
274259
|
-
const _hoisted_19$
|
|
274268
|
+
const _hoisted_19$v = {
|
|
274260
274269
|
key: 0,
|
|
274261
274270
|
class: "cn-run-sidebar__error",
|
|
274262
274271
|
"data-testid": "flow-object-unaccounted"
|
|
@@ -274381,7 +274390,7 @@ function render$2B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
274381
274390
|
vue$1.createElementVNode("span", _hoisted_17$A, " · " + vue$1.toDisplayString(obj.objectUuid), 1 /* TEXT */),
|
|
274382
274391
|
vue$1.createElementVNode("span", _hoisted_18$x, " · " + vue$1.toDisplayString(obj.node), 1 /* TEXT */),
|
|
274383
274392
|
(obj.unaccounted)
|
|
274384
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
274393
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$v, vue$1.toDisplayString($options.t('nextcloud-vue', 'no matching step')), 1 /* TEXT */))
|
|
274385
274394
|
: vue$1.createCommentVNode("v-if", true)
|
|
274386
274395
|
]))
|
|
274387
274396
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -276632,7 +276641,7 @@ const _hoisted_15$G = { class: "cn-credentials__item-meta" };
|
|
|
276632
276641
|
const _hoisted_16$D = { class: "cn-credentials__item-name" };
|
|
276633
276642
|
const _hoisted_17$z = { class: "cn-credentials__item-provider" };
|
|
276634
276643
|
const _hoisted_18$w = { class: "cn-credentials__item-actions" };
|
|
276635
|
-
const _hoisted_19$
|
|
276644
|
+
const _hoisted_19$u = {
|
|
276636
276645
|
key: 0,
|
|
276637
276646
|
class: "cn-credentials__item-toggle"
|
|
276638
276647
|
};
|
|
@@ -276784,7 +276793,7 @@ function render$2x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
276784
276793
|
])
|
|
276785
276794
|
]),
|
|
276786
276795
|
($props.scope === 'personal')
|
|
276787
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
276796
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$u, [
|
|
276788
276797
|
vue$1.createVNode(_component_NcCheckboxRadioSwitch, {
|
|
276789
276798
|
modelValue: $options.appAllowed(cred),
|
|
276790
276799
|
disabled: cred.saving,
|
|
@@ -281431,7 +281440,7 @@ const _hoisted_16$C = {
|
|
|
281431
281440
|
};
|
|
281432
281441
|
const _hoisted_17$y = { class: "cn-version-info__label" };
|
|
281433
281442
|
const _hoisted_18$v = { class: "cn-version-info__value" };
|
|
281434
|
-
const _hoisted_19$
|
|
281443
|
+
const _hoisted_19$t = ["href"];
|
|
281435
281444
|
const _hoisted_20$o = ["href"];
|
|
281436
281445
|
const _hoisted_21$n = { class: "cn-admin-settings-shell__support-line" };
|
|
281437
281446
|
const _hoisted_22$n = ["href"];
|
|
@@ -281674,7 +281683,7 @@ function render$2r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
281674
281683
|
vue$1.createElementVNode("span", _hoisted_18$v, [
|
|
281675
281684
|
vue$1.createElementVNode("a", {
|
|
281676
281685
|
href: `mailto:${$props.supportEmail}`
|
|
281677
|
-
}, vue$1.toDisplayString($props.supportEmail), 9 /* TEXT, PROPS */, _hoisted_19$
|
|
281686
|
+
}, vue$1.toDisplayString($props.supportEmail), 9 /* TEXT, PROPS */, _hoisted_19$t),
|
|
281678
281687
|
($props.slaEmail)
|
|
281679
281688
|
? (vue$1.openBlock(), vue$1.createElementBlock(vue$1.Fragment, { key: 0 }, [
|
|
281680
281689
|
vue$1.createTextVNode(", " + vue$1.toDisplayString($options.slaInline) + " ", 1 /* TEXT */),
|
|
@@ -283330,7 +283339,7 @@ const _hoisted_15$E = ["aria-label"];
|
|
|
283330
283339
|
const _hoisted_16$B = ["data-card-id", "draggable", "onDragstart", "onKeydown"];
|
|
283331
283340
|
const _hoisted_17$x = { class: "cn-board-view__card-head" };
|
|
283332
283341
|
const _hoisted_18$u = ["data-card-id", "checked", "aria-label", "onChange"];
|
|
283333
|
-
const _hoisted_19$
|
|
283342
|
+
const _hoisted_19$s = ["data-card-id", "aria-label", "onClick", "onAuxclick"];
|
|
283334
283343
|
const _hoisted_20$n = { class: "cn-board-view__menu-wrap" };
|
|
283335
283344
|
const _hoisted_21$m = ["data-card-id", "aria-expanded", "aria-label", "onClick"];
|
|
283336
283345
|
const _hoisted_22$m = ["aria-label", "onKeydown"];
|
|
@@ -283523,7 +283532,7 @@ function render$2q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
283523
283532
|
onClick: vue$1.withModifiers($event => ($options.openCard(card, $event)), ["prevent"]),
|
|
283524
283533
|
onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.preventMiddleClickAutoscroll && $options.preventMiddleClickAutoscroll(...args))),
|
|
283525
283534
|
onAuxclick: $event => ($options.onCardAuxClick(card, $event))
|
|
283526
|
-
}, vue$1.toDisplayString($options.roleText(card, $options.roles.title) || $options.cardKey(card)), 41 /* TEXT, PROPS, NEED_HYDRATION */, _hoisted_19$
|
|
283535
|
+
}, vue$1.toDisplayString($options.roleText(card, $options.roles.title) || $options.cardKey(card)), 41 /* TEXT, PROPS, NEED_HYDRATION */, _hoisted_19$s),
|
|
283527
283536
|
vue$1.createElementVNode("span", _hoisted_20$n, [
|
|
283528
283537
|
vue$1.createElementVNode("button", {
|
|
283529
283538
|
type: "button",
|
|
@@ -285522,7 +285531,7 @@ const _hoisted_18$t = {
|
|
|
285522
285531
|
class: "cn-ordered-list-field__tile",
|
|
285523
285532
|
"aria-hidden": "true"
|
|
285524
285533
|
};
|
|
285525
|
-
const _hoisted_19$
|
|
285534
|
+
const _hoisted_19$r = { class: "cn-ordered-list-field__text" };
|
|
285526
285535
|
const _hoisted_20$m = { class: "cn-ordered-list-field__name" };
|
|
285527
285536
|
const _hoisted_21$l = {
|
|
285528
285537
|
key: 0,
|
|
@@ -285670,7 +285679,7 @@ function render$2l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
285670
285679
|
}, null, 8 /* PROPS */, ["name"])
|
|
285671
285680
|
]))
|
|
285672
285681
|
: vue$1.createCommentVNode("v-if", true),
|
|
285673
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
285682
|
+
vue$1.createElementVNode("span", _hoisted_19$r, [
|
|
285674
285683
|
vue$1.createElementVNode("span", _hoisted_20$m, vue$1.toDisplayString(option.label), 1 /* TEXT */),
|
|
285675
285684
|
(option.description)
|
|
285676
285685
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_21$l, vue$1.toDisplayString(option.description), 1 /* TEXT */))
|
|
@@ -288202,7 +288211,7 @@ const _hoisted_18$s = {
|
|
|
288202
288211
|
key: 2,
|
|
288203
288212
|
class: "cn-federation-status__empty"
|
|
288204
288213
|
};
|
|
288205
|
-
const _hoisted_19$
|
|
288214
|
+
const _hoisted_19$q = {
|
|
288206
288215
|
key: 3,
|
|
288207
288216
|
class: "cn-federation-status__list"
|
|
288208
288217
|
};
|
|
@@ -288263,7 +288272,7 @@ function render$2f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
288263
288272
|
: vue$1.createCommentVNode("v-if", true),
|
|
288264
288273
|
($props.nodes.length === 0)
|
|
288265
288274
|
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_18$s, vue$1.toDisplayString($props.emptyLabel), 1 /* TEXT */))
|
|
288266
|
-
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$
|
|
288275
|
+
: (vue$1.openBlock(), vue$1.createElementBlock("ul", _hoisted_19$q, [
|
|
288267
288276
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($options.sortedNodes, (node) => {
|
|
288268
288277
|
return (vue$1.openBlock(), vue$1.createElementBlock("li", {
|
|
288269
288278
|
key: node.id || node.name,
|
|
@@ -300184,7 +300193,7 @@ const _hoisted_18$r = {
|
|
|
300184
300193
|
class: "cn-actions-bar__row cn-actions-bar__row--search",
|
|
300185
300194
|
"data-testid": "cn-actions-bar-row-search"
|
|
300186
300195
|
};
|
|
300187
|
-
const _hoisted_19$
|
|
300196
|
+
const _hoisted_19$p = {
|
|
300188
300197
|
key: 0,
|
|
300189
300198
|
class: "cn-actions-bar__search"
|
|
300190
300199
|
};
|
|
@@ -300686,7 +300695,7 @@ function render$2a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
300686
300695
|
($options.isBoardLayout)
|
|
300687
300696
|
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_18$r, [
|
|
300688
300697
|
($props.showSearch && !$options.searchInToolbar)
|
|
300689
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
300698
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$p, [
|
|
300690
300699
|
vue$1.createVNode(_component_Magnify, {
|
|
300691
300700
|
size: 18,
|
|
300692
300701
|
class: "cn-actions-bar__search-icon"
|
|
@@ -304178,7 +304187,7 @@ const _hoisted_16$x = {
|
|
|
304178
304187
|
};
|
|
304179
304188
|
const _hoisted_17$t = { class: "cn-sidebar-columns__order-list" };
|
|
304180
304189
|
const _hoisted_18$q = ["onDragstart", "onDrop"];
|
|
304181
|
-
const _hoisted_19$
|
|
304190
|
+
const _hoisted_19$o = { class: "cn-sidebar-columns__order-label" };
|
|
304182
304191
|
const _hoisted_20$j = {
|
|
304183
304192
|
key: 0,
|
|
304184
304193
|
class: "cn-sidebar-columns__group cn-sidebar-columns__group--collapsible"
|
|
@@ -304428,7 +304437,7 @@ function render$25(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
304428
304437
|
class: "cn-sidebar-columns__handle",
|
|
304429
304438
|
"aria-hidden": "true"
|
|
304430
304439
|
}),
|
|
304431
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
304440
|
+
vue$1.createElementVNode("span", _hoisted_19$o, vue$1.toDisplayString(item.label), 1 /* TEXT */),
|
|
304432
304441
|
vue$1.createVNode(_component_NcButton, {
|
|
304433
304442
|
variant: "tertiary",
|
|
304434
304443
|
disabled: index === 0 || index === $props.pinnedCount,
|
|
@@ -306098,7 +306107,7 @@ const _hoisted_18$p = {
|
|
|
306098
306107
|
key: 0,
|
|
306099
306108
|
class: "cn-mass-import__help"
|
|
306100
306109
|
};
|
|
306101
|
-
const _hoisted_19$
|
|
306110
|
+
const _hoisted_19$n = {
|
|
306102
306111
|
key: 1,
|
|
306103
306112
|
class: "cn-mass-import__options"
|
|
306104
306113
|
};
|
|
@@ -306306,7 +306315,7 @@ function render$21(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
306306
306315
|
]))
|
|
306307
306316
|
: vue$1.createCommentVNode("v-if", true),
|
|
306308
306317
|
($props.options.length > 0)
|
|
306309
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$
|
|
306318
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_19$n, [
|
|
306310
306319
|
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($props.options, (opt) => {
|
|
306311
306320
|
return (vue$1.openBlock(), vue$1.createBlock(_component_NcCheckboxRadioSwitch, {
|
|
306312
306321
|
key: opt.key,
|
|
@@ -320533,7 +320542,7 @@ const _hoisted_16$v = {
|
|
|
320533
320542
|
};
|
|
320534
320543
|
const _hoisted_17$r = ["aria-label"];
|
|
320535
320544
|
const _hoisted_18$o = ["aria-pressed", "data-testid", "onClick"];
|
|
320536
|
-
const _hoisted_19$
|
|
320545
|
+
const _hoisted_19$m = {
|
|
320537
320546
|
key: 0,
|
|
320538
320547
|
class: "cn-index-page__filter-strip-count"
|
|
320539
320548
|
};
|
|
@@ -321291,7 +321300,7 @@ function render$1V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
321291
321300
|
vue$1.createElementVNode("span", null, vue$1.toDisplayString(entry.label), 1 /* TEXT */),
|
|
321292
321301
|
_cache[34] || (_cache[34] = vue$1.createTextVNode()),
|
|
321293
321302
|
(entry.count !== null)
|
|
321294
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
321303
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$m, vue$1.toDisplayString(entry.count), 1 /* TEXT */))
|
|
321295
321304
|
: vue$1.createCommentVNode("v-if", true)
|
|
321296
321305
|
], 10 /* CLASS, PROPS */, _hoisted_18$o))
|
|
321297
321306
|
}), 128 /* KEYED_FRAGMENT */))
|
|
@@ -322791,7 +322800,7 @@ const _hoisted_15$w = ["onClick"];
|
|
|
322791
322800
|
const _hoisted_16$u = { class: "cn-form-builder__field-meta" };
|
|
322792
322801
|
const _hoisted_17$q = { class: "cn-form-builder__field-key" };
|
|
322793
322802
|
const _hoisted_18$n = { class: "cn-form-builder__field-type" };
|
|
322794
|
-
const _hoisted_19$
|
|
322803
|
+
const _hoisted_19$l = ["disabled", "title", "onClick"];
|
|
322795
322804
|
const _hoisted_20$h = ["disabled", "title", "onClick"];
|
|
322796
322805
|
const _hoisted_21$g = ["title", "onClick"];
|
|
322797
322806
|
const _hoisted_22$g = {
|
|
@@ -322883,7 +322892,7 @@ function render$1T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
322883
322892
|
disabled: idx === 0,
|
|
322884
322893
|
title: $props.moveUpLabel,
|
|
322885
322894
|
onClick: $event => ($options.moveField(idx, -1))
|
|
322886
|
-
}, " ↑ ", 8 /* PROPS */, _hoisted_19$
|
|
322895
|
+
}, " ↑ ", 8 /* PROPS */, _hoisted_19$l),
|
|
322887
322896
|
vue$1.createElementVNode("button", {
|
|
322888
322897
|
type: "button",
|
|
322889
322898
|
class: "cn-form-builder__action",
|
|
@@ -323325,7 +323334,7 @@ const _hoisted_17$p = {
|
|
|
323325
323334
|
class: "cn-export-wizard__field"
|
|
323326
323335
|
};
|
|
323327
323336
|
const _hoisted_18$m = ["for"];
|
|
323328
|
-
const _hoisted_19$
|
|
323337
|
+
const _hoisted_19$k = ["id", "placeholder"];
|
|
323329
323338
|
|
|
323330
323339
|
function render$1S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
323331
323340
|
const _component_NcNoteCard = vue$1.resolveComponent("NcNoteCard");
|
|
@@ -323522,7 +323531,7 @@ function render$1S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
323522
323531
|
type: "email",
|
|
323523
323532
|
placeholder: $props.emailPlaceholder,
|
|
323524
323533
|
class: "cn-export-wizard__input cn-export-wizard__input--inline"
|
|
323525
|
-
}, null, 8 /* PROPS */, _hoisted_19$
|
|
323534
|
+
}, null, 8 /* PROPS */, _hoisted_19$k)), [
|
|
323526
323535
|
[vue$1.vModelText, $data.formData.emailRecipient]
|
|
323527
323536
|
])
|
|
323528
323537
|
: vue$1.createCommentVNode("v-if", true)
|
|
@@ -325171,7 +325180,7 @@ const _hoisted_17$o = {
|
|
|
325171
325180
|
class: "cn-rich-submit__field"
|
|
325172
325181
|
};
|
|
325173
325182
|
const _hoisted_18$l = ["for"];
|
|
325174
|
-
const _hoisted_19$
|
|
325183
|
+
const _hoisted_19$j = {
|
|
325175
325184
|
key: 0,
|
|
325176
325185
|
class: "cn-rich-submit__required"
|
|
325177
325186
|
};
|
|
@@ -325342,7 +325351,7 @@ function render$1Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
325342
325351
|
}, [
|
|
325343
325352
|
vue$1.createTextVNode(vue$1.toDisplayString($props.filesLabel), 1 /* TEXT */),
|
|
325344
325353
|
($props.filesRequired && !_ctx.isBoardLook)
|
|
325345
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$
|
|
325354
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_19$j, "*"))
|
|
325346
325355
|
: (_ctx.isBoardLook && !$props.filesRequired)
|
|
325347
325356
|
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_20$g, " (" + vue$1.toDisplayString($props.optionalLabel) + ")", 1 /* TEXT */))
|
|
325348
325357
|
: vue$1.createCommentVNode("v-if", true)
|
|
@@ -326718,7 +326727,7 @@ const _hoisted_16$r = {
|
|
|
326718
326727
|
};
|
|
326719
326728
|
const _hoisted_17$n = ["onClick"];
|
|
326720
326729
|
const _hoisted_18$k = { class: "cn-register-mapping__board-group-name" };
|
|
326721
|
-
const _hoisted_19$
|
|
326730
|
+
const _hoisted_19$i = { class: "cn-register-mapping__board-group-count" };
|
|
326722
326731
|
const _hoisted_20$f = {
|
|
326723
326732
|
key: 1,
|
|
326724
326733
|
class: "cn-register-mapping__board-save"
|
|
@@ -326927,7 +326936,7 @@ function render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
326927
326936
|
class: "cn-register-mapping__board-chevron"
|
|
326928
326937
|
}),
|
|
326929
326938
|
vue$1.createElementVNode("strong", _hoisted_18$k, vue$1.toDisplayString(item.group.name), 1 /* TEXT */),
|
|
326930
|
-
vue$1.createElementVNode("span", _hoisted_19$
|
|
326939
|
+
vue$1.createElementVNode("span", _hoisted_19$i, vue$1.toDisplayString($options.n('nextcloud-vue', '%n type', '%n types', item.group.types.length)), 1 /* TEXT */),
|
|
326931
326940
|
vue$1.createVNode(_component_CnStatusBadge, {
|
|
326932
326941
|
label: $options.groupStatusLabel(item.idx, false),
|
|
326933
326942
|
variant: $options.groupStatusVariant(item.idx)
|
|
@@ -328656,7 +328665,8 @@ let reasonSeq = 0;
|
|
|
328656
328665
|
* note and Archive it.
|
|
328657
328666
|
*
|
|
328658
328667
|
* `config`:
|
|
328659
|
-
* - `title`, `
|
|
328668
|
+
* - `title`, `subtitle`, `doneText`: texts, through the host translate;
|
|
328669
|
+
* `eyebrow` a template filled from the record ("Close off · {identifier}").
|
|
328660
328670
|
* - `summary`: `{ source?, title, meta?, badge?, icon? }`: templates filled from
|
|
328661
328671
|
* the record (`source` an endpointSource to read it from, else `object`).
|
|
328662
328672
|
* - `facts`: `[{ title?, items: [{ label, value }] }]`, `value` a template.
|
|
@@ -328664,8 +328674,14 @@ let reasonSeq = 0;
|
|
|
328664
328674
|
* `{ id, met, label?, detail? }` read from `source`; `labels[id]` gives an
|
|
328665
328675
|
* item's `{ label, detail?, unmetDetail? }`; the ids in `required` must be
|
|
328666
328676
|
* met before the action can run. `met: null` reads as unknown.
|
|
328667
|
-
* - `permission`: `{ source, allowedPath, reasonPath? }`:
|
|
328668
|
-
* while `allowedPath` reads true; `reasonPath` says
|
|
328677
|
+
* - `permission`: `{ source, listPath?, match?, allowedPath, reasonPath? }`:
|
|
328678
|
+
* the action runs only while `allowedPath` reads true; `reasonPath` says
|
|
328679
|
+
* why not. With `listPath` the paths read the entry of that list whose
|
|
328680
|
+
* fields equal `match` (`{ act: "archive" }`).
|
|
328681
|
+
* - `fields`: `[{ field, type?: "text"|"date"|"datetime"|"select", label?,
|
|
328682
|
+
* required?, options?: [{ value, label, fills? }] }]`: inputs sent beside
|
|
328683
|
+
* the reason, required by default; a select option's `fills` sets other
|
|
328684
|
+
* fields that are still empty.
|
|
328669
328685
|
* - `reason`: `{ label?, hint?, required?, field? }`: a text area; required by
|
|
328670
328686
|
* default; sent as `field` (default `reason`).
|
|
328671
328687
|
* - `note`: `{ variant?, title?, text }`: a read-only note.
|
|
@@ -328678,7 +328694,7 @@ let reasonSeq = 0;
|
|
|
328678
328694
|
var script$1K = {
|
|
328679
328695
|
name: 'CnActionDialog',
|
|
328680
328696
|
|
|
328681
|
-
components: { CheckCircle, CircleOutline, CnDialog: __sfc_main$7n, CnIcon: __sfc_main$7O, HelpCircleOutline, NcButton: vue.NcButton, NcNoteCard: vue.NcNoteCard, NcTextArea: vue.NcTextArea },
|
|
328697
|
+
components: { CheckCircle, CircleOutline, CnDialog: __sfc_main$7n, CnIcon: __sfc_main$7O, HelpCircleOutline, NcButton: vue.NcButton, NcNoteCard: vue.NcNoteCard, NcSelect: vue.NcSelect, NcTextArea: vue.NcTextArea, NcTextField: vue.NcTextField },
|
|
328682
328698
|
|
|
328683
328699
|
inject: {
|
|
328684
328700
|
/** The host app's translate (CnAppRoot `cnTranslate`). */
|
|
@@ -328724,6 +328740,7 @@ var script$1K = {
|
|
|
328724
328740
|
checklistError: '',
|
|
328725
328741
|
allowed: true,
|
|
328726
328742
|
reason: '',
|
|
328743
|
+
values: {},
|
|
328727
328744
|
busy: false,
|
|
328728
328745
|
refusal: '',
|
|
328729
328746
|
done: false,
|
|
@@ -328734,7 +328751,21 @@ var script$1K = {
|
|
|
328734
328751
|
computed: {
|
|
328735
328752
|
/** @return {object} The token context. */
|
|
328736
328753
|
tokenCtx() {
|
|
328737
|
-
return { objectId: this.
|
|
328754
|
+
return { objectId: this.recordId, object: this.record || {} }
|
|
328755
|
+
},
|
|
328756
|
+
|
|
328757
|
+
/**
|
|
328758
|
+
* The record's id: `objectId`, or the route's `id` when the prop is
|
|
328759
|
+
* empty or a token the opener could not resolve.
|
|
328760
|
+
*
|
|
328761
|
+
* @return {string|number}
|
|
328762
|
+
*/
|
|
328763
|
+
recordId() {
|
|
328764
|
+
const given = this.objectId;
|
|
328765
|
+
if (given !== '' && given !== null && given !== undefined && !String(given).startsWith('@')) {
|
|
328766
|
+
return given
|
|
328767
|
+
}
|
|
328768
|
+
return (this.$route && this.$route.params && this.$route.params.id) || ''
|
|
328738
328769
|
},
|
|
328739
328770
|
|
|
328740
328771
|
/** @return {object} The confirm config. */
|
|
@@ -328820,7 +328851,27 @@ var script$1K = {
|
|
|
328820
328851
|
* @return {boolean}
|
|
328821
328852
|
*/
|
|
328822
328853
|
canConfirm() {
|
|
328823
|
-
return !this.busy && this.allowed && this.requiredMet && (!this.reasonNeeded || this.reason.trim() !== '')
|
|
328854
|
+
return !this.busy && this.allowed && this.requiredMet && this.fieldsFilled && (!this.reasonNeeded || this.reason.trim() !== '')
|
|
328855
|
+
},
|
|
328856
|
+
|
|
328857
|
+
/** @return {string} The eyebrow, filled from the record once it is known. */
|
|
328858
|
+
eyebrowText() {
|
|
328859
|
+
return this.record ? this.fill(this.config.eyebrow) || this.text(this.config.eyebrow) : this.text(this.config.eyebrow)
|
|
328860
|
+
},
|
|
328861
|
+
|
|
328862
|
+
/** @return {Array<object>} The fields with a name. */
|
|
328863
|
+
fields() {
|
|
328864
|
+
return (Array.isArray(this.config.fields) ? this.config.fields : []).filter((f) => f && f.field)
|
|
328865
|
+
},
|
|
328866
|
+
|
|
328867
|
+
/**
|
|
328868
|
+
* Whether every required field has a value.
|
|
328869
|
+
*
|
|
328870
|
+
* @spec openspec/changes/action-dialog-fields-and-acts/specs/action-dialog/spec.md#requirement-an-action-dialog-asks-for-fields-and-reads-a-permission-from-a-list
|
|
328871
|
+
* @return {boolean}
|
|
328872
|
+
*/
|
|
328873
|
+
fieldsFilled() {
|
|
328874
|
+
return this.fields.every((f) => f.required === false || String(this.values[f.field] ?? '').trim() !== '')
|
|
328824
328875
|
},
|
|
328825
328876
|
},
|
|
328826
328877
|
|
|
@@ -328895,6 +328946,63 @@ var script$1K = {
|
|
|
328895
328946
|
}
|
|
328896
328947
|
},
|
|
328897
328948
|
|
|
328949
|
+
/**
|
|
328950
|
+
* The entry of a list whose fields equal `match`, or null.
|
|
328951
|
+
*
|
|
328952
|
+
* @param {unknown} list The list.
|
|
328953
|
+
* @param {object} [match] The fields to match.
|
|
328954
|
+
* @return {object|null}
|
|
328955
|
+
*/
|
|
328956
|
+
matchIn(list, match) {
|
|
328957
|
+
const wanted = Object.entries(match || {});
|
|
328958
|
+
return (Array.isArray(list) ? list : []).find((entry) => entry && wanted.every(([key, value]) => String(entry[key]) === String(value))) || null
|
|
328959
|
+
},
|
|
328960
|
+
|
|
328961
|
+
/**
|
|
328962
|
+
* A select field's options, labels translated.
|
|
328963
|
+
*
|
|
328964
|
+
* @param {object} field The field.
|
|
328965
|
+
* @return {Array<{id: string, label: string, fills?: object}>}
|
|
328966
|
+
*/
|
|
328967
|
+
optionsOf(field) {
|
|
328968
|
+
return (Array.isArray(field.options) ? field.options : []).map((o) => ({ id: String(o.value), label: this.text(o.label) || String(o.value), fills: o.fills }))
|
|
328969
|
+
},
|
|
328970
|
+
|
|
328971
|
+
/**
|
|
328972
|
+
* A select field's chosen option.
|
|
328973
|
+
*
|
|
328974
|
+
* @param {object} field The field.
|
|
328975
|
+
* @return {object|null}
|
|
328976
|
+
*/
|
|
328977
|
+
selectedOption(field) {
|
|
328978
|
+
return this.optionsOf(field).find((o) => o.id === String(this.values[field.field] ?? '')) || null
|
|
328979
|
+
},
|
|
328980
|
+
|
|
328981
|
+
/**
|
|
328982
|
+
* Set a field's value.
|
|
328983
|
+
*
|
|
328984
|
+
* @param {string} name The field.
|
|
328985
|
+
* @param {unknown} value The value.
|
|
328986
|
+
*/
|
|
328987
|
+
setValue(name, value) {
|
|
328988
|
+
this.values = { ...this.values, [name]: value === null || value === undefined ? '' : String(value) };
|
|
328989
|
+
},
|
|
328990
|
+
|
|
328991
|
+
/**
|
|
328992
|
+
* Choose a select option; its `fills` set the fields still empty.
|
|
328993
|
+
*
|
|
328994
|
+
* @param {object} field The select field.
|
|
328995
|
+
* @param {{id: string, fills?: object}|null} option The option.
|
|
328996
|
+
*/
|
|
328997
|
+
pick(field, option) {
|
|
328998
|
+
this.setValue(field.field, option ? option.id : '');
|
|
328999
|
+
for (const [name, value] of Object.entries((option && option.fills) || {})) {
|
|
329000
|
+
if (String(this.values[name] ?? '').trim() === '') {
|
|
329001
|
+
this.setValue(name, this.text(value) || value);
|
|
329002
|
+
}
|
|
329003
|
+
}
|
|
329004
|
+
},
|
|
329005
|
+
|
|
328898
329006
|
/** @return {Promise<void>} */
|
|
328899
329007
|
async loadPermission() {
|
|
328900
329008
|
const def = this.config.permission;
|
|
@@ -328903,8 +329011,9 @@ var script$1K = {
|
|
|
328903
329011
|
}
|
|
328904
329012
|
try {
|
|
328905
329013
|
const data = await this.read(def.source);
|
|
328906
|
-
|
|
328907
|
-
this.
|
|
329014
|
+
const entry = def.listPath ? this.matchIn(readPath$5(data, def.listPath), def.match) : data;
|
|
329015
|
+
this.allowed = readPath$5(entry, def.allowedPath || 'allowed') === true;
|
|
329016
|
+
this.refusal = this.allowed || !def.reasonPath ? '' : String(readPath$5(entry, def.reasonPath) || '');
|
|
328908
329017
|
} catch {
|
|
328909
329018
|
this.allowed = false;
|
|
328910
329019
|
}
|
|
@@ -328935,15 +329044,18 @@ var script$1K = {
|
|
|
328935
329044
|
if (this.config.reason) {
|
|
328936
329045
|
body[this.config.reason.field || 'reason'] = reason;
|
|
328937
329046
|
}
|
|
329047
|
+
for (const field of this.fields) {
|
|
329048
|
+
body[field.field] = this.values[field.field] ?? '';
|
|
329049
|
+
}
|
|
328938
329050
|
const method = String(request.method || 'POST').toLowerCase();
|
|
328939
329051
|
await axios$1[['post', 'put', 'patch', 'delete'].includes(method) ? method : 'post'](/^https?:\/\//i.test(url) ? url : router.generateUrl(url), body);
|
|
328940
329052
|
} else if (this.confirmConfig.action && typeof this.cnDispatchAction === 'function') {
|
|
328941
|
-
await this.cnDispatchAction({ ...this.confirmConfig.action, args: [...(this.confirmConfig.action.args || []), { reason }] });
|
|
329053
|
+
await this.cnDispatchAction({ ...this.confirmConfig.action, args: [...(this.confirmConfig.action.args || []), { ...this.values, reason }] });
|
|
328942
329054
|
}
|
|
328943
329055
|
this.done = true;
|
|
328944
329056
|
eventBus.emit(PAGE_REFRESH$2, {});
|
|
328945
|
-
/** @event done The action ran. Payload: `
|
|
328946
|
-
this.$emit('done', { reason });
|
|
329057
|
+
/** @event done The action ran. Payload: the field values and `reason`. */
|
|
329058
|
+
this.$emit('done', { ...this.values, reason });
|
|
328947
329059
|
} catch (failure) {
|
|
328948
329060
|
const data = failure && failure.response && failure.response.data;
|
|
328949
329061
|
this.refusal = String((data && (data.message || data.error)) || l10n.translate('nextcloud-vue', 'The action could not be completed.'));
|
|
@@ -329007,21 +329119,22 @@ const _hoisted_14$u = {
|
|
|
329007
329119
|
key: 3,
|
|
329008
329120
|
class: "cn-action-dialog__muted"
|
|
329009
329121
|
};
|
|
329010
|
-
const _hoisted_15$s =
|
|
329122
|
+
const _hoisted_15$s = ["data-testid"];
|
|
329123
|
+
const _hoisted_16$q = {
|
|
329011
329124
|
key: 2,
|
|
329012
329125
|
class: "cn-action-dialog__field"
|
|
329013
329126
|
};
|
|
329014
|
-
const
|
|
329127
|
+
const _hoisted_17$m = {
|
|
329015
329128
|
key: 0,
|
|
329016
329129
|
class: "cn-action-dialog__muted"
|
|
329017
329130
|
};
|
|
329018
|
-
const
|
|
329131
|
+
const _hoisted_18$j = {
|
|
329019
329132
|
key: 4,
|
|
329020
329133
|
class: "cn-action-dialog__error",
|
|
329021
329134
|
role: "alert",
|
|
329022
329135
|
"data-testid": "cn-action-dialog-refusal"
|
|
329023
329136
|
};
|
|
329024
|
-
const
|
|
329137
|
+
const _hoisted_19$h = {
|
|
329025
329138
|
key: 1,
|
|
329026
329139
|
role: "status",
|
|
329027
329140
|
"data-testid": "cn-action-dialog-done"
|
|
@@ -329032,6 +329145,8 @@ function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329032
329145
|
const _component_CheckCircle = vue$1.resolveComponent("CheckCircle");
|
|
329033
329146
|
const _component_HelpCircleOutline = vue$1.resolveComponent("HelpCircleOutline");
|
|
329034
329147
|
const _component_CircleOutline = vue$1.resolveComponent("CircleOutline");
|
|
329148
|
+
const _component_NcSelect = vue$1.resolveComponent("NcSelect");
|
|
329149
|
+
const _component_NcTextField = vue$1.resolveComponent("NcTextField");
|
|
329035
329150
|
const _component_NcTextArea = vue$1.resolveComponent("NcTextArea");
|
|
329036
329151
|
const _component_NcNoteCard = vue$1.resolveComponent("NcNoteCard");
|
|
329037
329152
|
const _component_NcButton = vue$1.resolveComponent("NcButton");
|
|
@@ -329039,7 +329154,7 @@ function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329039
329154
|
|
|
329040
329155
|
return (vue$1.openBlock(), vue$1.createBlock(_component_CnDialog, {
|
|
329041
329156
|
name: $options.text($props.config.title) || $options.t('nextcloud-vue', 'Confirm'),
|
|
329042
|
-
eyebrow: $options.
|
|
329157
|
+
eyebrow: $options.eyebrowText,
|
|
329043
329158
|
subtitle: $options.text($props.config.subtitle),
|
|
329044
329159
|
width: "form",
|
|
329045
329160
|
noClose: $data.busy,
|
|
@@ -329169,8 +329284,32 @@ function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329169
329284
|
])
|
|
329170
329285
|
]))
|
|
329171
329286
|
: vue$1.createCommentVNode("v-if", true),
|
|
329287
|
+
(vue$1.openBlock(true), vue$1.createElementBlock(vue$1.Fragment, null, vue$1.renderList($options.fields, (field) => {
|
|
329288
|
+
return (vue$1.openBlock(), vue$1.createElementBlock("div", {
|
|
329289
|
+
key: field.field,
|
|
329290
|
+
class: "cn-action-dialog__field",
|
|
329291
|
+
"data-testid": `cn-action-dialog-field-${field.field}`
|
|
329292
|
+
}, [
|
|
329293
|
+
(field.type === 'select')
|
|
329294
|
+
? (vue$1.openBlock(), vue$1.createBlock(_component_NcSelect, {
|
|
329295
|
+
key: 0,
|
|
329296
|
+
modelValue: $options.selectedOption(field),
|
|
329297
|
+
options: $options.optionsOf(field),
|
|
329298
|
+
inputLabel: $options.text(field.label) || field.field,
|
|
329299
|
+
clearable: field.required === false,
|
|
329300
|
+
"onUpdate:modelValue": (option) => $options.pick(field, option)
|
|
329301
|
+
}, null, 8 /* PROPS */, ["modelValue", "options", "inputLabel", "clearable", "onUpdate:modelValue"]))
|
|
329302
|
+
: (vue$1.openBlock(), vue$1.createBlock(_component_NcTextField, {
|
|
329303
|
+
key: 1,
|
|
329304
|
+
modelValue: $data.values[field.field] || '',
|
|
329305
|
+
type: field.type === 'datetime' ? 'datetime-local' : (field.type === 'date' ? 'date' : 'text'),
|
|
329306
|
+
label: $options.text(field.label) || field.field,
|
|
329307
|
+
"onUpdate:modelValue": (value) => $options.setValue(field.field, value)
|
|
329308
|
+
}, null, 8 /* PROPS */, ["modelValue", "type", "label", "onUpdate:modelValue"]))
|
|
329309
|
+
], 8 /* PROPS */, _hoisted_15$s))
|
|
329310
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
329172
329311
|
($props.config.reason)
|
|
329173
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("div",
|
|
329312
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("div", _hoisted_16$q, [
|
|
329174
329313
|
vue$1.createVNode(_component_NcTextArea, {
|
|
329175
329314
|
id: $data.reasonId,
|
|
329176
329315
|
modelValue: $data.reason,
|
|
@@ -329181,7 +329320,7 @@ function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329181
329320
|
"data-testid": "cn-action-dialog-reason"
|
|
329182
329321
|
}, null, 8 /* PROPS */, ["id", "modelValue", "label"]),
|
|
329183
329322
|
($props.config.reason.hint)
|
|
329184
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("span",
|
|
329323
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("span", _hoisted_17$m, vue$1.toDisplayString($options.text($props.config.reason.hint)), 1 /* TEXT */))
|
|
329185
329324
|
: vue$1.createCommentVNode("v-if", true)
|
|
329186
329325
|
]))
|
|
329187
329326
|
: vue$1.createCommentVNode("v-if", true),
|
|
@@ -329199,17 +329338,17 @@ function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329199
329338
|
}, 8 /* PROPS */, ["type", "heading"]))
|
|
329200
329339
|
: vue$1.createCommentVNode("v-if", true),
|
|
329201
329340
|
($data.refusal)
|
|
329202
|
-
? (vue$1.openBlock(), vue$1.createElementBlock("p",
|
|
329341
|
+
? (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_18$j, vue$1.toDisplayString($data.refusal), 1 /* TEXT */))
|
|
329203
329342
|
: vue$1.createCommentVNode("v-if", true)
|
|
329204
329343
|
]))
|
|
329205
|
-
: (vue$1.openBlock(), vue$1.createElementBlock("p",
|
|
329344
|
+
: (vue$1.openBlock(), vue$1.createElementBlock("p", _hoisted_19$h, vue$1.toDisplayString($options.text($props.config.doneText) || $options.t('nextcloud-vue', 'Done')), 1 /* TEXT */))
|
|
329206
329345
|
]),
|
|
329207
329346
|
_: 1 /* STABLE */
|
|
329208
329347
|
}, 8 /* PROPS */, ["name", "eyebrow", "subtitle", "noClose", "onClosing"]))
|
|
329209
329348
|
}
|
|
329210
329349
|
|
|
329211
329350
|
script$1K.render = render$1J;
|
|
329212
|
-
script$1K.__scopeId = "data-v-
|
|
329351
|
+
script$1K.__scopeId = "data-v-0bb28fd1";
|
|
329213
329352
|
const __sfc_main$1K = script$1K;
|
|
329214
329353
|
|
|
329215
329354
|
var CnActionDialog = /*#__PURE__*/Object.freeze({
|