* fix: [OCISDEV-1358] shift-click range selection in the files list Shift-clicking a checkbox now triggers range selection, a plain shift-click replaces the current selection instead of adding to it, and the browser no longer highlights the text of the affected rows. * fix: [OCISDEV-1358] keep the checkbox checked state in sync with the model The browser toggles the native checked property on every click, while vue does not re-patch an unchanged model-value, so the property stayed flipped whenever a click did not change the selection, e.g. when a range selection keeps an already selected resource selected. The tiles view worked around that by preventing the default click action, which desyncs the property for good: chromium restores the pre-click value after vue has already patched it, so it never follows the model again. Sync the native property from the model in OcCheckbox once the parent had its chance to react to the change, and drop the workaround.
web-pkg
web-pkg is a package that provides utilities, most importantly a variety of components and composables, that can be useful when developing apps and extensions for ownCloud Web.
Installation
Depending on your package manager, run one of the following commands:
$ npm install @ownclouders/web-pkg --save-dev
$ pnpm add -D @ownclouders/web-pkg
$ yarn add @ownclouders/web-pkg --dev
It's recommended to install this package as a dev dependency because it's only really needed for providing autocompletion in your IDE and unit tests. In a runtime context, the ownCloud Web runtime provides the actual implementation.