@xuda.io/xuda-widget-plugin-xuda-drive 1.0.76 → 1.0.77

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime.mjs +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "description": "Xuda Drive widget plugin",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"
package/runtime.mjs CHANGED
@@ -20,7 +20,7 @@ await import(
20
20
  "./pintura/filepond-plugin-image-editor/FilePondPluginImageEditor.js"
21
21
  );
22
22
 
23
- import "./moment/min/moment.min.js";
23
+ // import "./moment/min/moment.min.js";
24
24
 
25
25
  export async function upload(fields, e) {
26
26
  return new Promise(async (resolve, reject) => {
@@ -488,9 +488,9 @@ export async function viewer(fields, e) {
488
488
  // "https://cdn.jsdelivr.net/npm/vue@3.5.6/dist/vue.global.js"
489
489
  // );
490
490
 
491
- // await func.utils.load_js_on_demand(
492
- // "https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js"
493
- // );
491
+ await func.utils.load_js_on_demand(
492
+ "https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js"
493
+ );
494
494
 
495
495
  // await func.utils.load_js_on_demand(
496
496
  // "https://unpkg.com/swiper/swiper-bundle.min.js"
@@ -498,7 +498,7 @@ export async function viewer(fields, e) {
498
498
 
499
499
  await import("./tailwind.cdn.js");
500
500
  await import("./vue.global.3.5.6.js");
501
- // const moment = await import("./moment.min.2.30.1.js");
501
+ // const { moment } = import("./moment.min.2.30.1.js");
502
502
  await import("./swiper-bundle.min.11.1.14.js");
503
503
  await import("./vueusee/shared.js");
504
504
  await import("./vueusee/core.js");