@conduction/nextcloud-vue 1.0.0-beta.10 → 1.0.0-beta.12
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/nextcloud-vue.cjs.js +35 -12
- package/dist/nextcloud-vue.cjs.js.map +1 -1
- package/dist/nextcloud-vue.css +29 -29
- package/dist/nextcloud-vue.esm.js +35 -12
- package/dist/nextcloud-vue.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CnActionsBar/index.js +4 -1
- package/src/components/CnAdvancedFormDialog/CnPropertyValueCell.vue +9 -1
- package/src/components/CnAdvancedFormDialog/index.js +7 -4
- package/src/components/CnCard/index.js +4 -1
- package/src/components/CnCardGrid/index.js +4 -1
- package/src/components/CnCellRenderer/index.js +4 -1
- package/src/components/CnChartWidget/index.js +4 -1
- package/src/components/CnChatPage/index.js +4 -1
- package/src/components/CnColorPicker/index.js +4 -1
- package/src/components/CnConfigurationCard/index.js +4 -1
- package/src/components/CnContextMenu/index.js +4 -1
- package/src/components/CnCopyDialog/index.js +4 -1
- package/src/components/CnDashboardGrid/index.js +4 -1
- package/src/components/CnDashboardPage/index.js +4 -1
- package/src/components/CnDataTable/index.js +4 -1
- package/src/components/CnDeleteDialog/index.js +4 -1
- package/src/components/CnDetailCard/index.js +4 -1
- package/src/components/CnDetailGrid/index.js +4 -1
- package/src/components/CnDetailPage/index.js +4 -1
- package/src/components/CnFacetSidebar/index.js +4 -1
- package/src/components/CnFilesPage/index.js +4 -1
- package/src/components/CnFilterBar/index.js +4 -1
- package/src/components/CnFormDialog/index.js +4 -1
- package/src/components/CnIcon/index.js +4 -1
- package/src/components/CnIndexPage/index.js +4 -1
- package/src/components/CnIndexSidebar/index.js +4 -1
- package/src/components/CnInfoWidget/index.js +4 -1
- package/src/components/CnItemCard/index.js +4 -1
- package/src/components/CnJsonViewer/index.js +4 -1
- package/src/components/CnKpiGrid/index.js +4 -1
- package/src/components/CnLogsPage/index.js +4 -1
- package/src/components/CnMassActionBar/index.js +4 -1
- package/src/components/CnMassCopyDialog/index.js +4 -1
- package/src/components/CnMassDeleteDialog/index.js +4 -1
- package/src/components/CnMassExportDialog/index.js +4 -1
- package/src/components/CnMassImportDialog/index.js +4 -1
- package/src/components/CnNoteCard/index.js +4 -1
- package/src/components/CnNotesCard/index.js +4 -1
- package/src/components/CnObjectCard/index.js +4 -1
- package/src/components/CnObjectDataWidget/index.js +4 -1
- package/src/components/CnObjectMetadataWidget/index.js +4 -1
- package/src/components/CnObjectSidebar/index.js +9 -6
- package/src/components/CnPageHeader/index.js +4 -1
- package/src/components/CnPageRenderer/pageTypes.js +25 -10
- package/src/components/CnPagination/index.js +4 -1
- package/src/components/CnProgressBar/index.js +4 -1
- package/src/components/CnRegisterMapping/index.js +4 -1
- package/src/components/CnRowActions/index.js +4 -1
- package/src/components/CnSchemaFormDialog/index.js +4 -1
- package/src/components/CnSettingsCard/index.js +4 -1
- package/src/components/CnSettingsPage/index.js +4 -1
- package/src/components/CnSettingsSection/index.js +4 -1
- package/src/components/CnStatsBlock/index.js +4 -1
- package/src/components/CnStatsPanel/index.js +4 -1
- package/src/components/CnStatusBadge/index.js +4 -1
- package/src/components/CnTabbedFormDialog/index.js +4 -1
- package/src/components/CnTableWidget/index.js +4 -1
- package/src/components/CnTasksCard/index.js +4 -1
- package/src/components/CnTileWidget/index.js +4 -1
- package/src/components/CnTimelineStages/index.js +4 -1
- package/src/components/CnUserActionMenu/index.js +4 -1
- package/src/components/CnVersionInfoCard/index.js +4 -1
- package/src/components/CnWidgetRenderer/index.js +4 -1
- package/src/components/CnWidgetWrapper/index.js +4 -1
|
@@ -45779,7 +45779,15 @@ var script$Q = {
|
|
|
45779
45779
|
CnJsonViewer: __vue_component__$T,
|
|
45780
45780
|
CnColorPicker: __vue_component__$R,
|
|
45781
45781
|
// Lazy-required to break the circular dep with CnAdvancedFormDialog.
|
|
45782
|
-
|
|
45782
|
+
// `.then(m => m.default)` unwraps the dynamic-import module namespace
|
|
45783
|
+
// before Vue receives it. With rollup's `inlineDynamicImports: true`
|
|
45784
|
+
// the namespace is frozen (`Object.freeze({__proto__: null, default:
|
|
45785
|
+
// component})`), and Vue 2's `Vue.extend()` against that wrapper
|
|
45786
|
+
// trips "Cannot add property _Ctor, object is not extensible" when
|
|
45787
|
+
// downstream code (Vue Router, `<component :is>`) attaches its
|
|
45788
|
+
// internal `_Ctor` cache. Pre-unwrapping yields the raw component
|
|
45789
|
+
// options object, which is extensible.
|
|
45790
|
+
CnAdvancedFormDialog: () => Promise.resolve().then(function () { return CnAdvancedFormDialog; }).then(m => m.default),
|
|
45783
45791
|
},
|
|
45784
45792
|
|
|
45785
45793
|
props: {
|
|
@@ -46917,7 +46925,7 @@ __vue_render__$Q._withStripped = true;
|
|
|
46917
46925
|
/* style */
|
|
46918
46926
|
const __vue_inject_styles__$Q = undefined;
|
|
46919
46927
|
/* scoped */
|
|
46920
|
-
const __vue_scope_id__$Q = "data-v-
|
|
46928
|
+
const __vue_scope_id__$Q = "data-v-65492b92";
|
|
46921
46929
|
/* module identifier */
|
|
46922
46930
|
const __vue_module_identifier__$Q = undefined;
|
|
46923
46931
|
/* functional template */
|
|
@@ -108450,9 +108458,24 @@ var CnFilesPage = /*#__PURE__*/Object.freeze({
|
|
|
108450
108458
|
* library extensions can add their own by passing a merged map to
|
|
108451
108459
|
* `CnAppRoot` (or `CnPageRenderer`) via the `pageTypes` prop.
|
|
108452
108460
|
*
|
|
108453
|
-
* Each entry
|
|
108454
|
-
*
|
|
108455
|
-
*
|
|
108461
|
+
* Each entry uses `defineAsyncComponent` with an explicit
|
|
108462
|
+
* `.then(m => m.default)` unwrap. The unwrap is load-bearing: rollup's
|
|
108463
|
+
* `inlineDynamicImports: true` flattens every `import()` call into a
|
|
108464
|
+
* `Promise.resolve().then(() => namespace)` where `namespace` is a
|
|
108465
|
+
* frozen `Object.freeze({__proto__: null, default: <component>})`.
|
|
108466
|
+
* Vue 2's async-component resolution against that frozen wrapper trips
|
|
108467
|
+
* `Cannot add property _Ctor, object is not extensible` when downstream
|
|
108468
|
+
* `Vue.extend()` (e.g. via Vue Router or `<component :is>`) tries to
|
|
108469
|
+
* attach its internal `_Ctor` cache. Pre-unwrapping the `default`
|
|
108470
|
+
* property yields the raw, extensible component options object —
|
|
108471
|
+
* which Vue can then mutate freely.
|
|
108472
|
+
*
|
|
108473
|
+
* Keeping `defineAsyncComponent` (rather than collapsing to static
|
|
108474
|
+
* imports) preserves the test-environment hack of NOT loading
|
|
108475
|
+
* `CnDashboardPage` → `CnDashboardGrid` → `gridstack` at module-load
|
|
108476
|
+
* time; gridstack ships ESM that Jest's default transform refuses
|
|
108477
|
+
* unless explicitly allowlisted. Async imports keep that load
|
|
108478
|
+
* deferred to actual render.
|
|
108456
108479
|
*
|
|
108457
108480
|
* The special `custom` type is NOT registered here — CnPageRenderer
|
|
108458
108481
|
* handles it inline, resolving `page.component` against the
|
|
@@ -108473,13 +108496,13 @@ var CnFilesPage = /*#__PURE__*/Object.freeze({
|
|
|
108473
108496
|
* `src/components/index.js` barrel. No change to CnPageRenderer.vue.
|
|
108474
108497
|
*/
|
|
108475
108498
|
const defaultPageTypes = {
|
|
108476
|
-
index: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnIndexPage; })),
|
|
108477
|
-
detail: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnDetailPage; })),
|
|
108478
|
-
dashboard: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnDashboardPage; })),
|
|
108479
|
-
logs: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnLogsPage; })),
|
|
108480
|
-
settings: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnSettingsPage; })),
|
|
108481
|
-
chat: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnChatPage; })),
|
|
108482
|
-
files: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnFilesPage; })),
|
|
108499
|
+
index: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnIndexPage; }).then(m => m.default)),
|
|
108500
|
+
detail: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnDetailPage; }).then(m => m.default)),
|
|
108501
|
+
dashboard: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnDashboardPage; }).then(m => m.default)),
|
|
108502
|
+
logs: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnLogsPage; }).then(m => m.default)),
|
|
108503
|
+
settings: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnSettingsPage; }).then(m => m.default)),
|
|
108504
|
+
chat: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnChatPage; }).then(m => m.default)),
|
|
108505
|
+
files: Vue.defineAsyncComponent(() => Promise.resolve().then(function () { return CnFilesPage; }).then(m => m.default)),
|
|
108483
108506
|
};
|
|
108484
108507
|
|
|
108485
108508
|
//
|