@conduction/nextcloud-vue 2.56.0-beta.76 → 2.56.0-beta.77
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/CnFlowDetail/CnRunDetailSidebar.vue.js +1 -1
- package/dist/esm/components/CnFlowDetail/CnRunDetailSidebar.vue2.js +51 -0
- package/dist/esm/components/CnFlowDetail/CnRunDetailSidebar.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowDetail/CnRunDetailSidebar.vue3.js +8 -6
- package/dist/esm/components/CnFlowDetail/CnRunDetailSidebar.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue.js +1 -1
- package/dist/esm/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue2.js +45 -5
- package/dist/esm/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue3.js +24 -16
- package/dist/esm/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue3.js.map +1 -1
- package/dist/esm/l10n/en.json.js +7 -0
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +7 -0
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +33 -26
- package/dist/nextcloud-vue.cjs.js +473 -358
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +33 -26
- package/l10n/en.json +7 -0
- package/l10n/nl.json +7 -0
- package/package.json +1 -1
- package/src/components/CnFlowDetail/CnRunDetailSidebar.vue +62 -4
- package/src/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue +71 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CnFlowStepOutcomes.vue3.js","sources":["../../../../src/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue?vue&type=template&id=1b31a476&lang.js"],"sourcesContent":["<!--\n CnFlowStepOutcomes: who a send step reached, and who it did not, by name.\n\n A messaging step (send email, send notification, post to Talk) writes its\n per-recipient outcome onto its run-log entry as `report.messaging`: one\n bucket per outcome, each `{count, sample}`. Nothing rendered it, so the run\n log could not show that a person was skipped because they opted out, or\n because the opt-out check did not answer.\n\n Only buckets with someone in them are listed. A bucket this component does\n not know is still shown, under its own key made readable, so a new outcome\n on the server is never hidden by an older library.\n\n SPDX-FileCopyrightText: 2026 Conduction B.V. <info@conduction.nl>\n SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<div v-if=\"rows.length\" class=\"cn-flow-step-outcomes\" data-testid=\"flow-step-outcomes\">\n\t\t<dl class=\"cn-flow-step-outcomes__list\" :aria-label=\"t('nextcloud-vue', 'Who this step reached')\">\n\t\t\t<div v-for=\"row in rows\"\n\t\t\t\t:key=\"row.key\"\n\t\t\t\tclass=\"cn-flow-step-outcomes__row\"\n\t\t\t\t:class=\"`cn-flow-step-outcomes__row--${row.tone}`\"\n\t\t\t\t:data-testid=\"`flow-step-outcome-${row.key}`\">\n\t\t\t\t<dt class=\"cn-flow-step-outcomes__name\">\n\t\t\t\t\t{{ row.label }}\n\t\t\t\t</dt>\n\t\t\t\t<dd class=\"cn-flow-step-outcomes__value\">\n\t\t\t\t\t<span class=\"cn-flow-step-outcomes__count\">{{ row.count }}</span>\n\t\t\t\t\t<span v-if=\"row.sample.length\" class=\"cn-flow-step-outcomes__sample\"> · {{ row.sample.join(', ') }}</span>\n\t\t\t\t</dd>\n\t\t\t</div>\n\t\t</dl>\n\t\t<p v-if=\"report && report.truncated\"\n\t\t\tclass=\"cn-flow-step-outcomes__truncated\"\n\t\t\tdata-testid=\"flow-step-outcomes-truncated\">\n\t\t\t{{ t('nextcloud-vue', 'Each list shows its first entries only.') }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\n\n/**\n * The buckets a messaging report carries, in reading order: who got it first,\n * then each reason someone did not. `tone` marks the row for styling only.\n */\nconst KNOWN_BUCKETS = [\n\t{ key: 'delivered', tone: 'success' },\n\t{ key: 'optedOut', tone: 'neutral' },\n\t{ key: 'authorityUnavailable', tone: 'warning' },\n\t{ key: 'skippedByPreference', tone: 'neutral' },\n\t{ key: 'skippedByKillSwitch', tone: 'neutral' },\n\t{ key: 'rateLimited', tone: 'warning' },\n\t{ key: 'refusedRecipients', tone: 'warning' },\n\t{ key: 'unknownRecipients', tone: 'warning' },\n\t{ key: 'failed', tone: 'error' },\n]\n\n/** Report keys that are facts about the send, not outcome buckets. */\nconst NOT_BUCKETS = ['channel', 'actor', 'recipients', 'truncated']\n\nexport default {\n\tname: 'CnFlowStepOutcomes',\n\n\tprops: {\n\t\t/**\n\t\t * A step's messaging report: the run-log entry's `report.messaging`.\n\t\t * Each outcome bucket is `{count, sample}`; a `refusedRecipients`\n\t\t * sample entry is `{recipient, reason}`. `null` renders nothing.\n\t\t */\n\t\treport: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/**\n\t\t * Names to use instead of the built-in ones, keyed by bucket\n\t\t * (`{ optedOut: 'Unsubscribed' }`). Pass already-translated text.\n\t\t */\n\t\tlabels: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => ({}),\n\t\t},\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * The non-empty buckets, known ones first in reading order, then any\n\t\t * bucket the server added that this component does not know.\n\t\t *\n\t\t * @return {Array<object>} One row per bucket: key, label, count, sample, tone.\n\t\t */\n\t\trows() {\n\t\t\tconst report = this.report\n\t\t\tif (!report || typeof report !== 'object') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst known = KNOWN_BUCKETS.map((bucket) => bucket.key)\n\t\t\tconst extra = Object.keys(report).filter((key) => !known.includes(key) && !NOT_BUCKETS.includes(key))\n\t\t\tconst ordered = [\n\t\t\t\t...KNOWN_BUCKETS,\n\t\t\t\t...extra.map((key) => ({ key, tone: 'neutral' })),\n\t\t\t]\n\n\t\t\treturn ordered\n\t\t\t\t.map(({ key, tone }) => ({ key, tone, bucket: report[key] }))\n\t\t\t\t.filter(({ bucket }) => bucket && typeof bucket === 'object' && Number(bucket.count) > 0)\n\t\t\t\t.map(({ key, tone, bucket }) => ({\n\t\t\t\t\tkey,\n\t\t\t\t\ttone,\n\t\t\t\t\tlabel: this.labelFor(key),\n\t\t\t\t\tcount: Number(bucket.count),\n\t\t\t\t\tsample: (Array.isArray(bucket.sample) ? bucket.sample : []).map((entry) => this.describeEntry(entry)),\n\t\t\t\t}))\n\t\t},\n\t},\n\n\tmethods: {\n\t\tt,\n\n\t\t/**\n\t\t * The readable name of a bucket: the host's, then the built-in one,\n\t\t * then the key itself (`heldForReview` reads \"Held for review\").\n\t\t *\n\t\t * @param {string} key The bucket key.\n\t\t * @return {string} The name.\n\t\t */\n\t\tlabelFor(key) {\n\t\t\tif (this.labels && this.labels[key]) {\n\t\t\t\treturn String(this.labels[key])\n\t\t\t}\n\n\t\t\tconst builtIn = {\n\t\t\t\tdelivered: t('nextcloud-vue', 'Delivered'),\n\t\t\t\toptedOut: t('nextcloud-vue', 'Opted out'),\n\t\t\t\tauthorityUnavailable: t('nextcloud-vue', 'Not sent, the opt-out check did not answer'),\n\t\t\t\tskippedByPreference: t('nextcloud-vue', 'Skipped by their notification settings'),\n\t\t\t\tskippedByKillSwitch: t('nextcloud-vue', 'Skipped, sending is switched off'),\n\t\t\t\trateLimited: t('nextcloud-vue', 'Held back by the send limit'),\n\t\t\t\trefusedRecipients: t('nextcloud-vue', 'Refused by the step’s address rule'),\n\t\t\t\tunknownRecipients: t('nextcloud-vue', 'Not a known user or group'),\n\t\t\t\tfailed: t('nextcloud-vue', 'Failed'),\n\t\t\t}\n\t\t\tif (builtIn[key]) {\n\t\t\t\treturn builtIn[key]\n\t\t\t}\n\n\t\t\tconst words = String(key).replace(/([a-z0-9])([A-Z])/g, '$1 $2').replace(/[-_]+/g, ' ').trim().toLowerCase()\n\n\t\t\treturn words.charAt(0).toUpperCase() + words.slice(1)\n\t\t},\n\n\t\t/**\n\t\t * One sample entry as text. A refused address carries its reason.\n\t\t *\n\t\t * @param {string|object} entry The sample entry.\n\t\t * @return {string} The text.\n\t\t */\n\t\tdescribeEntry(entry) {\n\t\t\tif (entry && typeof entry === 'object') {\n\t\t\t\tconst who = String(entry.recipient ?? entry.id ?? '')\n\t\t\t\tconst reason = this.reasonFor(entry.reason)\n\n\t\t\t\treturn reason ? `${who} (${reason})` : who\n\t\t\t}\n\n\t\t\treturn String(entry)\n\t\t},\n\n\t\t/**\n\t\t * Why the step's address rule refused an address, in words.\n\t\t *\n\t\t * @param {string} [code] The refusal code.\n\t\t * @return {string} The reason, or the code when it is not known.\n\t\t */\n\t\treasonFor(code) {\n\t\t\tconst reasons = {\n\t\t\t\t'external-recipients-off': t('nextcloud-vue', 'external recipients are off'),\n\t\t\t\t'not-on-item': t('nextcloud-vue', 'not on the item'),\n\t\t\t\t'invalid-address': t('nextcloud-vue', 'not a valid address'),\n\t\t\t}\n\n\t\t\treturn code ? (reasons[code] || String(code)) : ''\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-flow-step-outcomes {\n\tmargin: 4px 0 0;\n\tfont-size: 0.9em;\n}\n\n.cn-flow-step-outcomes__list {\n\tmargin: 0;\n\tpadding: 0;\n}\n\n/* Stacked, name over value: the run sidebar is narrow, and a side-by-side\n row wrapped mid-list. The host's dt/dd margins and alignment are reset. */\n.cn-flow-step-outcomes__row {\n\tdisplay: block;\n\tmargin-block: 4px;\n\tpadding-block: 2px;\n\tpadding-inline-start: 8px;\n\tborder-inline-start: 3px solid var(--color-border);\n\ttext-align: start;\n}\n\n.cn-flow-step-outcomes__row--success {\n\tborder-inline-start-color: var(--color-success);\n}\n\n.cn-flow-step-outcomes__row--warning {\n\tborder-inline-start-color: var(--color-warning);\n}\n\n.cn-flow-step-outcomes__row--error {\n\tborder-inline-start-color: var(--color-error);\n}\n\n.cn-flow-step-outcomes__name {\n\tdisplay: block;\n\twhite-space: normal;\n\toverflow-wrap: anywhere;\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: bold;\n\ttext-align: start;\n}\n\n.cn-flow-step-outcomes__value {\n\tdisplay: block;\n\twhite-space: normal;\n\tmargin: 0;\n\tpadding: 0;\n\ttext-align: start;\n\tcolor: var(--color-main-text);\n\toverflow-wrap: anywhere;\n}\n\n.cn-flow-step-outcomes__truncated {\n\tmargin: 4px 0 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n</style>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass"],"mappings":";;;;AAiCyB,EAAA,KAAK,EAAC,uBAAM;AAAA,EAAA,aAAA,EAAA,oBAAA;;;;;;;;;;;;;;;;;;AAAzB,EAAA,OAAA,CAAA,QAAA,CAAA,IAAI,OAAO;AAArB,OAAAA,SAAA,EAAA,EAAAC,kBAAA,QAAA;QACCC;AAAG,UAAA,KAAK,EAAC,6BAA6B;AAAC,UAAA,YAAA,EAAA,QAAA,CAAA,CAAA,CAAA,eAAA,EAAA,uBAAA,CAAA;;4BACvCD,8CAAmB,QAAI,CAAA,IAAA,EAAA,CAAX,GAAG,KAAA;iCAAfA;cACC,GAAI,EAAE,GAAG,CAAC,GAAG;AACb,cAAA,KAAC,EAAAE,cAAA,CAAA,CAAA,4BAAA,EACC,CAAA,4BAAA,EAAA,GAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"CnFlowStepOutcomes.vue3.js","sources":["../../../../src/components/CnFlowStepOutcomes/CnFlowStepOutcomes.vue?vue&type=template&id=b8932606&lang.js"],"sourcesContent":["<!--\n CnFlowStepOutcomes: a step's own tally, by named bucket.\n\n A messaging step (send email, send notification, post to Talk) writes its\n per-recipient outcome onto its run-log entry as `report.messaging`: one\n bucket per outcome, each `{count, sample}`. Nothing rendered it, so the run\n log could not show that a person was skipped because they opted out, or\n because the opt-out check did not answer. A sync pipeline's steps write the\n same shape for their own counts (`report.fetch`, `report.contract`,\n `report.write`, `report.sweep` — objects fetched, create/update/skip/invalid,\n created/updated, swept).\n\n Only buckets with someone in them are listed, UNLESS `hideZero` is false.\n Messaging wants zero-suppression: \"delivered: 0, optedOut: 0, failed: 0\" on\n every ordinary send is noise nobody reads. A count step does not: \"swept: 0\"\n is the answer, not a blank where a row should be, and hiding it would read\n as \"this step reported nothing\" when it reported zero. A bucket this\n component does not know is still shown, under its own key made readable, so\n a new outcome on the server is never hidden by an older library.\n\n SPDX-FileCopyrightText: 2026 Conduction B.V. <info@conduction.nl>\n SPDX-License-Identifier: EUPL-1.2\n-->\n<template>\n\t<div v-if=\"rows.length\" class=\"cn-flow-step-outcomes\" data-testid=\"flow-step-outcomes\">\n\t\t<p v-if=\"label\"\n\t\t\tclass=\"cn-flow-step-outcomes__title\"\n\t\t\tdata-testid=\"flow-step-outcomes-title\">\n\t\t\t{{ label }}\n\t\t</p>\n\t\t<dl class=\"cn-flow-step-outcomes__list\" :aria-label=\"label || t('nextcloud-vue', 'Who this step reached')\">\n\t\t\t<div v-for=\"row in rows\"\n\t\t\t\t:key=\"row.key\"\n\t\t\t\tclass=\"cn-flow-step-outcomes__row\"\n\t\t\t\t:class=\"`cn-flow-step-outcomes__row--${row.tone}`\"\n\t\t\t\t:data-testid=\"`flow-step-outcome-${row.key}`\">\n\t\t\t\t<dt class=\"cn-flow-step-outcomes__name\">\n\t\t\t\t\t{{ row.label }}\n\t\t\t\t</dt>\n\t\t\t\t<dd class=\"cn-flow-step-outcomes__value\">\n\t\t\t\t\t<span class=\"cn-flow-step-outcomes__count\">{{ row.count }}</span>\n\t\t\t\t\t<span v-if=\"row.sample.length\" class=\"cn-flow-step-outcomes__sample\"> · {{ row.sample.join(', ') }}</span>\n\t\t\t\t</dd>\n\t\t\t</div>\n\t\t</dl>\n\t\t<p v-if=\"report && report.truncated\"\n\t\t\tclass=\"cn-flow-step-outcomes__truncated\"\n\t\t\tdata-testid=\"flow-step-outcomes-truncated\">\n\t\t\t{{ t('nextcloud-vue', 'Each list shows its first entries only.') }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport { translate as t } from '@nextcloud/l10n'\n\n/**\n * The buckets a messaging report carries, in reading order: who got it first,\n * then each reason someone did not. `tone` marks the row for styling only.\n */\nconst KNOWN_BUCKETS = [\n\t{ key: 'delivered', tone: 'success' },\n\t{ key: 'optedOut', tone: 'neutral' },\n\t{ key: 'authorityUnavailable', tone: 'warning' },\n\t{ key: 'skippedByPreference', tone: 'neutral' },\n\t{ key: 'skippedByKillSwitch', tone: 'neutral' },\n\t{ key: 'rateLimited', tone: 'warning' },\n\t{ key: 'refusedRecipients', tone: 'warning' },\n\t{ key: 'unknownRecipients', tone: 'warning' },\n\t{ key: 'failed', tone: 'error' },\n\t// A sync step's own tally (`report.fetch`/`contract`/`write`/`sweep`):\n\t// create/update/skip/invalid per item, then created/updated/swept counts.\n\t{ key: 'fetched', tone: 'neutral' },\n\t{ key: 'created', tone: 'success' },\n\t{ key: 'updated', tone: 'success' },\n\t{ key: 'skipped', tone: 'neutral' },\n\t{ key: 'invalid', tone: 'warning' },\n\t{ key: 'swept', tone: 'neutral' },\n]\n\n/** Report keys that are facts about the send, not outcome buckets. */\nconst NOT_BUCKETS = ['channel', 'actor', 'recipients', 'truncated']\n\nexport default {\n\tname: 'CnFlowStepOutcomes',\n\n\tprops: {\n\t\t/**\n\t\t * One named block of a step's run-log report, e.g. `report.messaging`\n\t\t * or a sync step's `report.write`. Each outcome bucket is\n\t\t * `{count, sample}`; a `refusedRecipients` sample entry is\n\t\t * `{recipient, reason}`. `null` renders nothing.\n\t\t */\n\t\treport: {\n\t\t\ttype: Object,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/**\n\t\t * Names to use instead of the built-in ones, keyed by bucket\n\t\t * (`{ optedOut: 'Unsubscribed' }`). Pass already-translated text.\n\t\t */\n\t\tlabels: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => ({}),\n\t\t},\n\n\t\t/**\n\t\t * Drop a bucket whose count is zero. True for messaging (a long,\n\t\t * mostly-zero outcome list is noise); false for a step whose buckets\n\t\t * are the whole point of reading it, where zero is itself the answer.\n\t\t */\n\t\thideZero: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\n\t\t/**\n\t\t * What this list is a tally of, e.g. \"Write\" for a `report.write`\n\t\t * block. Used as the visible caption above the list AND the list's\n\t\t * accessible name, replacing the default \"Who this step reached\" —\n\t\t * which is wrong for anything that is not a send, and leaves two\n\t\t * adjacent blocks on one step (`fetch` + `write`) unlabelled and\n\t\t * indistinguishable to a screen reader. `null` (the default, and what\n\t\t * a messaging block passes) keeps the original behaviour: no caption,\n\t\t * the send-specific accessible name.\n\t\t */\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * The non-empty buckets, known ones first in reading order, then any\n\t\t * bucket the server added that this component does not know.\n\t\t *\n\t\t * @return {Array<object>} One row per bucket: key, label, count, sample, tone.\n\t\t */\n\t\trows() {\n\t\t\tconst report = this.report\n\t\t\tif (!report || typeof report !== 'object') {\n\t\t\t\treturn []\n\t\t\t}\n\n\t\t\tconst known = KNOWN_BUCKETS.map((bucket) => bucket.key)\n\t\t\tconst extra = Object.keys(report).filter((key) => !known.includes(key) && !NOT_BUCKETS.includes(key))\n\t\t\tconst ordered = [\n\t\t\t\t...KNOWN_BUCKETS,\n\t\t\t\t...extra.map((key) => ({ key, tone: 'neutral' })),\n\t\t\t]\n\n\t\t\treturn ordered\n\t\t\t\t.map(({ key, tone }) => ({ key, tone, bucket: report[key] }))\n\t\t\t\t.filter(({ bucket }) => bucket && typeof bucket === 'object' && (this.hideZero === false || Number(bucket.count) > 0))\n\t\t\t\t.map(({ key, tone, bucket }) => ({\n\t\t\t\t\tkey,\n\t\t\t\t\ttone,\n\t\t\t\t\tlabel: this.labelFor(key),\n\t\t\t\t\tcount: Number(bucket.count) || 0,\n\t\t\t\t\tsample: (Array.isArray(bucket.sample) ? bucket.sample : []).map((entry) => this.describeEntry(entry)),\n\t\t\t\t}))\n\t\t},\n\t},\n\n\tmethods: {\n\t\tt,\n\n\t\t/**\n\t\t * The readable name of a bucket: the host's, then the built-in one,\n\t\t * then the key itself (`heldForReview` reads \"Held for review\").\n\t\t *\n\t\t * @param {string} key The bucket key.\n\t\t * @return {string} The name.\n\t\t */\n\t\tlabelFor(key) {\n\t\t\tif (this.labels && this.labels[key]) {\n\t\t\t\treturn String(this.labels[key])\n\t\t\t}\n\n\t\t\tconst builtIn = {\n\t\t\t\tdelivered: t('nextcloud-vue', 'Delivered'),\n\t\t\t\toptedOut: t('nextcloud-vue', 'Opted out'),\n\t\t\t\tauthorityUnavailable: t('nextcloud-vue', 'Not sent, the opt-out check did not answer'),\n\t\t\t\tskippedByPreference: t('nextcloud-vue', 'Skipped by their notification settings'),\n\t\t\t\tskippedByKillSwitch: t('nextcloud-vue', 'Skipped, sending is switched off'),\n\t\t\t\trateLimited: t('nextcloud-vue', 'Held back by the send limit'),\n\t\t\t\trefusedRecipients: t('nextcloud-vue', 'Refused by the step’s address rule'),\n\t\t\t\tunknownRecipients: t('nextcloud-vue', 'Not a known user or group'),\n\t\t\t\tfailed: t('nextcloud-vue', 'Failed'),\n\t\t\t\tfetched: t('nextcloud-vue', 'Fetched'),\n\t\t\t\tcreated: t('nextcloud-vue', 'Created'),\n\t\t\t\tupdated: t('nextcloud-vue', 'Updated'),\n\t\t\t\tskipped: t('nextcloud-vue', 'Skipped'),\n\t\t\t\tinvalid: t('nextcloud-vue', 'Invalid'),\n\t\t\t\tswept: t('nextcloud-vue', 'Swept'),\n\t\t\t}\n\t\t\tif (builtIn[key]) {\n\t\t\t\treturn builtIn[key]\n\t\t\t}\n\n\t\t\tconst words = String(key).replace(/([a-z0-9])([A-Z])/g, '$1 $2').replace(/[-_]+/g, ' ').trim().toLowerCase()\n\n\t\t\treturn words.charAt(0).toUpperCase() + words.slice(1)\n\t\t},\n\n\t\t/**\n\t\t * One sample entry as text. A refused address carries its reason.\n\t\t *\n\t\t * @param {string|object} entry The sample entry.\n\t\t * @return {string} The text.\n\t\t */\n\t\tdescribeEntry(entry) {\n\t\t\tif (entry && typeof entry === 'object') {\n\t\t\t\tconst who = String(entry.recipient ?? entry.id ?? '')\n\t\t\t\tconst reason = this.reasonFor(entry.reason)\n\n\t\t\t\treturn reason ? `${who} (${reason})` : who\n\t\t\t}\n\n\t\t\treturn String(entry)\n\t\t},\n\n\t\t/**\n\t\t * Why the step's address rule refused an address, in words.\n\t\t *\n\t\t * @param {string} [code] The refusal code.\n\t\t * @return {string} The reason, or the code when it is not known.\n\t\t */\n\t\treasonFor(code) {\n\t\t\tconst reasons = {\n\t\t\t\t'external-recipients-off': t('nextcloud-vue', 'external recipients are off'),\n\t\t\t\t'not-on-item': t('nextcloud-vue', 'not on the item'),\n\t\t\t\t'invalid-address': t('nextcloud-vue', 'not a valid address'),\n\t\t\t}\n\n\t\t\treturn code ? (reasons[code] || String(code)) : ''\n\t\t},\n\t},\n}\n</script>\n\n<style scoped>\n.cn-flow-step-outcomes {\n\tmargin: 4px 0 0;\n\tfont-size: 0.9em;\n}\n\n.cn-flow-step-outcomes__title {\n\tmargin: 4px 0 0;\n\tfont-weight: bold;\n\ttext-transform: uppercase;\n\tfont-size: 0.85em;\n\tcolor: var(--color-text-maxcontrast);\n}\n\n.cn-flow-step-outcomes__list {\n\tmargin: 0;\n\tpadding: 0;\n}\n\n/* Stacked, name over value: the run sidebar is narrow, and a side-by-side\n row wrapped mid-list. The host's dt/dd margins and alignment are reset. */\n.cn-flow-step-outcomes__row {\n\tdisplay: block;\n\tmargin-block: 4px;\n\tpadding-block: 2px;\n\tpadding-inline-start: 8px;\n\tborder-inline-start: 3px solid var(--color-border);\n\ttext-align: start;\n}\n\n.cn-flow-step-outcomes__row--success {\n\tborder-inline-start-color: var(--color-success);\n}\n\n.cn-flow-step-outcomes__row--warning {\n\tborder-inline-start-color: var(--color-warning);\n}\n\n.cn-flow-step-outcomes__row--error {\n\tborder-inline-start-color: var(--color-error);\n}\n\n.cn-flow-step-outcomes__name {\n\tdisplay: block;\n\twhite-space: normal;\n\toverflow-wrap: anywhere;\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: bold;\n\ttext-align: start;\n}\n\n.cn-flow-step-outcomes__value {\n\tdisplay: block;\n\twhite-space: normal;\n\tmargin: 0;\n\tpadding: 0;\n\ttext-align: start;\n\tcolor: var(--color-main-text);\n\toverflow-wrap: anywhere;\n}\n\n.cn-flow-step-outcomes__truncated {\n\tmargin: 4px 0 0;\n\tcolor: var(--color-text-maxcontrast);\n}\n</style>\n"],"names":["_openBlock","_createElementBlock"],"mappings":";;;;AA+CyB,EAAA,KAAK,EAAC,uBAAc;AAAA,EAAA,aAAA,EAAA,oBAAA;;;;AAE1C,EAAA,KAAE,EAAA,8BAAA;AACF,EAAA,aAAG,EAAA,0BAAA;;;;;;;;;;;;;;;;;;AAHM,EAAA,OAAA,CAAA,QAAA,CAAA,IAAI,CAAC,MAAM;AAApB,OAAAA,SAAA,EAAA,EAAAC,kBAAA,QAAA;SACQ,MAAK,CAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/l10n/en.json.js
CHANGED
|
@@ -410,6 +410,13 @@ var translations = {
|
|
|
410
410
|
"Create {title}": "Create {title}",
|
|
411
411
|
Created: "Created",
|
|
412
412
|
"Created:": "Created:",
|
|
413
|
+
Fetched: "Fetched",
|
|
414
|
+
Invalid: "Invalid",
|
|
415
|
+
Swept: "Swept",
|
|
416
|
+
Fetch: "Fetch",
|
|
417
|
+
Decision: "Decision",
|
|
418
|
+
Write: "Write",
|
|
419
|
+
Sweep: "Sweep",
|
|
413
420
|
"Current enum values ({count})": "Current enum values ({count})",
|
|
414
421
|
"Custom value": "Custom value",
|
|
415
422
|
"Custom value…": "Custom value…",
|
|
@@ -1 +1 @@
|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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/l10n/nl.json.js
CHANGED
|
@@ -435,6 +435,13 @@ var translations = {
|
|
|
435
435
|
"Create {title}": "{title} aanmaken",
|
|
436
436
|
Created: "Aangemaakt",
|
|
437
437
|
"Created:": "Aangemaakt:",
|
|
438
|
+
Fetched: "Opgehaald",
|
|
439
|
+
Invalid: "Ongeldig",
|
|
440
|
+
Swept: "Opgeschoond",
|
|
441
|
+
Fetch: "Ophalen",
|
|
442
|
+
Decision: "Beslissing",
|
|
443
|
+
Write: "Schrijven",
|
|
444
|
+
Sweep: "Opschonen",
|
|
438
445
|
"Current enum values ({count})": "Huidige opsommingswaarden ({count})",
|
|
439
446
|
"Custom value": "Aangepaste waarde",
|
|
440
447
|
"Custom value…": "Aangepaste waarde…",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nl.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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