@gpustack/core-ui 1.0.16 → 1.0.17

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/dist/index.es.js +119 -115
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2140,16 +2140,23 @@ function Oi(e, t) {
2140
2140
  }));
2141
2141
  }
2142
2142
  //#endregion
2143
- //#region src/lib/components/drop-down-actions/index.tsx
2144
- var ki = (e) => {
2145
- let { menu: t, trigger: n = ["hover"], placement: r = "bottomRight", children: i, ...a } = e, s = o();
2143
+ //#region src/lib/hooks/useAccess.ts
2144
+ var ki = () => {
2145
+ let { access: e } = a();
2146
+ return e?.useAccess?.() ?? {};
2147
+ }, Ai = (e) => {
2148
+ let { menu: t, trigger: n = ["hover"], placement: r = "bottomRight", children: i, ...a } = e, s = o(), c = ki();
2146
2149
  return /* @__PURE__ */ H(dt, {
2147
2150
  menu: {
2148
2151
  items: R(() => t?.items?.map((e) => ({
2149
2152
  ...Z.default.omit(e, "locale"),
2150
2153
  icon: e.icon ? E.cloneElement(e.icon, { style: { fontSize: 14 } }) : null,
2151
2154
  label: e.locale ? s.formatMessage({ id: e.label }) : e.label
2152
- })), [t?.items, s]),
2155
+ })).filter((e) => e?.access ? c?.[e.access] : !0), [
2156
+ t?.items,
2157
+ s,
2158
+ c
2159
+ ]),
2153
2160
  onClick: t?.onClick
2154
2161
  },
2155
2162
  trigger: n,
@@ -2157,11 +2164,11 @@ var ki = (e) => {
2157
2164
  ...a,
2158
2165
  children: i
2159
2166
  });
2160
- }, Ai = [
2167
+ }, ji = [
2161
2168
  "image/png",
2162
2169
  "image/jpg",
2163
2170
  "image/jpeg"
2164
- ], ji = ({ handleUpdateImgList: e, multiple: t = !0, drag: n = !1, disabled: r = !1, children: i, icon: a, title: s, accept: c = Ai.join(","), size: l = "small", maxSize: u, width: d, height: f, verifySize: p = !1 }) => {
2171
+ ], Mi = ({ handleUpdateImgList: e, multiple: t = !0, drag: n = !1, disabled: r = !1, children: i, icon: a, title: s, accept: c = ji.join(","), size: l = "small", maxSize: u, width: d, height: f, verifySize: p = !1 }) => {
2165
2172
  let m = o(), h = z(null), g = N((e) => {
2166
2173
  let t = c.split(",").map((e) => e.trim());
2167
2174
  return t.includes(e.type) ? u !== void 0 && e.size > u * 1024 ? (Ft.error(m.formatMessage({ id: "common.file.size.limit" }, { size: `${u}KB` })), !1) : !0 : (Ft.error(m.formatMessage({ id: "common.file.format.limit" }, { formats: t.join(", ") })), !1);
@@ -2223,7 +2230,7 @@ var ki = (e) => {
2223
2230
  })
2224
2231
  })
2225
2232
  }) });
2226
- }, Mi = Y.div`
2233
+ }, Ni = Y.div`
2227
2234
  position: relative;
2228
2235
  .del-btn {
2229
2236
  display: none;
@@ -2239,7 +2246,7 @@ var ki = (e) => {
2239
2246
  display: flex;
2240
2247
  }
2241
2248
  }
2242
- `, Ni = (e) => {
2249
+ `, Pi = (e) => {
2243
2250
  let { handleUpdateImgList: t, updateUidCount: n, size: r = "middle", inputProps: i } = e, a = o(), [s, c] = B(!1), [l, u] = B(!1), [d, f] = B(!1), p = (e) => {
2244
2251
  f(e), console.log("handleOnOpenChange", e);
2245
2252
  }, m = z(null), h = () => {
@@ -2266,7 +2273,7 @@ var ki = (e) => {
2266
2273
  ImageURLInput: s ? /* @__PURE__ */ H(J, {
2267
2274
  open: l,
2268
2275
  title: a.formatMessage({ id: "playground.uploadImage.url.invalid" }),
2269
- children: /* @__PURE__ */ U(Mi, { children: [/* @__PURE__ */ H(ht, {
2276
+ children: /* @__PURE__ */ U(Ni, { children: [/* @__PURE__ */ H(ht, {
2270
2277
  ...i,
2271
2278
  ref: m,
2272
2279
  status: l ? "error" : "",
@@ -2289,11 +2296,11 @@ var ki = (e) => {
2289
2296
  })] })
2290
2297
  }) : null,
2291
2298
  dropDownOpen: d,
2292
- UploadImageButton: /* @__PURE__ */ H(ki, {
2299
+ UploadImageButton: /* @__PURE__ */ H(Ai, {
2293
2300
  onOpenChange: p,
2294
2301
  placement: "topLeft",
2295
2302
  menu: { items: [{
2296
- label: /* @__PURE__ */ U(ji, {
2303
+ label: /* @__PURE__ */ U(Mi, {
2297
2304
  handleUpdateImgList: t,
2298
2305
  size: "middle",
2299
2306
  children: [/* @__PURE__ */ H(Xe, { className: "m-r-8" }), a.formatMessage({ id: "playground.img.upload" })]
@@ -2315,7 +2322,7 @@ var ki = (e) => {
2315
2322
  })
2316
2323
  })
2317
2324
  };
2318
- }, Pi = () => {
2325
+ }, Fi = () => {
2319
2326
  let e = o(), [t, n] = Ft.useMessage();
2320
2327
  return {
2321
2328
  getRuleMessage: (t, n, r = !0) => {
@@ -2329,7 +2336,7 @@ var ki = (e) => {
2329
2336
  };
2330
2337
  //#endregion
2331
2338
  //#region src/lib/hooks/use-body-scroll.ts
2332
- function Fi() {
2339
+ function Ii() {
2333
2340
  let e = E.useRef(0), t = E.useRef({}), n = E.useRef(null), r = E.useRef(null), i = E.useRef(null), a = () => {
2334
2341
  n.current = window.__GPUSTACK_BODY_SCROLLER__?.elements()?.scrollEventElement, r.current = window.__GPUSTACK_BODY_SCROLLER__;
2335
2342
  };
@@ -2355,14 +2362,14 @@ function Fi() {
2355
2362
  }
2356
2363
  //#endregion
2357
2364
  //#region src/lib/hooks/use-chunk-fetch.ts
2358
- async function Ii(e) {
2365
+ async function Li(e) {
2359
2366
  try {
2360
2367
  return (e.headers.get("content-type") || "").includes("application/json") ? await e.json() : { message: await e.text() || "Unknown error" };
2361
2368
  } catch {
2362
2369
  return { message: "Failed to parse error response" };
2363
2370
  }
2364
2371
  }
2365
- var Li = class {
2372
+ var Ri = class {
2366
2373
  buffer = [];
2367
2374
  contentLength = null;
2368
2375
  progress = 0;
@@ -2401,9 +2408,9 @@ var Li = class {
2401
2408
  getBuffer() {
2402
2409
  return this.buffer;
2403
2410
  }
2404
- }, Ri = () => {
2411
+ }, zi = () => {
2405
2412
  let { config: e } = a(), { apiBaseUrl: t } = e, n = z(null), r = z({}), i = async (e, t, n = 100) => {
2406
- let r = e?.body?.getReader(), i = new TextDecoder("utf-8"), a = new Li({
2413
+ let r = e?.body?.getReader(), i = new TextDecoder("utf-8"), a = new Ri({
2407
2414
  contentLength: e.headers.get("content-length"),
2408
2415
  callback: t
2409
2416
  }), o = !1, s = async () => {
@@ -2445,7 +2452,7 @@ var Li = class {
2445
2452
  signal: n.current.signal
2446
2453
  });
2447
2454
  if (!l.ok) {
2448
- let e = await Ii(l);
2455
+ let e = await Li(l);
2449
2456
  a ? a(e) : r(e?.message);
2450
2457
  return;
2451
2458
  }
@@ -2461,23 +2468,23 @@ var Li = class {
2461
2468
  n.current?.abort?.(), window.removeEventListener("beforeunload", e);
2462
2469
  };
2463
2470
  }, []), { setChunkFetch: s };
2464
- }, zi = /* @__PURE__ */ t({
2465
- StatusColorMap: () => Hi,
2466
- StatusMaps: () => Ui,
2467
- WatchEventType: () => Vi,
2468
- breakpoints: () => Bi
2469
- }), Bi = {
2471
+ }, Bi = /* @__PURE__ */ t({
2472
+ StatusColorMap: () => Ui,
2473
+ StatusMaps: () => Wi,
2474
+ WatchEventType: () => Hi,
2475
+ breakpoints: () => Vi
2476
+ }), Vi = {
2470
2477
  xs: 0,
2471
2478
  sm: 576,
2472
2479
  md: 768,
2473
2480
  lg: 992,
2474
2481
  xl: 1200,
2475
2482
  xxl: 1600
2476
- }, Vi = {
2483
+ }, Hi = {
2477
2484
  CREATE: 1,
2478
2485
  UPDATE: 2,
2479
2486
  DELETE: 3
2480
- }, Hi = {
2487
+ }, Ui = {
2481
2488
  error: {
2482
2489
  text: "var(--ant-red-6)",
2483
2490
  bg: "var(--ant-red-1)"
@@ -2499,7 +2506,7 @@ var Li = class {
2499
2506
  border: "var(--ant-color-border)",
2500
2507
  bg: "var(--ant-color-fill)"
2501
2508
  }
2502
- }, Ui = {
2509
+ }, Wi = {
2503
2510
  error: "error",
2504
2511
  warning: "warning",
2505
2512
  transitioning: "transitioning",
@@ -2512,38 +2519,38 @@ window.__GPUSTACK_WATCH_REQUEST_CLEAR__ = {
2512
2519
  watchIDValue: 0,
2513
2520
  requestList: []
2514
2521
  };
2515
- var Wi = () => (window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue = window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue + 1, window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue), Gi = (e) => {
2522
+ var Gi = () => (window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue = window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue + 1, window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue), Ki = (e) => {
2516
2523
  window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList.push(e);
2517
- }, Ki = (e) => {
2524
+ }, qi = (e) => {
2518
2525
  let t = window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList;
2519
2526
  for (let n = 0; n < e; n++) t[n]?.cancel?.();
2520
2527
  window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList = t.slice(e);
2521
- }, qi = (e) => {
2528
+ }, Ji = (e) => {
2522
2529
  let t = window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList.filter((t) => t.id !== e);
2523
2530
  window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList = t;
2524
- }, Ji = () => {
2531
+ }, Yi = () => {
2525
2532
  let { CancelToken: e } = w;
2526
2533
  return e.source();
2527
- }, Yi = (e, t, n) => {
2534
+ }, Xi = (e, t, n) => {
2528
2535
  let r = e.slice(n.current);
2529
2536
  return n.current = t, r;
2530
- }, Xi = () => {
2537
+ }, Zi = () => {
2531
2538
  let { services: e } = a(), { request: t } = e, n = window.__GPUSTACK_WATCH_REQUEST_CLEAR__.requestList, [r, i] = B(0), o = z(null), s = z({}), c = z(0), l = z(0), u = z(5), d = {
2532
2539
  params: {},
2533
2540
  contentType: "json"
2534
2541
  }, f = z(null), p = z(0), m = z(null), h = () => {
2535
2542
  c.current = 0, l.current = 0, p.current = 0, i(0);
2536
2543
  }, g = () => {
2537
- let { CancelToken: e } = w, t = e.source(), n = Wi();
2544
+ let { CancelToken: e } = w, t = e.source(), n = Gi();
2538
2545
  return {
2539
2546
  id: n,
2540
2547
  token: t.token,
2541
2548
  cancel() {
2542
- t.cancel(), qi(n);
2549
+ t.cancel(), Ji(n);
2543
2550
  }
2544
2551
  };
2545
- }, _ = (e) => Z.default.map(e, (e) => (e.type === Vi.DELETE && (e.ids = e.data?.id ? [e.data.id] : []), e.collection = e.data ? [e.data] : [], e)), v = async ({ url: e, handler: r, beforeReconnect: a, params: s = {}, contentType: d = "json" }) => {
2546
- h(), o.current?.cancel?.(), o.current = g(), Gi(o.current), n.length >= 4 && Ki(n.length - 4 || 1), d === "json" && (m.current?.terminate(), m.current = new Worker(new URL(
2552
+ }, _ = (e) => Z.default.map(e, (e) => (e.type === Hi.DELETE && (e.ids = e.data?.id ? [e.data.id] : []), e.collection = e.data ? [e.data] : [], e)), v = async ({ url: e, handler: r, beforeReconnect: a, params: s = {}, contentType: d = "json" }) => {
2553
+ h(), o.current?.cancel?.(), o.current = g(), Ki(o.current), n.length >= 4 && qi(n.length - 4 || 1), d === "json" && (m.current?.terminate(), m.current = new Worker(new URL(
2547
2554
  /* @vite-ignore */
2548
2555
  "" + new URL("assets/json-parser-worker-DtJw0BTZ.js", import.meta.url).href,
2549
2556
  "" + import.meta.url
@@ -2563,7 +2570,7 @@ var Wi = () => (window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue = window.__
2563
2570
  async onDownloadProgress(e) {
2564
2571
  let { response: t, readyState: n } = e.currentTarget;
2565
2572
  if (i(n), c.current = e.loaded || 0, l.current = e.total || 0, d === "json") {
2566
- let n = Yi(t, e.loaded, p);
2573
+ let n = Xi(t, e.loaded, p);
2567
2574
  m.current.postMessage(n);
2568
2575
  } else r(t);
2569
2576
  }
@@ -2595,7 +2602,7 @@ var Wi = () => (window.__GPUSTACK_WATCH_REQUEST_CLEAR__.watchIDValue = window.__
2595
2602
  };
2596
2603
  //#endregion
2597
2604
  //#region src/lib/hooks/use-container-scroll.ts
2598
- function Zi(e, t) {
2605
+ function Qi(e, t) {
2599
2606
  let n = z(!1), r = z(e), i = z(t), a = z(t?.toBottom);
2600
2607
  z(null);
2601
2608
  let o = R(() => Z.default.debounce(() => {
@@ -2618,14 +2625,14 @@ function Zi(e, t) {
2618
2625
  }
2619
2626
  //#endregion
2620
2627
  //#region src/lib/hooks/use-deferred-request.ts
2621
- function Qi(e, t = 100) {
2628
+ function $i(e, t = 100) {
2622
2629
  return Bt(async (...n) => (await new Promise((e) => {
2623
2630
  setTimeout(e, t);
2624
2631
  }), await e(...n)), { manual: !0 });
2625
2632
  }
2626
2633
  //#endregion
2627
2634
  //#region ../../node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js
2628
- var $i = /* @__PURE__ */ n(((e, t) => {
2635
+ var ea = /* @__PURE__ */ n(((e, t) => {
2629
2636
  (function(n, r) {
2630
2637
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
2631
2638
  })(e, (function() {
@@ -2922,8 +2929,8 @@ var $i = /* @__PURE__ */ n(((e, t) => {
2922
2929
  }));
2923
2930
  //#endregion
2924
2931
  //#region src/lib/hooks/use-download-stream.ts
2925
- function ea() {
2926
- let e = z(null), t = z(null), n = z(!1), r = z("log"), i = z(null), { setChunkFetch: a } = Ri(), o = (e) => {
2932
+ function ta() {
2933
+ let e = z(null), t = z(null), n = z(!1), r = z("log"), i = z(null), { setChunkFetch: a } = zi(), o = (e) => {
2927
2934
  let t = new Blob([e], { type: "text/plain" }), n = URL.createObjectURL(t), i = document.createElement("a");
2928
2935
  i.href = n, i.download = r.current, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(n);
2929
2936
  }, s = (e, r) => {
@@ -2988,7 +2995,7 @@ function ea() {
2988
2995
  }
2989
2996
  //#endregion
2990
2997
  //#region src/lib/hooks/use-download-logs.tsx
2991
- var ta = /* @__PURE__ */ e($i(), 1), na = (e) => /* @__PURE__ */ H("div", {
2998
+ var na = /* @__PURE__ */ e(ea(), 1), ra = (e) => /* @__PURE__ */ H("div", {
2992
2999
  style: {
2993
3000
  width: 280,
2994
3001
  textOverflow: "ellipsis",
@@ -2996,11 +3003,11 @@ var ta = /* @__PURE__ */ e($i(), 1), na = (e) => /* @__PURE__ */ H("div", {
2996
3003
  overflow: "hidden"
2997
3004
  },
2998
3005
  children: e
2999
- }), ra = (e) => `${e}_${(0, ta.default)().format("YYYY-MM-DD_HH-mm-ss")}.txt`, ia = () => {
3000
- let { downloadStream: e } = ea(), t = o(), [n, r] = It.useNotification({ stack: { threshold: 1 } }), i = (e) => {
3006
+ }), ia = (e) => `${e}_${(0, na.default)().format("YYYY-MM-DD_HH-mm-ss")}.txt`, aa = () => {
3007
+ let { downloadStream: e } = ta(), t = o(), [n, r] = It.useNotification({ stack: { threshold: 1 } }), i = (e) => {
3001
3008
  n.open({
3002
3009
  duration: e.duration,
3003
- message: na(e.filename),
3010
+ message: ra(e.filename),
3004
3011
  key: e.filename,
3005
3012
  closeIcon: /* @__PURE__ */ H("span", { children: t.formatMessage({ id: "common.button.cancel" }) }),
3006
3013
  description: /* @__PURE__ */ H(bt, {
@@ -3016,7 +3023,7 @@ var ta = /* @__PURE__ */ e($i(), 1), na = (e) => /* @__PURE__ */ H("div", {
3016
3023
  onDownloadLog: async (t) => {
3017
3024
  e({
3018
3025
  url: t.url,
3019
- filename: ra(t.name),
3026
+ filename: ia(t.name),
3020
3027
  downloadNotification: i
3021
3028
  });
3022
3029
  },
@@ -3025,7 +3032,7 @@ var ta = /* @__PURE__ */ e($i(), 1), na = (e) => /* @__PURE__ */ H("div", {
3025
3032
  };
3026
3033
  //#endregion
3027
3034
  //#region src/lib/hooks/use-expanded-row-keys.ts
3028
- function aa(e = []) {
3035
+ function oa(e = []) {
3029
3036
  let [t, n] = B(e), [r, i] = B(null);
3030
3037
  return {
3031
3038
  expandedRowKeys: t,
@@ -3050,9 +3057,9 @@ function aa(e = []) {
3050
3057
  }
3051
3058
  //#endregion
3052
3059
  //#region src/lib/hooks/use-query-data-list.ts
3053
- function oa(e) {
3060
+ function sa(e) {
3054
3061
  let { key: t, fetchList: n, getLabel: r, getValue: i, responseType: a = "array", errorMsg: o } = e, s = z(null), [c, l] = B([]), { runAsync: u, loading: d, cancel: f } = Bt(async (e, t) => {
3055
- s.current?.cancel(), s.current = Ji();
3062
+ s.current?.cancel(), s.current = Yi();
3056
3063
  let o = await n(e, {
3057
3064
  token: s.current?.token,
3058
3065
  ...t || {}
@@ -3080,9 +3087,9 @@ function oa(e) {
3080
3087
  fetchData: (e, t) => u(e, t)
3081
3088
  };
3082
3089
  }
3083
- function sa(e) {
3090
+ function ca(e) {
3084
3091
  let { key: t, fetchDetail: n, getData: r, errorMsg: i, delay: a } = e, o = z(null), [s, c] = B({}), { runAsync: l, loading: u, cancel: d } = Bt(async (e, t) => {
3085
- o.current?.cancel(), o.current = Ji();
3092
+ o.current?.cancel(), o.current = Yi();
3086
3093
  let i = await n(e, {
3087
3094
  token: o.current?.token,
3088
3095
  ...t || {}
@@ -3110,14 +3117,14 @@ function sa(e) {
3110
3117
  }
3111
3118
  //#endregion
3112
3119
  //#region src/lib/hooks/use-request-token.ts
3113
- function ca() {
3120
+ function la() {
3114
3121
  let { source: e } = w.CancelToken;
3115
3122
  return e;
3116
3123
  }
3117
3124
  //#endregion
3118
3125
  //#region src/lib/hooks/use-responsive.ts
3119
- var la = ({ defaultSpan: e = 8 }) => {
3120
- let [t, n] = B(e), r = (e) => e < Bi.md ? 24 : e < Bi.lg ? 12 : 8;
3126
+ var ua = ({ defaultSpan: e = 8 }) => {
3127
+ let [t, n] = B(e), r = (e) => e < Vi.md ? 24 : e < Vi.lg ? 12 : 8;
3121
3128
  return {
3122
3129
  span: t,
3123
3130
  handleResize: zt(Z.default.throttle((e) => {
@@ -3127,7 +3134,7 @@ var la = ({ defaultSpan: e = 8 }) => {
3127
3134
  };
3128
3135
  //#endregion
3129
3136
  //#region src/lib/hooks/use-table-row-selection.ts
3130
- function ua() {
3137
+ function da() {
3131
3138
  let [e, t] = B([]), [n, r] = B([]);
3132
3139
  return {
3133
3140
  selectedRowKeys: e,
@@ -3156,7 +3163,7 @@ function ua() {
3156
3163
  }
3157
3164
  //#endregion
3158
3165
  //#region src/lib/hooks/use-table-sort.ts
3159
- function da({ defaultSortOrder: e = "descend" }) {
3166
+ function fa({ defaultSortOrder: e = "descend" }) {
3160
3167
  let [t, n] = B(e);
3161
3168
  return {
3162
3169
  sortOrder: t,
@@ -3165,7 +3172,7 @@ function da({ defaultSortOrder: e = "descend" }) {
3165
3172
  }
3166
3173
  };
3167
3174
  }
3168
- function fa() {
3175
+ function pa() {
3169
3176
  let [e, t] = B([]);
3170
3177
  return {
3171
3178
  sortOrder: e,
@@ -3180,7 +3187,7 @@ function fa() {
3180
3187
  }
3181
3188
  //#endregion
3182
3189
  //#region src/lib/hooks/use-update-chunk-list.ts
3183
- function pa(e) {
3190
+ function ma(e) {
3184
3191
  let { events: t = [
3185
3192
  "CREATE",
3186
3193
  "DELETE",
@@ -3202,18 +3209,18 @@ function pa(e) {
3202
3209
  let l = a?.collection || [];
3203
3210
  e?.computedID && (l = l?.map((t) => (t.id = e?.computedID?.(t), t))), e?.filterFun && (l = a?.collection?.filter(e?.filterFun)), e?.mapFun && (l = a?.collection?.map(e?.mapFun));
3204
3211
  let u = a?.ids || [];
3205
- if (a?.type === Vi.CREATE && t.includes("CREATE")) {
3212
+ if (a?.type === Hi.CREATE && t.includes("CREATE")) {
3206
3213
  let t = [];
3207
3214
  i.current = [...l.reduce((e, r) => {
3208
3215
  let a = i.current?.findIndex((e) => e.id === r.id), o = { ...r };
3209
3216
  return a === -1 && !n?.current ? e.push(o) : n?.current || (i.current[a] = o), n?.current && Date.parse(r.created_at) >= n.current && t.push(o), e;
3210
3217
  }, []), ...i.current].slice(0, o), e.onCreate?.(t);
3211
3218
  }
3212
- if (a?.type === Vi.DELETE && t.includes("DELETE")) {
3219
+ if (a?.type === Hi.DELETE && t.includes("DELETE")) {
3213
3220
  let t = [];
3214
3221
  i.current = i.current?.filter((e) => (n?.current && u?.includes(e.id) && t.push(e), !u?.includes(e.id))), s(u), e.setDataList?.([...i.current], { deletedIds: [...r.current] }), e.onDelete?.(t);
3215
3222
  }
3216
- a?.type === Vi.UPDATE && t.includes("UPDATE") && l?.forEach((r) => {
3223
+ a?.type === Hi.UPDATE && t.includes("UPDATE") && l?.forEach((r) => {
3217
3224
  let a = i.current?.findIndex((e) => e.id === r.id), s = { ...r };
3218
3225
  a > -1 ? i.current[a] = s : a === -1 && t.includes("INSERT") && (i.current = [s, ...i.current.slice(0, o - 1)], e.onUpdate && n?.current && Date.parse(r.created_at) >= n.current && e.onUpdate?.([s]));
3219
3226
  }), c(), e?.callback && e?.callback(i.current);
@@ -3224,8 +3231,8 @@ function pa(e) {
3224
3231
  }
3225
3232
  //#endregion
3226
3233
  //#region src/lib/hooks/use-watch-list.ts
3227
- function ma(e) {
3228
- let t = e, { services: n } = a(), { request: r } = n, [i, o] = B([]), s = z(null), c = z(null), { setChunkRequest: l, createAxiosToken: u } = Xi(), { updateChunkedList: d, cacheDataListRef: f } = pa({
3234
+ function ha(e) {
3235
+ let t = e, { services: n } = a(), { request: r } = n, [i, o] = B([]), s = z(null), c = z(null), { setChunkRequest: l, createAxiosToken: u } = Zi(), { updateChunkedList: d, cacheDataListRef: f } = ma({
3229
3236
  dataList: i,
3230
3237
  limit: 100,
3231
3238
  setDataList: o
@@ -3267,23 +3274,23 @@ function ma(e) {
3267
3274
  }
3268
3275
  //#endregion
3269
3276
  //#region src/lib/hooks/use-window-resize.ts
3270
- function ha() {
3277
+ function ga() {
3271
3278
  let [e, t] = B({
3272
3279
  width: window.innerWidth,
3273
3280
  height: window.innerHeight
3274
3281
  }), n = R(() => {
3275
3282
  let t = e.width;
3276
- return t < Bi.sm ? {
3283
+ return t < Vi.sm ? {
3277
3284
  isMobile: !0,
3278
3285
  isTablet: !1,
3279
3286
  isDesktop: !1,
3280
3287
  currentPoint: "sm"
3281
- } : t < Bi.md ? {
3288
+ } : t < Vi.md ? {
3282
3289
  isMobile: !1,
3283
3290
  isTablet: !0,
3284
3291
  isDesktop: !1,
3285
3292
  currentPoint: "md"
3286
- } : t < Bi.lg ? {
3293
+ } : t < Vi.lg ? {
3287
3294
  isMobile: !1,
3288
3295
  isTablet: !1,
3289
3296
  isDesktop: !0,
@@ -3310,11 +3317,8 @@ function ha() {
3310
3317
  };
3311
3318
  }
3312
3319
  //#endregion
3313
- //#region src/lib/hooks/useAccess.ts
3314
- var ga = () => {
3315
- let { access: e } = a();
3316
- return e?.useAccess?.() ?? {};
3317
- }, _a = {}, va = () => {
3320
+ //#region src/lib/hooks/useCoreUISlots.ts
3321
+ var _a = {}, va = () => {
3318
3322
  let { slots: e } = a();
3319
3323
  return e ?? _a;
3320
3324
  }, ya = () => {
@@ -3689,7 +3693,7 @@ var ga = () => {
3689
3693
  color: var(--ant-color-warning);
3690
3694
  }
3691
3695
  `, Va = A((e, t) => {
3692
- let n = o(), { styles: r } = za(), { saveScrollHeight: i, restoreScrollHeight: a } = Fi(), [s, c] = B(!1), [l, u] = B({ checked: !1 }), [d, f] = B(!1), [p, m] = B({}), h = (e) => {
3696
+ let n = o(), { styles: r } = za(), { saveScrollHeight: i, restoreScrollHeight: a } = Ii(), [s, c] = B(!1), [l, u] = B({ checked: !1 }), [d, f] = B(!1), [p, m] = B({}), h = (e) => {
3693
3697
  i(), m(e), u({ checked: e.checkConfig?.defautlChecked || !1 }), c(!0);
3694
3698
  }, g = () => {
3695
3699
  c(!1), a();
@@ -3783,41 +3787,41 @@ var ga = () => {
3783
3787
  })]
3784
3788
  })] });
3785
3789
  }, Ka = { middle: "index-module__middle___pMpZ3" }, qa = ({ items: e, size: t = "middle", trigger: n = ["hover"], showText: r, disabled: i, variant: a, color: s, extra: c, onSelect: l }) => {
3786
- let u = Z.default.head(e), d = o(), f = (t) => {
3787
- let n = Z.default.find(e, { key: t.key });
3788
- l(t.key, n);
3789
- }, p = (t) => {
3790
- let n = Z.default.head(e);
3791
- l(n.key, n);
3790
+ let u = o(), d = ki(), f = Z.default.filter(e, (e) => e?.access ? d?.[e.access] : !0), p = (e) => {
3791
+ let t = Z.default.find(f, { key: e.key });
3792
+ l(e.key, t);
3793
+ }, m = Z.default.head(f), h = (e) => {
3794
+ let t = Z.default.head(f);
3795
+ l(t.key, t);
3792
3796
  };
3793
- return e?.length ? /* @__PURE__ */ H(V, { children: e?.length === 1 ? /* @__PURE__ */ H(J, {
3794
- title: d.formatMessage({ id: u?.label }),
3797
+ return f?.length ? /* @__PURE__ */ H(V, { children: f?.length === 1 ? /* @__PURE__ */ H(J, {
3798
+ title: u.formatMessage({ id: m?.label }),
3795
3799
  children: /* @__PURE__ */ H(G, {
3796
3800
  className: Ka[t],
3797
- icon: u?.icon,
3801
+ icon: m?.icon,
3798
3802
  size: t,
3799
- ...u?.props,
3800
- onClick: p
3803
+ ...m?.props,
3804
+ onClick: h
3801
3805
  })
3802
3806
  }) : /* @__PURE__ */ U(Et.Compact, { children: [/* @__PURE__ */ H(V, { children: r ? /* @__PURE__ */ U(G, {
3803
- ...u?.props,
3804
- disabled: u?.disabled || i,
3807
+ ...m?.props,
3808
+ disabled: m?.disabled || i,
3805
3809
  className: Ka[t],
3806
- onClick: p,
3810
+ onClick: h,
3807
3811
  size: t,
3808
- icon: u?.icon,
3812
+ icon: m?.icon,
3809
3813
  variant: a,
3810
3814
  color: s,
3811
- children: [d.formatMessage({ id: u?.label }), c]
3815
+ children: [u.formatMessage({ id: m?.label }), c]
3812
3816
  }) : /* @__PURE__ */ H(J, {
3813
- title: d.formatMessage({ id: u?.label }),
3817
+ title: u.formatMessage({ id: m?.label }),
3814
3818
  children: /* @__PURE__ */ H(G, {
3815
- ...u?.props,
3819
+ ...m?.props,
3816
3820
  className: Ka[t],
3817
- onClick: p,
3821
+ onClick: h,
3818
3822
  size: t,
3819
- icon: u?.icon,
3820
- disabled: u?.disabled
3823
+ icon: m?.icon,
3824
+ disabled: m?.disabled
3821
3825
  })
3822
3826
  }, "leftButton") }), /* @__PURE__ */ H(dt, {
3823
3827
  disabled: i,
@@ -3828,11 +3832,11 @@ var ga = () => {
3828
3832
  itemIcon: { fontSize: 14 }
3829
3833
  },
3830
3834
  menu: {
3831
- onClick: f,
3832
- items: Z.default.tail(e).map((e) => ({
3835
+ onClick: p,
3836
+ items: Z.default.tail(f).map((e) => ({
3833
3837
  ...Z.default.omit(e, ["label", "locale"]),
3834
3838
  ...e.props,
3835
- label: e.locale || e.locale === void 0 ? d.formatMessage({ id: e.label }) : e.label
3839
+ label: e.locale || e.locale === void 0 ? u.formatMessage({ id: e.label }) : e.label
3836
3840
  }))
3837
3841
  },
3838
3842
  children: /* @__PURE__ */ H(G, {
@@ -7058,7 +7062,7 @@ var Is = (e) => {
7058
7062
  beforeText: i,
7059
7063
  afterText: o
7060
7064
  });
7061
- }, { ImageURLInput: x, UploadImageButton: S, isFromUrl: C, dropDownOpen: w } = Ni({
7065
+ }, { ImageURLInput: x, UploadImageButton: S, isFromUrl: C, dropDownOpen: w } = Pi({
7062
7066
  size: "small",
7063
7067
  inputProps: { variant: "filled" },
7064
7068
  handleUpdateImgList: (e) => {
@@ -7543,13 +7547,13 @@ var lc = {
7543
7547
  children: /* @__PURE__ */ H(ae, { className: "font-size-14" })
7544
7548
  })
7545
7549
  }),
7546
- /* @__PURE__ */ H(ji, {
7550
+ /* @__PURE__ */ H(Mi, {
7547
7551
  disabled: n || i,
7548
7552
  handleUpdateImgList: d,
7549
7553
  size: "middle",
7550
7554
  accept: a
7551
7555
  }),
7552
- /* @__PURE__ */ H(ji, {
7556
+ /* @__PURE__ */ H(Mi, {
7553
7557
  title: p.formatMessage({ id: "playground.image.mask.upload" }),
7554
7558
  icon: /* @__PURE__ */ H(Q, { type: "icon-mosaic-2" }),
7555
7559
  disabled: n || i,
@@ -7663,7 +7667,7 @@ var lc = {
7663
7667
  t.width = e.width, t.height = e.height, n.width = e.width, n.height = e.height;
7664
7668
  }, []), Ce = N(() => {
7665
7669
  let e = ce(), t = document.createElement("a");
7666
- t.download = `mask_${(0, ta.default)().format("YYYYMMDDHHmmss")}.png`, t.href = e || "", t.click();
7670
+ t.download = `mask_${(0, na.default)().format("YYYYMMDDHHmmss")}.png`, t.href = e || "", t.click();
7667
7671
  }, [ce]), we = N(() => {
7668
7672
  pe(), de([]), L([]), ae(), O.current = [], console.log("Resetting strokes", O.current);
7669
7673
  }, []), Te = (e, t) => {
@@ -7705,14 +7709,14 @@ var lc = {
7705
7709
  }, 100);
7706
7710
  }, []), Oe = () => {
7707
7711
  let e = C.current, t = document.createElement("a");
7708
- t.download = `image_${(0, ta.default)().format("YYYYMMDDHHmmss")}.png`, t.href = e.toDataURL("image/png"), t.click(), t.remove();
7712
+ t.download = `image_${(0, na.default)().format("YYYYMMDDHHmmss")}.png`, t.href = e.toDataURL("image/png"), t.click(), t.remove();
7709
7713
  }, ke = () => {
7710
7714
  if (!t) return;
7711
7715
  let e = new Image();
7712
7716
  e.src = t, e.onload = () => {
7713
7717
  let t = document.createElement("canvas");
7714
7718
  t.width = r.width, t.height = r.height, t.getContext("2d").drawImage(e, 0, 0, t.width, t.height);
7715
- let n = t.toDataURL("image/png"), i = `${t.width}x${t.height}_${(0, ta.default)().format("YYYYMMDDHHmmss")}.png`, a = document.createElement("a");
7719
+ let n = t.toDataURL("image/png"), i = `${t.width}x${t.height}_${(0, na.default)().format("YYYYMMDDHHmmss")}.png`, a = document.createElement("a");
7716
7720
  a.href = n, a.download = i, document.body.appendChild(a), a.click(), a.remove();
7717
7721
  };
7718
7722
  }, Ae = () => {
@@ -8631,7 +8635,7 @@ var Nc = (e) => {
8631
8635
  totalPage: i
8632
8636
  };
8633
8637
  }, tl = A((e, t) => {
8634
- let { diffHeight: n, url: r, tail: i, enableScorllLoad: a = !0, isDownloading: o, watchable: s, params: c } = e, { pageSize: l, page: u, setPage: d, setTotalPage: f, totalPage: p } = el(), { setChunkFetch: m } = Ri(), h = z(null), [g, _] = B([]), v = z(null), y = z(i), [b, x] = B(!1), [S, C] = B(!1), [w, T] = B([]), E = z(null), D = z(!1), O = z(u), k = z(p), A = z(!1), [j, M] = B([]), P = z({
8638
+ let { diffHeight: n, url: r, tail: i, enableScorllLoad: a = !0, isDownloading: o, watchable: s, params: c } = e, { pageSize: l, page: u, setPage: d, setTotalPage: f, totalPage: p } = el(), { setChunkFetch: m } = zi(), h = z(null), [g, _] = B([]), v = z(null), y = z(i), [b, x] = B(!1), [S, C] = B(!1), [w, T] = B([]), E = z(null), D = z(!1), O = z(u), k = z(p), A = z(!1), [j, M] = B([]), P = z({
8635
8639
  pos: "bottom",
8636
8640
  page: 1
8637
8641
  }), L = z(0), R = z(!1);
@@ -9041,7 +9045,7 @@ var Nc = (e) => {
9041
9045
  ] }),
9042
9046
  right: y || (!a && !i ? null : /* @__PURE__ */ U(Et, {
9043
9047
  size: 16,
9044
- children: [a ? p === "dropdown" ? /* @__PURE__ */ H(ki, {
9048
+ children: [a ? p === "dropdown" ? /* @__PURE__ */ H(Ai, {
9045
9049
  styles: { root: { minWidth: "140px" } },
9046
9050
  menu: {
9047
9051
  items: c,
@@ -9131,7 +9135,7 @@ var Nc = (e) => {
9131
9135
  }, e.value))
9132
9136
  });
9133
9137
  }, Tl = ({ defaultSpan: e = 8, dataList: t, renderItem: n, resizable: r = !0 }) => {
9134
- let { span: i, handleResize: a } = la({ defaultSpan: e });
9138
+ let { span: i, handleResize: a } = ua({ defaultSpan: e });
9135
9139
  return /* @__PURE__ */ H(di, {
9136
9140
  onResize: a,
9137
9141
  disabled: !r,
@@ -9259,7 +9263,7 @@ var Dl = Y.div`
9259
9263
  overflow: hidden;
9260
9264
  white-space: nowrap;
9261
9265
  `, Nl = (e) => {
9262
- let t = E.useRef(null), { saveScrollHeight: n, restoreScrollHeight: r } = Fi(), { initialize: i, destroyInstance: a, scrollToBottom: o } = d();
9266
+ let t = E.useRef(null), { saveScrollHeight: n, restoreScrollHeight: r } = Ii(), { initialize: i, destroyInstance: a, scrollToBottom: o } = d();
9263
9267
  return E.useEffect(() => {
9264
9268
  e.open ? n() : r();
9265
9269
  }, [e.open]), E.useEffect(() => {
@@ -10271,7 +10275,7 @@ var qu = Y.div`
10271
10275
  g.current?.seekTo(e / s), f(e);
10272
10276
  }, []);
10273
10277
  let A = () => e.format === "pcm" ? "wav" : e.format, j = N(() => {
10274
- let t = e.audioUrl || "", n = `audio-${(0, ta.default)().format("YYYYMMDDHHmmss")}.${A()}`, r = document.createElement("a");
10278
+ let t = e.audioUrl || "", n = `audio-${(0, na.default)().format("YYYYMMDDHHmmss")}.${A()}`, r = document.createElement("a");
10275
10279
  r.href = t, r.download = n, document.body.appendChild(r), r.click(), r.remove();
10276
10280
  }, [e.audioUrl, e.format]);
10277
10281
  console.log("isPCMStream:", _, i), console.log("props.analyserData:", e.analyserData);
@@ -10361,7 +10365,7 @@ var qu = Y.div`
10361
10365
  overflow: hidden;
10362
10366
  text-overflow: ellipsis;
10363
10367
  `, id = /<a (.*?)>(.*?)<\/a>/g, ad = ({ style: e, statusValue: t, download: n, extra: r, actions: i = [], maxTooltipWidth: a = 250, suffix: o }) => {
10364
- let { text: s, status: l } = t, d = R(() => Hi[l], [l]), f = R(() => t.message ? id.test(t.message || "") : !1, [t.message]), p = R(() => t.message ? t.message?.match(id) ? t.message?.replace(id, "<a $1 target=\"_blank\">$2</a>") : t.message : "", [t.message]), m = () => {
10368
+ let { text: s, status: l } = t, d = R(() => Ui[l], [l]), f = R(() => t.message ? id.test(t.message || "") : !1, [t.message]), p = R(() => t.message ? t.message?.match(id) ? t.message?.replace(id, "<a $1 target=\"_blank\">$2</a>") : t.message : "", [t.message]), m = () => {
10365
10369
  let e = n?.percent || 0;
10366
10370
  return n && e > 0 && e <= 100 ? /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ U("span", {
10367
10371
  className: "progress",
@@ -10446,10 +10450,10 @@ var qu = Y.div`
10446
10450
  content: "styles-module__content___d1qHZ",
10447
10451
  footer: "styles-module__footer___wE8uH"
10448
10452
  }, sd = ({ title: e, open: t, onCancel: n, onSubmit: r, children: i, subTitle: a, footer: o, width: s = 600, className: c, style: l, maskClosable: u = !1, styles: d, getContainer: f }) => {
10449
- let [p, m] = E.useState(null), [h, g] = E.useState(!1), [_, v] = E.useState(!1), y = N(() => {
10453
+ let [p, m] = E.useState(null), [h, g] = E.useState(!1), [_, v] = E.useState(!1), y = zt(() => {
10450
10454
  let e = document.querySelectorAll(".ant-layout-content");
10451
10455
  return e[e.length - 1] ?? null;
10452
- }, []);
10456
+ });
10453
10457
  E.useEffect(() => {
10454
10458
  if (t) {
10455
10459
  m(f?.() ?? y()), g(!0);
@@ -10853,7 +10857,7 @@ var qu = Y.div`
10853
10857
  }
10854
10858
  }, P = zt(async () => {
10855
10859
  try {
10856
- w.current?.cancel?.(), w.current = Ji(), b(!0), v(await m?.(t, { token: w.current?.token }) || []), b(!1);
10860
+ w.current?.cancel?.(), w.current = Yi(), b(!0), v(await m?.(t, { token: w.current?.token }) || []), b(!1);
10857
10861
  } catch {
10858
10862
  v([]), b(!1);
10859
10863
  }
@@ -19394,4 +19398,4 @@ var yf = A((e, t) => {
19394
19398
  });
19395
19399
  });
19396
19400
  //#endregion
19397
- export { dn as Access, gn as AlertBlockInfo, fn as AlertInfo, yn as AudioAnimation, Sn as AudioPlayer, mo as AutoComplete, jn as AutoImage, f as AutoTooltip, Ho as BarChart, Co as BaseSelect, mi as BibtexViewer, gi as CardWrapper, Bs as Cascader, yd as CellContent, Ro as Chart, xi as CheckButtons, Hs as Checkbox, Us as CheckboxField, wi as CollapseContainer, Di as CollapsePanel, wa as ColumnSettings, Aa as ColumnWrapper, Ia as CommandViewer, Ra as ContentWrapper, u as CopyButton, un as CoreUIProvider, Va as DeleteModal, Ua as DividerLine, Ga as DocLink, ki as DropdownActions, qa as DropdownButtons, Ja as DynamicForm, C as EditorWrap, Zo as ErrorMessage, Ws as FieldComponent, bl as FilterBar, $o as FilterForm, vl as FiltersButton, es as FormButtons, Rs as FormDrawer, Is as GSDrawer, Wo as GaugeChart, ic as GrafanaIcon, Go as HBarChart, Ti as HeadlessCollapse, p as HighlightCode, To as INPUT_WIDTH, Q as IconFont, gc as ImageEditor, Nc as InfiniteScroller, Ic as InfiniteScrollerProvider, $u as InfoColumn, xo as Input, go as InputNumber, _o as InputSearch, Rc as LabelCell, Ya as LabelInfo, Wc as LabelSelector, Gc as LabelSelectorProvider, qo as LineChart, Yc as ListInput, Fo as ListMap, tl as LogsViewer, rl as MetadataList, Jo as MixLineBarChart, ns as ModalFooter, al as MoreButton, Xs as MultipleSelect, ul as NoResult, l as OverlayScroller, hl as PageBox, fl as PageBreadcrumb, ml as PageContainerInner, $c as PageSize, yl as PageTools, vo as Password, Sl as Popover, Cl as ProgressBar, wl as RadioButtons, Tl as ResizeContainer, yf as ResizePanel, dd as RowChildren, ec as RowTextarea, Yo as ScatterChart, Ol as ScrollSpyTabs, Nl as ScrollerModal, Pa as SegmentLine, wo as Select, Bl as SelectPanel, Hl as Shortcut, On as SimpleAudio, bi as SimpleCard, Ju as SimpleOverlay, Ys as SimpleSelect, Qu as SimpleTable, fi as SingleImage, Do as Slider, Qs as SmallCloseButton, nd as SpeechContent, ad as StatusTag, sd as SubDrawer, ko as Switch, rc as SwitchInput, Dd as Table, Od as TableProvider, kd as TableRowProvider, Ad as TagsWrapper, Rd as TemplateCard, Ud as TemplateCardList, Bd as TemplateCardSkeleton, Sf as TerminalTabs, bo as Textarea, Md as ThemeTag, $s as ThumbImage, wf as TooltipList, c as TooltipOverlayScroller, Ef as Transfer, Df as TransitionWrapper, Of as UploadAudio, ji as UploadImage, kf as ViewerEditor, Xd as XTerminal, zi as config, ac as icons, Sc as processImage, ga as useAccess, Oi as useActions, Ni as useAddImage, Pi as useAppUtils, Fi as useBodyScroll, Ri as useChunkFetch, Xi as useChunkRequest, Ea as useColumnWrapperContext, Ea as useWrapperContext, Zi as useContainerScroll, a as useCoreUIContext, va as useCoreUISlots, ya as useCurrentUser, Qi as useDeferredRequest, ia as useDownloadLogs, ea as useDownloadStream, aa as useExpandedRowKeys, kl as useFinishFailed, o as useIntl, d as useOverlayScroller, sa as useQueryData, sa as useRequest, oa as useQueryDataList, ca as useRequestToken, la as useResponsive, Al as useScrollActiveChange, Fc as useScrollerContext, ba as useTableFetch, fa as useTableMultiSort, ua as useTableRowSelection, da as useTableSort, Td as useTableSorter, pa as useUpdateChunkedList, Io as useValidateFields, ma as useWatchList, ha as useWindowResize, S as utils };
19401
+ export { dn as Access, gn as AlertBlockInfo, fn as AlertInfo, yn as AudioAnimation, Sn as AudioPlayer, mo as AutoComplete, jn as AutoImage, f as AutoTooltip, Ho as BarChart, Co as BaseSelect, mi as BibtexViewer, gi as CardWrapper, Bs as Cascader, yd as CellContent, Ro as Chart, xi as CheckButtons, Hs as Checkbox, Us as CheckboxField, wi as CollapseContainer, Di as CollapsePanel, wa as ColumnSettings, Aa as ColumnWrapper, Ia as CommandViewer, Ra as ContentWrapper, u as CopyButton, un as CoreUIProvider, Va as DeleteModal, Ua as DividerLine, Ga as DocLink, Ai as DropdownActions, qa as DropdownButtons, Ja as DynamicForm, C as EditorWrap, Zo as ErrorMessage, Ws as FieldComponent, bl as FilterBar, $o as FilterForm, vl as FiltersButton, es as FormButtons, Rs as FormDrawer, Is as GSDrawer, Wo as GaugeChart, ic as GrafanaIcon, Go as HBarChart, Ti as HeadlessCollapse, p as HighlightCode, To as INPUT_WIDTH, Q as IconFont, gc as ImageEditor, Nc as InfiniteScroller, Ic as InfiniteScrollerProvider, $u as InfoColumn, xo as Input, go as InputNumber, _o as InputSearch, Rc as LabelCell, Ya as LabelInfo, Wc as LabelSelector, Gc as LabelSelectorProvider, qo as LineChart, Yc as ListInput, Fo as ListMap, tl as LogsViewer, rl as MetadataList, Jo as MixLineBarChart, ns as ModalFooter, al as MoreButton, Xs as MultipleSelect, ul as NoResult, l as OverlayScroller, hl as PageBox, fl as PageBreadcrumb, ml as PageContainerInner, $c as PageSize, yl as PageTools, vo as Password, Sl as Popover, Cl as ProgressBar, wl as RadioButtons, Tl as ResizeContainer, yf as ResizePanel, dd as RowChildren, ec as RowTextarea, Yo as ScatterChart, Ol as ScrollSpyTabs, Nl as ScrollerModal, Pa as SegmentLine, wo as Select, Bl as SelectPanel, Hl as Shortcut, On as SimpleAudio, bi as SimpleCard, Ju as SimpleOverlay, Ys as SimpleSelect, Qu as SimpleTable, fi as SingleImage, Do as Slider, Qs as SmallCloseButton, nd as SpeechContent, ad as StatusTag, sd as SubDrawer, ko as Switch, rc as SwitchInput, Dd as Table, Od as TableProvider, kd as TableRowProvider, Ad as TagsWrapper, Rd as TemplateCard, Ud as TemplateCardList, Bd as TemplateCardSkeleton, Sf as TerminalTabs, bo as Textarea, Md as ThemeTag, $s as ThumbImage, wf as TooltipList, c as TooltipOverlayScroller, Ef as Transfer, Df as TransitionWrapper, Of as UploadAudio, Mi as UploadImage, kf as ViewerEditor, Xd as XTerminal, Bi as config, ac as icons, Sc as processImage, ki as useAccess, Oi as useActions, Pi as useAddImage, Fi as useAppUtils, Ii as useBodyScroll, zi as useChunkFetch, Zi as useChunkRequest, Ea as useColumnWrapperContext, Ea as useWrapperContext, Qi as useContainerScroll, a as useCoreUIContext, va as useCoreUISlots, ya as useCurrentUser, $i as useDeferredRequest, aa as useDownloadLogs, ta as useDownloadStream, oa as useExpandedRowKeys, kl as useFinishFailed, o as useIntl, d as useOverlayScroller, ca as useQueryData, ca as useRequest, sa as useQueryDataList, la as useRequestToken, ua as useResponsive, Al as useScrollActiveChange, Fc as useScrollerContext, ba as useTableFetch, pa as useTableMultiSort, da as useTableRowSelection, fa as useTableSort, Td as useTableSorter, ma as useUpdateChunkedList, Io as useValidateFields, ha as useWatchList, ga as useWindowResize, S as utils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpustack/core-ui",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "**/*.css",