@conduction/nextcloud-vue 2.70.0 → 2.71.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/CnAppRoot/CnAppRoot.vue2.js +151 -13
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue2.js.map +1 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js +3 -1
- package/dist/esm/components/CnAppRoot/CnAppRoot.vue3.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue2.js.map +1 -1
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js +38 -42
- package/dist/esm/components/CnDashboardPage/CnDashboardPage.vue3.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js +29 -2
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue2.js.map +1 -1
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js +71 -34
- package/dist/esm/components/CnFormDialog/CnFormDialog.vue3.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js +22 -0
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue2.js.map +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js +1 -1
- package/dist/esm/components/CnIndexPage/CnIndexPage.vue3.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue2.js.map +1 -1
- package/dist/esm/components/CnObjectSidebar/CnNotesTab.vue3.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue2.js.map +1 -1
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js +46 -32
- package/dist/esm/components/CnSetupWizard/CnSetupWizard.vue3.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js +30 -9
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue2.js.map +1 -1
- package/dist/esm/components/CnWalkthrough/CnWalkthrough.vue3.js.map +1 -1
- package/dist/esm/composables/useWalkthrough.js +11 -3
- package/dist/esm/composables/useWalkthrough.js.map +1 -1
- package/dist/esm/nextcloud-vue.css +53 -0
- package/dist/esm/utils/columnFilters.js +54 -4
- package/dist/esm/utils/columnFilters.js.map +1 -1
- package/dist/esm/utils/userAutocomplete.js +69 -3
- package/dist/esm/utils/userAutocomplete.js.map +1 -1
- package/dist/esm/utils/validateManifestV2.compiled.js +2 -2
- package/dist/esm/utils/validateManifestV2.compiled.js.map +1 -1
- package/dist/nextcloud-vue.cjs.js +615 -235
- package/dist/nextcloud-vue.cjs.js.map +2 -2
- package/dist/nextcloud-vue.css +53 -0
- package/package.json +1 -1
- package/src/components/CnAppRoot/CnAppRoot.vue +153 -13
- package/src/components/CnDashboardPage/CnDashboardPage.vue +20 -18
- package/src/components/CnFormDialog/CnFormDialog.vue +62 -2
- package/src/components/CnIndexPage/CnIndexPage.vue +23 -1
- package/src/components/CnObjectSidebar/CnNotesTab.vue +1 -1
- package/src/components/CnSetupWizard/CnSetupWizard.vue +7 -0
- package/src/components/CnWalkthrough/CnWalkthrough.vue +30 -9
- package/src/composables/useWalkthrough.js +11 -3
- package/src/css/dashboard.css +44 -0
- package/src/schemas/app-manifest-v2.schema.json +2 -1
- package/src/utils/columnFilters.js +54 -4
- package/src/utils/userAutocomplete.js +68 -2
- package/src/utils/validateManifestV2.compiled.js +2 -2
|
@@ -28,44 +28,49 @@ const _hoisted_10 = {
|
|
|
28
28
|
key: 5,
|
|
29
29
|
class: "cn-form-dialog__select-wrapper"
|
|
30
30
|
};
|
|
31
|
-
const _hoisted_11 = {
|
|
31
|
+
const _hoisted_11 = { class: "cn-form-dialog__option" };
|
|
32
|
+
const _hoisted_12 = {
|
|
32
33
|
key: 6,
|
|
33
34
|
class: "cn-form-dialog__select-wrapper"
|
|
34
35
|
};
|
|
35
|
-
const
|
|
36
|
+
const _hoisted_13 = { class: "cn-form-dialog__option" };
|
|
37
|
+
const _hoisted_14 = { class: "cn-form-dialog__option" };
|
|
38
|
+
const _hoisted_15 = {
|
|
36
39
|
key: 7,
|
|
37
40
|
class: "cn-form-dialog__select-wrapper"
|
|
38
41
|
};
|
|
39
|
-
const
|
|
42
|
+
const _hoisted_16 = { class: "cn-form-dialog__option" };
|
|
43
|
+
const _hoisted_17 = { class: "cn-form-dialog__option" };
|
|
44
|
+
const _hoisted_18 = {
|
|
40
45
|
key: 8,
|
|
41
46
|
class: "cn-form-dialog__switch-wrapper"
|
|
42
47
|
};
|
|
43
|
-
const
|
|
48
|
+
const _hoisted_19 = {
|
|
44
49
|
key: 9,
|
|
45
50
|
class: "cn-form-dialog__select-wrapper"
|
|
46
51
|
};
|
|
47
|
-
const
|
|
48
|
-
const
|
|
52
|
+
const _hoisted_20 = ["for"];
|
|
53
|
+
const _hoisted_21 = {
|
|
49
54
|
key: 10,
|
|
50
55
|
class: "cn-form-dialog__json-wrapper"
|
|
51
56
|
};
|
|
52
|
-
const
|
|
53
|
-
const
|
|
57
|
+
const _hoisted_22 = ["for"];
|
|
58
|
+
const _hoisted_23 = {
|
|
54
59
|
key: 11,
|
|
55
60
|
class: "cn-form-dialog__json-wrapper"
|
|
56
61
|
};
|
|
57
|
-
const
|
|
58
|
-
const
|
|
62
|
+
const _hoisted_24 = ["for"];
|
|
63
|
+
const _hoisted_25 = {
|
|
59
64
|
key: 12,
|
|
60
65
|
class: "cn-form-dialog__icon-wrapper"
|
|
61
66
|
};
|
|
62
|
-
const
|
|
63
|
-
const
|
|
67
|
+
const _hoisted_26 = ["for"];
|
|
68
|
+
const _hoisted_27 = {
|
|
64
69
|
key: 0,
|
|
65
70
|
class: "cn-form-dialog__dynamic-loading",
|
|
66
71
|
"data-testid": "cn-form-dialog-dynamic-loading"
|
|
67
72
|
};
|
|
68
|
-
const
|
|
73
|
+
const _hoisted_28 = {
|
|
69
74
|
class: "cn-form-dialog__draft-state",
|
|
70
75
|
"aria-live": "polite",
|
|
71
76
|
"data-testid": "cn-form-dialog-draft-state"
|
|
@@ -95,7 +100,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
100
|
onClosing: _cache[1] || (_cache[1] = $event => (_ctx.$emit('close')))
|
|
96
101
|
}, {
|
|
97
102
|
actions: withCtx(() => [
|
|
98
|
-
createElementVNode("span",
|
|
103
|
+
createElementVNode("span", _hoisted_28, toDisplayString($options.draftIndicatorLabel), 1 /* TEXT */),
|
|
99
104
|
createVNode(_component_NcButton, {
|
|
100
105
|
onClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('close')))
|
|
101
106
|
}, {
|
|
@@ -388,14 +393,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
388
393
|
]),
|
|
389
394
|
key: "0"
|
|
390
395
|
}
|
|
391
|
-
:
|
|
396
|
+
: (!$options.isUserField(field))
|
|
397
|
+
? {
|
|
398
|
+
name: "option",
|
|
399
|
+
fn: withCtx((optionProps) => [
|
|
400
|
+
createElementVNode("span", _hoisted_11, toDisplayString($options.optionText(optionProps)), 1 /* TEXT */)
|
|
401
|
+
]),
|
|
402
|
+
key: "1"
|
|
403
|
+
}
|
|
404
|
+
: undefined,
|
|
392
405
|
(_ctx.$slots['field-' + field.key + '-selected-option'])
|
|
393
406
|
? {
|
|
394
407
|
name: "selected-option",
|
|
395
408
|
fn: withCtx((optionProps) => [
|
|
396
409
|
renderSlot(_ctx.$slots, 'field-' + field.key + '-selected-option', mergeProps({ ref_for: true }, optionProps))
|
|
397
410
|
]),
|
|
398
|
-
key: "
|
|
411
|
+
key: "2"
|
|
399
412
|
}
|
|
400
413
|
: undefined
|
|
401
414
|
]), 1064 /* PROPS, NEED_HYDRATION, DYNAMIC_SLOTS */, ["inputId", "inputLabel", "options", "modelValue", "clearable", "disabled", "loading", "filterable", "onUpdate:modelValue", "onSearch"])),
|
|
@@ -406,7 +419,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
406
419
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
407
420
|
]))
|
|
408
421
|
: (field.widget === 'multiselect' || field.widget === 'user-multiselect' || field.widget === 'group-multiselect')
|
|
409
|
-
? (openBlock(), createElementBlock("div",
|
|
422
|
+
? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
410
423
|
createVNode(_component_NcSelect, {
|
|
411
424
|
inputId: 'cn-form-' + field.key,
|
|
412
425
|
inputLabel: field.label + (field.required ? ' *' : ''),
|
|
@@ -429,16 +442,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
429
442
|
]),
|
|
430
443
|
key: "0"
|
|
431
444
|
}
|
|
432
|
-
:
|
|
445
|
+
: {
|
|
446
|
+
name: "option",
|
|
447
|
+
fn: withCtx((optionProps) => [
|
|
448
|
+
createElementVNode("span", _hoisted_13, toDisplayString($options.optionText(optionProps)), 1 /* TEXT */)
|
|
449
|
+
]),
|
|
450
|
+
key: "1"
|
|
451
|
+
},
|
|
433
452
|
(_ctx.$slots['field-' + field.key + '-selected-option'])
|
|
434
453
|
? {
|
|
435
454
|
name: "selected-option",
|
|
436
455
|
fn: withCtx((optionProps) => [
|
|
437
456
|
renderSlot(_ctx.$slots, 'field-' + field.key + '-selected-option', mergeProps({ ref_for: true }, optionProps))
|
|
438
457
|
]),
|
|
439
|
-
key: "
|
|
458
|
+
key: "2"
|
|
459
|
+
}
|
|
460
|
+
: {
|
|
461
|
+
name: "selected-option",
|
|
462
|
+
fn: withCtx((optionProps) => [
|
|
463
|
+
createElementVNode("span", _hoisted_14, toDisplayString($options.optionText(optionProps)), 1 /* TEXT */)
|
|
464
|
+
]),
|
|
465
|
+
key: "3"
|
|
440
466
|
}
|
|
441
|
-
: undefined
|
|
442
467
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["inputId", "inputLabel", "options", "modelValue", "disabled", "loading", "filterable", "onUpdate:modelValue", "onSearch"]),
|
|
443
468
|
createVNode(_component_CnFieldHelper, {
|
|
444
469
|
text: field.description,
|
|
@@ -447,7 +472,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
447
472
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
448
473
|
]))
|
|
449
474
|
: (field.widget === 'tags')
|
|
450
|
-
? (openBlock(), createElementBlock("div",
|
|
475
|
+
? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
451
476
|
createVNode(_component_NcSelect, {
|
|
452
477
|
inputId: 'cn-form-' + field.key,
|
|
453
478
|
inputLabel: field.label + (field.required ? ' *' : ''),
|
|
@@ -471,16 +496,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
471
496
|
]),
|
|
472
497
|
key: "0"
|
|
473
498
|
}
|
|
474
|
-
:
|
|
499
|
+
: {
|
|
500
|
+
name: "option",
|
|
501
|
+
fn: withCtx((optionProps) => [
|
|
502
|
+
createElementVNode("span", _hoisted_16, toDisplayString($options.optionText(optionProps)), 1 /* TEXT */)
|
|
503
|
+
]),
|
|
504
|
+
key: "1"
|
|
505
|
+
},
|
|
475
506
|
(_ctx.$slots['field-' + field.key + '-selected-option'])
|
|
476
507
|
? {
|
|
477
508
|
name: "selected-option",
|
|
478
509
|
fn: withCtx((optionProps) => [
|
|
479
510
|
renderSlot(_ctx.$slots, 'field-' + field.key + '-selected-option', mergeProps({ ref_for: true }, optionProps))
|
|
480
511
|
]),
|
|
481
|
-
key: "
|
|
512
|
+
key: "2"
|
|
513
|
+
}
|
|
514
|
+
: {
|
|
515
|
+
name: "selected-option",
|
|
516
|
+
fn: withCtx((optionProps) => [
|
|
517
|
+
createElementVNode("span", _hoisted_17, toDisplayString($options.optionText(optionProps)), 1 /* TEXT */)
|
|
518
|
+
]),
|
|
519
|
+
key: "3"
|
|
482
520
|
}
|
|
483
|
-
: undefined
|
|
484
521
|
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["inputId", "inputLabel", "modelValue", "options", "disabled", "loading", "filterable", "onUpdate:modelValue", "onSearch"]),
|
|
485
522
|
createVNode(_component_CnFieldHelper, {
|
|
486
523
|
text: field.description,
|
|
@@ -489,7 +526,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
489
526
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
490
527
|
]))
|
|
491
528
|
: (field.widget === 'checkbox')
|
|
492
|
-
? (openBlock(), createElementBlock("div",
|
|
529
|
+
? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
493
530
|
createVNode(_component_NcCheckboxRadioSwitch, {
|
|
494
531
|
modelValue: !!$data.formData[field.key],
|
|
495
532
|
disabled: field.readOnly,
|
|
@@ -508,11 +545,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
508
545
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
509
546
|
]))
|
|
510
547
|
: (field.widget === 'date' || field.widget === 'datetime')
|
|
511
|
-
? (openBlock(), createElementBlock("div",
|
|
548
|
+
? (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
512
549
|
createElementVNode("label", {
|
|
513
550
|
for: 'cn-form-' + field.key,
|
|
514
551
|
class: "cn-form-dialog__label"
|
|
515
|
-
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */,
|
|
552
|
+
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */, _hoisted_20),
|
|
516
553
|
createVNode(_component_NcDateTimePickerNative, {
|
|
517
554
|
id: 'cn-form-' + field.key,
|
|
518
555
|
type: field.widget === 'datetime' ? 'datetime-local' : 'date',
|
|
@@ -529,11 +566,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
529
566
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
530
567
|
]))
|
|
531
568
|
: (field.widget === 'json')
|
|
532
|
-
? (openBlock(), createElementBlock("div",
|
|
569
|
+
? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
533
570
|
createElementVNode("label", {
|
|
534
571
|
for: 'cn-form-' + field.key,
|
|
535
572
|
class: "cn-form-dialog__label"
|
|
536
|
-
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */,
|
|
573
|
+
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */, _hoisted_22),
|
|
537
574
|
createVNode(_component_CnJsonViewer, {
|
|
538
575
|
value: $options.jsonStringFor(field),
|
|
539
576
|
language: "json",
|
|
@@ -548,11 +585,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
548
585
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
549
586
|
]))
|
|
550
587
|
: (field.widget === 'code')
|
|
551
|
-
? (openBlock(), createElementBlock("div",
|
|
588
|
+
? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
552
589
|
createElementVNode("label", {
|
|
553
590
|
for: 'cn-form-' + field.key,
|
|
554
591
|
class: "cn-form-dialog__label"
|
|
555
|
-
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */,
|
|
592
|
+
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */, _hoisted_24),
|
|
556
593
|
createVNode(_component_CnJsonViewer, {
|
|
557
594
|
value: $data.formData[field.key] != null ? String($data.formData[field.key]) : '',
|
|
558
595
|
language: field.language || 'auto',
|
|
@@ -566,11 +603,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
566
603
|
}, null, 8 /* PROPS */, ["text", "more", "error"])
|
|
567
604
|
]))
|
|
568
605
|
: (field.widget === 'icon')
|
|
569
|
-
? (openBlock(), createElementBlock("div",
|
|
606
|
+
? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
570
607
|
createElementVNode("label", {
|
|
571
608
|
for: 'cn-form-' + field.key,
|
|
572
609
|
class: "cn-form-dialog__label"
|
|
573
|
-
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */,
|
|
610
|
+
}, toDisplayString(field.label) + toDisplayString(field.required ? ' *' : ''), 9 /* TEXT, PROPS */, _hoisted_26),
|
|
574
611
|
createVNode(_component_CnIconBrowser, {
|
|
575
612
|
value: $data.formData[field.key] != null ? String($data.formData[field.key]) : null,
|
|
576
613
|
sources: field.iconSources || ['mdi'],
|
|
@@ -604,7 +641,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
604
641
|
], 10 /* CLASS, PROPS */, _hoisted_3))
|
|
605
642
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
606
643
|
($data.dynamicLoading)
|
|
607
|
-
? (openBlock(), createElementBlock("div",
|
|
644
|
+
? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
608
645
|
createVNode(_component_NcLoadingIcon, { size: 20 }),
|
|
609
646
|
createElementVNode("span", null, toDisplayString($props.dynamicLoadingLabel), 1 /* TEXT */)
|
|
610
647
|
]))
|