@conduction/nextcloud-vue 2.160.0 → 2.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue.js +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js +20 -2
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue2.js.map +1 -1
- package/dist/esm/components/CnAuditTrailCard/CnAuditTrailCard.vue3.js.map +1 -1
- package/dist/esm/components/CnStatWidget/CnStatWidget.vue.js +1 -1
- package/dist/esm/components/CnStatWidget/CnStatWidget.vue2.js +10 -1
- package/dist/esm/components/CnStatWidget/CnStatWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnStatWidget/CnStatWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue.js +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue2.js +3 -2
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineWidget.vue.js +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineWidget.vue2.js +2 -2
- package/dist/esm/components/CnTimelineWidget/CnTimelineWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTimelineWidget/CnTimelineWidget.vue3.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +81 -81
- package/dist/esm/utils/auditEntries.js +25 -1
- package/dist/esm/utils/auditEntries.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +60 -8
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +81 -81
- package/package.json +1 -1
- package/src/components/CnAuditTrailCard/CnAuditTrailCard.vue +20 -2
- package/src/components/CnStatWidget/CnStatWidget.vue +10 -1
- package/src/components/CnTabsWidget/CnTabsWidget.vue +3 -2
- package/src/components/CnTimelineWidget/CnTimelineWidget.vue +2 -2
- package/src/utils/auditEntries.js +24 -0
package/dist/nextcloud-vue.css
CHANGED
|
@@ -24954,14 +24954,14 @@ a.cn-analytics-card__title[data-v-f3ca7b06]:hover {
|
|
|
24954
24954
|
}
|
|
24955
24955
|
|
|
24956
24956
|
|
|
24957
|
-
.cn-audit-card__list[data-v-
|
|
24957
|
+
.cn-audit-card__list[data-v-3b6d70f7] {
|
|
24958
24958
|
list-style: none;
|
|
24959
24959
|
margin: 0;
|
|
24960
24960
|
padding: 0;
|
|
24961
24961
|
}
|
|
24962
24962
|
|
|
24963
24963
|
/* Nextcloud core pads and aligns `dt` / `dd`; the list resets both. */
|
|
24964
|
-
.cn-audit-card__dated[data-v-
|
|
24964
|
+
.cn-audit-card__dated[data-v-3b6d70f7] {
|
|
24965
24965
|
display: grid;
|
|
24966
24966
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
24967
24967
|
gap: 8px 16px;
|
|
@@ -24969,7 +24969,7 @@ a.cn-analytics-card__title[data-v-f3ca7b06]:hover {
|
|
|
24969
24969
|
padding: 0;
|
|
24970
24970
|
font-size: 14px;
|
|
24971
24971
|
}
|
|
24972
|
-
.cn-audit-card__dated .cn-audit-card__date[data-v-
|
|
24972
|
+
.cn-audit-card__dated .cn-audit-card__date[data-v-3b6d70f7] {
|
|
24973
24973
|
width: auto;
|
|
24974
24974
|
margin: 0;
|
|
24975
24975
|
padding: 0;
|
|
@@ -24977,57 +24977,57 @@ a.cn-analytics-card__title[data-v-f3ca7b06]:hover {
|
|
|
24977
24977
|
white-space: nowrap;
|
|
24978
24978
|
color: var(--color-text-maxcontrast);
|
|
24979
24979
|
}
|
|
24980
|
-
.cn-audit-card__dated .cn-audit-card__dated-text[data-v-
|
|
24980
|
+
.cn-audit-card__dated .cn-audit-card__dated-text[data-v-3b6d70f7] {
|
|
24981
24981
|
margin: 0;
|
|
24982
24982
|
padding: 0;
|
|
24983
24983
|
text-align: start;
|
|
24984
24984
|
overflow-wrap: anywhere;
|
|
24985
24985
|
}
|
|
24986
|
-
.cn-audit-card__row[data-v-
|
|
24986
|
+
.cn-audit-card__row[data-v-3b6d70f7] {
|
|
24987
24987
|
padding: 6px 0;
|
|
24988
24988
|
border-bottom: 1px solid var(--color-border);
|
|
24989
24989
|
}
|
|
24990
|
-
.cn-audit-card__row[data-v-
|
|
24990
|
+
.cn-audit-card__row[data-v-3b6d70f7]:last-child {
|
|
24991
24991
|
border-bottom: none;
|
|
24992
24992
|
}
|
|
24993
|
-
.cn-audit-card__row-head[data-v-
|
|
24993
|
+
.cn-audit-card__row-head[data-v-3b6d70f7] {
|
|
24994
24994
|
display: flex;
|
|
24995
24995
|
justify-content: space-between;
|
|
24996
24996
|
gap: 8px;
|
|
24997
24997
|
}
|
|
24998
|
-
.cn-audit-card__action[data-v-
|
|
24998
|
+
.cn-audit-card__action[data-v-3b6d70f7] {
|
|
24999
24999
|
color: var(--color-main-text);
|
|
25000
25000
|
}
|
|
25001
|
-
.cn-audit-card__when[data-v-
|
|
25001
|
+
.cn-audit-card__when[data-v-3b6d70f7] {
|
|
25002
25002
|
color: var(--color-text-maxcontrast);
|
|
25003
25003
|
font-size: 0.85em;
|
|
25004
25004
|
white-space: nowrap;
|
|
25005
25005
|
}
|
|
25006
|
-
.cn-audit-card__row-body[data-v-
|
|
25006
|
+
.cn-audit-card__row-body[data-v-3b6d70f7] {
|
|
25007
25007
|
color: var(--color-text-maxcontrast);
|
|
25008
25008
|
font-size: 0.9em;
|
|
25009
25009
|
}
|
|
25010
|
-
.cn-audit-card__refused[data-v-
|
|
25010
|
+
.cn-audit-card__refused[data-v-3b6d70f7] {
|
|
25011
25011
|
margin-inline-start: 6px;
|
|
25012
25012
|
font-weight: 700;
|
|
25013
25013
|
color: var(--color-error-text, var(--color-main-text));
|
|
25014
25014
|
}
|
|
25015
|
-
.cn-audit-card__reason[data-v-
|
|
25015
|
+
.cn-audit-card__reason[data-v-3b6d70f7] {
|
|
25016
25016
|
margin: 2px 0 0;
|
|
25017
25017
|
font-size: 0.9em;
|
|
25018
25018
|
overflow-wrap: anywhere;
|
|
25019
25019
|
}
|
|
25020
|
-
.cn-audit-card__empty[data-v-
|
|
25020
|
+
.cn-audit-card__empty[data-v-3b6d70f7] {
|
|
25021
25021
|
color: var(--color-text-maxcontrast);
|
|
25022
25022
|
text-align: center;
|
|
25023
25023
|
padding: 12px 0;
|
|
25024
25024
|
}
|
|
25025
|
-
.cn-audit-card__footnote[data-v-
|
|
25025
|
+
.cn-audit-card__footnote[data-v-3b6d70f7] {
|
|
25026
25026
|
margin: 12px 0 0;
|
|
25027
25027
|
color: var(--color-text-maxcontrast);
|
|
25028
25028
|
font-size: 13px;
|
|
25029
25029
|
}
|
|
25030
|
-
.cn-audit-card__show-all[data-v-
|
|
25030
|
+
.cn-audit-card__show-all[data-v-3b6d70f7] {
|
|
25031
25031
|
background: none;
|
|
25032
25032
|
border: none;
|
|
25033
25033
|
color: var(--color-primary-element);
|
|
@@ -25035,7 +25035,7 @@ a.cn-analytics-card__title[data-v-f3ca7b06]:hover {
|
|
|
25035
25035
|
padding: 4px 0;
|
|
25036
25036
|
font: inherit;
|
|
25037
25037
|
}
|
|
25038
|
-
.cn-audit-card__show-all[data-v-
|
|
25038
|
+
.cn-audit-card__show-all[data-v-3b6d70f7]:hover {
|
|
25039
25039
|
text-decoration: underline;
|
|
25040
25040
|
}
|
|
25041
25041
|
|
|
@@ -36005,7 +36005,7 @@ a.cn-kpi-card--board * {
|
|
|
36005
36005
|
|
|
36006
36006
|
/* The title row carries an optional range select beside the label, which the
|
|
36007
36007
|
canonical `__title` (a plain truncating heading) does not account for. */
|
|
36008
|
-
.cn-stat-widget__label[data-v-
|
|
36008
|
+
.cn-stat-widget__label[data-v-4c29c40f] {
|
|
36009
36009
|
display: flex;
|
|
36010
36010
|
align-items: center;
|
|
36011
36011
|
justify-content: space-between;
|
|
@@ -36015,14 +36015,14 @@ a.cn-kpi-card--board * {
|
|
|
36015
36015
|
|
|
36016
36016
|
/* Stacked tile: the label and its range select centre over the number rather
|
|
36017
36017
|
than spreading to the card's edges. */
|
|
36018
|
-
.cn-kpi-card--vertical .cn-stat-widget__label[data-v-
|
|
36018
|
+
.cn-kpi-card--vertical .cn-stat-widget__label[data-v-4c29c40f] {
|
|
36019
36019
|
justify-content: center;
|
|
36020
36020
|
width: auto;
|
|
36021
36021
|
}
|
|
36022
36022
|
|
|
36023
36023
|
/* Sized down to sit inside the label row without pushing the tile taller —
|
|
36024
36024
|
the tile's height is fixed by its grid cell (ADR-062). */
|
|
36025
|
-
.cn-stat-widget__range[data-v-
|
|
36025
|
+
.cn-stat-widget__range[data-v-4c29c40f] {
|
|
36026
36026
|
flex: 0 0 auto;
|
|
36027
36027
|
max-width: 50%;
|
|
36028
36028
|
padding: 0 4px;
|
|
@@ -36034,15 +36034,15 @@ a.cn-kpi-card--board * {
|
|
|
36034
36034
|
font-weight: normal;
|
|
36035
36035
|
cursor: pointer;
|
|
36036
36036
|
}
|
|
36037
|
-
.cn-stat-widget__range[data-v-
|
|
36038
|
-
.cn-stat-widget__range[data-v-
|
|
36037
|
+
.cn-stat-widget__range[data-v-4c29c40f]:hover,
|
|
36038
|
+
.cn-stat-widget__range[data-v-4c29c40f]:focus-visible {
|
|
36039
36039
|
background: var(--color-background-hover);
|
|
36040
36040
|
color: var(--color-main-text);
|
|
36041
36041
|
}
|
|
36042
36042
|
|
|
36043
36043
|
/* Badge mode: the pill takes the value's place in the row. Sized to the
|
|
36044
36044
|
card's label scale so it sits in the row without pushing the tile taller. */
|
|
36045
|
-
.cn-stat-widget__badge[data-v-
|
|
36045
|
+
.cn-stat-widget__badge[data-v-4c29c40f] {
|
|
36046
36046
|
flex: 0 1 auto;
|
|
36047
36047
|
min-width: 0;
|
|
36048
36048
|
max-width: 100%;
|
|
@@ -36054,7 +36054,7 @@ a.cn-kpi-card--board * {
|
|
|
36054
36054
|
/* The denominator of a "value / limit" pair. Deliberately quieter and smaller
|
|
36055
36055
|
than the value: the tile's subject is what the number IS, not what it is
|
|
36056
36056
|
allowed to reach. Shares the value's `nowrap` so the pair never breaks. */
|
|
36057
|
-
.cn-stat-widget__limit[data-v-
|
|
36057
|
+
.cn-stat-widget__limit[data-v-4c29c40f] {
|
|
36058
36058
|
flex: 0 0 auto;
|
|
36059
36059
|
font-size: var(--cn-kpi-value-size-compact, 1.25rem);
|
|
36060
36060
|
font-weight: var(--cn-kpi-title-weight, 600);
|
|
@@ -36062,7 +36062,7 @@ a.cn-kpi-card--board * {
|
|
|
36062
36062
|
color: var(--cn-kpi-label-color, var(--color-text-maxcontrast));
|
|
36063
36063
|
white-space: nowrap;
|
|
36064
36064
|
}
|
|
36065
|
-
.cn-stat-widget__trend[data-v-
|
|
36065
|
+
.cn-stat-widget__trend[data-v-4c29c40f] {
|
|
36066
36066
|
display: inline-flex;
|
|
36067
36067
|
align-items: center;
|
|
36068
36068
|
gap: 2px;
|
|
@@ -36075,7 +36075,7 @@ a.cn-kpi-card--board * {
|
|
|
36075
36075
|
error dash is literally a `cn-kpi-card__value`, and two components showing
|
|
36076
36076
|
the same failure at two different sizes is the drift this consolidation
|
|
36077
36077
|
exists to remove. Only the colour differs: a failure is not a number. */
|
|
36078
|
-
.cn-stat-widget__error[data-v-
|
|
36078
|
+
.cn-stat-widget__error[data-v-4c29c40f] {
|
|
36079
36079
|
font-size: var(--cn-kpi-value-size, 2rem);
|
|
36080
36080
|
font-weight: var(--cn-kpi-value-weight, 700);
|
|
36081
36081
|
line-height: var(--cn-kpi-value-line, 1.1);
|
|
@@ -38010,19 +38010,19 @@ to { background-position: -200% 0;
|
|
|
38010
38010
|
}
|
|
38011
38011
|
|
|
38012
38012
|
|
|
38013
|
-
.cn-timeline-widget[data-v-
|
|
38013
|
+
.cn-timeline-widget[data-v-b5aa88b8] {
|
|
38014
38014
|
display: flex;
|
|
38015
38015
|
flex-direction: column;
|
|
38016
38016
|
gap: 8px;
|
|
38017
38017
|
}
|
|
38018
|
-
.cn-timeline-widget__chips[data-v-
|
|
38018
|
+
.cn-timeline-widget__chips[data-v-b5aa88b8] {
|
|
38019
38019
|
display: flex;
|
|
38020
38020
|
flex-wrap: wrap;
|
|
38021
38021
|
gap: 8px;
|
|
38022
38022
|
}
|
|
38023
38023
|
|
|
38024
38024
|
/* Type chips are pills, as the manage view's kind chips. */
|
|
38025
|
-
.cn-timeline-widget__chip[data-v-
|
|
38025
|
+
.cn-timeline-widget__chip[data-v-b5aa88b8] {
|
|
38026
38026
|
display: inline-flex;
|
|
38027
38027
|
align-items: center;
|
|
38028
38028
|
box-sizing: border-box;
|
|
@@ -38038,38 +38038,38 @@ to { background-position: -200% 0;
|
|
|
38038
38038
|
font-weight: 600;
|
|
38039
38039
|
cursor: pointer;
|
|
38040
38040
|
}
|
|
38041
|
-
.cn-timeline-widget__chip--active[data-v-
|
|
38041
|
+
.cn-timeline-widget__chip--active[data-v-b5aa88b8] {
|
|
38042
38042
|
border: 0;
|
|
38043
38043
|
background: var(--color-main-text);
|
|
38044
38044
|
color: var(--color-main-background);
|
|
38045
38045
|
}
|
|
38046
|
-
.cn-timeline-widget__chip[data-v-
|
|
38046
|
+
.cn-timeline-widget__chip[data-v-b5aa88b8]:focus-visible {
|
|
38047
38047
|
outline: 2px solid var(--color-primary-element);
|
|
38048
38048
|
outline-offset: 2px;
|
|
38049
38049
|
}
|
|
38050
|
-
.cn-timeline-widget__composer[data-v-
|
|
38050
|
+
.cn-timeline-widget__composer[data-v-b5aa88b8] {
|
|
38051
38051
|
display: flex;
|
|
38052
38052
|
align-items: flex-start;
|
|
38053
38053
|
gap: 10px;
|
|
38054
38054
|
}
|
|
38055
|
-
.cn-timeline-widget__composer-input[data-v-
|
|
38055
|
+
.cn-timeline-widget__composer-input[data-v-b5aa88b8] {
|
|
38056
38056
|
flex: 1;
|
|
38057
38057
|
min-width: 0;
|
|
38058
38058
|
}
|
|
38059
|
-
.cn-timeline-widget__note-error[data-v-
|
|
38059
|
+
.cn-timeline-widget__note-error[data-v-b5aa88b8] {
|
|
38060
38060
|
margin: 0;
|
|
38061
38061
|
color: var(--color-error-text, var(--color-error));
|
|
38062
38062
|
}
|
|
38063
38063
|
|
|
38064
38064
|
/* feed: a round icon, a meta line and the text, a hairline above each row. */
|
|
38065
|
-
.cn-timeline-widget__feed-row[data-v-
|
|
38065
|
+
.cn-timeline-widget__feed-row[data-v-b5aa88b8] {
|
|
38066
38066
|
display: flex;
|
|
38067
38067
|
align-items: flex-start;
|
|
38068
38068
|
gap: 14px;
|
|
38069
38069
|
padding: 12px 0;
|
|
38070
38070
|
border-top: 1px solid var(--color-border);
|
|
38071
38071
|
}
|
|
38072
|
-
.cn-timeline-widget__feed-icon[data-v-
|
|
38072
|
+
.cn-timeline-widget__feed-icon[data-v-b5aa88b8] {
|
|
38073
38073
|
display: flex;
|
|
38074
38074
|
flex: none;
|
|
38075
38075
|
align-items: center;
|
|
@@ -38080,57 +38080,57 @@ to { background-position: -200% 0;
|
|
|
38080
38080
|
background: var(--color-background-hover);
|
|
38081
38081
|
color: var(--color-text-maxcontrast);
|
|
38082
38082
|
}
|
|
38083
|
-
.cn-timeline-widget__feed-dot[data-v-
|
|
38083
|
+
.cn-timeline-widget__feed-dot[data-v-b5aa88b8] {
|
|
38084
38084
|
width: 8px;
|
|
38085
38085
|
height: 8px;
|
|
38086
38086
|
border-radius: 50%;
|
|
38087
38087
|
background: currentColor;
|
|
38088
38088
|
}
|
|
38089
|
-
.cn-timeline-widget__feed-body[data-v-
|
|
38089
|
+
.cn-timeline-widget__feed-body[data-v-b5aa88b8] {
|
|
38090
38090
|
display: flex;
|
|
38091
38091
|
flex: 1;
|
|
38092
38092
|
flex-direction: column;
|
|
38093
38093
|
gap: 3px;
|
|
38094
38094
|
min-width: 0;
|
|
38095
38095
|
}
|
|
38096
|
-
.cn-timeline-widget__feed-meta[data-v-
|
|
38096
|
+
.cn-timeline-widget__feed-meta[data-v-b5aa88b8] {
|
|
38097
38097
|
font-size: 13px;
|
|
38098
38098
|
color: var(--color-text-maxcontrast);
|
|
38099
38099
|
}
|
|
38100
|
-
.cn-timeline-widget__feed-text[data-v-
|
|
38100
|
+
.cn-timeline-widget__feed-text[data-v-b5aa88b8] {
|
|
38101
38101
|
font-size: 15px;
|
|
38102
38102
|
overflow-wrap: anywhere;
|
|
38103
38103
|
}
|
|
38104
|
-
.cn-timeline-widget__feed-detail[data-v-
|
|
38104
|
+
.cn-timeline-widget__feed-detail[data-v-b5aa88b8] {
|
|
38105
38105
|
font-size: 14px;
|
|
38106
38106
|
color: var(--color-text-maxcontrast);
|
|
38107
38107
|
overflow-wrap: anywhere;
|
|
38108
38108
|
}
|
|
38109
|
-
.cn-timeline-widget__meta[data-v-
|
|
38109
|
+
.cn-timeline-widget__meta[data-v-b5aa88b8] {
|
|
38110
38110
|
margin: 0;
|
|
38111
38111
|
color: var(--color-text-maxcontrast);
|
|
38112
38112
|
font-size: 0.9em;
|
|
38113
38113
|
}
|
|
38114
|
-
.cn-timeline-widget__title[data-v-
|
|
38114
|
+
.cn-timeline-widget__title[data-v-b5aa88b8] {
|
|
38115
38115
|
margin: 0;
|
|
38116
38116
|
font-size: var(--font-size-large, 1.1em);
|
|
38117
38117
|
}
|
|
38118
|
-
.cn-timeline-widget__loading[data-v-
|
|
38118
|
+
.cn-timeline-widget__loading[data-v-b5aa88b8] {
|
|
38119
38119
|
display: flex;
|
|
38120
38120
|
align-items: center;
|
|
38121
38121
|
gap: 8px;
|
|
38122
38122
|
color: var(--color-text-maxcontrast);
|
|
38123
38123
|
}
|
|
38124
|
-
.cn-timeline-widget__empty[data-v-
|
|
38124
|
+
.cn-timeline-widget__empty[data-v-b5aa88b8] {
|
|
38125
38125
|
margin: 0;
|
|
38126
38126
|
color: var(--color-text-maxcontrast);
|
|
38127
38127
|
}
|
|
38128
|
-
.cn-timeline-widget__list[data-v-
|
|
38128
|
+
.cn-timeline-widget__list[data-v-b5aa88b8] {
|
|
38129
38129
|
margin: 0;
|
|
38130
38130
|
padding: 0;
|
|
38131
38131
|
list-style: none;
|
|
38132
38132
|
}
|
|
38133
|
-
.cn-timeline-widget__event[data-v-
|
|
38133
|
+
.cn-timeline-widget__event[data-v-b5aa88b8] {
|
|
38134
38134
|
position: relative;
|
|
38135
38135
|
display: flex;
|
|
38136
38136
|
gap: 12px;
|
|
@@ -38138,18 +38138,18 @@ to { background-position: -200% 0;
|
|
|
38138
38138
|
}
|
|
38139
38139
|
|
|
38140
38140
|
/* The line between dots: drawn from each dot down to the next event. */
|
|
38141
|
-
.cn-timeline-widget__event[data-v-
|
|
38141
|
+
.cn-timeline-widget__event[data-v-b5aa88b8]:not(:last-child)::before {
|
|
38142
38142
|
content: '';
|
|
38143
38143
|
position: absolute;
|
|
38144
38144
|
inset-block: 14px 0;
|
|
38145
38145
|
inset-inline-start: 5px;
|
|
38146
38146
|
border-inline-start: 2px solid var(--color-border-dark);
|
|
38147
38147
|
}
|
|
38148
|
-
.cn-timeline-widget__icon[data-v-
|
|
38148
|
+
.cn-timeline-widget__icon[data-v-b5aa88b8] {
|
|
38149
38149
|
flex: 0 0 auto;
|
|
38150
38150
|
color: var(--color-text-maxcontrast);
|
|
38151
38151
|
}
|
|
38152
|
-
.cn-timeline-widget__dot[data-v-
|
|
38152
|
+
.cn-timeline-widget__dot[data-v-b5aa88b8] {
|
|
38153
38153
|
flex: 0 0 auto;
|
|
38154
38154
|
width: 12px;
|
|
38155
38155
|
height: 12px;
|
|
@@ -38159,29 +38159,29 @@ to { background-position: -200% 0;
|
|
|
38159
38159
|
}
|
|
38160
38160
|
|
|
38161
38161
|
/* Upcoming: a hollow dot, plus the word "Upcoming" beside the date. */
|
|
38162
|
-
.cn-timeline-widget__event--upcoming .cn-timeline-widget__dot[data-v-
|
|
38162
|
+
.cn-timeline-widget__event--upcoming .cn-timeline-widget__dot[data-v-b5aa88b8] {
|
|
38163
38163
|
box-sizing: border-box;
|
|
38164
38164
|
border: 2px solid var(--color-primary-element);
|
|
38165
38165
|
background-color: var(--color-main-background);
|
|
38166
38166
|
}
|
|
38167
|
-
.cn-timeline-widget__body[data-v-
|
|
38167
|
+
.cn-timeline-widget__body[data-v-b5aa88b8] {
|
|
38168
38168
|
min-width: 0;
|
|
38169
38169
|
}
|
|
38170
|
-
.cn-timeline-widget__when[data-v-
|
|
38170
|
+
.cn-timeline-widget__when[data-v-b5aa88b8] {
|
|
38171
38171
|
font-size: var(--font-size-small, 13px);
|
|
38172
38172
|
color: var(--color-text-maxcontrast);
|
|
38173
38173
|
}
|
|
38174
|
-
.cn-timeline-widget__badge[data-v-
|
|
38174
|
+
.cn-timeline-widget__badge[data-v-b5aa88b8] {
|
|
38175
38175
|
margin-inline-start: 8px;
|
|
38176
38176
|
font-size: var(--font-size-small, 13px);
|
|
38177
38177
|
font-weight: bold;
|
|
38178
38178
|
color: var(--color-main-text);
|
|
38179
38179
|
}
|
|
38180
|
-
.cn-timeline-widget__label[data-v-
|
|
38180
|
+
.cn-timeline-widget__label[data-v-b5aa88b8] {
|
|
38181
38181
|
margin: 0;
|
|
38182
38182
|
font-weight: bold;
|
|
38183
38183
|
}
|
|
38184
|
-
.cn-timeline-widget__detail[data-v-
|
|
38184
|
+
.cn-timeline-widget__detail[data-v-b5aa88b8] {
|
|
38185
38185
|
margin: 0;
|
|
38186
38186
|
overflow-wrap: anywhere;
|
|
38187
38187
|
}
|
|
@@ -39072,20 +39072,20 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39072
39072
|
|
|
39073
39073
|
|
|
39074
39074
|
/* A stack (`widgetIds`): the panel's widget, then cards 20px apart. */
|
|
39075
|
-
.cn-tabs-widget__panel-heading[data-v-
|
|
39075
|
+
.cn-tabs-widget__panel-heading[data-v-67dcb812] {
|
|
39076
39076
|
display: flex;
|
|
39077
39077
|
flex-direction: column;
|
|
39078
39078
|
gap: 4px;
|
|
39079
39079
|
margin-bottom: 16px;
|
|
39080
39080
|
}
|
|
39081
|
-
.cn-tabs-widget__panel-heading--actions[data-v-
|
|
39081
|
+
.cn-tabs-widget__panel-heading--actions[data-v-67dcb812] {
|
|
39082
39082
|
flex-direction: row;
|
|
39083
39083
|
flex-wrap: wrap;
|
|
39084
39084
|
align-items: flex-start;
|
|
39085
39085
|
justify-content: space-between;
|
|
39086
39086
|
gap: 10px 16px;
|
|
39087
39087
|
}
|
|
39088
|
-
.cn-tabs-widget__panel-heading-text[data-v-
|
|
39088
|
+
.cn-tabs-widget__panel-heading-text[data-v-67dcb812] {
|
|
39089
39089
|
display: flex;
|
|
39090
39090
|
flex-direction: column;
|
|
39091
39091
|
gap: 4px;
|
|
@@ -39094,24 +39094,24 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39094
39094
|
|
|
39095
39095
|
/* The 260px basis is a width in the actions row; in the column heading it
|
|
39096
39096
|
would be a height. */
|
|
39097
|
-
.cn-tabs-widget__panel-heading--actions > .cn-tabs-widget__panel-heading-text[data-v-
|
|
39097
|
+
.cn-tabs-widget__panel-heading--actions > .cn-tabs-widget__panel-heading-text[data-v-67dcb812] {
|
|
39098
39098
|
flex: 1 1 260px;
|
|
39099
39099
|
}
|
|
39100
|
-
.cn-tabs-widget__panel-actions[data-v-
|
|
39100
|
+
.cn-tabs-widget__panel-actions[data-v-67dcb812] {
|
|
39101
39101
|
display: flex;
|
|
39102
39102
|
justify-content: flex-end;
|
|
39103
39103
|
margin-bottom: 16px;
|
|
39104
39104
|
}
|
|
39105
|
-
.cn-tabs-widget__panel-title[data-v-
|
|
39105
|
+
.cn-tabs-widget__panel-title[data-v-67dcb812] {
|
|
39106
39106
|
margin: 0;
|
|
39107
39107
|
font-size: 17px;
|
|
39108
39108
|
font-weight: 700;
|
|
39109
39109
|
}
|
|
39110
|
-
.cn-tabs-widget__panel-subtitle[data-v-
|
|
39110
|
+
.cn-tabs-widget__panel-subtitle[data-v-67dcb812] {
|
|
39111
39111
|
font-size: 14px;
|
|
39112
39112
|
color: var(--color-text-maxcontrast);
|
|
39113
39113
|
}
|
|
39114
|
-
.cn-tabs-widget__stack[data-v-
|
|
39114
|
+
.cn-tabs-widget__stack[data-v-67dcb812] {
|
|
39115
39115
|
display: flex;
|
|
39116
39116
|
flex-direction: column;
|
|
39117
39117
|
gap: 20px;
|
|
@@ -39120,19 +39120,19 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39120
39120
|
/* A gridded stack (`columns` / `layout` on the tab): 12 columns, widgets wrap
|
|
39121
39121
|
onto the next row, a row's cards as tall as the tallest. Narrow, it is the
|
|
39122
39122
|
plain stack again. */
|
|
39123
|
-
.cn-tabs-widget__stack--grid[data-v-
|
|
39123
|
+
.cn-tabs-widget__stack--grid[data-v-67dcb812] {
|
|
39124
39124
|
display: grid;
|
|
39125
39125
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
39126
39126
|
align-items: stretch;
|
|
39127
39127
|
}
|
|
39128
|
-
.cn-tabs-widget__stack--grid[data-v-
|
|
39128
|
+
.cn-tabs-widget__stack--grid[data-v-67dcb812] > * {
|
|
39129
39129
|
min-width: 0;
|
|
39130
39130
|
}
|
|
39131
39131
|
@media (max-width: 700px) {
|
|
39132
|
-
.cn-tabs-widget__stack--grid[data-v-
|
|
39132
|
+
.cn-tabs-widget__stack--grid[data-v-67dcb812] {
|
|
39133
39133
|
grid-template-columns: minmax(0, 1fr);
|
|
39134
39134
|
}
|
|
39135
|
-
.cn-tabs-widget__stack--grid[data-v-
|
|
39135
|
+
.cn-tabs-widget__stack--grid[data-v-67dcb812] > * {
|
|
39136
39136
|
grid-column: auto !important;
|
|
39137
39137
|
}
|
|
39138
39138
|
}
|
|
@@ -39166,7 +39166,7 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39166
39166
|
`!important` or on load order this library does not control. The same
|
|
39167
39167
|
technique, for the same reason, is used on `.cn-tabs__nav .cn-tabs__nav-item`
|
|
39168
39168
|
in CnTabs to beat Nextcloud's own button margin. */
|
|
39169
|
-
.cn-tabs-widget.cn-tabs-widget[data-v-
|
|
39169
|
+
.cn-tabs-widget.cn-tabs-widget[data-v-67dcb812] {
|
|
39170
39170
|
background-color: transparent;
|
|
39171
39171
|
border: 0;
|
|
39172
39172
|
border-radius: 0;
|
|
@@ -39190,12 +39190,12 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39190
39190
|
below it: the rule ran straight on to the widget's edge and read as a
|
|
39191
39191
|
border sticking out past a rounded corner (Ruben, 2026-09-13). Ending it
|
|
39192
39192
|
where the curve begins makes the rule and the curve one continuous edge. */
|
|
39193
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39193
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tabs__bar {
|
|
39194
39194
|
border-bottom: none;
|
|
39195
39195
|
padding: 0;
|
|
39196
39196
|
position: relative;
|
|
39197
39197
|
}
|
|
39198
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39198
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tabs__bar::after {
|
|
39199
39199
|
border-bottom: 1px solid var(--color-border);
|
|
39200
39200
|
content: '';
|
|
39201
39201
|
inset-block-end: 0;
|
|
@@ -39208,11 +39208,11 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39208
39208
|
own background-coloured bottom edge, which only works if it paints ABOVE the
|
|
39209
39209
|
pseudo-element: a positioned pseudo-element otherwise paints over every
|
|
39210
39210
|
in-flow sibling, rule included. */
|
|
39211
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39211
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tabs__nav-item--active {
|
|
39212
39212
|
position: relative;
|
|
39213
39213
|
z-index: 1;
|
|
39214
39214
|
}
|
|
39215
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39215
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] {
|
|
39216
39216
|
display: flex;
|
|
39217
39217
|
flex-direction: column;
|
|
39218
39218
|
/* Grow to the widget's height, so the panel fills the grid cell the
|
|
@@ -39230,7 +39230,7 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39230
39230
|
the open tab, but padding sits inside the painted box — only a margin would
|
|
39231
39231
|
have opened that gap, and a zero top put every panel's content against the
|
|
39232
39232
|
strip. */
|
|
39233
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39233
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tabs__content {
|
|
39234
39234
|
background-color: var(--color-main-background);
|
|
39235
39235
|
/* Three sides only: the bar's rule (redrawn above, stopping at the corner)
|
|
39236
39236
|
is this sheet's top edge, and the open tab erases the slice of it
|
|
@@ -39250,7 +39250,7 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39250
39250
|
overflow: auto;
|
|
39251
39251
|
padding: 12px;
|
|
39252
39252
|
}
|
|
39253
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39253
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tab {
|
|
39254
39254
|
height: 100%;
|
|
39255
39255
|
}
|
|
39256
39256
|
|
|
@@ -39258,13 +39258,13 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39258
39258
|
(margin 0 -16px -16px). The panel of a tab pads 12px, so on a tab that
|
|
39259
39259
|
holds the list directly the footer stuck out 4px on the right and at the
|
|
39260
39260
|
bottom and made the panel scroll. It bleeds exactly the panel's padding. */
|
|
39261
|
-
.cn-tabs-widget__tabs[data-v-
|
|
39261
|
+
.cn-tabs-widget__tabs[data-v-67dcb812] .cn-tabs__content > .cn-tab > .cn-detail-widget-host--bare .cn-object-list-widget__add {
|
|
39262
39262
|
margin: auto -12px -12px;
|
|
39263
39263
|
}
|
|
39264
39264
|
|
|
39265
39265
|
/* The open panel's header link, beside the strip. Same look and theme hooks
|
|
39266
39266
|
as a card header link (CnWidgetWrapper). */
|
|
39267
|
-
.cn-tabs-widget__header-link[data-v-
|
|
39267
|
+
.cn-tabs-widget__header-link[data-v-67dcb812] {
|
|
39268
39268
|
align-self: center;
|
|
39269
39269
|
padding: 0 calc(1 * var(--default-grid-baseline));
|
|
39270
39270
|
color: var(--color-primary-element);
|
|
@@ -39273,21 +39273,21 @@ button.cn-stepper__step[data-v-35fcd122] {
|
|
|
39273
39273
|
text-decoration: none;
|
|
39274
39274
|
white-space: nowrap;
|
|
39275
39275
|
}
|
|
39276
|
-
.cn-tabs-widget__header-link[data-v-
|
|
39277
|
-
.cn-tabs-widget__header-link[data-v-
|
|
39276
|
+
.cn-tabs-widget__header-link[data-v-67dcb812]:hover,
|
|
39277
|
+
.cn-tabs-widget__header-link[data-v-67dcb812]:focus-visible {
|
|
39278
39278
|
text-decoration: underline;
|
|
39279
39279
|
}
|
|
39280
|
-
.cn-tabs-widget__header-link[data-v-
|
|
39280
|
+
.cn-tabs-widget__header-link[data-v-67dcb812]:focus-visible {
|
|
39281
39281
|
outline: 2px solid var(--color-primary-element);
|
|
39282
39282
|
outline-offset: 2px;
|
|
39283
39283
|
border-radius: var(--border-radius-small, 4px);
|
|
39284
39284
|
}
|
|
39285
|
-
.cn-tabs-widget__title[data-v-
|
|
39285
|
+
.cn-tabs-widget__title[data-v-67dcb812] {
|
|
39286
39286
|
align-items: center;
|
|
39287
39287
|
display: inline-flex;
|
|
39288
39288
|
gap: 6px;
|
|
39289
39289
|
}
|
|
39290
|
-
.cn-tabs-widget__title-icon[data-v-
|
|
39290
|
+
.cn-tabs-widget__title-icon[data-v-67dcb812] {
|
|
39291
39291
|
flex: 0 0 auto;
|
|
39292
39292
|
}
|
|
39293
39293
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conduction/nextcloud-vue",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.161.0",
|
|
4
4
|
"description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
|
|
5
5
|
"homepage": "https://github.com/ConductionNL/nextcloud-vue#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -81,7 +81,7 @@ import { NcLoadingIcon } from '@nextcloud/vue'
|
|
|
81
81
|
import { markRaw } from 'vue'
|
|
82
82
|
import History from 'vue-material-design-icons/History.vue'
|
|
83
83
|
import CnDetailCard from '../CnDetailCard/CnDetailCard.vue'
|
|
84
|
-
import { keepAuditEntries } from '../../utils/auditEntries.js'
|
|
84
|
+
import { auditExclusionParams, keepAuditEntries } from '../../utils/auditEntries.js'
|
|
85
85
|
import { actionLabelFor, changedValue, changeLabelFor, fillAuditLabel } from '../../utils/auditLabels.js'
|
|
86
86
|
import { formatBoardDate, formatTimeOfDay } from '../../utils/boardDate.js'
|
|
87
87
|
import { buildHeaders, prefixUrl } from '../../utils/index.js'
|
|
@@ -348,6 +348,7 @@ export default {
|
|
|
348
348
|
if (!this.register || !this.schema || !this.objectId) {
|
|
349
349
|
return ''
|
|
350
350
|
}
|
|
351
|
+
this.addExclusions(params)
|
|
351
352
|
return `${this.apiBase}/objects/${this.register}/${this.schema}/${this.objectId}/audit-trails?${params.toString()}`
|
|
352
353
|
},
|
|
353
354
|
},
|
|
@@ -364,6 +365,21 @@ export default {
|
|
|
364
365
|
},
|
|
365
366
|
|
|
366
367
|
methods: {
|
|
368
|
+
/**
|
|
369
|
+
* Ask an object trail to leave out the excluded actions and actors in
|
|
370
|
+
* the query (`action[notIn]`, `user[notIn]`), so its pages hold what the
|
|
371
|
+
* card shows. `keepAuditEntries` still filters what comes back.
|
|
372
|
+
*
|
|
373
|
+
* @param {URLSearchParams} params The trail query, changed in place.
|
|
374
|
+
* @return {void}
|
|
375
|
+
* @spec openspec/changes/audit-card-exclusions-in-the-query/specs/audit-trail/spec.md#requirement-a-history-card-asks-the-trail-to-leave-out-what-it-hides
|
|
376
|
+
*/
|
|
377
|
+
addExclusions(params) {
|
|
378
|
+
for (const [key, value] of Object.entries(auditExclusionParams({ excludeActions: this.excludeActions, excludeActors: this.excludeActors }))) {
|
|
379
|
+
params.set(key, value)
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
|
|
367
383
|
/**
|
|
368
384
|
* Read the entries from `fetchUrl`. The readable feed answers
|
|
369
385
|
* `{ rows, nextCursor }`, the object trail `{ results }`.
|
|
@@ -471,7 +487,9 @@ export default {
|
|
|
471
487
|
}
|
|
472
488
|
const objects = await read(`${this.apiBase}/objects/${source.register}/${source.schema}?${params.toString()}`)
|
|
473
489
|
const ids = objects.map((object) => object?.id || object?.['@self']?.id || object?.uuid).filter(Boolean)
|
|
474
|
-
const
|
|
490
|
+
const trailParams = new URLSearchParams({ limit: String(limit) })
|
|
491
|
+
this.addExclusions(trailParams)
|
|
492
|
+
const trails = await Promise.all(ids.map((id) => read(`${this.apiBase}/objects/${source.register}/${source.schema}/${id}/audit-trails?${trailParams.toString()}`).catch(() => [])))
|
|
475
493
|
return trails.flat().map((entry) => ({ ...entry, relatedAs: source.as || source.schema }))
|
|
476
494
|
} catch {
|
|
477
495
|
return []
|
|
@@ -689,12 +689,17 @@ export default {
|
|
|
689
689
|
* placeholder in the source string and can move it within the sentence —
|
|
690
690
|
* the same contract as Nextcloud's own `t()` parameters.
|
|
691
691
|
*
|
|
692
|
+
* `@object.<field>`, `@objectId`, `@workspace.<key>` and `@config.<key>`
|
|
693
|
+
* read the page's contexts as a source's tokens do, so a register-counted
|
|
694
|
+
* tile can name its record's own figure ("of @object.capacity places").
|
|
695
|
+
*
|
|
692
696
|
* A token with no matching field resolves to the empty string rather
|
|
693
697
|
* than being left as `{levelName}` on screen: a caption is decoration,
|
|
694
698
|
* and showing a reader a raw token is worse than showing them less.
|
|
695
699
|
*
|
|
696
700
|
* @return {string}
|
|
697
701
|
* @spec openspec/changes/stat-caption-formats/specs/stat-widget/spec.md#requirement-a-stat-caption-token-can-carry-a-format
|
|
702
|
+
* @spec openspec/changes/stat-caption-object-token/specs/stat-caption-object-token/spec.md#requirement-a-stat-caption-can-name-a-field-of-the-pages-record
|
|
698
703
|
*/
|
|
699
704
|
resolvedCaption() {
|
|
700
705
|
const override = this.activeOverride
|
|
@@ -713,7 +718,11 @@ export default {
|
|
|
713
718
|
const zero = count !== null && this.content.captionSource.zeroText
|
|
714
719
|
return typeof zero === 'string' && zero !== '' ? this.effectiveTranslate(zero) : ''
|
|
715
720
|
}
|
|
716
|
-
|
|
721
|
+
// `@object.<field>` names a field of the page's record (PqEvenement
|
|
722
|
+
// "van @object.capacity plaatsen" on a register-counted tile).
|
|
723
|
+
const translated = caption.indexOf('@') === -1
|
|
724
|
+
? this.effectiveTranslate(caption)
|
|
725
|
+
: this.interpolateTokens(this.effectiveTranslate(caption)).replace(/\s{2,}/g, ' ').trim()
|
|
717
726
|
if (translated.indexOf('{') === -1) {
|
|
718
727
|
return translated
|
|
719
728
|
}
|
|
@@ -229,7 +229,7 @@ import CnTabs from '../CnTabs/CnTabs.vue'
|
|
|
229
229
|
import CnWidgetHeaderActionButtons from '../CnWidgetWrapper/CnWidgetHeaderActionButtons.vue'
|
|
230
230
|
import { normalizeLook } from '../../composables/useLook.js'
|
|
231
231
|
import { dispatchAction } from '../../utils/actionsDispatcher.js'
|
|
232
|
-
import { keepAuditEntries } from '../../utils/auditEntries.js'
|
|
232
|
+
import { auditExclusionParams, keepAuditEntries } from '../../utils/auditEntries.js'
|
|
233
233
|
import { headerLinkTarget, resolveHeaderLink, widgetHeaderLink } from '../../utils/contentHeaderLink.js'
|
|
234
234
|
import { resolveTabCount } from '../../utils/detailActionModel.js'
|
|
235
235
|
import { detailWidgetVisible } from '../../utils/detailWidgetVisibility.js'
|
|
@@ -1435,7 +1435,8 @@ export default {
|
|
|
1435
1435
|
return null
|
|
1436
1436
|
}
|
|
1437
1437
|
try {
|
|
1438
|
-
const
|
|
1438
|
+
const query = new URLSearchParams({ limit: '100', ...auditExclusionParams(source) })
|
|
1439
|
+
const response = await fetch(prefixUrl(`/apps/openregister/api/objects/${register}/${schema}/${this.objectId}/audit-trails?${query.toString()}`), { headers: buildHeaders() })
|
|
1439
1440
|
if (!response.ok) {
|
|
1440
1441
|
return null
|
|
1441
1442
|
}
|
|
@@ -153,7 +153,7 @@ import CnIcon from '../CnIcon/CnIcon.vue'
|
|
|
153
153
|
import CnNoteComposer from '../CnNoteComposer/CnNoteComposer.vue'
|
|
154
154
|
import CnTimelineManage from './CnTimelineManage.vue'
|
|
155
155
|
import { useRefLabels } from '../../composables/useRefLabels.js'
|
|
156
|
-
import { keepAuditEntries } from '../../utils/auditEntries.js'
|
|
156
|
+
import { auditExclusionParams, keepAuditEntries } from '../../utils/auditEntries.js'
|
|
157
157
|
import { auditLabel } from '../../utils/auditLabels.js'
|
|
158
158
|
import { readPath } from '../../utils/readPath.js'
|
|
159
159
|
import { auditEvents, endpointEvents, fieldEvents, listEvents, relatedEvents, sortEvents, timelineEntryEvents } from '../../utils/timelineEvents.js'
|
|
@@ -813,7 +813,7 @@ export default {
|
|
|
813
813
|
})
|
|
814
814
|
|
|
815
815
|
if (this.content.auditTrail === true) {
|
|
816
|
-
jobs.push(axios.get(generateUrl(`${base}/audit-trails`), { params: { limit: this.content.auditLimit || 50 } })
|
|
816
|
+
jobs.push(axios.get(generateUrl(`${base}/audit-trails`), { params: { limit: this.content.auditLimit || 50, ...auditExclusionParams(this.content) } })
|
|
817
817
|
.then((r) => {
|
|
818
818
|
const data = r && r.data
|
|
819
819
|
this.auditEntries = (data && (data.results || data)) || []
|