paas-component-library 0.0.93 → 0.0.95

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.
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-M44hXXQa.js";
4
+ import { m as Ne } from "./index-5Y_PcTYL.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as F } from "./index-M44hXXQa.js";
1
+ import { m as F } from "./index-5Y_PcTYL.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-M44hXXQa.js";
1
+ import { m as i } from "./index-5Y_PcTYL.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-M44hXXQa.js";
1
+ import { m as d } from "./index-5Y_PcTYL.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-M44hXXQa.js";
4
+ import { m as Qe } from "./index-5Y_PcTYL.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -68,7 +68,24 @@ const ss = (o, e) => {
68
68
  this.$router.back();
69
69
  },
70
70
  reset() {
71
- this.$parent.model = {}, this.$store.setQueryData({});
71
+ this.resetData(this.$parent.model), this.$store.setQueryData({});
72
+ },
73
+ resetData(o) {
74
+ for (let e in o)
75
+ if (typeof o[e] == "object" && o[e] !== null)
76
+ o[e] = Array.isArray(o[e]) ? [] : {}, this.resetData(o[e]);
77
+ else
78
+ switch (typeof o[e]) {
79
+ case "string":
80
+ o[e] = "";
81
+ break;
82
+ case "number":
83
+ o[e] = 0;
84
+ break;
85
+ case "boolean":
86
+ o[e] = !1;
87
+ break;
88
+ }
72
89
  }
73
90
  }
74
91
  }, h$ = {
@@ -72325,37 +72342,37 @@ ze({
72325
72342
  id: "freemarker2",
72326
72343
  extensions: [".ftl", ".ftlh", ".ftlx"],
72327
72344
  aliases: ["FreeMarker2", "Apache FreeMarker2"],
72328
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagAutoInterpolationDollar)
72345
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagAutoInterpolationDollar)
72329
72346
  });
72330
72347
  ze({
72331
72348
  id: "freemarker2.tag-angle.interpolation-dollar",
72332
72349
  aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
72333
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagAngleInterpolationDollar)
72350
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagAngleInterpolationDollar)
72334
72351
  });
72335
72352
  ze({
72336
72353
  id: "freemarker2.tag-bracket.interpolation-dollar",
72337
72354
  aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
72338
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagBracketInterpolationDollar)
72355
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagBracketInterpolationDollar)
72339
72356
  });
72340
72357
  ze({
72341
72358
  id: "freemarker2.tag-angle.interpolation-bracket",
72342
72359
  aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
72343
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagAngleInterpolationBracket)
72360
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagAngleInterpolationBracket)
72344
72361
  });
72345
72362
  ze({
72346
72363
  id: "freemarker2.tag-bracket.interpolation-bracket",
72347
72364
  aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
72348
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagBracketInterpolationBracket)
72365
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagBracketInterpolationBracket)
72349
72366
  });
72350
72367
  ze({
72351
72368
  id: "freemarker2.tag-auto.interpolation-dollar",
72352
72369
  aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
72353
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagAutoInterpolationDollar)
72370
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagAutoInterpolationDollar)
72354
72371
  });
72355
72372
  ze({
72356
72373
  id: "freemarker2.tag-auto.interpolation-bracket",
72357
72374
  aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
72358
- loader: () => import("./freemarker2-Xzug_6kx.js").then((o) => o.TagAutoInterpolationBracket)
72375
+ loader: () => import("./freemarker2-OTWIflbY.js").then((o) => o.TagAutoInterpolationBracket)
72359
72376
  });
72360
72377
  /*!-----------------------------------------------------------------------------
72361
72378
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72393,7 +72410,7 @@ ze({
72393
72410
  extensions: [".handlebars", ".hbs"],
72394
72411
  aliases: ["Handlebars", "handlebars", "hbs"],
72395
72412
  mimetypes: ["text/x-handlebars-template"],
72396
- loader: () => import("./handlebars-50dLeUKu.js")
72413
+ loader: () => import("./handlebars-8fzyYLAC.js")
72397
72414
  });
72398
72415
  /*!-----------------------------------------------------------------------------
72399
72416
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72418,7 +72435,7 @@ ze({
72418
72435
  extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
72419
72436
  aliases: ["HTML", "htm", "html", "xhtml"],
72420
72437
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
72421
- loader: () => import("./html-uEO49Dsi.js")
72438
+ loader: () => import("./html-N-PLN4h5.js")
72422
72439
  });
72423
72440
  /*!-----------------------------------------------------------------------------
72424
72441
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72459,7 +72476,7 @@ ze({
72459
72476
  filenames: ["jakefile"],
72460
72477
  aliases: ["JavaScript", "javascript", "js"],
72461
72478
  mimetypes: ["text/javascript"],
72462
- loader: () => import("./javascript-NltYx87r.js")
72479
+ loader: () => import("./javascript-O_PRGcqv.js")
72463
72480
  });
72464
72481
  /*!-----------------------------------------------------------------------------
72465
72482
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72534,7 +72551,7 @@ ze({
72534
72551
  extensions: [".liquid", ".html.liquid"],
72535
72552
  aliases: ["Liquid", "liquid"],
72536
72553
  mimetypes: ["application/liquid"],
72537
- loader: () => import("./liquid-oqZsrmxw.js")
72554
+ loader: () => import("./liquid-mIpT6zbf.js")
72538
72555
  });
72539
72556
  /*!-----------------------------------------------------------------------------
72540
72557
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72570,7 +72587,7 @@ ze({
72570
72587
  id: "mdx",
72571
72588
  extensions: [".mdx"],
72572
72589
  aliases: ["MDX", "mdx"],
72573
- loader: () => import("./mdx-1Y69_6PH.js")
72590
+ loader: () => import("./mdx-BTs0i0R4.js")
72574
72591
  });
72575
72592
  /*!-----------------------------------------------------------------------------
72576
72593
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72765,7 +72782,7 @@ ze({
72765
72782
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
72766
72783
  aliases: ["Python", "py"],
72767
72784
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
72768
- loader: () => import("./python-GoHahvO5.js")
72785
+ loader: () => import("./python-H0YS6p3o.js")
72769
72786
  });
72770
72787
  /*!-----------------------------------------------------------------------------
72771
72788
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -72802,7 +72819,7 @@ ze({
72802
72819
  extensions: [".cshtml"],
72803
72820
  aliases: ["Razor", "razor"],
72804
72821
  mimetypes: ["text/x-cshtml"],
72805
- loader: () => import("./razor-9KgFr4DD.js")
72822
+ loader: () => import("./razor-CXFwegAC.js")
72806
72823
  });
72807
72824
  /*!-----------------------------------------------------------------------------
72808
72825
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -73054,7 +73071,7 @@ ze({
73054
73071
  extensions: [".ts", ".tsx", ".cts", ".mts"],
73055
73072
  aliases: ["TypeScript", "ts", "typescript"],
73056
73073
  mimetypes: ["text/typescript"],
73057
- loader: () => import("./typescript-ZZIOBw3g.js")
73074
+ loader: () => import("./typescript-XfWZwU7m.js")
73058
73075
  });
73059
73076
  /*!-----------------------------------------------------------------------------
73060
73077
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -73110,7 +73127,7 @@ ze({
73110
73127
  firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
73111
73128
  aliases: ["XML", "xml"],
73112
73129
  mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
73113
- loader: () => import("./xml-vUGk4re_.js")
73130
+ loader: () => import("./xml-vhMEeRgU.js")
73114
73131
  });
73115
73132
  /*!-----------------------------------------------------------------------------
73116
73133
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -73123,7 +73140,7 @@ ze({
73123
73140
  extensions: [".yaml", ".yml"],
73124
73141
  aliases: ["YAML", "yaml", "YML", "yml"],
73125
73142
  mimetypes: ["application/x-yaml", "text/x-yaml"],
73126
- loader: () => import("./yaml-putiR1Hn.js")
73143
+ loader: () => import("./yaml-8NFQmTpE.js")
73127
73144
  });
73128
73145
  /*!-----------------------------------------------------------------------------
73129
73146
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -73218,7 +73235,7 @@ var LO = class {
73218
73235
  }, YV = new LO("css", xO, kO), XV = new LO("scss", xO, kO), QV = new LO("less", xO, kO);
73219
73236
  i_.languages.css = { cssDefaults: YV, lessDefaults: QV, scssDefaults: XV };
73220
73237
  function DO() {
73221
- return import("./cssMode-gtvyMYDP.js");
73238
+ return import("./cssMode-6GWz0Y2s.js");
73222
73239
  }
73223
73240
  i_.languages.onLanguage("less", () => {
73224
73241
  DO().then((o) => o.setupMode(QV));
@@ -73313,7 +73330,7 @@ mx.languages.html = {
73313
73330
  registerHTMLLanguageService: bx
73314
73331
  };
73315
73332
  function tfe() {
73316
- return import("./htmlMode-8_Y-91qs.js");
73333
+ return import("./htmlMode-RpZCvhNm.js");
73317
73334
  }
73318
73335
  function bx(o, e = _x, t = vx(o)) {
73319
73336
  const i = new Yhe(o, e, t);
@@ -73390,7 +73407,7 @@ var afe = class {
73390
73407
  }, iH = new afe("json", lfe, cfe);
73391
73408
  f1.languages.json = { jsonDefaults: iH };
73392
73409
  function dfe() {
73393
- return import("./jsonMode-BSWeUtGU.js");
73410
+ return import("./jsonMode-aY6iTL6-.js");
73394
73411
  }
73395
73412
  f1.languages.register({
73396
73413
  id: "json",
@@ -73553,7 +73570,7 @@ Em.languages.typescript = {
73553
73570
  getJavaScriptWorker: bfe
73554
73571
  };
73555
73572
  function Cx() {
73556
- return import("./tsMode-fAIgsYe5.js");
73573
+ return import("./tsMode-mGABJrI-.js");
73557
73574
  }
73558
73575
  Em.languages.onLanguage("typescript", () => Cx().then((o) => o.setupTypeScript(dH)));
73559
73576
  Em.languages.onLanguage("javascript", () => Cx().then((o) => o.setupJavaScript(uH)));
@@ -108253,7 +108270,7 @@ const Xye = /* @__PURE__ */ ss(Zye, [["render", Yye]]), Qye = {
108253
108270
  content: "确定删除?",
108254
108271
  onConfirm: () => {
108255
108272
  this.$postForm(this.deleteUrl, { mediaUrl: o.newName }).then((e) => {
108256
- e.data.code == 200 ? this.datas = this.datas.filter((t) => t.newName !== o.newName) : va.error(e.data.msg);
108273
+ e.data.code == 200 ? (this.datas = this.datas.filter((t) => t.newName !== o.newName), this.$emit("update:modelValue", JSON.stringify(this.datas))) : va.error(e.data.msg);
108257
108274
  });
108258
108275
  }
108259
108276
  });
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-ZZIOBw3g.js";
1
+ import { conf as t, language as e } from "./typescript-XfWZwU7m.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var Ge = Object.defineProperty;
2
2
  var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ze } from "./index-M44hXXQa.js";
4
+ import { m as Ze } from "./index-5Y_PcTYL.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-M44hXXQa.js";
1
+ import { m as d } from "./index-5Y_PcTYL.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-M44hXXQa.js";
1
+ import { m as d } from "./index-5Y_PcTYL.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
package/dist/paas-ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { g as f } from "./index-M44hXXQa.js";
1
+ import { g as f } from "./index-5Y_PcTYL.js";
2
2
  export {
3
3
  f as default
4
4
  };