Files
Ferdinand Thiessen 2133521001 refactor(files_sharing): migrate to Vue 3
All remaining entry points of the app are now built by the Vue 3
frontend. The changes are limited to what Vue 3 and @nextcloud/vue 9
require, components keep their Options API and template style.

- Custom elements use defineCustomElement() instead of the web component
  wrapper, `t`/`n` are provided as global properties like Vue.prototype
  did before, and the other entries mount with createApp().
- `.sync`, `$set`/`$delete`, `$children` and `.native` are replaced by
  `v-model:`, plain assignments, template refs and plain listeners. Refs
  compare raw shares, as entries receive the reactive proxies.
- The details tab no longer reassigns its `share` prop, which Vue 3
  ignores, and emits the share created on the server instead.
- The share update queue is marked raw, as p-queue's private fields
  break when accessed through a reactive proxy.
- Renamed @nextcloud/vue 9 events and refs (`update:modelValue`,
  `triggerButton`) and the password field `visible` model are used.
- moment is replaced by Intl based formatting, as for the other Vue 3
  bundles, and the uploader comes from @nextcloud/files/upload.
- Styles are no longer injected by the bundles, so the entries with
  styles are loaded with Util::addStyle().

Legacy share actions and sections registered with Vue 2 components by
other apps can no longer be rendered, the web component based
registerSidebarAction/registerSidebarSection APIs keep working.

Pre-existing lint findings of the stricter Vue 3 config are moved to its
suppressions baseline instead of restyling the templates.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-11-06 16:32:44 +01:00
..