@conduction/nextcloud-vue 2.104.0 → 2.106.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/CnAdminSettingsShell/CnAdminSettingsShell.vue.js +1 -1
- package/dist/esm/components/CnAdminSettingsShell/CnAdminSettingsShell.vue2.js.map +1 -1
- package/dist/esm/components/CnAdminSettingsShell/CnAdminSettingsShell.vue3.js +1 -1
- package/dist/esm/components/CnAdminSettingsShell/CnAdminSettingsShell.vue3.js.map +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue.js +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue2.js +18 -0
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue2.js.map +1 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue3.js +3 -1
- package/dist/esm/components/CnCardGrid/CnCardGrid.vue3.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js +18 -0
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue2.js.map +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js +1 -1
- package/dist/esm/components/CnCellRenderer/CnCellRenderer.vue3.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue.js +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js +93 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnChartWidget/CnChartWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue.js +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js +6 -3
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +3 -3
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js +112 -5
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailPage/CnDetailPage.vue3.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js +9 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue.js.map +1 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js +24 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue2.js.map +1 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js +49 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue3.js.map +1 -0
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue.js +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js +36 -18
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue2.js.map +1 -1
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js +17 -38
- package/dist/esm/components/CnDetailWidgetHost/CnDetailWidgetHost.vue3.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue.js +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFactsWidget/CnFactsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue.js +1 -1
- package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue2.js +1 -1
- package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue2.js.map +1 -1
- package/dist/esm/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue3.js.map +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue.js +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js +2 -0
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js +32 -29
- package/dist/esm/components/CnFeaturesBoard/CnFeaturesBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue.js +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js +53 -2
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue2.js.map +1 -1
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js +119 -111
- package/dist/esm/components/CnFilesBrowser/CnFilesBrowser.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowRunsWidget/CnFlowRunsWidget.vue.js +1 -1
- package/dist/esm/components/CnFlowRunsWidget/CnFlowRunsWidget.vue2.js +62 -1
- package/dist/esm/components/CnFlowRunsWidget/CnFlowRunsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowRunsWidget/CnFlowRunsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue.js +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js +73 -4
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue2.js.map +1 -1
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js +74 -27
- package/dist/esm/components/CnFlowsPage/CnFlowBoard.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +208 -46
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +121 -98
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPageWidgets.vue.js +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPageWidgets.vue2.js +24 -0
- package/dist/esm/components/CnIndexPage/CnIndexPageWidgets.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPageWidgets.vue3.js +20 -4
- package/dist/esm/components/CnIndexPage/CnIndexPageWidgets.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/useSelfFetchList.js +25 -6
- package/dist/esm/components/CnIndexPage/useSelfFetchList.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js +112 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js +100 -44
- package/dist/esm/components/CnIndexSidebar/CnIndexSidebar.vue3.js.map +1 -1
- package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue.js +1 -1
- package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue2.js +67 -4
- package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue3.js +1 -1
- package/dist/esm/components/CnNcWidgetWidget/CnNcWidgetWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue.js +9 -0
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue.js.map +1 -0
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue2.js +88 -0
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue3.js +39 -0
- package/dist/esm/components/CnNoticeWidget/CnNoticeWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue.js +1 -1
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue2.js +295 -12
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue3.js +267 -144
- package/dist/esm/components/CnObjectCard/CnObjectCard.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue2.js +4 -0
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue3.js +3 -1
- package/dist/esm/components/CnObjectSidebar/CnFilesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue.js +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js +93 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js +322 -246
- package/dist/esm/components/CnRecordListWidget/CnRecordListWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue.js +1 -1
- package/dist/esm/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue2.js +122 -7
- package/dist/esm/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue3.js +189 -93
- package/dist/esm/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue.js +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue2.js.map +1 -1
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js +3 -3
- package/dist/esm/components/CnSettingsField/CnSettingsField.vue3.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue.js +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue2.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js +16 -4
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js.map +1 -1
- package/dist/esm/components/CnTabs/CnTabs.vue.js +1 -1
- package/dist/esm/components/CnTabs/CnTabs.vue2.js.map +1 -1
- package/dist/esm/components/CnTabs/CnTabs.vue3.js.map +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue.js +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue2.js +42 -0
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue2.js.map +1 -1
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue3.js +38 -19
- package/dist/esm/components/CnTabsWidget/CnTabsWidget.vue3.js.map +1 -1
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue.js +9 -0
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue.js.map +1 -0
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue2.js +258 -0
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue2.js.map +1 -0
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue3.js +69 -0
- package/dist/esm/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue3.js.map +1 -0
- package/dist/esm/components/CnVersionInfoCard/CnVersionInfoCard.vue.js +1 -1
- package/dist/esm/components/CnVersionInfoCard/CnVersionInfoCard.vue2.js +11 -0
- package/dist/esm/components/CnVersionInfoCard/CnVersionInfoCard.vue2.js.map +1 -1
- package/dist/esm/components/CnVersionInfoCard/CnVersionInfoCard.vue3.js +4 -4
- package/dist/esm/components/CnVersionInfoCard/CnVersionInfoCard.vue3.js.map +1 -1
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js +16 -14
- package/dist/esm/components/CnWidgetGrid/builtInWidgets.js.map +1 -1
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js +12 -0
- package/dist/esm/components/CnWidgetGrid/registerDashboardWidgets.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/l10n/en.json.js +24 -1
- package/dist/esm/l10n/en.json.js.map +1 -1
- package/dist/esm/l10n/nl.json.js +24 -1
- package/dist/esm/l10n/nl.json.js.map +1 -1
- package/dist/esm/library-style.js +1 -1
- package/dist/esm/nextcloud-vue.css +1369 -748
- package/dist/esm/utils/dueText.js +18 -3
- package/dist/esm/utils/dueText.js.map +1 -1
- package/dist/esm/utils/libraryWidgetKeys.js +2 -0
- package/dist/esm/utils/libraryWidgetKeys.js.map +1 -1
- package/dist/esm/utils/nextcloudApps.js +45 -0
- package/dist/esm/utils/nextcloudApps.js.map +1 -0
- package/dist/esm/utils/scopeListLayout.js +9 -2
- package/dist/esm/utils/scopeListLayout.js.map +1 -1
- package/dist/esm/utils/sortOrder.js +11 -1
- package/dist/esm/utils/sortOrder.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +3 -3
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/esm/utils/visibleWhen.js +12 -4
- package/dist/esm/utils/visibleWhen.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +8965 -6497
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +1369 -748
- package/l10n/en.json +24 -1
- package/l10n/nl.json +24 -1
- package/package.json +1 -1
- package/src/components/CnAdminSettingsShell/CnAdminSettingsShell.vue +1 -1
- package/src/components/CnCardGrid/CnCardGrid.md +2 -0
- package/src/components/CnCardGrid/CnCardGrid.vue +20 -0
- package/src/components/CnCellRenderer/CnCellRenderer.vue +19 -1
- package/src/components/CnChartWidget/CnChartWidget.md +2 -0
- package/src/components/CnChartWidget/CnChartWidget.vue +93 -1
- package/src/components/CnDashboardPage/CnDashboardPage.vue +9 -6
- package/src/components/CnDetailPage/CnDetailPage.md +3 -2
- package/src/components/CnDetailPage/CnDetailPage.vue +112 -5
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHeaderItems.vue +60 -0
- package/src/components/CnDetailWidgetHost/CnDetailWidgetHost.vue +36 -29
- package/src/components/CnFactsWidget/CnFactsWidget.vue +4 -0
- package/src/components/CnFeaturesAndRoadmapView/CnFeaturesAndRoadmapView.vue +1 -1
- package/src/components/CnFeaturesBoard/CnFeaturesBoard.vue +4 -1
- package/src/components/CnFilesBrowser/CnFilesBrowser.vue +70 -4
- package/src/components/CnFlowRunsWidget/CnFlowRunsWidget.vue +62 -1
- package/src/components/CnFlowsPage/CnFlowBoard.vue +132 -8
- package/src/components/CnIndexPage/CnIndexPage.md +8 -5
- package/src/components/CnIndexPage/CnIndexPage.vue +236 -54
- package/src/components/CnIndexPage/CnIndexPageWidgets.vue +36 -1
- package/src/components/CnIndexPage/useSelfFetchList.js +25 -6
- package/src/components/CnIndexSidebar/CnIndexSidebar.md +2 -0
- package/src/components/CnIndexSidebar/CnIndexSidebar.vue +148 -1
- package/src/components/CnNcWidgetWidget/CnNcWidgetWidget.vue +68 -5
- package/src/components/CnNoticeWidget/CnNoticeWidget.vue +153 -0
- package/src/components/CnNoticeWidget/index.js +12 -0
- package/src/components/CnObjectCard/CnObjectCard.md +1 -0
- package/src/components/CnObjectCard/CnObjectCard.vue +354 -13
- package/src/components/CnObjectSidebar/CnFilesTab.vue +6 -0
- package/src/components/CnRecordListWidget/CnRecordListWidget.vue +190 -4
- package/src/components/CnRelatedObjectsWidget/CnRelatedObjectsWidget.vue +209 -9
- package/src/components/CnSettingsField/CnSettingsField.vue +4 -1
- package/src/components/CnSetupWizard/CnSetupWizard.vue +9 -1
- package/src/components/CnTabs/CnTabs.vue +11 -0
- package/src/components/CnTabsWidget/CnTabsWidget.vue +91 -18
- package/src/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.md +11 -0
- package/src/components/CnTeamWorkloadWidget/CnTeamWorkloadWidget.vue +382 -0
- package/src/components/CnTeamWorkloadWidget/index.js +14 -0
- package/src/components/CnVersionInfoCard/CnVersionInfoCard.vue +15 -4
- package/src/components/CnWidgetGrid/builtInWidgets.js +2 -0
- package/src/components/CnWidgetGrid/registerDashboardWidgets.js +12 -0
- package/src/components/index.js +2 -0
- package/src/css/dialog.css +20 -2
- package/src/css/index-page.css +14 -2
- package/src/css/look-board-detail.css +125 -8
- package/src/css/look-board-index.css +100 -4
- package/src/css/look-board.css +122 -14
- package/src/index.js +2 -1
- package/src/schemas/app-manifest-v2.schema.json +110 -8
- package/src/utils/dueText.js +18 -3
- package/src/utils/libraryWidgetKeys.js +2 -0
- package/src/utils/nextcloudApps.js +50 -0
- package/src/utils/scopeListLayout.js +9 -2
- package/src/utils/sortOrder.js +10 -0
- package/src/utils/validateManifestV2.compiled.js +3 -3
- package/src/utils/visibleWhen.js +12 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createVNode, createElementVNode, Fragment, renderList, createCommentVNode, createBlock, resolveDynamicComponent, mergeProps, withCtx, createTextVNode, toHandlers,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createVNode, createElementVNode, Fragment, renderList, createCommentVNode, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps, withCtx, createTextVNode, toHandlers, createSlots } from 'vue';
|
|
2
2
|
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
@@ -17,104 +17,124 @@ const _hoisted_3 = {
|
|
|
17
17
|
const _hoisted_4 = { class: "cn-record-list__notice-text" };
|
|
18
18
|
const _hoisted_5 = {
|
|
19
19
|
key: 4,
|
|
20
|
-
class: "cn-record-
|
|
20
|
+
class: "cn-record-list__table",
|
|
21
|
+
"data-testid": "cn-record-list-table"
|
|
21
22
|
};
|
|
22
23
|
const _hoisted_6 = {
|
|
24
|
+
key: 5,
|
|
25
|
+
class: "cn-record-list__list"
|
|
26
|
+
};
|
|
27
|
+
const _hoisted_7 = {
|
|
23
28
|
key: 0,
|
|
24
29
|
class: "cn-record-list__row cn-record-list__row--action"
|
|
25
30
|
};
|
|
26
|
-
const
|
|
31
|
+
const _hoisted_8 = {
|
|
27
32
|
key: 0,
|
|
28
33
|
class: "cn-record-list__avatar",
|
|
29
34
|
"aria-hidden": "true",
|
|
30
35
|
"data-testid": "cn-record-list-avatar"
|
|
31
36
|
};
|
|
32
|
-
const
|
|
33
|
-
const _hoisted_9 = {
|
|
34
|
-
key: 1,
|
|
35
|
-
class: "cn-record-list__meta"
|
|
36
|
-
};
|
|
37
|
+
const _hoisted_9 = { class: "cn-record-list__main" };
|
|
37
38
|
const _hoisted_10 = {
|
|
38
39
|
key: 1,
|
|
39
|
-
class: "cn-record-
|
|
40
|
+
class: "cn-record-list__meta"
|
|
40
41
|
};
|
|
41
42
|
const _hoisted_11 = {
|
|
43
|
+
key: 2,
|
|
44
|
+
class: "cn-record-list__flag",
|
|
45
|
+
"data-testid": "cn-record-list-flag"
|
|
46
|
+
};
|
|
47
|
+
const _hoisted_12 = {
|
|
42
48
|
key: 3,
|
|
49
|
+
class: "cn-record-list__pills"
|
|
50
|
+
};
|
|
51
|
+
const _hoisted_13 = {
|
|
52
|
+
key: 5,
|
|
43
53
|
class: "cn-record-list__trailing"
|
|
44
54
|
};
|
|
45
|
-
const
|
|
55
|
+
const _hoisted_14 = {
|
|
46
56
|
key: 0,
|
|
47
57
|
class: "cn-record-list__avatar",
|
|
48
58
|
"aria-hidden": "true",
|
|
49
59
|
"data-testid": "cn-record-list-avatar"
|
|
50
60
|
};
|
|
51
|
-
const
|
|
52
|
-
const
|
|
61
|
+
const _hoisted_15 = { class: "cn-record-list__main" };
|
|
62
|
+
const _hoisted_16 = {
|
|
53
63
|
key: 0,
|
|
54
64
|
class: "cn-record-list__title"
|
|
55
65
|
};
|
|
56
|
-
const
|
|
66
|
+
const _hoisted_17 = {
|
|
57
67
|
key: 1,
|
|
58
68
|
class: "cn-record-list__meta"
|
|
59
69
|
};
|
|
60
|
-
const
|
|
61
|
-
key:
|
|
70
|
+
const _hoisted_18 = {
|
|
71
|
+
key: 2,
|
|
62
72
|
class: "cn-record-list__aside"
|
|
63
73
|
};
|
|
64
|
-
const
|
|
65
|
-
key:
|
|
66
|
-
class: "cn-record-
|
|
74
|
+
const _hoisted_19 = {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "cn-record-list__flag",
|
|
77
|
+
"data-testid": "cn-record-list-flag"
|
|
67
78
|
};
|
|
68
|
-
const _hoisted_18 = { class: "cn-record-list__card-head" };
|
|
69
|
-
const _hoisted_19 = { class: "cn-record-list__card-title" };
|
|
70
79
|
const _hoisted_20 = {
|
|
80
|
+
key: 3,
|
|
81
|
+
class: "cn-record-list__trailing"
|
|
82
|
+
};
|
|
83
|
+
const _hoisted_21 = { class: "cn-record-list__card-head" };
|
|
84
|
+
const _hoisted_22 = { class: "cn-record-list__card-title" };
|
|
85
|
+
const _hoisted_23 = {
|
|
71
86
|
key: 1,
|
|
72
87
|
class: "cn-record-list__title"
|
|
73
88
|
};
|
|
74
|
-
const
|
|
89
|
+
const _hoisted_24 = {
|
|
75
90
|
key: 0,
|
|
76
91
|
class: "cn-record-list__card-pills"
|
|
77
92
|
};
|
|
78
|
-
const
|
|
93
|
+
const _hoisted_25 = {
|
|
79
94
|
key: 0,
|
|
80
95
|
class: "cn-record-list__meta"
|
|
81
96
|
};
|
|
82
|
-
const
|
|
97
|
+
const _hoisted_26 = {
|
|
83
98
|
key: 1,
|
|
84
99
|
class: "cn-record-list__card-value",
|
|
85
100
|
"data-testid": "cn-record-list-card-value"
|
|
86
101
|
};
|
|
87
|
-
const
|
|
102
|
+
const _hoisted_27 = {
|
|
88
103
|
key: 3,
|
|
89
104
|
class: "cn-record-list__feed-row"
|
|
90
105
|
};
|
|
91
|
-
const
|
|
106
|
+
const _hoisted_28 = {
|
|
92
107
|
class: "cn-record-list__feed-icon",
|
|
93
108
|
"aria-hidden": "true"
|
|
94
109
|
};
|
|
95
|
-
const
|
|
110
|
+
const _hoisted_29 = {
|
|
96
111
|
key: 0,
|
|
97
112
|
class: "cn-record-list__meta"
|
|
98
113
|
};
|
|
99
|
-
const
|
|
114
|
+
const _hoisted_30 = {
|
|
100
115
|
key: 1,
|
|
101
116
|
class: "cn-record-list__text"
|
|
102
117
|
};
|
|
103
|
-
const
|
|
118
|
+
const _hoisted_31 = {
|
|
104
119
|
key: 4,
|
|
105
120
|
class: "cn-record-list__inline-row"
|
|
106
121
|
};
|
|
107
|
-
const
|
|
122
|
+
const _hoisted_32 = {
|
|
108
123
|
key: 0,
|
|
109
124
|
class: "cn-record-list__label"
|
|
110
125
|
};
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
key:
|
|
126
|
+
const _hoisted_33 = ["aria-label", "aria-valuenow", "aria-valuemax"];
|
|
127
|
+
const _hoisted_34 = {
|
|
128
|
+
key: 6,
|
|
129
|
+
class: "cn-record-list__footnote",
|
|
130
|
+
"data-testid": "cn-record-list-footnote"
|
|
131
|
+
};
|
|
132
|
+
const _hoisted_35 = {
|
|
133
|
+
key: 7,
|
|
114
134
|
class: "cn-record-list__footer",
|
|
115
135
|
"data-testid": "cn-record-list-footer"
|
|
116
136
|
};
|
|
117
|
-
const
|
|
137
|
+
const _hoisted_36 = ["id"];
|
|
118
138
|
|
|
119
139
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
120
140
|
const _component_NcLoadingIcon = resolveComponent("NcLoadingIcon");
|
|
@@ -153,235 +173,291 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
173
|
}, null, 8 /* PROPS */, ["name"]),
|
|
154
174
|
createElementVNode("p", _hoisted_4, toDisplayString($options.noticeText), 1 /* TEXT */)
|
|
155
175
|
], 2 /* CLASS */))
|
|
156
|
-
: (
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
: ($options.presentation === 'table')
|
|
177
|
+
? (openBlock(), createElementBlock("table", _hoisted_5, [
|
|
178
|
+
createElementVNode("thead", null, [
|
|
179
|
+
createElementVNode("tr", null, [
|
|
180
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tableColumns, (col) => {
|
|
181
|
+
return (openBlock(), createElementBlock("th", {
|
|
182
|
+
key: col.key,
|
|
183
|
+
scope: "col",
|
|
184
|
+
class: normalizeClass({ 'cn-record-list__cell--end': col.align === 'end' })
|
|
185
|
+
}, toDisplayString(col.label), 3 /* TEXT, CLASS */))
|
|
186
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
187
|
+
])
|
|
188
|
+
]),
|
|
189
|
+
createElementVNode("tbody", null, [
|
|
190
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tableRows, (item) => {
|
|
191
|
+
return (openBlock(), createElementBlock("tr", {
|
|
192
|
+
key: item.key,
|
|
193
|
+
"data-testid": "cn-record-list-item"
|
|
194
|
+
}, [
|
|
195
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.cells, (cell) => {
|
|
196
|
+
return (openBlock(), createElementBlock("td", {
|
|
197
|
+
key: cell.key,
|
|
198
|
+
class: normalizeClass({ 'cn-record-list__cell--end': cell.align === 'end', 'cn-record-list__cell--alert': cell.alert })
|
|
199
|
+
}, toDisplayString(cell.text), 3 /* TEXT, CLASS */))
|
|
200
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
201
|
+
]))
|
|
202
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
203
|
+
])
|
|
204
|
+
]))
|
|
205
|
+
: (openBlock(), createElementBlock("ul", _hoisted_6, [
|
|
206
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.items, (item) => {
|
|
207
|
+
return (openBlock(), createElementBlock("li", {
|
|
208
|
+
key: item.key,
|
|
209
|
+
class: "cn-record-list__item",
|
|
210
|
+
"data-testid": "cn-record-list-item"
|
|
211
|
+
}, [
|
|
212
|
+
($options.presentation === 'rows' && item.action)
|
|
213
|
+
? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
214
|
+
(item.initials)
|
|
215
|
+
? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(item.initials), 1 /* TEXT */))
|
|
179
216
|
: createCommentVNode("v-if", true),
|
|
180
|
-
(item.
|
|
181
|
-
? (openBlock(), createElementBlock("span",
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
201
|
-
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
202
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
203
|
-
]))
|
|
204
|
-
: createCommentVNode("v-if", true),
|
|
205
|
-
(item.due)
|
|
206
|
-
? (openBlock(), createElementBlock("span", {
|
|
207
|
-
key: 2,
|
|
208
|
-
class: normalizeClass(["cn-record-list__due cn-record-list__due--column", `cn-record-list__due--${item.due.tone}`]),
|
|
209
|
-
"data-testid": "cn-record-list-due"
|
|
210
|
-
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
211
|
-
: createCommentVNode("v-if", true),
|
|
212
|
-
(item.trailing)
|
|
213
|
-
? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
214
|
-
: createCommentVNode("v-if", true),
|
|
215
|
-
(openBlock(), createBlock(resolveDynamicComponent(item.action.tag), mergeProps({ class: "cn-record-list__action" }, { ref_for: true }, item.action.attrs, { "data-testid": "cn-record-list-action" }, toHandlers(item.action.tag === 'button' ? { click: () => $options.runRowAction(item.row) } : {})), {
|
|
216
|
-
default: withCtx(() => [
|
|
217
|
-
createTextVNode(toDisplayString(item.action.label), 1 /* TEXT */)
|
|
218
|
-
]),
|
|
219
|
-
_: 2 /* DYNAMIC */
|
|
220
|
-
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
221
|
-
]))
|
|
222
|
-
: ($options.presentation === 'rows')
|
|
223
|
-
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
224
|
-
key: 1,
|
|
225
|
-
class: ["cn-record-list__row", { 'cn-record-list__row--link': item.tag !== 'div' }]
|
|
226
|
-
}, { ref_for: true }, item.attrs), {
|
|
227
|
-
default: withCtx(() => [
|
|
228
|
-
(item.initials)
|
|
229
|
-
? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(item.initials), 1 /* TEXT */))
|
|
230
|
-
: createCommentVNode("v-if", true),
|
|
231
|
-
createElementVNode("span", _hoisted_13, [
|
|
232
|
-
(item.title)
|
|
233
|
-
? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(item.title), 1 /* TEXT */))
|
|
234
|
-
: createCommentVNode("v-if", true),
|
|
235
|
-
(item.meta)
|
|
236
|
-
? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(item.meta), 1 /* TEXT */))
|
|
237
|
-
: createCommentVNode("v-if", true)
|
|
238
|
-
]),
|
|
239
|
-
(item.pill || item.badges.length > 0 || item.due || item.trailing)
|
|
240
|
-
? (openBlock(), createElementBlock("span", _hoisted_16, [
|
|
241
|
-
(item.pill)
|
|
242
|
-
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
243
|
-
key: 0,
|
|
244
|
-
label: item.pill.label,
|
|
245
|
-
variant: item.pill.variant,
|
|
246
|
-
size: "small"
|
|
247
|
-
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
248
|
-
: createCommentVNode("v-if", true),
|
|
249
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.badges, (badge) => {
|
|
250
|
-
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
251
|
-
key: badge.key,
|
|
252
|
-
label: badge.label,
|
|
253
|
-
variant: badge.variant,
|
|
254
|
-
size: "small",
|
|
255
|
-
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
256
|
-
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
257
|
-
}), 128 /* KEYED_FRAGMENT */)),
|
|
258
|
-
(item.due)
|
|
259
|
-
? (openBlock(), createElementBlock("span", {
|
|
260
|
-
key: 1,
|
|
261
|
-
class: normalizeClass(["cn-record-list__due", `cn-record-list__due--${item.due.tone}`]),
|
|
262
|
-
"data-testid": "cn-record-list-due"
|
|
263
|
-
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
264
|
-
: createCommentVNode("v-if", true),
|
|
265
|
-
(item.trailing)
|
|
266
|
-
? (openBlock(), createElementBlock("span", _hoisted_17, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
267
|
-
: createCommentVNode("v-if", true)
|
|
268
|
-
]))
|
|
217
|
+
(item.dot)
|
|
218
|
+
? (openBlock(), createElementBlock("span", {
|
|
219
|
+
key: 1,
|
|
220
|
+
class: "cn-record-list__dot",
|
|
221
|
+
style: normalizeStyle({ background: item.dot }),
|
|
222
|
+
"aria-hidden": "true",
|
|
223
|
+
"data-testid": "cn-record-list-dot"
|
|
224
|
+
}, null, 4 /* STYLE */))
|
|
225
|
+
: createCommentVNode("v-if", true),
|
|
226
|
+
createElementVNode("span", _hoisted_9, [
|
|
227
|
+
(item.title)
|
|
228
|
+
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
229
|
+
key: 0,
|
|
230
|
+
class: ["cn-record-list__title", { 'cn-record-list__title--link': item.tag !== 'div' }]
|
|
231
|
+
}, { ref_for: true }, item.attrs), {
|
|
232
|
+
default: withCtx(() => [
|
|
233
|
+
createTextVNode(toDisplayString(item.title), 1 /* TEXT */)
|
|
234
|
+
]),
|
|
235
|
+
_: 2 /* DYNAMIC */
|
|
236
|
+
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
269
237
|
: createCommentVNode("v-if", true),
|
|
270
|
-
(item.
|
|
271
|
-
? (openBlock(),
|
|
272
|
-
key: 2,
|
|
273
|
-
class: "cn-record-list__chevron",
|
|
274
|
-
size: 18,
|
|
275
|
-
"aria-hidden": "true"
|
|
276
|
-
}))
|
|
238
|
+
(item.meta)
|
|
239
|
+
? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(item.meta), 1 /* TEXT */))
|
|
277
240
|
: createCommentVNode("v-if", true)
|
|
278
241
|
]),
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
242
|
+
(item.flag)
|
|
243
|
+
? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(item.flag), 1 /* TEXT */))
|
|
244
|
+
: createCommentVNode("v-if", true),
|
|
245
|
+
(item.pill || item.badges.length > 0)
|
|
246
|
+
? (openBlock(), createElementBlock("span", _hoisted_12, [
|
|
247
|
+
(item.pill)
|
|
248
|
+
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
249
|
+
key: 0,
|
|
250
|
+
label: item.pill.label,
|
|
251
|
+
variant: item.pill.variant,
|
|
252
|
+
size: "small"
|
|
253
|
+
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
254
|
+
: createCommentVNode("v-if", true),
|
|
255
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.badges, (badge) => {
|
|
256
|
+
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
257
|
+
key: badge.key,
|
|
258
|
+
label: badge.label,
|
|
259
|
+
variant: badge.variant,
|
|
260
|
+
size: "small",
|
|
261
|
+
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
262
|
+
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
263
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
264
|
+
]))
|
|
265
|
+
: createCommentVNode("v-if", true),
|
|
266
|
+
(item.due)
|
|
267
|
+
? (openBlock(), createElementBlock("span", {
|
|
268
|
+
key: 4,
|
|
269
|
+
class: normalizeClass(["cn-record-list__due cn-record-list__due--column", [`cn-record-list__due--${item.due.tone}`, { 'cn-record-list__due--soon': item.due.soon }]]),
|
|
270
|
+
"data-testid": "cn-record-list-due"
|
|
271
|
+
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
272
|
+
: createCommentVNode("v-if", true),
|
|
273
|
+
(item.trailing)
|
|
274
|
+
? (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
275
|
+
: createCommentVNode("v-if", true),
|
|
276
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.action.tag), mergeProps({ class: "cn-record-list__action" }, { ref_for: true }, item.action.attrs, { "data-testid": "cn-record-list-action" }, toHandlers(item.action.tag === 'button' ? { click: () => $options.runRowAction(item.row) } : {})), {
|
|
277
|
+
default: withCtx(() => [
|
|
278
|
+
createTextVNode(toDisplayString(item.action.label), 1 /* TEXT */)
|
|
279
|
+
]),
|
|
280
|
+
_: 2 /* DYNAMIC */
|
|
281
|
+
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
282
|
+
]))
|
|
283
|
+
: ($options.presentation === 'rows')
|
|
282
284
|
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
283
|
-
key:
|
|
284
|
-
class: ["cn-record-
|
|
285
|
-
}, { ref_for: true }, item.attrs
|
|
285
|
+
key: 1,
|
|
286
|
+
class: ["cn-record-list__row", { 'cn-record-list__row--link': item.tag !== 'div' }]
|
|
287
|
+
}, { ref_for: true }, item.attrs), {
|
|
286
288
|
default: withCtx(() => [
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
key: 0,
|
|
306
|
-
label: item.pill.label,
|
|
307
|
-
variant: item.pill.variant,
|
|
308
|
-
size: "small"
|
|
309
|
-
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
310
|
-
: createCommentVNode("v-if", true),
|
|
311
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.badges, (badge) => {
|
|
312
|
-
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
313
|
-
key: badge.key,
|
|
314
|
-
label: badge.label,
|
|
315
|
-
variant: badge.variant,
|
|
316
|
-
size: "small",
|
|
317
|
-
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
318
|
-
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
319
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
320
|
-
]))
|
|
289
|
+
(item.initials)
|
|
290
|
+
? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(item.initials), 1 /* TEXT */))
|
|
291
|
+
: createCommentVNode("v-if", true),
|
|
292
|
+
(item.dot)
|
|
293
|
+
? (openBlock(), createElementBlock("span", {
|
|
294
|
+
key: 1,
|
|
295
|
+
class: "cn-record-list__dot",
|
|
296
|
+
style: normalizeStyle({ background: item.dot }),
|
|
297
|
+
"aria-hidden": "true",
|
|
298
|
+
"data-testid": "cn-record-list-dot"
|
|
299
|
+
}, null, 4 /* STYLE */))
|
|
300
|
+
: createCommentVNode("v-if", true),
|
|
301
|
+
createElementVNode("span", _hoisted_15, [
|
|
302
|
+
(item.title)
|
|
303
|
+
? (openBlock(), createElementBlock("span", _hoisted_16, toDisplayString(item.title), 1 /* TEXT */))
|
|
304
|
+
: createCommentVNode("v-if", true),
|
|
305
|
+
(item.meta)
|
|
306
|
+
? (openBlock(), createElementBlock("span", _hoisted_17, toDisplayString(item.meta), 1 /* TEXT */))
|
|
321
307
|
: createCommentVNode("v-if", true)
|
|
322
308
|
]),
|
|
323
|
-
(item.
|
|
324
|
-
? (openBlock(), createElementBlock("span",
|
|
309
|
+
(item.pill || item.badges.length > 0 || item.due || item.trailing || item.flag)
|
|
310
|
+
? (openBlock(), createElementBlock("span", _hoisted_18, [
|
|
311
|
+
(item.flag)
|
|
312
|
+
? (openBlock(), createElementBlock("span", _hoisted_19, toDisplayString(item.flag), 1 /* TEXT */))
|
|
313
|
+
: createCommentVNode("v-if", true),
|
|
314
|
+
(item.pill)
|
|
315
|
+
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
316
|
+
key: 1,
|
|
317
|
+
label: item.pill.label,
|
|
318
|
+
variant: item.pill.variant,
|
|
319
|
+
size: "small"
|
|
320
|
+
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
321
|
+
: createCommentVNode("v-if", true),
|
|
322
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.badges, (badge) => {
|
|
323
|
+
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
324
|
+
key: badge.key,
|
|
325
|
+
label: badge.label,
|
|
326
|
+
variant: badge.variant,
|
|
327
|
+
size: "small",
|
|
328
|
+
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
329
|
+
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
330
|
+
}), 128 /* KEYED_FRAGMENT */)),
|
|
331
|
+
(item.due)
|
|
332
|
+
? (openBlock(), createElementBlock("span", {
|
|
333
|
+
key: 2,
|
|
334
|
+
class: normalizeClass(["cn-record-list__due", [`cn-record-list__due--${item.due.tone}`, { 'cn-record-list__due--soon': item.due.soon }]]),
|
|
335
|
+
"data-testid": "cn-record-list-due"
|
|
336
|
+
}, toDisplayString(item.due.text), 3 /* TEXT, CLASS */))
|
|
337
|
+
: createCommentVNode("v-if", true),
|
|
338
|
+
(item.trailing)
|
|
339
|
+
? (openBlock(), createElementBlock("span", _hoisted_20, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
340
|
+
: createCommentVNode("v-if", true)
|
|
341
|
+
]))
|
|
325
342
|
: createCommentVNode("v-if", true),
|
|
326
|
-
(item.
|
|
327
|
-
? (openBlock(),
|
|
343
|
+
(item.tag !== 'div')
|
|
344
|
+
? (openBlock(), createBlock(_component_ChevronRight, {
|
|
345
|
+
key: 3,
|
|
346
|
+
class: "cn-record-list__chevron",
|
|
347
|
+
size: 18,
|
|
348
|
+
"aria-hidden": "true"
|
|
349
|
+
}))
|
|
328
350
|
: createCommentVNode("v-if", true)
|
|
329
351
|
]),
|
|
330
352
|
_: 2 /* DYNAMIC */
|
|
331
353
|
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
332
|
-
: ($options.presentation === '
|
|
333
|
-
? (openBlock(),
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
354
|
+
: ($options.presentation === 'cards')
|
|
355
|
+
? (openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({
|
|
356
|
+
key: 2,
|
|
357
|
+
class: ["cn-record-list__card", { 'cn-record-list__card--link': item.tag !== 'div' }]
|
|
358
|
+
}, { ref_for: true }, item.attrs, { "data-testid": "cn-record-list-card" }), {
|
|
359
|
+
default: withCtx(() => [
|
|
360
|
+
createElementVNode("span", _hoisted_21, [
|
|
361
|
+
createElementVNode("span", _hoisted_22, [
|
|
362
|
+
($options.cardIcons)
|
|
363
|
+
? (openBlock(), createBlock(_component_CnIcon, {
|
|
364
|
+
key: 0,
|
|
365
|
+
class: "cn-record-list__card-icon",
|
|
366
|
+
name: item.icon,
|
|
367
|
+
size: 18
|
|
368
|
+
}, null, 8 /* PROPS */, ["name"]))
|
|
369
|
+
: createCommentVNode("v-if", true),
|
|
370
|
+
(item.title)
|
|
371
|
+
? (openBlock(), createElementBlock("span", _hoisted_23, toDisplayString(item.title), 1 /* TEXT */))
|
|
372
|
+
: createCommentVNode("v-if", true)
|
|
373
|
+
]),
|
|
374
|
+
(item.pill || item.badges.length > 0)
|
|
375
|
+
? (openBlock(), createElementBlock("span", _hoisted_24, [
|
|
376
|
+
(item.pill)
|
|
377
|
+
? (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
378
|
+
key: 0,
|
|
379
|
+
label: item.pill.label,
|
|
380
|
+
variant: item.pill.variant,
|
|
381
|
+
size: "small"
|
|
382
|
+
}, null, 8 /* PROPS */, ["label", "variant"]))
|
|
383
|
+
: createCommentVNode("v-if", true),
|
|
384
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.badges, (badge) => {
|
|
385
|
+
return (openBlock(), createBlock(_component_CnStatusBadge, {
|
|
386
|
+
key: badge.key,
|
|
387
|
+
label: badge.label,
|
|
388
|
+
variant: badge.variant,
|
|
389
|
+
size: "small",
|
|
390
|
+
"data-testid": `cn-record-list-badge-${badge.kind}`
|
|
391
|
+
}, null, 8 /* PROPS */, ["label", "variant", "data-testid"]))
|
|
392
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
393
|
+
]))
|
|
347
394
|
: createCommentVNode("v-if", true)
|
|
348
395
|
]),
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
396
|
+
(item.meta)
|
|
397
|
+
? (openBlock(), createElementBlock("span", _hoisted_25, toDisplayString(item.meta), 1 /* TEXT */))
|
|
398
|
+
: createCommentVNode("v-if", true),
|
|
399
|
+
(item.trailing)
|
|
400
|
+
? (openBlock(), createElementBlock("span", _hoisted_26, toDisplayString(item.trailing), 1 /* TEXT */))
|
|
401
|
+
: createCommentVNode("v-if", true)
|
|
402
|
+
]),
|
|
403
|
+
_: 2 /* DYNAMIC */
|
|
404
|
+
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["class"]))
|
|
405
|
+
: ($options.presentation === 'feed')
|
|
406
|
+
? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
407
|
+
createElementVNode("span", _hoisted_28, [
|
|
408
|
+
createVNode(_component_CnIcon, {
|
|
409
|
+
name: item.icon,
|
|
410
|
+
size: 18
|
|
411
|
+
}, null, 8 /* PROPS */, ["name"])
|
|
359
412
|
]),
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
413
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__main" }, { ref_for: true }, item.attrs), {
|
|
414
|
+
default: withCtx(() => [
|
|
415
|
+
(item.meta)
|
|
416
|
+
? (openBlock(), createElementBlock("span", _hoisted_29, toDisplayString(item.meta), 1 /* TEXT */))
|
|
417
|
+
: createCommentVNode("v-if", true),
|
|
418
|
+
(item.text)
|
|
419
|
+
? (openBlock(), createElementBlock("span", _hoisted_30, toDisplayString(item.text), 1 /* TEXT */))
|
|
420
|
+
: createCommentVNode("v-if", true)
|
|
421
|
+
]),
|
|
422
|
+
_: 2 /* DYNAMIC */
|
|
423
|
+
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
424
|
+
]))
|
|
425
|
+
: (openBlock(), createElementBlock("div", _hoisted_31, [
|
|
426
|
+
(item.label)
|
|
427
|
+
? (openBlock(), createElementBlock("span", _hoisted_32, toDisplayString(item.label), 1 /* TEXT */))
|
|
428
|
+
: createCommentVNode("v-if", true),
|
|
429
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.tag), mergeProps({ class: "cn-record-list__inline-title" }, { ref_for: true }, item.attrs), {
|
|
430
|
+
default: withCtx(() => [
|
|
431
|
+
createTextVNode(toDisplayString(item.title), 1 /* TEXT */)
|
|
432
|
+
]),
|
|
433
|
+
_: 2 /* DYNAMIC */
|
|
434
|
+
}, 1040 /* FULL_PROPS, DYNAMIC_SLOTS */))
|
|
435
|
+
])),
|
|
436
|
+
($options.presentation === 'rows' && item.bar)
|
|
437
|
+
? (openBlock(), createElementBlock("span", {
|
|
438
|
+
key: 5,
|
|
439
|
+
class: normalizeClass(["cn-record-list__bar", { 'cn-record-list__bar--over': item.bar.over }]),
|
|
440
|
+
role: "meter",
|
|
441
|
+
"aria-label": item.title || null,
|
|
442
|
+
"aria-valuenow": item.bar.value,
|
|
443
|
+
"aria-valuemin": "0",
|
|
444
|
+
"aria-valuemax": item.bar.max,
|
|
445
|
+
"data-testid": "cn-record-list-bar"
|
|
446
|
+
}, [
|
|
447
|
+
createElementVNode("span", {
|
|
448
|
+
class: "cn-record-list__bar-fill",
|
|
449
|
+
style: normalizeStyle({ width: `${item.bar.share}%` })
|
|
450
|
+
}, null, 4 /* STYLE */)
|
|
451
|
+
], 10 /* CLASS, PROPS */, _hoisted_33))
|
|
452
|
+
: createCommentVNode("v-if", true)
|
|
453
|
+
]))
|
|
454
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
455
|
+
])),
|
|
456
|
+
($options.footnote && !$data.error)
|
|
457
|
+
? (openBlock(), createElementBlock("p", _hoisted_34, toDisplayString($options.footnote), 1 /* TEXT */))
|
|
458
|
+
: createCommentVNode("v-if", true),
|
|
383
459
|
($options.footerAction && !$data.error)
|
|
384
|
-
? (openBlock(), createElementBlock("div",
|
|
460
|
+
? (openBlock(), createElementBlock("div", _hoisted_35, [
|
|
385
461
|
createVNode(_component_NcButton, {
|
|
386
462
|
variant: "secondary",
|
|
387
463
|
disabled: $data.footerDisabled,
|
|
@@ -413,7 +489,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
413
489
|
id: $data.footerReasonId,
|
|
414
490
|
class: "cn-record-list__footer-reason",
|
|
415
491
|
"data-testid": "cn-record-list-footer-reason"
|
|
416
|
-
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */,
|
|
492
|
+
}, toDisplayString($options.footerAction.reason), 9 /* TEXT, PROPS */, _hoisted_36))
|
|
417
493
|
: createCommentVNode("v-if", true)
|
|
418
494
|
]))
|
|
419
495
|
: createCommentVNode("v-if", true)
|