fdb2 1.0.18 → 1.0.19

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,6 +1,6 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime.js";
2
2
  import { I as resolveComponent, N as openBlock, T as defineComponent, _ as createBaseVNode, b as createElementBlock, c as init_vue_runtime_esm_bundler, w as createVNode } from "./vue.js";
3
- import { n as init__plugin_vue_export_helper, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
3
+ import { v as _plugin_vue_export_helper_default, y as init__plugin_vue_export_helper } from "./index.js";
4
4
  //#region src/platform/database/layout.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1, _hoisted_2, _hoisted_3, layout_vue_vue_type_script_setup_true_lang_default;
6
6
  var init_layout_vue_vue_type_script_setup_true_lang = __esmMin((() => {
@@ -6,7 +6,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
9
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __exportAll = (all, no_symbols) => {
11
11
  let target = {};
12
12
  for (var name in all) __defProp(target, name, {
@@ -1,7 +1,7 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime.js";
2
- //#region node_modules/.pnpm/@vue+shared@3.5.32/node_modules/@vue/shared/dist/shared.esm-bundler.js
2
+ //#region node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/dist/shared.esm-bundler.js
3
3
  /**
4
- * @vue/shared v3.5.32
4
+ * @vue/shared v3.5.33
5
5
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
6
6
  * @license MIT
7
7
  **/
@@ -180,7 +180,7 @@ var init_shared_esm_bundler = __esmMin((() => {
180
180
  };
181
181
  }));
182
182
  //#endregion
183
- //#region node_modules/.pnpm/@vue+reactivity@3.5.32/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
183
+ //#region node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
184
184
  function effectScope(detached) {
185
185
  return new EffectScope(detached);
186
186
  }
@@ -983,7 +983,17 @@ var init_reactivity_esm_bundler = __esmMin((() => {
983
983
  */
984
984
  off() {
985
985
  if (this._on > 0 && --this._on === 0) {
986
- activeEffectScope = this.prevScope;
986
+ if (activeEffectScope === this) activeEffectScope = this.prevScope;
987
+ else {
988
+ let current = activeEffectScope;
989
+ while (current) {
990
+ if (current.prevScope === this) {
991
+ current.prevScope = this.prevScope;
992
+ break;
993
+ }
994
+ current = current.prevScope;
995
+ }
996
+ }
987
997
  this.prevScope = void 0;
988
998
  }
989
999
  }
@@ -1533,7 +1543,7 @@ var init_reactivity_esm_bundler = __esmMin((() => {
1533
1543
  activeWatcher = void 0;
1534
1544
  }));
1535
1545
  //#endregion
1536
- //#region node_modules/.pnpm/@vue+runtime-core@3.5.32/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
1546
+ //#region node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
1537
1547
  function callWithErrorHandling(fn, instance, type, args) {
1538
1548
  try {
1539
1549
  return args ? fn(...args) : fn();
@@ -4085,10 +4095,10 @@ var init_runtime_core_esm_bundler = __esmMin((() => {
4085
4095
  computed = (getterOrOptions, debugOptions) => {
4086
4096
  return /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
4087
4097
  };
4088
- version = "3.5.32";
4098
+ version = "3.5.33";
4089
4099
  }));
4090
4100
  //#endregion
4091
- //#region node_modules/.pnpm/@vue+runtime-dom@3.5.32/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
4101
+ //#region node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
4092
4102
  function patchClass(el, value, isSVG) {
4093
4103
  const transitionClasses = el[vtcKey];
4094
4104
  if (transitionClasses) value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
@@ -4113,7 +4123,10 @@ function patchStyle(el, prev, next) {
4113
4123
  }
4114
4124
  for (const key in next) {
4115
4125
  if (key === "display") hasControlledDisplay = true;
4116
- setStyle(style, key, next[key]);
4126
+ const value = next[key];
4127
+ if (value != null) {
4128
+ if (!shouldPreserveTextareaResizeStyle(el, key, !isString(prev) && prev ? prev[key] : void 0, value)) setStyle(style, key, value);
4129
+ } else setStyle(style, key, "");
4117
4130
  }
4118
4131
  } else if (isCssString) {
4119
4132
  if (prev !== next) {
@@ -4152,6 +4165,9 @@ function autoPrefix(style, rawName) {
4152
4165
  }
4153
4166
  return rawName;
4154
4167
  }
4168
+ function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
4169
+ return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
4170
+ }
4155
4171
  function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
4156
4172
  if (isSVG && key.startsWith("xlink:")) if (value == null) el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
4157
4173
  else el.setAttributeNS(xlinkNS, key, value);
@@ -4595,12 +4611,12 @@ var init_runtime_dom_esm_bundler = __esmMin((() => {
4595
4611
  });
4596
4612
  }));
4597
4613
  //#endregion
4598
- //#region node_modules/.pnpm/vue@3.5.32_typescript@5.9.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
4614
+ //#region node_modules/.pnpm/vue@3.5.33_typescript@5.9.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
4599
4615
  var init_vue_runtime_esm_bundler = __esmMin((() => {
4600
4616
  init_runtime_dom_esm_bundler();
4601
4617
  }));
4602
4618
  //#endregion
4603
- //#region node_modules/.pnpm/vue-router@4.6.4_vue@3.5.32_typescript@5.9.3_/node_modules/vue-router/dist/devtools-EWN81iOl.mjs
4619
+ //#region node_modules/.pnpm/vue-router@4.6.4_vue@3.5.33_typescript@5.9.3_/node_modules/vue-router/dist/devtools-EWN81iOl.mjs
4604
4620
  /**
4605
4621
  * Allows differentiating lazy components from functional components and vue-class-component
4606
4622
  * @internal
@@ -5116,7 +5132,7 @@ var init_devtools_EWN81iOl = __esmMin((() => {
5116
5132
  routerViewLocationKey = Symbol("");
5117
5133
  }));
5118
5134
  //#endregion
5119
- //#region node_modules/.pnpm/vue-router@4.6.4_vue@3.5.32_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.mjs
5135
+ //#region node_modules/.pnpm/vue-router@4.6.4_vue@3.5.33_typescript@5.9.3_/node_modules/vue-router/dist/vue-router.mjs
5120
5136
  /**
5121
5137
  * Creates a normalized history location from a window.location object
5122
5138
  * @param base - The base path
@@ -6386,7 +6402,7 @@ var init_vue_router = __esmMin((() => {
6386
6402
  RouterView = RouterViewImpl;
6387
6403
  }));
6388
6404
  //#endregion
6389
- //#region node_modules/.pnpm/@vueuse+shared@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs
6405
+ //#region node_modules/.pnpm/@vueuse+shared@13.9.0_vue@3.5.33_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs
6390
6406
  function tryOnScopeDispose(fn) {
6391
6407
  if (getCurrentScope()) {
6392
6408
  onScopeDispose(fn);
@@ -6426,7 +6442,7 @@ var init_shared = __esmMin((() => {
6426
6442
  });
6427
6443
  }));
6428
6444
  //#endregion
6429
- //#region node_modules/.pnpm/@vueuse+core@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs
6445
+ //#region node_modules/.pnpm/@vueuse+core@13.9.0_vue@3.5.33_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs
6430
6446
  function unrefElement(elRef) {
6431
6447
  var _a;
6432
6448
  const plain = toValue(elRef);
@@ -34,12 +34,9 @@
34
34
  </script>
35
35
  <script type="module" crossorigin src="/public/index.js"></script>
36
36
  <link rel="modulepreload" crossorigin href="/public/rolldown-runtime.js">
37
- <link rel="modulepreload" crossorigin href="/public/_plugin-vue_export-helper.js">
38
37
  <link rel="modulepreload" crossorigin href="/public/bootstrap.js">
39
38
  <link rel="modulepreload" crossorigin href="/public/vue.js">
40
- <link rel="modulepreload" crossorigin href="/public/modal.js">
41
39
  <link rel="stylesheet" crossorigin href="/public/bootstrap.css">
42
- <link rel="stylesheet" crossorigin href="/public/modal.css">
43
40
  <link rel="stylesheet" crossorigin href="/public/index.css">
44
41
  </head>
45
42
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fdb2",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "view/index.html",
@@ -55,10 +55,10 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@fefeding/common": "^1.0.58",
58
- "axios": "^1.15.0",
58
+ "axios": "^1.15.2",
59
59
  "dayjs": "^1.11.20",
60
60
  "express": "^5.2.1",
61
- "mysql2": "^3.22.1",
61
+ "mysql2": "^3.22.3",
62
62
  "oracledb": "^6.10.0",
63
63
  "pg": "^8.20.0",
64
64
  "reflect-metadata": "^0.2.2",
@@ -75,7 +75,7 @@
75
75
  "@codemirror/language": "^6.12.3",
76
76
  "@codemirror/state": "^6.6.0",
77
77
  "@codemirror/theme-one-dark": "^6.1.3",
78
- "@codemirror/view": "^6.41.0",
78
+ "@codemirror/view": "^6.41.1",
79
79
  "@fefeding/eventemitter": "^1.0.5",
80
80
  "@fefeding/vite-nunjucks-plugin": "^1.0.2",
81
81
  "@popperjs/core": "^2.11.8",
@@ -100,10 +100,10 @@
100
100
  "jsdom": "^26.1.0",
101
101
  "jszip": "^3.10.1",
102
102
  "nw": "^0.107.0",
103
- "nw-builder": "^4.17.7",
103
+ "nw-builder": "^4.17.10",
104
104
  "pinia": "^3.0.4",
105
105
  "pinia-plugin-persistedstate": "^4.7.1",
106
- "postcss": "^8.5.10",
106
+ "postcss": "^8.5.12",
107
107
  "sass": "^1.99.0",
108
108
  "tailwindcss": "^3.4.19",
109
109
  "typescript": "^5.9.3",
@@ -111,9 +111,9 @@
111
111
  "vite": "latest",
112
112
  "vite-plugin-files-copy": "^3.8.0",
113
113
  "vitest": "^3.2.4",
114
- "vue": "^3.5.32",
114
+ "vue": "^3.5.33",
115
115
  "vue-router": "^4.6.4",
116
- "vue-tsc": "^3.2.6",
116
+ "vue-tsc": "^3.2.7",
117
117
  "vuex": "^4.1.0",
118
118
  "xlsx": "^0.18.5"
119
119
  },
@@ -1,12 +0,0 @@
1
- import { n as __esmMin } from "./rolldown-runtime.js";
2
- //#region \0plugin-vue:export-helper
3
- var _plugin_vue_export_helper_default;
4
- var init__plugin_vue_export_helper = __esmMin((() => {
5
- _plugin_vue_export_helper_default = (sfc, props) => {
6
- const target = sfc.__vccOpts || sfc;
7
- for (const [key, val] of props) target[key] = val;
8
- return target;
9
- };
10
- }));
11
- //#endregion
12
- export { init__plugin_vue_export_helper as n, _plugin_vue_export_helper_default as t };
@@ -1,150 +0,0 @@
1
-
2
- /* 覆盖Bootstrap默认样式 */
3
- .toast-container[data-v-7d639c44] {
4
- z-index: 1100;
5
- }
6
- .fade-out[data-v-7d639c44] {
7
- animation: fadeOut-7d639c44 1s forwards;
8
- }
9
- @keyframes fadeOut-7d639c44 {
10
- 0% { opacity: 1; transform: translateY(0);
11
- }
12
- 100% { opacity: 0; transform: translateY(-120%);}
13
- }
14
-
15
- .loading-overlay[data-v-d5892680] {
16
- position: absolute;
17
- top: 0;
18
- left: 0;
19
- width: 100%;
20
- height: 100%;
21
- background-color: rgba(0, 0, 0, 0.3);
22
- display: flex;
23
- justify-content: center;
24
- align-items: center;
25
- z-index: 1050;
26
- }
27
- .loading-spinner[data-v-d5892680] {
28
- text-align: center;
29
- }
30
-
31
- .modal-dialog[data-v-6653cff9] {
32
- z-index: var(--bs-modal-zindex);
33
- max-width:none !important;
34
- }
35
- .modal-success .modal-header[data-v-6653cff9] {
36
- background-color: var(--bs-success);
37
- color: white;
38
- }
39
- .modal-error .modal-header[data-v-6653cff9] {
40
- background-color: var(--bs-danger);
41
- color: white;
42
- }
43
- .modal-warning .modal-header[data-v-6653cff9] {
44
- background-color: var(--bs-warning);
45
- color: var(--bs-dark);
46
- }
47
- .modal-info .modal-header[data-v-6653cff9] {
48
- background-color: var(--bs-info);
49
- color: white;
50
- }
51
- .modal-body[data-v-6653cff9] {
52
- min-height: 80px;
53
- display: flex;
54
- flex-direction: column;
55
- align-items: stretch;
56
- }
57
- .error-details[data-v-6653cff9] {
58
- width: 100%;
59
- margin-top: 1rem;
60
- }
61
- .error-content[data-v-6653cff9] {
62
- background-color: #f8f9fa;
63
- border: 1px solid #e9ecef;
64
- border-radius: 0.375rem;
65
- padding: 1rem;
66
- margin: 0;
67
- max-height: 200px;
68
- overflow-y: auto;
69
- white-space: pre-wrap;
70
- word-break: break-word;
71
- font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
72
- font-size: 0.875rem;
73
- line-height: 1.5;
74
- }
75
- .error-details-toggle[data-v-6653cff9] {
76
- width: 100%;
77
- }
78
- .error-details-content[data-v-6653cff9] {
79
- background-color: #f8f9fa;
80
- border: 1px solid #e9ecef;
81
- border-radius: 0.375rem;
82
- padding: 1rem;
83
- margin-top: 0.5rem;
84
- }
85
- .error-json[data-v-6653cff9] {
86
- background-color: #212529;
87
- color: #f8f9fa;
88
- border-radius: 0.25rem;
89
- padding: 0.75rem;
90
- font-size: 0.8rem;
91
- line-height: 1.4;
92
- max-height: 300px;
93
- overflow-y: auto;
94
- white-space: pre-wrap;
95
- word-break: break-word;
96
- }
97
- .error-meta[data-v-6653cff9] {
98
- border-bottom: 1px solid #dee2e6;
99
- padding-bottom: 0.5rem;
100
- margin-bottom: 0.5rem;
101
- }
102
- .modal-body .fs-1[data-v-6653cff9] {
103
- font-size: 2.5rem;
104
- margin-bottom: 1rem;
105
- }
106
-
107
- /* 响应式调整 */
108
- @media (max-width: 576px) {
109
- .error-content[data-v-6653cff9],
110
- .error-json[data-v-6653cff9] {
111
- font-size: 0.75rem;
112
- max-height: 150px;
113
- }
114
- }
115
-
116
- .datagrid-container[data-v-ae552d25] {
117
- display: flex;
118
- flex-direction: column;
119
- height: 100%;
120
- }
121
- .datagrid-inner[data-v-ae552d25] {
122
- flex: 1;
123
- overflow: auto;
124
- margin-bottom: 10px;
125
- }
126
- .datagrid-th[data-v-ae552d25] {
127
- min-width: 80px;
128
- white-space: nowrap;
129
- position: sticky;
130
- top: 0;
131
- z-index: 10;
132
- background-color: #f8f9fa;
133
- }
134
- .datagrid-th.sortable[data-v-ae552d25] {
135
- cursor: pointer;
136
- user-select: none;
137
- }
138
- .datagrid-th.sortable[data-v-ae552d25]:hover {
139
- background-color: #e9ecef;
140
- }
141
- .header-content[data-v-ae552d25] {
142
- display: flex;
143
- align-items: center;
144
- gap: 0.5rem;
145
- }
146
- .sort-icon[data-v-ae552d25] {
147
- display: flex;
148
- align-items: center;
149
- font-size: 0.75rem;
150
- }