dsh-workbench-tasks 5.4.0 → 5.5.4

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.
package/lib/client.js CHANGED
@@ -4895,1089 +4895,409 @@ var require_stats = __commonJS({
4895
4895
  }
4896
4896
  });
4897
4897
 
4898
- // packages/addons/lib/data-copy.cjs
4899
- var require_data_copy = __commonJS({
4900
- "packages/addons/lib/data-copy.cjs"(exports2, module2) {
4898
+ // packages/addons/lib/highlight.cjs
4899
+ var require_highlight = __commonJS({
4900
+ "packages/addons/lib/highlight.cjs"(exports2, module2) {
4901
4901
  "use strict";
4902
- var COPY = {
4903
- zh: {
4904
- title: "\u6570\u636E",
4905
- subtitle: "\u53EA\u8BFB\u6D4F\u89C8\u672C\u63D2\u4EF6\u8D1F\u8D23\u7684\u8868\uFF1B\u7CFB\u7EDF\u5217\u4E0E\u5DF2\u5220\u9664\u884C\u9ED8\u8BA4\u9690\u85CF",
4906
- tables: "\u8868",
4907
- rows: "\u884C",
4908
- deleted: "\u5DF2\u5220\u9664",
4909
- rowCount: "\u5171 {n} \u884C",
4910
- deletedCount: "\u5176\u4E2D {n} \u884C\u5DF2\u5220\u9664",
4911
- search: "\u641C\u7D22\u6240\u6709\u6587\u672C\u5217\u2026",
4912
- pageSize: "\u6BCF\u9875",
4913
- includeDeleted: "\u542B\u5DF2\u5220\u9664",
4914
- showSystem: "\u7CFB\u7EDF\u5217",
4915
- refresh: "\u5237\u65B0",
4916
- loading: "\u8F7D\u5165\u4E2D\u2026",
4917
- empty: "\u8FD9\u5F20\u8868\u8FD8\u6CA1\u6709\u6570\u636E",
4918
- emptyTable: "\u6CA1\u6709\u53EF\u5C55\u793A\u7684\u8868",
4919
- loadFail: "\u6570\u636E\u670D\u52A1\u4E0D\u53EF\u7528\uFF08\u63D2\u4EF6\u7248\u672C\u8FC7\u65E7\uFF1F\uFF09",
4920
- retry: "\u91CD\u8BD5",
4921
- queryFail: "\u67E5\u8BE2\u5931\u8D25\uFF1A",
4922
- noRows: "\u6CA1\u6709\u5339\u914D\u7684\u884C",
4923
- prev: "\u4E0A\u4E00\u9875",
4924
- next: "\u4E0B\u4E00\u9875",
4925
- pageInfo: "\u7B2C {page} / {pages} \u9875",
4926
- jump: "\u8DF3\u8F6C",
4927
- total: "\u5171 {n} \u884C",
4928
- copied: "\u5DF2\u590D\u5236",
4929
- copy: "\u590D\u5236",
4930
- close: "\u5173\u95ED",
4931
- drawerTitle: "{column} \xB7 \u7B2C {row} \u884C",
4932
- nullText: "NULL",
4933
- emptyText: "\u7A7A",
4934
- yes: "\u662F",
4935
- no: "\u5426",
4936
- json: "JSON",
4937
- queryTime: "{n} ms",
4938
- sortAsc: "\u5347\u5E8F",
4939
- sortDesc: "\u964D\u5E8F",
4940
- filterCol: "\u7B5B\u9009\u2026",
4941
- filterClear: "\u6E05\u9664\u7B5B\u9009",
4942
- index: "\u8868\u7D22\u5F15",
4943
- indexSub: "\u5F53\u524D\u9009\u4E2D\u8868\u7684\u7D22\u5F15\uFF08\u53EA\u8BFB\uFF09\uFF1B\u884C\u6570\u4E3A\u6240\u5C5E\u8868\u603B\u884C\u6570\uFF0C\u4E0D\u662F\u7D22\u5F15\u6761\u76EE\u6570",
4944
- idxName: "\u7D22\u5F15\u540D",
4945
- idxColumns: "\u5217",
4946
- idxType: "\u7C7B\u578B",
4947
- idxSource: "\u6765\u6E90",
4948
- idxUnique: "\u552F\u4E00",
4949
- idxNormal: "\u666E\u901A",
4950
- idxAuto: "\u81EA\u52A8",
4951
- idxCreated: "\u663E\u5F0F\u521B\u5EFA",
4952
- idxCount: "\u5171 {n} \u4E2A\u7D22\u5F15",
4953
- idxNoExtra: "\u8BE5\u8868\u9664\u4E3B\u952E\u5916\u6CA1\u6709\u989D\u5916\u7D22\u5F15",
4954
- idxRowsHelp: "\u6240\u5C5E\u8868\u603B\u884C\u6570\uFF08\u542B\u5DF2\u5220\u9664\u884C\uFF09\uFF0C\u4E0D\u662F\u7D22\u5F15\u6761\u76EE\u6570",
4955
- idxTable: "\u8868",
4956
- idxRows: "\u884C\u6570",
4957
- idxCols: "\u5217\u6570",
4958
- idxKey: "\u4E3B\u952E",
4959
- idxIndexes: "\u7D22\u5F15",
4960
- idxLastWrite: "\u6700\u8FD1\u5199\u5165",
4961
- idxNone: "\u65E0",
4962
- idxEmpty: "\u5F53\u524D\u8868\u6CA1\u6709\u53EF\u7528\u7684\u7D22\u5F15\u7EDF\u8BA1",
4963
- idxTables: "\u8868",
4964
- idxAt: "\u7EDF\u8BA1\u65F6\u95F4"
4965
- },
4966
- en: {
4967
- title: "Data",
4968
- subtitle: "Read-only view of this plugin's tables; system and deleted rows are hidden by default",
4969
- tables: "Tables",
4970
- rows: "rows",
4971
- deleted: "deleted",
4972
- rowCount: "{n} rows",
4973
- deletedCount: "{n} deleted",
4974
- search: "Search all text columns\u2026",
4975
- pageSize: "Rows",
4976
- includeDeleted: "Deleted",
4977
- showSystem: "System",
4978
- refresh: "Refresh",
4979
- loading: "Loading\u2026",
4980
- empty: "This table has no rows yet",
4981
- emptyTable: "No tables to show",
4982
- loadFail: "Data service unavailable (plugin too old?)",
4983
- retry: "Retry",
4984
- queryFail: "Query failed: ",
4985
- noRows: "No matching rows",
4986
- prev: "Previous",
4987
- next: "Next",
4988
- pageInfo: "Page {page} / {pages}",
4989
- jump: "Jump",
4990
- total: "{n} rows",
4991
- copied: "Copied",
4992
- copy: "Copy",
4993
- close: "Close",
4994
- drawerTitle: "{column} \xB7 row {row}",
4995
- nullText: "NULL",
4996
- emptyText: "empty",
4997
- yes: "Yes",
4998
- no: "No",
4999
- json: "JSON",
5000
- queryTime: "{n} ms",
5001
- sortAsc: "ascending",
5002
- sortDesc: "descending",
5003
- filterCol: "Filter\u2026",
5004
- filterClear: "Clear filter",
5005
- index: "Table index",
5006
- indexSub: "Indexes of the selected table (read-only); rows are the table total, not index entries",
5007
- idxName: "Index name",
5008
- idxColumns: "Columns",
5009
- idxType: "Type",
5010
- idxSource: "Source",
5011
- idxUnique: "Unique",
5012
- idxNormal: "Normal",
5013
- idxAuto: "Automatic",
5014
- idxCreated: "Explicit",
5015
- idxCount: "{n} indexes",
5016
- idxNoExtra: "This table has no indexes other than its primary key",
5017
- idxRowsHelp: "Total table rows (including deleted rows), not index entries",
5018
- idxTable: "Table",
5019
- idxRows: "Rows",
5020
- idxCols: "Cols",
5021
- idxKey: "Primary key",
5022
- idxIndexes: "Indexes",
5023
- idxLastWrite: "Last write",
5024
- idxNone: "\u2014",
5025
- idxEmpty: "No index statistics available for this table",
5026
- idxTables: "Tables",
5027
- idxAt: "Generated"
4902
+ module2.exports = function(React) {
4903
+ var h = React.createElement;
4904
+ function sourceOf(keyword) {
4905
+ var pattern = keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4906
+ return pattern.replace(/[a-zA-Z]/g, function(letter) {
4907
+ return "[" + letter.toLowerCase() + letter.toUpperCase() + "]";
4908
+ });
5028
4909
  }
4910
+ return function createHighlight(prefix) {
4911
+ var className = String(prefix || "wb") + "-hit";
4912
+ function hit(rawText, rawKeyword) {
4913
+ var text = rawText == null ? "" : String(rawText);
4914
+ var keyword = rawKeyword == null ? "" : String(rawKeyword);
4915
+ if (!keyword) return text;
4916
+ var matcher, match, end = 0, parts = [];
4917
+ try {
4918
+ matcher = new RegExp(sourceOf(keyword), "g");
4919
+ } catch (error) {
4920
+ return text;
4921
+ }
4922
+ while (match = matcher.exec(text)) {
4923
+ if (match.index > end) parts.push(text.slice(end, match.index));
4924
+ parts.push(h("mark", { className, key: match.index }, match[0]));
4925
+ end = match.index + match[0].length;
4926
+ if (!match[0]) matcher.lastIndex += 1;
4927
+ }
4928
+ if (!parts.length) return text;
4929
+ if (end < text.length) parts.push(text.slice(end));
4930
+ return parts;
4931
+ }
4932
+ function Highlight(props) {
4933
+ return hit(props.text, props.keyword);
4934
+ }
4935
+ Highlight.hit = hit;
4936
+ return Highlight;
4937
+ };
5029
4938
  };
5030
- module2.exports = COPY;
5031
4939
  }
5032
4940
  });
5033
4941
 
5034
- // packages/addons/lib/visual-tokens.cjs
5035
- var require_visual_tokens = __commonJS({
5036
- "packages/addons/lib/visual-tokens.cjs"(exports2, module2) {
5037
- module2.exports = `
5038
- :where(.wbt-root,.wbi-root,.wbi-cfg,.wbt-data,.wbs-data,.wbg-data,.wbi-data,.wb-desc){--wb-radius-sm:8px;--wb-radius-card:12px;--wb-space-sm:8px;--wb-space-md:14px;--wb-border:var(--dsw-alias-border-l2,color-mix(in oklab,currentColor 16%,transparent));--wb-description-bg:color-mix(in oklab,var(--dsw-alias-brand-primary,#5b7fd6) 7%,transparent);--wb-description-line:color-mix(in oklab,var(--dsw-alias-brand-primary,#5b7fd6) 34%,transparent);--wb-motion:140ms;--wb-btn-bg:transparent;--wb-btn-hover-bg:color-mix(in oklab,currentColor 6%,transparent);--wb-btn-active-bg:color-mix(in oklab,currentColor 11%,transparent);--wb-btn-primary-bg:var(--dsw-alias-brand-primary,#2563eb);--wb-btn-primary-fg:var(--dsw-alias-label-primary-inverted,#fff);--wb-btn-danger-fg:var(--dsw-alias-state-error-primary,#b91c1c);--wb-btn-size-sm:32px;--wb-btn-focus:2px solid var(--dsw-alias-brand-primary,#2563eb);--wb-btn-focus-offset:2px}
5039
- .wb-desc{background:var(--wb-description-bg);border-left-color:var(--wb-description-line);border-radius:0 var(--wb-radius-sm) var(--wb-radius-sm) 0}
5040
- `;
4942
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs
4943
+ var toKebabCase;
4944
+ var init_toKebabCase = __esm({
4945
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs"() {
4946
+ toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
5041
4947
  }
5042
4948
  });
5043
4949
 
5044
- // packages/addons/lib/data-style.cjs
5045
- var require_data_style = __commonJS({
5046
- "packages/addons/lib/data-style.cjs"(exports2, module2) {
5047
- "use strict";
5048
- module2.exports = function(DOMAIN, PREFIX) {
5049
- var P = PREFIX + "-data";
5050
- var CSS = [
5051
- require_visual_tokens(),
5052
- "." + P + "-search:has(.wbi-svg) input{padding-left:30px}." + P + "-search>.wbi-svg{position:absolute;left:10px;top:50%;transform:translateY(-50%)}",
5053
- "." + P + "-btn{transition:background var(--wb-motion),border-color var(--wb-motion)}",
5054
- "@media(max-width:480px){." + P + "-head>." + P + "-btn:has(.wbi-svg){width:32px;height:32px;padding:0;justify-content:center}." + P + "-head>." + P + "-btn:has(.wbi-svg) ." + P + "-btnlabel{display:none}}",
5055
- "." + P + "{--cfg-line:var(--wb-border);--cfg-surface:var(--wb-surface,var(--dsw-alias-bg-layer-1,transparent));--cfg-muted:var(--dsw-alias-label-secondary,color-mix(in oklab,currentColor 62%,transparent));--cfg-faint:var(--dsw-alias-label-tertiary,color-mix(in oklab,currentColor 42%,transparent));--cfg-hover:var(--dsw-alias-interactive-bg-hover,color-mix(in oklab,currentColor 5%,transparent));display:grid;grid-template-columns:216px minmax(0,1fr);gap:16px;width:100%;min-width:0;color:inherit;font-size:13px;align-items:start}",
5056
- "." + P + "-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:3px;border:1px solid var(--cfg-line);border-radius:var(--wb-radius-card);background:var(--cfg-surface);padding:8px;box-shadow:0 1px 2px color-mix(in oklab,currentColor 3%,transparent)}",
5057
- "." + P + "-sidetitle{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 8px;font-size:11px;font-weight:660;letter-spacing:.6px;text-transform:uppercase;color:var(--cfg-faint)}",
5058
- "." + P + "-stab{display:flex;flex-direction:column;gap:3px;align-items:stretch;border:1px solid transparent;background:transparent;border-radius:9px;padding:8px 10px;font:inherit;color:inherit;text-align:left;cursor:pointer;position:relative;transition:background .12s ease,border-color .12s ease}",
5059
- "." + P + "-stab:hover{background:var(--cfg-hover)}",
5060
- "." + P + "-stab:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,currentColor);outline-offset:2px}",
5061
- "." + P + "-stab.on{background:color-mix(in oklab,currentColor 6%,transparent);border-color:var(--cfg-line)}",
5062
- "." + P + "-stab.on::before{content:'';position:absolute;left:-1px;top:9px;bottom:9px;width:2px;border-radius:2px;background:var(--dsw-alias-brand-primary,currentColor)}",
5063
- "." + P + "-stabname{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;line-height:1.4;min-width:0}",
5064
- "." + P + "-stabname span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
5065
- "." + P + "-sidetable{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;color:var(--cfg-muted);margin-top:3px;letter-spacing:.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
5066
- "." + P + "-sidecount{margin-left:auto;font-size:10.5px;font-variant-numeric:tabular-nums;color:var(--cfg-muted);background:color-mix(in oklab,currentColor 8%,transparent);border-radius:999px;padding:1px 7px;flex:none}",
5067
- "." + P + "-main{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid var(--cfg-line);border-radius:var(--wb-radius-card);background:var(--cfg-surface);padding:14px 16px 12px;box-shadow:0 1px 2px color-mix(in oklab,currentColor 3%,transparent)}",
5068
- "." + P + "-head{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}",
5069
- "." + P + "-headmain{min-width:0;flex:1}",
5070
- "." + P + "-head h2{margin:0;font-size:16px;font-weight:660;letter-spacing:.1px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}",
5071
- "." + P + "-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:500;color:var(--cfg-muted);background:color-mix(in oklab,currentColor 6%,transparent);border-radius:6px;padding:2px 6px}",
5072
- "." + P + "-sub{font-size:11.5px;color:var(--cfg-muted);line-height:1.55;margin-top:4px}",
5073
- "." + P + "-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 0 4px}",
5074
- "." + P + "-search{position:relative;flex:1;min-width:180px;max-width:340px}",
5075
- "." + P + "-search input{width:100%;border:1px solid var(--cfg-line);background:var(--dsw-alias-bg-base,transparent);color:inherit;border-radius:9px;padding:8px 11px;font:inherit;font-size:12.5px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}",
5076
- "." + P + "-search input:hover{border-color:color-mix(in oklab,currentColor 28%,var(--cfg-line))}",
5077
- "." + P + "-search input:focus{border-color:var(--dsw-alias-brand-primary,currentColor);box-shadow:0 0 0 3px color-mix(in oklab,var(--dsw-alias-brand-primary,currentColor) 14%,transparent)}",
5078
- "." + P + "-select{border:1px solid var(--cfg-line);background:var(--dsw-alias-bg-base,transparent);color:inherit;border-radius:9px;padding:7px 10px;font:inherit;font-size:12px;outline:none}",
5079
- "." + P + "-select:focus{border-color:var(--dsw-alias-brand-primary,currentColor);box-shadow:0 0 0 3px color-mix(in oklab,var(--dsw-alias-brand-primary,currentColor) 14%,transparent)}",
5080
- "." + P + "-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--cfg-line);background:transparent;color:var(--cfg-muted);border-radius:8px;padding:6px 10px;font:inherit;font-size:11.5px;cursor:pointer;white-space:nowrap;transition:background .12s ease,color .12s ease}",
5081
- "." + P + "-btn:hover{background:var(--cfg-hover);color:var(--dsw-alias-label-primary,inherit)}",
5082
- "." + P + "-btn:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,currentColor);outline-offset:2px}",
5083
- "." + P + "-btn:disabled{opacity:.45;cursor:not-allowed}",
5084
- "." + P + "-btn[aria-busy='true']{opacity:.6}",
5085
- "." + P + "-tablewrap{overflow:auto;max-height:calc(100vh - 300px);border:1px solid var(--cfg-line);border-radius:11px;background:var(--dsw-alias-bg-base,transparent)}",
5086
- "." + P + "-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12.5px}",
5087
- "." + P + "-table th{position:sticky;top:0;z-index:2;background:var(--cfg-surface);border-bottom:1px solid var(--cfg-line);padding:0;text-align:left;font-weight:600;white-space:nowrap}",
5088
- "." + P + "-thbtn{display:flex;align-items:baseline;gap:6px;width:100%;border:0;background:transparent;color:inherit;font:inherit;font-size:11.5px;font-weight:660;letter-spacing:.2px;padding:9px 12px;cursor:pointer;text-align:left;white-space:nowrap}",
5089
- "." + P + "-thbtn:hover{background:var(--cfg-hover)}",
5090
- "." + P + "-thbtn:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,currentColor);outline-offset:-2px}",
5091
- "." + P + "-coltype{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9.5px;font-weight:500;color:var(--cfg-faint);letter-spacing:.3px}",
5092
- "." + P + "-sortmark{color:var(--dsw-alias-brand-primary,currentColor);font-size:10px}",
5093
- "." + P + "-rownum{position:sticky;left:0;z-index:1;background:var(--cfg-surface);color:var(--cfg-faint);text-align:right;font-variant-numeric:tabular-nums;font-size:10.5px;padding:0 8px;width:1%;white-space:nowrap;border-right:1px solid color-mix(in oklab,currentColor 7%,transparent)}",
5094
- "." + P + "-table thead ." + P + "-rownum{z-index:3}",
5095
- "." + P + "-cell{padding:7px 12px;border-bottom:1px solid color-mix(in oklab,currentColor 6%,transparent);max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default;vertical-align:top}",
5096
- "." + P + "-table tbody tr:hover ." + P + "-cell{background:var(--cfg-hover)}",
5097
- "." + P + "-table tbody tr:nth-child(even) ." + P + "-cell,." + P + "-table tbody tr:nth-child(even) ." + P + "-rownum{background:color-mix(in oklab,currentColor 2.5%,transparent)}",
5098
- "." + P + "-cell.num{text-align:right;font-variant-numeric:tabular-nums}",
5099
- "." + P + "-cell.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px}",
5100
- "." + P + "-cell.null{color:var(--cfg-faint);font-style:italic}",
5101
- "." + P + "-cell.json .v{color:var(--dsw-alias-brand-primary,inherit)}",
5102
- "." + P + "-tr.deleted ." + P + "-cell,." + P + "-tr.deleted ." + P + "-rownum{opacity:.55}",
5103
- "." + P + "-tr.deleted ." + P + "-cell .v{text-decoration:line-through;text-decoration-color:color-mix(in oklab,currentColor 35%,transparent)}",
5104
- "." + P + "-delbadge{display:inline-block;margin-left:6px;font-size:9.5px;line-height:1.5;padding:0 5px;border-radius:999px;background:color-mix(in oklab,var(--dsw-alias-state-error-primary,currentColor) 14%,transparent);color:var(--dsw-alias-state-error-primary,inherit);vertical-align:middle}",
5105
- "." + P + "-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:2px;font-size:11.5px;color:var(--cfg-muted)}",
5106
- "." + P + "-grow{flex:1}",
5107
- "." + P + "-pageinfo{font-variant-numeric:tabular-nums}",
5108
- "." + P + "-jump .wbctl-num-input{width:56px;padding:4px 7px;font-size:11.5px;text-align:right}",
5109
- "." + P + "-jump .wbctl-num-hint{display:none}",
5110
- "." + P + "-empty{border:1px dashed var(--cfg-line);border-radius:11px;padding:44px 16px;text-align:center;font-size:12.5px;color:var(--cfg-muted)}",
5111
- "." + P + "-err{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid color-mix(in oklab,var(--dsw-alias-state-error-primary,currentColor) 32%,var(--cfg-line));border-radius:10px;padding:9px 12px;color:var(--dsw-alias-state-error-primary,inherit);font-size:12px;line-height:1.5}",
5112
- "." + P + "-skwrap{display:flex;flex-direction:column;gap:1px;padding:2px}",
5113
- "." + P + "-sk{height:26px;border-radius:4px;background:var(--dsw-alias-bg-skeleton,color-mix(in oklab,currentColor 6%,transparent));animation:" + PREFIX + "-data-pulse 1.4s ease-in-out infinite}",
5114
- "@keyframes " + PREFIX + "-data-pulse{0%,100%{opacity:.6}50%{opacity:1}}",
5115
- "." + P + "-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:40;background:var(--dsw-alias-bg-layer-1,var(--cfg-surface));border:1px solid var(--cfg-line);border-radius:999px;padding:7px 14px;font-size:12px;color:var(--dsw-alias-label-primary,inherit);box-shadow:0 6px 24px color-mix(in oklab,currentColor 18%,transparent)}",
5116
- "." + P + "-mask{position:fixed;inset:0;z-index:30;background:color-mix(in oklab,currentColor 26%,transparent)}",
5117
- "." + P + "-drawer{position:fixed;top:0;right:0;bottom:0;z-index:31;width:min(520px,92vw);display:flex;flex-direction:column;gap:12px;background:var(--dsw-alias-bg-layer-1,var(--cfg-surface));border-left:1px solid var(--cfg-line);box-shadow:-8px 0 28px color-mix(in oklab,currentColor 16%,transparent);padding:18px 20px}",
5118
- "." + P + "-drawer h3{margin:0;font-size:14px;font-weight:660;display:flex;align-items:center;gap:8px;flex-wrap:wrap}",
5119
- "." + P + "-drawer pre{margin:0;flex:1;overflow:auto;border:1px solid var(--cfg-line);border-radius:10px;background:var(--dsw-alias-bg-base,transparent);padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}",
5120
- "." + P + "-drawerfoot{display:flex;gap:8px;justify-content:flex-end}",
5121
- "." + P + "-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}",
5122
- "@media (max-width:900px){." + P + "{grid-template-columns:minmax(0,1fr)}." + P + "-side{position:static;flex-direction:row;flex-wrap:wrap;gap:6px;padding:6px}." + P + "-sidetitle{display:none}." + P + "-stab{padding:6px 10px;flex:none}." + P + "-sidecount{display:none}." + P + "-tablewrap{max-height:calc(100vh - 260px)}}",
5123
- "@media (prefers-reduced-motion:reduce){." + P + " *,." + P + "-track,." + P + "-track::after,." + P + "-sk,." + P + "-drawer{transition:none;animation:none}}",
5124
- "." + P + "-idxsub{font-size:11.5px;color:var(--cfg-muted);line-height:1.55}",
5125
- "." + P + "-idxsum{display:flex;gap:16px;flex-wrap:wrap;font-size:11.5px;color:var(--cfg-muted)}",
5126
- "." + P + "-idxsum b{font-weight:660;color:var(--dsw-alias-label-primary,inherit);font-variant-numeric:tabular-nums}",
5127
- "." + P + "-idxtable{width:100%;table-layout:fixed}." + P + "-idxtable ." + P + "-cell{white-space:normal;overflow-wrap:anywhere;max-width:none}." + P + "-idxtable th:first-child{width:30%}." + P + "-idxtable th:nth-child(2){width:28%}",
5128
- "." + P + "-idxtags{display:flex;flex-wrap:wrap;gap:4px;max-width:280px}",
5129
- "." + P + "-idxchip{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.6;border-radius:999px;padding:0 7px;background:color-mix(in oklab,currentColor 7%,transparent);color:var(--cfg-muted);white-space:nowrap}",
5130
- "." + P + "-idxchip.u{background:color-mix(in oklab,var(--dsw-alias-brand-primary,currentColor) 15%,transparent);color:var(--dsw-alias-brand-primary,inherit)}",
5131
- "." + P + "-idxnone{color:var(--cfg-faint)}",
5132
- "." + P + "-frow th{padding:0 8px 6px;border-bottom:1px solid var(--cfg-line)}",
5133
- "." + P + "-fcell{position:relative;display:block;min-width:96px}",
5134
- "." + P + "-finput{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:6px;background:color-mix(in oklab,currentColor 4%,transparent);color:inherit;font:inherit;font-size:11.5px;padding:3px 18px 3px 6px;min-width:0}",
5135
- "." + P + "-finput:hover{background:color-mix(in oklab,currentColor 7%,transparent)}",
5136
- "." + P + "-finput:focus{outline:none;border-color:var(--dsw-alias-brand-primary,currentColor);background:var(--cfg-surface)}",
5137
- "." + P + "-fclear{position:absolute;right:2px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--cfg-muted);cursor:pointer;font-size:13px;line-height:1;padding:2px 4px;border-radius:4px}",
5138
- "." + P + "-fclear:hover{color:inherit;background:var(--cfg-hover)}",
5139
- "." + P + "-emptycell{padding:22px 12px;text-align:center;color:var(--cfg-muted)}",
5140
- "." + P + " *{box-sizing:border-box}",
5141
- "." + P + "-tabs{display:flex;gap:6px;border-bottom:1px solid var(--cfg-line);padding-bottom:9px}",
5142
- "." + P + "-tabs [aria-selected=true]{background:var(--cfg-hover);color:inherit;font-weight:660}",
5143
- "." + P + "-images{display:flex;gap:5px;align-items:center}",
5144
- "." + P + "-images img{width:36px;height:36px;object-fit:cover;border-radius:5px}",
5145
- "." + P + "-gallery{display:flex;flex-direction:column;gap:12px;overflow:auto;flex:1}",
5146
- "." + P + "-gallery img{width:100%;height:auto;object-fit:contain;border-radius:8px}"
5147
- ].concat(require_switch().styles).concat(require_number_field().styles).join("\n");
5148
- if (DOMAIN === "storage") {
5149
- var buttons = "." + P + " :is(button)";
5150
- CSS += buttons + "{border:none;background:var(--wb-btn-bg);min-height:var(--wb-btn-size-sm);min-width:var(--wb-btn-size-sm)}" + buttons + ":enabled:hover{background:var(--wb-btn-hover-bg)}" + buttons + ":enabled:active{background:var(--wb-btn-active-bg)}" + buttons + ":disabled{background:var(--wb-btn-bg);color:var(--cfg-muted)}" + buttons + ":focus-visible{outline:var(--wb-btn-focus);outline-offset:var(--wb-btn-focus-offset)}." + P + "-fcell:has(button) input{padding-right:34px}";
5151
- }
5152
- function injectCss() {
5153
- if (typeof document === "undefined") return;
5154
- var old = document.getElementById("wb-addon-" + DOMAIN + "-data-css");
5155
- if (old) {
5156
- old.textContent = CSS;
5157
- return;
4950
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs
4951
+ function toLucideIconData(iconName, iconNode, aliases = []) {
4952
+ if (iconNode == null) {
4953
+ throw new Error("[lucide]: iconNode is required when icon name is used");
4954
+ }
4955
+ return {
4956
+ name: toKebabCase(iconName),
4957
+ size: 24,
4958
+ node: iconNode,
4959
+ ...aliases.length > 0 ? { aliases } : {}
4960
+ };
4961
+ }
4962
+ var init_toLucideIconData = __esm({
4963
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs"() {
4964
+ init_toKebabCase();
4965
+ }
4966
+ });
4967
+
4968
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
4969
+ var toCamelCase;
4970
+ var init_toCamelCase = __esm({
4971
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs"() {
4972
+ toCamelCase = (string) => {
4973
+ let out = "";
4974
+ let upperNext = false;
4975
+ for (const ch of string) {
4976
+ if (ch === "-" || ch === "_" || ch <= " ") {
4977
+ upperNext = out.length > 0;
4978
+ continue;
5158
4979
  }
5159
- var style = document.createElement("style");
5160
- style.id = "wb-addon-" + DOMAIN + "-data-css";
5161
- style.setAttribute("data-wb-addon", "wb-addon-" + DOMAIN);
5162
- style.textContent = CSS;
5163
- document.head.appendChild(style);
4980
+ if (out.length === 0) {
4981
+ out += ch.toLowerCase();
4982
+ } else {
4983
+ out += upperNext ? ch.toUpperCase() : ch;
4984
+ }
4985
+ upperNext = false;
5164
4986
  }
5165
- return injectCss;
4987
+ return out;
5166
4988
  };
5167
4989
  }
5168
4990
  });
5169
4991
 
5170
- // packages/addons/lib/data-view.cjs
5171
- var require_data_view = __commonJS({
5172
- "packages/addons/lib/data-view.cjs"(exports2, module2) {
5173
- "use strict";
5174
- var React = require("react");
5175
- var NF = require_number_field();
5176
- var h = React.createElement;
5177
- var COPY = require_data_copy();
5178
- var SW = require_switch();
5179
- module2.exports = function createDataView(options) {
5180
- var DOMAIN = options.domain;
5181
- function icon(name) {
5182
- return options.Icon ? h(options.Icon, { name }) : null;
5183
- }
5184
- var P = options.prefix + "-data";
5185
- var configView = { useConfig: options.useConfig };
5186
- var columnHooks = options.columns || {};
5187
- var injectCss = require_data_style()(DOMAIN, options.prefix);
5188
- var CFG_FALLBACK = {
5189
- "data.pageSize": 50,
5190
- "data.showSystemColumns": false,
5191
- "data.includeDeleted": false
5192
- };
5193
- var PAGE_SIZES = [10, 25, 50, 100, 200];
5194
- function unwrap(r) {
5195
- return r && r.result !== void 0 ? r.result : r;
5196
- }
5197
- function fmt(template, vars) {
5198
- return String(template).replace(/\{(\w+)\}/g, function(m, key) {
5199
- return vars[key] === void 0 ? m : String(vars[key]);
5200
- });
5201
- }
5202
- function pad2(n) {
5203
- return n < 10 ? "0" + n : String(n);
5204
- }
5205
- function timeText(ms) {
5206
- var d = new Date(Number(ms));
5207
- if (!Number.isFinite(d.getTime())) return String(ms);
5208
- return d.getFullYear() + "-" + pad2(d.getMonth() + 1) + "-" + pad2(d.getDate()) + " " + pad2(d.getHours()) + ":" + pad2(d.getMinutes());
5209
- }
5210
- function looksJson(value) {
5211
- var text = String(value).trim();
5212
- if (!text || text[0] !== "{" && text[0] !== "[") return false;
5213
- try {
5214
- JSON.parse(text);
4992
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs
4993
+ var toPascalCase;
4994
+ var init_toPascalCase = __esm({
4995
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs"() {
4996
+ init_toCamelCase();
4997
+ toPascalCase = (string) => {
4998
+ const camelCase = toCamelCase(string);
4999
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
5000
+ };
5001
+ }
5002
+ });
5003
+
5004
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
5005
+ var mergeClasses;
5006
+ var init_mergeClasses = __esm({
5007
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs"() {
5008
+ mergeClasses = (...classes) => classes.filter((className, index, array) => {
5009
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
5010
+ }).join(" ").trim();
5011
+ }
5012
+ });
5013
+
5014
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs
5015
+ var defaultAttributes;
5016
+ var init_defaultAttributes = __esm({
5017
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs"() {
5018
+ defaultAttributes = {
5019
+ xmlns: "http://www.w3.org/2000/svg",
5020
+ width: 24,
5021
+ height: 24,
5022
+ viewBox: "0 0 24 24",
5023
+ fill: "none",
5024
+ stroke: "currentColor",
5025
+ "stroke-width": 2,
5026
+ "stroke-linecap": "round",
5027
+ "stroke-linejoin": "round"
5028
+ };
5029
+ }
5030
+ });
5031
+
5032
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs
5033
+ function isDefined(value) {
5034
+ return value !== null && value !== void 0;
5035
+ }
5036
+ function buildLucideIconNode(icon, params = {}) {
5037
+ const attributeNames = params.attributeNames ?? {};
5038
+ const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;
5039
+ const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes["width"];
5040
+ const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes["height"];
5041
+ const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === "string" && alias.trim() !== "").map((alias) => `lucide-${alias}`) ?? [];
5042
+ const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];
5043
+ const classNamesFromClassName = params.className?.split(" ").filter(Boolean) ?? [];
5044
+ const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses("lucide", ...iconClassNames, ...classNamesFromClassName);
5045
+ const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes["stroke-width"]) * Number(icon.size ?? icon.width ?? defaultAttributes["width"]) / Number(params.size ?? params.width ?? defaultAttributes["width"]) : params.strokeWidth ?? defaultAttributes["stroke-width"];
5046
+ const attributes = {
5047
+ ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {
5048
+ attrs[getAttributeName(attrName)] = value;
5049
+ return attrs;
5050
+ }, {}),
5051
+ ..."color" in params && params.color && {
5052
+ [getAttributeName("stroke")]: params.color
5053
+ },
5054
+ ..."size" in params && isDefined(params.size) && {
5055
+ [getAttributeName("width")]: params.size,
5056
+ [getAttributeName("height")]: params.size
5057
+ },
5058
+ ..."width" in params && isDefined(params.width) && {
5059
+ [getAttributeName("width")]: params.width
5060
+ },
5061
+ ..."height" in params && isDefined(params.height) && {
5062
+ [getAttributeName("height")]: params.height
5063
+ },
5064
+ [getAttributeName("stroke-width")]: calculatedStrokeWidth,
5065
+ ...className && {
5066
+ [getAttributeName("class")]: className
5067
+ },
5068
+ [getAttributeName("viewBox")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,
5069
+ ...params.hasA11yProp === false ? {
5070
+ [getAttributeName("aria-hidden")]: "true"
5071
+ } : {},
5072
+ ..."attributes" in params && params.attributes
5073
+ };
5074
+ return [
5075
+ "svg",
5076
+ attributes,
5077
+ icon.node.map((child) => {
5078
+ const [name, attrs, children] = child;
5079
+ const nextAttrs = params.nonScalingStroke ? { [getAttributeName("vector-effect")]: "non-scaling-stroke", ...attrs } : attrs;
5080
+ return children ? [name, nextAttrs, children] : [name, nextAttrs];
5081
+ })
5082
+ ];
5083
+ }
5084
+ var init_buildLucideIconNode = __esm({
5085
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs"() {
5086
+ init_defaultAttributes();
5087
+ init_mergeClasses();
5088
+ }
5089
+ });
5090
+
5091
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs
5092
+ function buildLucideIconForReact(icon, params = {}) {
5093
+ return buildLucideIconNode(icon, {
5094
+ ...params,
5095
+ attributeNames: {
5096
+ ...params.attributeNames,
5097
+ class: "className",
5098
+ "stroke-width": "strokeWidth",
5099
+ "stroke-linecap": "strokeLinecap",
5100
+ "stroke-linejoin": "strokeLinejoin",
5101
+ "vector-effect": "vectorEffect"
5102
+ }
5103
+ });
5104
+ }
5105
+ var init_buildLucideIconForReact = __esm({
5106
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs"() {
5107
+ init_buildLucideIconNode();
5108
+ }
5109
+ });
5110
+
5111
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
5112
+ var hasA11yProp;
5113
+ var init_hasA11yProp = __esm({
5114
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs"() {
5115
+ hasA11yProp = (props) => {
5116
+ for (const prop in props) {
5117
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
5215
5118
  return true;
5216
- } catch (e) {
5217
- return false;
5218
5119
  }
5219
5120
  }
5220
- function rawText(value, col) {
5221
- if (value === null || value === void 0) return "";
5222
- return String(value);
5223
- }
5224
- function DataView(props) {
5225
- var api = props.api;
5226
- var lang = props.lang === "en" ? "en" : "zh";
5227
- var t = Object.assign({}, COPY[lang], { indexSub: fmt(COPY[lang].indexSub, { tables: options.tables.join(" / "), domain: DOMAIN }) });
5228
- var cfgWrap = configView.useConfig(api, CFG_FALLBACK);
5229
- var cfg = cfgWrap.values;
5230
- var tablesS = React.useState(null);
5231
- var tables = tablesS[0], setTables = tablesS[1];
5232
- var activeS = React.useState("");
5233
- var active = activeS[0], setActive = activeS[1];
5234
- var dataS = React.useState(null);
5235
- var data = dataS[0], setData = dataS[1];
5236
- var loadingS = React.useState(false);
5237
- var loadingRows = loadingS[0], setLoadingRows = loadingS[1];
5238
- var loadingTablesS = React.useState(true);
5239
- var loadingTables = loadingTablesS[0], setLoadingTables = loadingTablesS[1];
5240
- var errorS = React.useState("");
5241
- var error = errorS[0], setError = errorS[1];
5242
- var pageS = React.useState(1);
5243
- var page = pageS[0], setPage = pageS[1];
5244
- var sizeS = React.useState(0);
5245
- var pageSize = sizeS[0], setPageSize = sizeS[1];
5246
- var sortS = React.useState("");
5247
- var sort = sortS[0], setSort = sortS[1];
5248
- var orderS = React.useState("desc");
5249
- var order = orderS[0], setOrder = orderS[1];
5250
- var searchDraftS = React.useState("");
5251
- var searchDraft = searchDraftS[0], setSearchDraft = searchDraftS[1];
5252
- var searchS = React.useState("");
5253
- var search = searchS[0], setSearch = searchS[1];
5254
- var filterDraftS = React.useState({});
5255
- var filterDraft = filterDraftS[0], setFilterDraft = filterDraftS[1];
5256
- var filtersS = React.useState({});
5257
- var filters = filtersS[0], setFilters = filtersS[1];
5258
- var includeDeletedS = React.useState(null);
5259
- var includeDeletedRaw = includeDeletedS[0], setIncludeDeleted = includeDeletedS[1];
5260
- var showSystemS = React.useState(null);
5261
- var showSystemRaw = showSystemS[0], setShowSystem = showSystemS[1];
5262
- var drawerS = React.useState(null);
5263
- var drawer = drawerS[0], setDrawer = drawerS[1];
5264
- var toastS = React.useState("");
5265
- var toast = toastS[0], setToast = toastS[1];
5266
- var filtersKey = JSON.stringify(filters);
5267
- var reqRef = React.useRef(0);
5268
- var toastTimer = React.useRef(null);
5269
- var refreshS = React.useState(0);
5270
- function refresh() {
5271
- loadTables();
5272
- refreshS[1](function(n) {
5273
- return n + 1;
5274
- });
5275
- }
5276
- var indexReqRef = React.useRef(0);
5277
- var indexS = React.useState(null);
5278
- var index = indexS[0], setIndex = indexS[1];
5279
- var indexBusyS = React.useState(false);
5280
- var indexBusy = indexBusyS[0], setIndexBusy = indexBusyS[1];
5281
- var cfgSize = Number(cfg["data.pageSize"]) || 50;
5282
- var size = pageSize || (PAGE_SIZES.indexOf(cfgSize) >= 0 ? cfgSize : 50);
5283
- var includeDeleted = includeDeletedRaw === null ? cfg["data.includeDeleted"] === true : includeDeletedRaw;
5284
- var showSystem = showSystemRaw === null ? cfg["data.showSystemColumns"] === true : showSystemRaw;
5285
- function say(text) {
5286
- setToast(text);
5287
- if (toastTimer.current) clearTimeout(toastTimer.current);
5288
- toastTimer.current = setTimeout(function() {
5289
- setToast("");
5290
- }, 1600);
5291
- }
5292
- function loadTables() {
5293
- setLoadingTables(true);
5294
- Promise.resolve((options.tablesLoader || function(a) {
5295
- return a.call(DOMAIN + ".dataTables");
5296
- })(api)).then(function(r) {
5297
- if (r && r.ok === false) throw new Error(r && r.error || t.loadFail);
5298
- var body = unwrap(r);
5299
- if (!body || !Array.isArray(body.tables)) throw new Error(t.loadFail);
5300
- setTables(body.tables);
5301
- setError("");
5302
- if (!active && body.tables.length) setActive(body.tables[0].name);
5303
- }).catch(function(e) {
5304
- setError(String(e && e.message || e) || t.loadFail);
5305
- }).then(function() {
5306
- setLoadingTables(false);
5307
- });
5308
- }
5309
- React.useEffect(function() {
5310
- injectCss();
5311
- loadTables();
5312
- return function() {
5313
- indexReqRef.current++;
5314
- if (toastTimer.current) clearTimeout(toastTimer.current);
5315
- };
5316
- }, []);
5317
- function selectTable(name) {
5318
- if (name === active) return;
5319
- reqRef.current++;
5320
- setActive(name);
5321
- setData(null);
5322
- setDrawer(null);
5323
- setError("");
5324
- setLoadingRows(true);
5325
- setPage(1);
5326
- setSort("");
5327
- setOrder("desc");
5328
- setSearch("");
5329
- setSearchDraft("");
5330
- setFilterDraft({});
5331
- setFilters({});
5332
- }
5333
- React.useEffect(function() {
5334
- if (searchDraft === search) return void 0;
5335
- var timer = setTimeout(function() {
5336
- setSearch(searchDraft);
5337
- setPage(1);
5338
- }, 280);
5339
- return function() {
5340
- clearTimeout(timer);
5341
- };
5342
- }, [searchDraft]);
5343
- React.useEffect(function() {
5344
- if (JSON.stringify(filterDraft) === JSON.stringify(filters)) return void 0;
5345
- var timer = setTimeout(function() {
5346
- setFilters(filterDraft);
5347
- setPage(1);
5348
- }, 280);
5349
- return function() {
5350
- clearTimeout(timer);
5351
- };
5352
- }, [filterDraft]);
5353
- React.useEffect(function() {
5354
- if (!active || !cfgWrap.ready || index) return void 0;
5355
- var req = ++reqRef.current;
5356
- setLoadingRows(true);
5357
- var args = { table: active, page, pageSize: size, order, includeDeleted };
5358
- if (sort) args.sort = sort;
5359
- if (search) args.search = search;
5360
- if (Object.keys(filters).length) args.filters = filters;
5361
- Promise.resolve((options.query || function(a, q) {
5362
- return a.call(DOMAIN + ".dataQuery", q);
5363
- })(api, args)).then(function(r) {
5364
- if (req !== reqRef.current) return;
5365
- if (r && r.ok === false) throw new Error(r && r.error || t.queryFail);
5366
- var body = unwrap(r);
5367
- if (!body) throw new Error(t.queryFail);
5368
- setData(body);
5369
- setError("");
5370
- if (body.page !== page) setPage(body.page);
5371
- }).catch(function(e) {
5372
- if (req !== reqRef.current) return;
5373
- setError(String(e && e.message || e) || t.queryFail);
5374
- }).then(function() {
5375
- if (req === reqRef.current) setLoadingRows(false);
5376
- });
5377
- return function() {
5378
- reqRef.current++;
5379
- };
5380
- }, [active, page, size, sort, order, search, includeDeleted, cfgWrap.ready, filtersKey, refreshS[0], !!index]);
5381
- React.useEffect(function() {
5382
- if (!drawer) return void 0;
5383
- function onKey(e) {
5384
- if (e.key === "Escape") setDrawer(null);
5385
- }
5386
- document.addEventListener("keydown", onKey);
5387
- return function() {
5388
- document.removeEventListener("keydown", onKey);
5389
- };
5390
- }, [drawer]);
5391
- var current = null;
5392
- if (tables) {
5393
- for (var i = 0; i < tables.length; i++) if (tables[i].name === active) current = tables[i];
5394
- }
5395
- function leaveIndex() {
5396
- indexReqRef.current++;
5397
- setIndex(null);
5398
- setIndexBusy(false);
5399
- setError("");
5400
- }
5401
- function loadIndex() {
5402
- reqRef.current++;
5403
- setError("");
5404
- var req = ++indexReqRef.current;
5405
- setIndex([]);
5406
- setIndexBusy(true);
5407
- Promise.resolve(api.call(DOMAIN + ".dataTables", { stats: true })).then(function(r) {
5408
- if (req !== indexReqRef.current) return;
5409
- if (r && r.ok === false) throw new Error(r.error || t.loadFail);
5410
- var payload = unwrap(r) || {};
5411
- var rows = (payload.tables || []).map(function(tb) {
5412
- return { table: tb, stats: tb.stats || null };
5413
- });
5414
- setIndex(rows);
5415
- setError("");
5416
- setIndexBusy(false);
5417
- }).catch(function(e) {
5418
- if (req !== indexReqRef.current) return;
5419
- setError(String(e.message || e));
5420
- setIndex([]);
5421
- setIndexBusy(false);
5422
- });
5423
- }
5424
- function renderIndex() {
5425
- var row = (index || []).filter(function(r) {
5426
- return r.table.name === active;
5427
- })[0];
5428
- var tb = row ? row.table : current;
5429
- var st = row && row.stats;
5430
- var indexes = st ? st.indexes || [] : [];
5431
- var hasExtra = indexes.some(function(ix) {
5432
- return ix.origin !== "pk";
5433
- });
5434
- var count = st && st.rows !== void 0 ? st.rows : tb && tb.count;
5435
- return h(
5436
- "div",
5437
- { className: P + "-idx" },
5438
- h(
5439
- "div",
5440
- { className: P + "-head" },
5441
- h(
5442
- "div",
5443
- { className: P + "-headmain" },
5444
- h("h2", null, icon("database"), tableLabel(tb), h("span", { className: P + "-code" }, active)),
5445
- h("div", { className: P + "-idxsub" }, t.indexSub)
5446
- ),
5447
- h("button", {
5448
- type: "button",
5449
- className: P + "-btn",
5450
- "aria-label": t.refresh,
5451
- title: t.refresh,
5452
- "aria-busy": indexBusy ? "true" : "false",
5453
- onClick: function() {
5454
- loadIndex();
5455
- }
5456
- }, icon("refresh"), h("span", { className: P + "-btnlabel" }, t.refresh))
5457
- ),
5458
- st ? h(
5459
- "div",
5460
- { className: P + "-idxsum" },
5461
- h("span", null, t.idxRows, " ", h("b", null, String(count))),
5462
- h("span", null, t.idxCols, " ", h("b", null, String(st.columnCount === void 0 ? (tb.columns || []).length : st.columnCount))),
5463
- h("span", null, fmt(t.idxCount, { n: indexes.length }))
5464
- ) : null,
5465
- indexBusy ? options.Skeleton ? h(options.Skeleton, { lang, label: t.loading }) : h("div", { className: P + "-empty", role: "status", "aria-busy": "true" }, t.loading) : !st ? h("div", { className: P + "-empty" }, t.idxEmpty) : !hasExtra ? h("div", { className: P + "-empty" }, t.idxNoExtra) : h(
5466
- "div",
5467
- { className: P + "-tablewrap" },
5468
- h(
5469
- "table",
5470
- { className: P + "-table " + P + "-idxtable" },
5471
- h("thead", null, h(
5472
- "tr",
5473
- null,
5474
- [t.idxName, t.idxColumns, t.idxType, t.idxSource, t.idxRows].map(function(label) {
5475
- return h("th", { scope: "col", key: label }, h("span", { className: P + "-thbtn" }, label));
5476
- })
5477
- )),
5478
- h("tbody", null, indexes.map(function(ix) {
5479
- return h(
5480
- "tr",
5481
- { className: P + "-tr", key: ix.name },
5482
- h("td", { className: P + "-cell mono" }, ix.name),
5483
- h("td", { className: P + "-cell mono" }, (ix.columns || []).join(", ") || t.idxNone),
5484
- h("td", { className: P + "-cell" }, ix.origin === "pk" ? t.idxKey : ix.unique ? t.idxUnique : t.idxNormal),
5485
- h("td", { className: P + "-cell" }, /^sqlite_autoindex_/.test(ix.name) ? t.idxAuto : t.idxCreated),
5486
- h("td", { className: P + "-cell num", title: t.idxRowsHelp }, String(count))
5487
- );
5488
- }))
5489
- )
5490
- )
5491
- );
5492
- }
5493
- function tableLabel(tb) {
5494
- if (!tb || !tb.label) return "";
5495
- return lang === "en" ? tb.label.en || tb.label.zh : tb.label.zh || tb.label.en;
5496
- }
5497
- function colLabel(col) {
5498
- if (!col.label) return col.name;
5499
- return lang === "en" ? col.label.en || col.label.zh : col.label.zh || col.label.en;
5500
- }
5501
- function visibleColumns() {
5502
- var cols = data && data.columns ? data.columns.map(function(col) {
5503
- var hook = columnHooks[col.name];
5504
- return hook && hook.kind ? Object.assign({}, col, { kind: hook.kind, type: hook.type || col.type }) : col;
5505
- }) : [];
5506
- return cols.filter(function(c) {
5507
- return showSystem || !c.system;
5508
- });
5509
- }
5510
- function toggleSort(name) {
5511
- if (sort !== name) {
5512
- setSort(name);
5513
- setOrder("desc");
5514
- return;
5515
- }
5516
- if (order === "desc") {
5517
- setOrder("asc");
5518
- return;
5519
- }
5520
- setSort("");
5521
- setOrder("desc");
5522
- }
5523
- function ariaSort(name) {
5524
- if (sort !== name) return "none";
5525
- return order === "asc" ? "ascending" : "descending";
5526
- }
5527
- function copyCell(value) {
5528
- var text = value === null || value === void 0 ? "" : String(value);
5529
- try {
5530
- if (navigator.clipboard && navigator.clipboard.writeText) navigator.clipboard.writeText(text);
5531
- else {
5532
- var ta = document.createElement("textarea");
5533
- ta.value = text;
5534
- ta.style.position = "fixed";
5535
- ta.style.opacity = "0";
5536
- document.body.appendChild(ta);
5537
- ta.select();
5538
- document.execCommand("copy");
5539
- document.body.removeChild(ta);
5540
- }
5541
- say(t.copied);
5542
- } catch (e) {
5543
- }
5544
- }
5545
- function cellText(col, value) {
5546
- if (value === null || value === void 0) return null;
5547
- if (col.kind === "bool") return value ? t.yes : t.no;
5548
- if (col.kind === "timestamp") return timeText(value);
5549
- return String(value);
5550
- }
5551
- function cellClass(col, value) {
5552
- var cls = P + "-cell";
5553
- if (value === null || value === void 0) return cls + " null";
5554
- if (col.kind === "number") return cls + " num";
5555
- if (col.kind === "id" || col.kind === "path") return cls + " mono";
5556
- if (col.kind === "text" && looksJson(value)) return cls + " json";
5557
- return cls;
5558
- }
5559
- function cellTitle(col, value) {
5560
- if (value === null || value === void 0) return t.nullText;
5561
- if (col.kind === "timestamp") return String(value);
5562
- if (col.kind === "bool") return value ? "1" : "0";
5563
- return String(value);
5564
- }
5565
- function renderCell(row, col) {
5566
- var value = row[col.name];
5567
- var hook = columnHooks[col.name];
5568
- function openDetail() {
5569
- setDrawer({ column: colLabel(col), name: col.name, row: (data.page - 1) * data.pageSize + row.__i + 1, value });
5570
- }
5571
- var text = cellText(col, value);
5572
- var content;
5573
- if (text === null) content = h("span", { className: "v" }, t.nullText);
5574
- else if (text === "") content = h("span", { className: "v" }, '""');
5575
- else content = h("span", { className: "v" }, text);
5576
- if (hook && hook.render) content = hook.render({ value, row, col, lang, prefix: P, openDetail });
5577
- return h("td", {
5578
- key: col.name,
5579
- className: cellClass(col, value),
5580
- title: cellTitle(col, value),
5581
- onClick: function() {
5582
- copyCell(value);
5583
- },
5584
- onDoubleClick: openDetail
5585
- }, content);
5586
- }
5587
- function activeFilterCount() {
5588
- var n = 0;
5589
- for (var k in filters) if (Object.prototype.hasOwnProperty.call(filters, k)) n++;
5590
- return n;
5591
- }
5592
- function filterCell(col) {
5593
- var val = filterDraft[col.name] === void 0 ? "" : filterDraft[col.name];
5594
- return h(
5595
- "th",
5596
- { key: col.name, scope: "col", className: P + "-fth" },
5597
- h(
5598
- "span",
5599
- { className: P + "-fcell" },
5600
- h("input", {
5601
- className: P + "-finput",
5602
- type: "search",
5603
- value: val,
5604
- placeholder: t.filterCol,
5605
- "aria-label": t.filterCol + " " + colLabel(col),
5606
- title: colLabel(col) + " \xB7 " + t.filterCol,
5607
- onChange: function(e) {
5608
- var v = e.target.value;
5609
- setFilterDraft(function(prev) {
5610
- var next = Object.assign({}, prev);
5611
- if (v) next[col.name] = v;
5612
- else delete next[col.name];
5613
- return next;
5614
- });
5615
- }
5616
- }),
5617
- val ? h("button", {
5618
- type: "button",
5619
- className: P + "-fclear",
5620
- title: t.filterClear,
5621
- "aria-label": t.filterClear + " " + colLabel(col),
5622
- onClick: function() {
5623
- setFilterDraft(function(prev) {
5624
- var next = Object.assign({}, prev);
5625
- delete next[col.name];
5626
- return next;
5627
- });
5628
- }
5629
- }, "\xD7") : null
5630
- )
5631
- );
5632
- }
5633
- function renderRows() {
5634
- if (loadingRows && !data && options.Skeleton) return h(options.Skeleton, { lang, label: t.loading });
5635
- if (loadingRows && !data) {
5636
- return h(
5637
- "div",
5638
- { className: P + "-skwrap", "aria-busy": "true" },
5639
- h("span", { className: P + "-sr" }, t.loading),
5640
- [0, 1, 2, 3, 4, 5, 6, 7].map(function(i2) {
5641
- return h("div", { key: i2, className: P + "-sk" });
5642
- })
5643
- );
5644
- }
5645
- if (error) {
5646
- return h(
5647
- "div",
5648
- { className: P + "-err", role: "alert" },
5649
- h("span", null, t.queryFail + error),
5650
- h("button", { type: "button", className: P + "-btn", onClick: refresh }, t.retry)
5651
- );
5652
- }
5653
- if (!data) return h("div", { className: P + "-empty" }, t.empty);
5654
- var cols = visibleColumns();
5655
- var rows = data.rows || [];
5656
- var narrowing = !!search || activeFilterCount() > 0;
5657
- return h(
5658
- "div",
5659
- { className: P + "-tablewrap" },
5660
- h(
5661
- "table",
5662
- { className: P + "-table" },
5663
- h(
5664
- "thead",
5665
- null,
5666
- h(
5667
- "tr",
5668
- null,
5669
- h("th", { className: P + "-rownum", scope: "col" }, "#"),
5670
- cols.map(function(col) {
5671
- return h(
5672
- "th",
5673
- { key: col.name, scope: "col", "aria-sort": ariaSort(col.name) },
5674
- h(
5675
- "button",
5676
- {
5677
- type: "button",
5678
- className: P + "-thbtn",
5679
- title: colLabel(col) + " \xB7 " + col.type,
5680
- onClick: function() {
5681
- toggleSort(col.name);
5682
- }
5683
- },
5684
- h("span", null, colLabel(col)),
5685
- h("span", { className: P + "-coltype" }, String(col.type || "").toLowerCase()),
5686
- sort === col.name ? h("span", { className: P + "-sortmark", "aria-hidden": "true" }, order === "asc" ? "\u25B2" : "\u25BC") : null
5687
- )
5688
- );
5689
- })
5690
- ),
5691
- h(
5692
- "tr",
5693
- { className: P + "-frow" },
5694
- h("th", { className: P + "-rownum", scope: "col" }, ""),
5695
- cols.map(filterCell)
5696
- )
5697
- ),
5698
- h("tbody", null, rows.length ? rows.map(function(row, idx) {
5699
- row.__i = idx;
5700
- var deleted = row.deleted_at !== null && row.deleted_at !== void 0;
5701
- return h(
5702
- "tr",
5703
- { key: row.id || idx, className: P + "-tr" + (deleted ? " deleted" : "") },
5704
- h("td", { className: P + "-rownum" }, (data.page - 1) * data.pageSize + idx + 1),
5705
- cols.map(function(col) {
5706
- var cell = renderCell(row, col);
5707
- if (deleted && col.name === "id") {
5708
- return React.cloneElement(cell, { key: col.name }, cell.props.children, h("span", { className: P + "-delbadge" }, t.deleted));
5709
- }
5710
- return cell;
5711
- })
5712
- );
5713
- }) : h("tr", null, h("td", { className: P + "-emptycell", colSpan: cols.length + 1 }, narrowing ? t.noRows : t.empty)))
5714
- )
5715
- );
5716
- }
5717
- function renderFoot() {
5718
- var pages = data ? data.pages : 1;
5719
- var total = data ? data.total : 0;
5720
- return h(
5721
- "div",
5722
- { className: P + "-foot" },
5723
- h("span", null, fmt(t.total, { n: total })),
5724
- h("span", { className: P + "-grow" }),
5725
- h("button", { type: "button", className: P + "-btn", disabled: !data || page <= 1, onClick: function() {
5726
- setPage(Math.max(1, page - 1));
5727
- } }, "\u2039 " + t.prev),
5728
- h("span", { className: P + "-pageinfo" }, fmt(t.pageInfo, { page: data ? data.page : 1, pages })),
5729
- h("button", { type: "button", className: P + "-btn", disabled: !data || page >= pages, onClick: function() {
5730
- setPage(Math.min(pages, page + 1));
5731
- } }, t.next + " \u203A"),
5732
- h(NF.NumberField, {
5733
- h,
5734
- lang,
5735
- className: P + "-jump",
5736
- value: page,
5737
- min: 1,
5738
- max: pages,
5739
- integer: true,
5740
- ariaLabel: t.jump,
5741
- hint: false,
5742
- onCommit: function(next) {
5743
- if (next !== null) setPage(next);
5744
- }
5745
- }),
5746
- data && data.queryMs !== void 0 ? h("span", null, fmt(t.queryTime, { n: data.queryMs })) : null
5747
- );
5748
- }
5749
- if (!tables && loadingTables && options.Skeleton) return h(options.Skeleton, { lang, label: t.loading });
5750
- if (!tables && loadingTables) {
5751
- return h("div", { className: P + "-skwrap", "aria-busy": "true" }, h("span", { className: P + "-sr" }, t.loading), [0, 1, 2, 3].map(function(i2) {
5752
- return h("div", { key: i2, className: P + "-sk" });
5753
- }));
5754
- }
5755
- if (!tables) {
5756
- return h("div", { className: P + "-err", role: "alert" }, h("span", null, t.loadFail), h("button", { type: "button", className: P + "-btn", onClick: loadTables }, t.retry));
5757
- }
5758
- if (!tables.length) return h("div", { className: P + "-empty" }, t.emptyTable);
5759
- return h(
5760
- "div",
5761
- { className: P },
5762
- h(
5763
- "div",
5764
- { className: P + "-side" },
5765
- h("div", { className: P + "-sidetitle" }, h("span", null, icon("table"), t.tables), h("span", null, String(tables.length))),
5766
- tables.map(function(tb) {
5767
- return h(
5768
- "button",
5769
- {
5770
- key: tb.name,
5771
- type: "button",
5772
- className: P + "-stab" + (tb.name === active ? " on" : ""),
5773
- "aria-pressed": tb.name === active,
5774
- onClick: function() {
5775
- selectTable(tb.name);
5776
- }
5777
- },
5778
- h(
5779
- "span",
5780
- { className: P + "-stabname" },
5781
- h("span", null, tableLabel(tb)),
5782
- h("span", { className: P + "-sidecount" }, tb.count === void 0 || tb.count === null ? "" : String(tb.count))
5783
- ),
5784
- h("span", { className: P + "-sidetable" }, tb.name)
5785
- );
5786
- })
5787
- ),
5788
- h(
5789
- "div",
5790
- { className: P + "-main" },
5791
- h(
5792
- "div",
5793
- { className: P + "-tabs", role: "tablist", "aria-label": t.title },
5794
- h("button", { type: "button", role: "tab", className: P + "-btn", "aria-selected": !index, onClick: leaveIndex }, icon("list"), lang === "en" ? "Row data" : "\u884C\u6570\u636E"),
5795
- h("button", { type: "button", role: "tab", className: P + "-btn", "aria-selected": !!index, onClick: loadIndex }, icon("database"), t.index)
5796
- ),
5797
- index && error ? h("div", { className: P + "-err", role: "alert" }, error) : null,
5798
- index ? renderIndex() : [
5799
- h(
5800
- "div",
5801
- { className: P + "-head" },
5802
- h(
5803
- "div",
5804
- { className: P + "-headmain" },
5805
- h("h2", null, icon("database"), tableLabel(current), h("span", { className: P + "-code" }, active)),
5806
- h(
5807
- "div",
5808
- { className: P + "-sub" },
5809
- current && data && data.total !== void 0 ? fmt(t.rowCount, { n: data.total }) : "",
5810
- current && current.deletedCount ? " \xB7 " + fmt(t.deletedCount, { n: current.deletedCount }) : "",
5811
- " \xB7 " + t.subtitle
5812
- )
5813
- ),
5814
- h("button", {
5815
- type: "button",
5816
- className: P + "-btn",
5817
- "aria-label": t.refresh,
5818
- title: t.refresh,
5819
- "aria-busy": loadingRows ? "true" : "false",
5820
- onClick: refresh
5821
- }, icon("refresh"), h("span", { className: P + "-btnlabel" }, t.refresh))
5822
- ),
5823
- h(
5824
- "div",
5825
- { className: P + "-toolbar" },
5826
- h(
5827
- "div",
5828
- { className: P + "-search" },
5829
- icon("search"),
5830
- h("input", {
5831
- type: "search",
5832
- value: searchDraft,
5833
- placeholder: t.search,
5834
- "aria-label": t.search,
5835
- onChange: function(e) {
5836
- setSearchDraft(e.target.value);
5837
- }
5838
- })
5839
- ),
5840
- h(SW.Switch, {
5841
- h,
5842
- checked: includeDeleted,
5843
- label: t.includeDeleted,
5844
- onChange: function(next) {
5845
- setIncludeDeleted(next);
5846
- setPage(1);
5847
- }
5848
- }),
5849
- h(SW.Switch, {
5850
- h,
5851
- checked: showSystem,
5852
- label: t.showSystem,
5853
- onChange: function(next) {
5854
- setShowSystem(next);
5855
- }
5856
- }),
5857
- h("span", { className: P + "-grow" }),
5858
- h(
5859
- "label",
5860
- { style: { display: "inline-flex", alignItems: "center", gap: "6px", fontSize: "11.5px", color: "var(--cfg-muted)" } },
5861
- h("span", null, t.pageSize),
5862
- h("select", {
5863
- className: P + "-select",
5864
- value: size,
5865
- onChange: function(e) {
5866
- setPageSize(Number(e.target.value));
5867
- setPage(1);
5868
- }
5869
- }, PAGE_SIZES.map(function(n) {
5870
- return h("option", { key: n, value: n }, String(n));
5871
- }))
5872
- )
5873
- ),
5874
- renderRows(),
5875
- renderFoot()
5876
- ]
5877
- ),
5878
- drawer ? h(
5879
- "div",
5880
- null,
5881
- h("div", { className: P + "-mask", onClick: function() {
5882
- setDrawer(null);
5883
- } }),
5884
- h(
5885
- "aside",
5886
- { className: P + "-drawer", role: "dialog", "aria-modal": "true", "aria-label": drawer.column },
5887
- h("h3", null, fmt(t.drawerTitle, { column: drawer.column, row: drawer.row }), h("span", { className: P + "-code" }, drawer.name)),
5888
- columnHooks[drawer.name] && columnHooks[drawer.name].detail ? columnHooks[drawer.name].detail({ value: drawer.value, lang, prefix: P }) : h("pre", null, drawerText(drawer.value)),
5889
- h(
5890
- "div",
5891
- { className: P + "-drawerfoot" },
5892
- h("button", { type: "button", className: P + "-btn", onClick: function() {
5893
- copyCell(drawer.value);
5894
- } }, t.copy),
5895
- h("button", { type: "button", className: P + "-btn", onClick: function() {
5896
- setDrawer(null);
5897
- } }, t.close)
5898
- )
5899
- )
5900
- ) : null,
5901
- toast ? h("div", { className: P + "-toast", role: "status" }, toast) : null
5902
- );
5903
- }
5904
- function drawerText(value) {
5905
- if (value === null || value === void 0) return "NULL";
5906
- if (typeof value === "string" && looksJson(value)) {
5907
- try {
5908
- return JSON.stringify(JSON.parse(value), null, 2);
5909
- } catch (e) {
5910
- return value;
5911
- }
5912
- }
5913
- if (typeof value === "object") {
5914
- try {
5915
- return JSON.stringify(value, null, 2);
5916
- } catch (e) {
5917
- return String(value);
5918
- }
5919
- }
5920
- return String(value);
5921
- }
5922
- return { DataView, DOMAIN };
5121
+ return false;
5923
5122
  };
5924
5123
  }
5925
5124
  });
5926
5125
 
5927
- // packages/addons/tasks/client/views/data.cjs
5928
- var require_data = __commonJS({
5929
- "packages/addons/tasks/client/views/data.cjs"(exports2, module2) {
5126
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/context.mjs
5127
+ var import_react, LucideContext, useLucideContext;
5128
+ var init_context = __esm({
5129
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/context.mjs"() {
5930
5130
  "use strict";
5931
- module2.exports = require_data_view()({
5932
- domain: "tasks",
5933
- prefix: "wbt",
5934
- tables: ["task", "task_node"],
5935
- useConfig: require_config().useConfig
5936
- });
5131
+ "use client";
5132
+ import_react = require("react");
5133
+ LucideContext = (0, import_react.createContext)({});
5134
+ useLucideContext = () => (0, import_react.useContext)(LucideContext);
5937
5135
  }
5938
5136
  });
5939
5137
 
5940
- // packages/addons/lib/highlight.cjs
5941
- var require_highlight = __commonJS({
5942
- "packages/addons/lib/highlight.cjs"(exports2, module2) {
5138
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.mjs
5139
+ var import_react2, Icon;
5140
+ var init_Icon = __esm({
5141
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.mjs"() {
5943
5142
  "use strict";
5944
- module2.exports = function(React) {
5945
- var h = React.createElement;
5946
- function sourceOf(keyword) {
5947
- var pattern = keyword.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
5948
- return pattern.replace(/[a-zA-Z]/g, function(letter) {
5949
- return "[" + letter.toLowerCase() + letter.toUpperCase() + "]";
5143
+ "use client";
5144
+ import_react2 = require("react");
5145
+ init_mergeClasses();
5146
+ init_buildLucideIconForReact();
5147
+ init_hasA11yProp();
5148
+ init_context();
5149
+ Icon = (0, import_react2.forwardRef)(
5150
+ ({
5151
+ color,
5152
+ size,
5153
+ width,
5154
+ height,
5155
+ strokeWidth,
5156
+ absoluteStrokeWidth,
5157
+ nonScalingStroke,
5158
+ className = "",
5159
+ children,
5160
+ iconNode = [],
5161
+ icon = {
5162
+ node: iconNode,
5163
+ aliases: [],
5164
+ size: 24
5165
+ },
5166
+ ...rest
5167
+ }, ref) => {
5168
+ const {
5169
+ size: contextSize = 24,
5170
+ strokeWidth: contextStrokeWidth = 2,
5171
+ absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,
5172
+ nonScalingStroke: contextNonScalingStroke = false,
5173
+ color: contextColor = "currentColor",
5174
+ className: contextClass = ""
5175
+ } = useLucideContext() ?? {};
5176
+ const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);
5177
+ const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {
5178
+ color: color ?? contextColor,
5179
+ width: width ?? size ?? contextSize,
5180
+ height: height ?? size ?? contextSize,
5181
+ strokeWidth: strokeWidth ?? contextStrokeWidth,
5182
+ absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,
5183
+ nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,
5184
+ className: mergeClasses(contextClass, className),
5185
+ hasA11yProp: hasAccessibleProp,
5186
+ attributes: rest
5950
5187
  });
5188
+ return (0, import_react2.createElement)(
5189
+ name,
5190
+ {
5191
+ ref,
5192
+ ...svgAttributes
5193
+ },
5194
+ [
5195
+ ...builtIconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
5196
+ ...Array.isArray(children) ? children : [children]
5197
+ ]
5198
+ );
5951
5199
  }
5952
- return function createHighlight(prefix) {
5953
- var className = String(prefix || "wb") + "-hit";
5954
- function hit(rawText, rawKeyword) {
5955
- var text = rawText == null ? "" : String(rawText);
5956
- var keyword = rawKeyword == null ? "" : String(rawKeyword);
5957
- if (!keyword) return text;
5958
- var matcher, match, end = 0, parts = [];
5959
- try {
5960
- matcher = new RegExp(sourceOf(keyword), "g");
5961
- } catch (error) {
5962
- return text;
5963
- }
5964
- while (match = matcher.exec(text)) {
5965
- if (match.index > end) parts.push(text.slice(end, match.index));
5966
- parts.push(h("mark", { className, key: match.index }, match[0]));
5967
- end = match.index + match[0].length;
5968
- if (!match[0]) matcher.lastIndex += 1;
5969
- }
5970
- if (!parts.length) return text;
5971
- if (end < text.length) parts.push(text.slice(end));
5972
- return parts;
5973
- }
5974
- function Highlight(props) {
5975
- return hit(props.text, props.keyword);
5976
- }
5977
- Highlight.hit = hit;
5978
- return Highlight;
5979
- };
5200
+ );
5201
+ }
5202
+ });
5203
+
5204
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
5205
+ function createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {
5206
+ const iconData = typeof iconDataOrName === "string" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;
5207
+ const Component = (0, import_react3.forwardRef)(
5208
+ ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
5209
+ ref,
5210
+ icon: iconData,
5211
+ className,
5212
+ ...props
5213
+ })
5214
+ );
5215
+ if (iconData.name) {
5216
+ Component.displayName = toPascalCase(iconData.name);
5217
+ }
5218
+ return Component;
5219
+ }
5220
+ var import_react3;
5221
+ var init_createLucideIcon = __esm({
5222
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.mjs"() {
5223
+ import_react3 = require("react");
5224
+ init_toLucideIconData();
5225
+ init_toPascalCase();
5226
+ init_Icon();
5227
+ }
5228
+ });
5229
+
5230
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs
5231
+ var chevron_right_exports = {};
5232
+ __export(chevron_right_exports, {
5233
+ __iconData: () => __iconData,
5234
+ default: () => ChevronRight
5235
+ });
5236
+ var __iconData, ChevronRight;
5237
+ var init_chevron_right = __esm({
5238
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs"() {
5239
+ init_createLucideIcon();
5240
+ __iconData = {
5241
+ name: "chevron-right",
5242
+ size: 24,
5243
+ node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
5980
5244
  };
5245
+ __iconData.node;
5246
+ ChevronRight = createLucideIcon(__iconData);
5247
+ }
5248
+ });
5249
+
5250
+ // packages/addons/lib/disclosure-styles.cjs
5251
+ var require_disclosure_styles = __commonJS({
5252
+ "packages/addons/lib/disclosure-styles.cjs"(exports2, module2) {
5253
+ "use strict";
5254
+ module2.exports = [
5255
+ ".wb-disc{min-width:0;border:0;padding:0;margin:0}",
5256
+ // 原生 details/summary 保留键盘与无障碍语义,这里只接管观感:去掉默认三角并铺满整行。
5257
+ ".wb-disc>summary{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12.5px;font-weight:600;line-height:1.6;color:inherit;user-select:none;list-style:none;padding:2px 8px 2px 2px;margin:-2px -8px -2px -2px;border-radius:7px}",
5258
+ ".wb-disc>summary::-webkit-details-marker{display:none}",
5259
+ '.wb-disc>summary::marker{content:""}',
5260
+ ".wb-disc>summary:hover{background:color-mix(in oklab,currentColor 6%,transparent)}",
5261
+ ".wb-disc>summary:focus-visible{outline:2px solid var(--wb-accent,var(--dsw-alias-brand-primary,Highlight));outline-offset:2px}",
5262
+ ".wb-disc-chev{flex:0 0 auto;width:14px;height:14px;transition:transform 160ms ease}",
5263
+ ".wb-disc[open]>summary .wb-disc-chev{transform:rotate(90deg)}",
5264
+ ".wb-disc-title{min-width:0;overflow-wrap:anywhere}",
5265
+ ".wb-disc-meta{font-weight:400;font-size:12px;color:var(--wb-muted,var(--dsw-alias-label-tertiary,GrayText))}",
5266
+ ".wb-disc-body{margin-top:8px;min-width:0;animation:wb-disc-in 160ms ease}",
5267
+ "@keyframes wb-disc-in{from{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}",
5268
+ "@media(prefers-reduced-motion:reduce){.wb-disc-chev{transition:none}.wb-disc-body{animation:none}}"
5269
+ ].join("\n");
5270
+ }
5271
+ });
5272
+
5273
+ // packages/addons/lib/disclosure.cjs
5274
+ var require_disclosure = __commonJS({
5275
+ "packages/addons/lib/disclosure.cjs"(exports2, module2) {
5276
+ "use strict";
5277
+ var ChevronRight2 = (init_chevron_right(), __toCommonJS(chevron_right_exports)).default;
5278
+ function createDisclosure(React) {
5279
+ var h = React.createElement;
5280
+ function Disclosure(props) {
5281
+ var attrs = Object.assign({ className: ("wb-disc " + (props.className || "")).trim() }, props.attrs || {});
5282
+ if (props.open !== void 0) attrs.open = !!props.open;
5283
+ else if (props.defaultOpen !== void 0) attrs.open = !!props.defaultOpen;
5284
+ if (props.onToggle) attrs.onToggle = props.onToggle;
5285
+ return h(
5286
+ "details",
5287
+ attrs,
5288
+ h(
5289
+ "summary",
5290
+ null,
5291
+ h(ChevronRight2, { className: "wb-disc-chev", "aria-hidden": true, focusable: false }),
5292
+ h("span", { className: "wb-disc-title" }, props.title),
5293
+ props.meta != null && props.meta !== "" ? h("span", { className: "wb-disc-meta" }, props.meta) : null
5294
+ ),
5295
+ h("div", { className: "wb-disc-body" }, props.children)
5296
+ );
5297
+ }
5298
+ return { Disclosure, css: require_disclosure_styles() };
5299
+ }
5300
+ module2.exports = { createDisclosure, css: require_disclosure_styles() };
5981
5301
  }
5982
5302
  });
5983
5303
 
@@ -6030,12 +5350,8 @@ var require_action_schema_style = __commonJS({
6030
5350
  "." + P + "-copy{border:1px solid var(--wb-border,#e3e5e9);border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:11.5px;padding:2px 8px;cursor:pointer}",
6031
5351
  "." + P + "-copy:hover{background:var(--dsw-alias-interactive-bg-hover,color-mix(in oklab,currentColor 5%,transparent))}",
6032
5352
  "." + P + "-copy:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px}",
6033
- "." + P + " details>summary{cursor:pointer;font-size:11.5px;color:var(--dsw-alias-label-secondary,inherit);width:max-content}",
6034
- "." + P + " details>summary:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px}",
6035
- // 参数折叠面板:折叠时只留一行「参数 · 必填 n」,展开后与表格之间留一点气口。
5353
+ // 折叠头观感已收口到共享控件 disclosure-styles.cjs(.wb-disc),这里不再重复定义 details>summary。
6036
5354
  "." + P + "-params{min-width:0}",
6037
- "." + P + "-params>summary{user-select:none;max-width:100%}",
6038
- "." + P + "-params[open]>summary{margin-bottom:6px}",
6039
5355
  "." + P + "-empty{padding:24px;text-align:center;border:1px dashed var(--wb-border,#e3e5e9);border-radius:10px;color:var(--dsw-alias-label-tertiary,inherit)}",
6040
5356
  "." + P + "-error{padding:12px;border:1px solid var(--dsw-alias-state-error-primary,#d9534f);border-radius:10px;color:var(--dsw-alias-state-error-primary,#d9534f);display:flex;gap:10px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere}",
6041
5357
  "." + P + "-toast{position:sticky;bottom:8px;align-self:flex-start;border-radius:999px;padding:3px 10px;background:var(--dsw-alias-bg-skeleton,#f2f3f5);font-size:11.5px;max-width:100%}",
@@ -6045,7 +5361,7 @@ var require_action_schema_style = __commonJS({
6045
5361
  // 中等宽度(521–760px)三个筛选项正好排成一行,避免第三项独占一行显得参差。
6046
5362
  "@media(min-width:521px) and (max-width:760px){." + P + "-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}",
6047
5363
  "@media(max-width:420px){." + P + "-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}." + P + "-card{padding:10px}." + P + "-table tr{padding:8px 0}}"
6048
- ].join("\n");
5364
+ ].join("\n") + "\n" + require_disclosure_styles();
6049
5365
  return function injectCss() {
6050
5366
  if (typeof document === "undefined") return;
6051
5367
  var id = "wb-addon-" + DOMAIN + "-actions-css";
@@ -6070,6 +5386,7 @@ var require_action_schema_view = __commonJS({
6070
5386
  "use strict";
6071
5387
  var React = require("react");
6072
5388
  var createHighlight = require_highlight()(React);
5389
+ var Disclosure = require_disclosure().createDisclosure(React).Disclosure;
6073
5390
  var h = React.createElement;
6074
5391
  var COPY = {
6075
5392
  zh: {
@@ -6554,10 +5871,12 @@ var require_action_schema_view = __commonJS({
6554
5871
  ),
6555
5872
  action.description ? h("p", { className: P + "-desc" }, Highlight.hit(action.description, kw)) : null,
6556
5873
  rows.length ? h(
6557
- "details",
5874
+ Disclosure,
6558
5875
  {
6559
5876
  className: P + "-params",
6560
- "data-params-fold": action.name,
5877
+ title: t.params,
5878
+ meta: required ? t.requiredCount(required) : "",
5879
+ attrs: { "data-params-fold": action.name },
6561
5880
  open,
6562
5881
  // 原生 details 自带键盘与无障碍语义,这里只记下用户的开合;
6563
5882
  // 筛选变化引起的程序性开合也会触发 toggle,记下的值与当次默认一致,随后由 resetFolds 清掉。
@@ -6571,7 +5890,6 @@ var require_action_schema_view = __commonJS({
6571
5890
  });
6572
5891
  }
6573
5892
  },
6574
- h("summary", null, t.params + (required ? " \xB7 " + t.requiredCount(required) : "")),
6575
5893
  h(
6576
5894
  "table",
6577
5895
  { className: P + "-table" },
@@ -6608,9 +5926,8 @@ var require_action_schema_view = __commonJS({
6608
5926
  }) : h("div", { className: P + "-none" }, t.noExamples)
6609
5927
  ),
6610
5928
  h(
6611
- "details",
6612
- null,
6613
- h("summary", null, t.raw),
5929
+ Disclosure,
5930
+ { title: t.raw },
6614
5931
  h("pre", { className: P + "-pre" }, JSON.stringify(action.input || {}, null, 2))
6615
5932
  )
6616
5933
  );
@@ -7043,457 +6360,169 @@ var require_copy = __commonJS({
7043
6360
  noMore: "No more",
7044
6361
  tagSelected: "Selected",
7045
6362
  tagRemove: "Remove",
7046
- tagSearchExisting: "Search existing tags",
7047
- tagNewPlaceholder: "New tag \u2014 press Enter to add, comma for several",
7048
- tagAdd: "Add",
7049
- tagNoPick: "No tags picked yet \u2014 click one below or type a new name",
7050
- workspaceFilter: "Filter by workspace",
7051
- allWorkspaces: "All workspaces",
7052
- noWorkspaces: "No workspaces",
7053
- noWorkspace: "No workspace",
7054
- workspaceSearchPlaceholder: "Search workspace name",
7055
- workspaceNoMatch: "No matching workspace",
7056
- workspaceSelected: "Selected workspaces",
7057
- workspaceRemove: "Remove",
7058
- untagged: "Untagged",
7059
- publish: "Published",
7060
- target: "Target",
7061
- done: "Done",
7062
- shutdown: "Closed",
7063
- priority: "Priority",
7064
- difficulty: "Difficulty",
7065
- desc: "Description",
7066
- difficultyUnset: "Unset",
7067
- difficultyMissing: "Missing difficulty only",
7068
- difficultyUnsetHint: "Blank = unset (0), not easiest; choose 1\u20135",
7069
- difficultyGuideTitle: "How to rate difficulty",
7070
- difficultyGuide: "1: a small copy/style change; 2: a local feature in one module; 3: 2\u20133 modules or data-reading changes; 4: storage, migrations, sync or build pipelines; 5: cross-process architecture changes or multi-stage validation. Consider changed file count, data migrations and test scope.",
7071
- review: "Reflection",
7072
- reviewHint: "Record a feeling in any status (optional)",
7073
- reviewPlaceholder: "e.g. smooth, stuck on the API, easier than expected",
7074
- reviewAdd: "Add feeling",
7075
- status: "Status",
7076
- publishDate: "Publish date",
7077
- targetDate: "Target date",
7078
- doneDate: "Done date",
7079
- shutdownDate: "Close date",
7080
- table: "Task table",
7081
- titleField: "Title",
7082
- timeline: "Timeline",
7083
- restart: "Restart",
7084
- complete: "Complete",
7085
- shutdownOp: "Close",
7086
- selected: "Selected",
7087
- selectedTasks: "Selected tasks",
7088
- batchTimeline: "Merge timeline",
7089
- batchMigrate: "Move table",
7090
- refresh: "Refresh",
7091
- clear: "Clear",
7092
- searchTable: "Search tables",
7093
- noTable: "No matching table",
7094
- baseLabel: "Base task",
7095
- targetLabel: "Target table",
7096
- batchCount: "Selected",
7097
- hasTimeline: "has timeline",
7098
- noTimelineTag: "no timeline",
7099
- group: "Group",
7100
- chooseBase: "Choose a base task (it supplies the timeline)",
7101
- chooseTable: "Choose target table",
7102
- timelineTitle: "Task timeline",
7103
- newTimeline: "New timeline task",
7104
- restartTitle: "Restart task",
7105
- noTimeline: "No associated timeline",
7106
- restartPriorityHint: "Restarted tasks require priority 1\u201310; 0 is only for completed or closed tasks.",
7107
- restartPriorityError: "Enter a priority from 1 to 10 to restart; 0 is only for completed or closed tasks.",
7108
- activePriorityError: "Active tasks require a priority from 1 to 10; 0 is only for completed or closed tasks.",
7109
- confirm: "OK",
7110
- difficultyHint: "Set difficulty 1\u20135 before completing; 0 is counted as unset",
7111
- emptyTree: "Task tree is empty",
7112
- appear: "Show",
7113
- hide: "Hide",
7114
- move: "Move to",
7115
- source: "Source",
7116
- page: "Page",
7117
- total: "Total",
7118
- items: "items",
7119
- doneSuccess: "Completed",
7120
- saved: "Saved",
7121
- created: "Created",
7122
- updated: "Updated",
7123
- edit: "Edit",
7124
- editTitle: "Edit task",
7125
- editHintDone: "Completed: title, description, feeling and difficulty can change; priority was cleared on completion.",
7126
- editHintOpen: "Not completed: title, description, priority, feeling and difficulty can change.",
7127
- deleted: "Deleted",
7128
- needTitle: "Title is required",
7129
- needTable: "Pick a task table",
7130
- needDate: "Date is required",
7131
- needBase: "Pick a base task",
7132
- needDifficulty: "Pick a difficulty"
7133
- }
7134
- };
7135
- }
7136
- });
7137
-
7138
- // packages/addons/lib/icon-label.cjs
7139
- var require_icon_label = __commonJS({
7140
- "packages/addons/lib/icon-label.cjs"(exports2, module2) {
7141
- "use strict";
7142
- var VISUALLY_HIDDEN = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap";
7143
- module2.exports = function iconLabel(h, Icon2, text, options) {
7144
- var opts = options || {};
7145
- var cls = "wb-icon-label" + (opts.short ? " wb-icon-label-short" : "") + (Icon2 ? "" : " wb-icon-label-fallback");
7146
- return h(
7147
- "span",
7148
- { className: cls, title: typeof text === "string" ? text : void 0 },
7149
- Icon2 ? h(Icon2, { size: 14, strokeWidth: 2, "aria-hidden": true, focusable: false }) : null,
7150
- h("span", { className: "wb-icon-label-text" }, text)
7151
- );
7152
- };
7153
- module2.exports.styles = ".wb-icon-label{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle;text-align:start}.wb-icon-label>svg{flex:none}.wb-icon-label>span{min-width:0;overflow-wrap:anywhere}button .wb-icon-label:not(.wb-icon-label-fallback) .wb-icon-label-text{" + VISUALLY_HIDDEN + "}button .wb-icon-label.wb-icon-label-short .wb-icon-label-text{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}";
7154
- }
7155
- });
7156
-
7157
- // packages/addons/lib/icons.cjs
7158
- var require_icons = __commonJS({
7159
- "packages/addons/lib/icons.cjs"(exports2, module2) {
7160
- "use strict";
7161
- var h = require("react").createElement;
7162
- function create(prefix, glyphs, options) {
7163
- var opts = options || {};
7164
- var ICONS = Object.assign({}, glyphs);
7165
- function Icon2(props) {
7166
- var C = ICONS[props.name] || (opts.fallback ? ICONS[opts.fallback] : null);
7167
- if (!C) return null;
7168
- var size = typeof opts.sizeOf === "function" ? opts.sizeOf(props) : props.size || 14;
7169
- var cls = prefix + "-svg" + (opts.classNameAppend && props.className ? " " + props.className : "");
7170
- var attrs = {
7171
- size,
7172
- strokeWidth: props.strokeWidth || 2,
7173
- "aria-hidden": "true",
7174
- className: cls
7175
- };
7176
- if (opts.focusable) attrs.focusable = false;
7177
- return h(C, attrs);
7178
- }
7179
- var set = { ICONS, Icon: Icon2 };
7180
- set.label = function(name, text, options2) {
7181
- return require_icon_label()(h, function NamedIcon(props) {
7182
- return h(Icon2, Object.assign({ name }, props));
7183
- }, text, options2);
7184
- };
7185
- if (opts.tabIcon) {
7186
- set.tabIcon = function(name) {
7187
- return function TabIcon() {
7188
- return h(Icon2, { name, size: 14 });
7189
- };
7190
- };
7191
- }
7192
- return set;
7193
- }
7194
- module2.exports = { create };
7195
- }
7196
- });
7197
-
7198
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs
7199
- var toKebabCase;
7200
- var init_toKebabCase = __esm({
7201
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs"() {
7202
- toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7203
- }
7204
- });
7205
-
7206
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs
7207
- function toLucideIconData(iconName, iconNode, aliases = []) {
7208
- if (iconNode == null) {
7209
- throw new Error("[lucide]: iconNode is required when icon name is used");
7210
- }
7211
- return {
7212
- name: toKebabCase(iconName),
7213
- size: 24,
7214
- node: iconNode,
7215
- ...aliases.length > 0 ? { aliases } : {}
7216
- };
7217
- }
7218
- var init_toLucideIconData = __esm({
7219
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs"() {
7220
- init_toKebabCase();
7221
- }
7222
- });
7223
-
7224
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
7225
- var toCamelCase;
7226
- var init_toCamelCase = __esm({
7227
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs"() {
7228
- toCamelCase = (string) => {
7229
- let out = "";
7230
- let upperNext = false;
7231
- for (const ch of string) {
7232
- if (ch === "-" || ch === "_" || ch <= " ") {
7233
- upperNext = out.length > 0;
7234
- continue;
7235
- }
7236
- if (out.length === 0) {
7237
- out += ch.toLowerCase();
7238
- } else {
7239
- out += upperNext ? ch.toUpperCase() : ch;
7240
- }
7241
- upperNext = false;
7242
- }
7243
- return out;
7244
- };
7245
- }
7246
- });
7247
-
7248
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs
7249
- var toPascalCase;
7250
- var init_toPascalCase = __esm({
7251
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs"() {
7252
- init_toCamelCase();
7253
- toPascalCase = (string) => {
7254
- const camelCase = toCamelCase(string);
7255
- return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
7256
- };
7257
- }
7258
- });
7259
-
7260
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
7261
- var mergeClasses;
7262
- var init_mergeClasses = __esm({
7263
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs"() {
7264
- mergeClasses = (...classes) => classes.filter((className, index, array) => {
7265
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
7266
- }).join(" ").trim();
7267
- }
7268
- });
7269
-
7270
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs
7271
- var defaultAttributes;
7272
- var init_defaultAttributes = __esm({
7273
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs"() {
7274
- defaultAttributes = {
7275
- xmlns: "http://www.w3.org/2000/svg",
7276
- width: 24,
7277
- height: 24,
7278
- viewBox: "0 0 24 24",
7279
- fill: "none",
7280
- stroke: "currentColor",
7281
- "stroke-width": 2,
7282
- "stroke-linecap": "round",
7283
- "stroke-linejoin": "round"
7284
- };
7285
- }
7286
- });
7287
-
7288
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs
7289
- function isDefined(value) {
7290
- return value !== null && value !== void 0;
7291
- }
7292
- function buildLucideIconNode(icon, params = {}) {
7293
- const attributeNames = params.attributeNames ?? {};
7294
- const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;
7295
- const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes["width"];
7296
- const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes["height"];
7297
- const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === "string" && alias.trim() !== "").map((alias) => `lucide-${alias}`) ?? [];
7298
- const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];
7299
- const classNamesFromClassName = params.className?.split(" ").filter(Boolean) ?? [];
7300
- const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses("lucide", ...iconClassNames, ...classNamesFromClassName);
7301
- const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes["stroke-width"]) * Number(icon.size ?? icon.width ?? defaultAttributes["width"]) / Number(params.size ?? params.width ?? defaultAttributes["width"]) : params.strokeWidth ?? defaultAttributes["stroke-width"];
7302
- const attributes = {
7303
- ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {
7304
- attrs[getAttributeName(attrName)] = value;
7305
- return attrs;
7306
- }, {}),
7307
- ..."color" in params && params.color && {
7308
- [getAttributeName("stroke")]: params.color
7309
- },
7310
- ..."size" in params && isDefined(params.size) && {
7311
- [getAttributeName("width")]: params.size,
7312
- [getAttributeName("height")]: params.size
7313
- },
7314
- ..."width" in params && isDefined(params.width) && {
7315
- [getAttributeName("width")]: params.width
7316
- },
7317
- ..."height" in params && isDefined(params.height) && {
7318
- [getAttributeName("height")]: params.height
7319
- },
7320
- [getAttributeName("stroke-width")]: calculatedStrokeWidth,
7321
- ...className && {
7322
- [getAttributeName("class")]: className
7323
- },
7324
- [getAttributeName("viewBox")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,
7325
- ...params.hasA11yProp === false ? {
7326
- [getAttributeName("aria-hidden")]: "true"
7327
- } : {},
7328
- ..."attributes" in params && params.attributes
7329
- };
7330
- return [
7331
- "svg",
7332
- attributes,
7333
- icon.node.map((child) => {
7334
- const [name, attrs, children] = child;
7335
- const nextAttrs = params.nonScalingStroke ? { [getAttributeName("vector-effect")]: "non-scaling-stroke", ...attrs } : attrs;
7336
- return children ? [name, nextAttrs, children] : [name, nextAttrs];
7337
- })
7338
- ];
7339
- }
7340
- var init_buildLucideIconNode = __esm({
7341
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs"() {
7342
- init_defaultAttributes();
7343
- init_mergeClasses();
7344
- }
7345
- });
7346
-
7347
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs
7348
- function buildLucideIconForReact(icon, params = {}) {
7349
- return buildLucideIconNode(icon, {
7350
- ...params,
7351
- attributeNames: {
7352
- ...params.attributeNames,
7353
- class: "className",
7354
- "stroke-width": "strokeWidth",
7355
- "stroke-linecap": "strokeLinecap",
7356
- "stroke-linejoin": "strokeLinejoin",
7357
- "vector-effect": "vectorEffect"
7358
- }
7359
- });
7360
- }
7361
- var init_buildLucideIconForReact = __esm({
7362
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs"() {
7363
- init_buildLucideIconNode();
7364
- }
7365
- });
7366
-
7367
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
7368
- var hasA11yProp;
7369
- var init_hasA11yProp = __esm({
7370
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs"() {
7371
- hasA11yProp = (props) => {
7372
- for (const prop in props) {
7373
- if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
7374
- return true;
7375
- }
6363
+ tagSearchExisting: "Search existing tags",
6364
+ tagNewPlaceholder: "New tag \u2014 press Enter to add, comma for several",
6365
+ tagAdd: "Add",
6366
+ tagNoPick: "No tags picked yet \u2014 click one below or type a new name",
6367
+ workspaceFilter: "Filter by workspace",
6368
+ allWorkspaces: "All workspaces",
6369
+ noWorkspaces: "No workspaces",
6370
+ noWorkspace: "No workspace",
6371
+ workspaceSearchPlaceholder: "Search workspace name",
6372
+ workspaceNoMatch: "No matching workspace",
6373
+ workspaceSelected: "Selected workspaces",
6374
+ workspaceRemove: "Remove",
6375
+ untagged: "Untagged",
6376
+ publish: "Published",
6377
+ target: "Target",
6378
+ done: "Done",
6379
+ shutdown: "Closed",
6380
+ priority: "Priority",
6381
+ difficulty: "Difficulty",
6382
+ desc: "Description",
6383
+ difficultyUnset: "Unset",
6384
+ difficultyMissing: "Missing difficulty only",
6385
+ difficultyUnsetHint: "Blank = unset (0), not easiest; choose 1\u20135",
6386
+ difficultyGuideTitle: "How to rate difficulty",
6387
+ difficultyGuide: "1: a small copy/style change; 2: a local feature in one module; 3: 2\u20133 modules or data-reading changes; 4: storage, migrations, sync or build pipelines; 5: cross-process architecture changes or multi-stage validation. Consider changed file count, data migrations and test scope.",
6388
+ review: "Reflection",
6389
+ reviewHint: "Record a feeling in any status (optional)",
6390
+ reviewPlaceholder: "e.g. smooth, stuck on the API, easier than expected",
6391
+ reviewAdd: "Add feeling",
6392
+ status: "Status",
6393
+ publishDate: "Publish date",
6394
+ targetDate: "Target date",
6395
+ doneDate: "Done date",
6396
+ shutdownDate: "Close date",
6397
+ table: "Task table",
6398
+ titleField: "Title",
6399
+ timeline: "Timeline",
6400
+ restart: "Restart",
6401
+ complete: "Complete",
6402
+ shutdownOp: "Close",
6403
+ selected: "Selected",
6404
+ selectedTasks: "Selected tasks",
6405
+ batchTimeline: "Merge timeline",
6406
+ batchMigrate: "Move table",
6407
+ refresh: "Refresh",
6408
+ clear: "Clear",
6409
+ searchTable: "Search tables",
6410
+ noTable: "No matching table",
6411
+ baseLabel: "Base task",
6412
+ targetLabel: "Target table",
6413
+ batchCount: "Selected",
6414
+ hasTimeline: "has timeline",
6415
+ noTimelineTag: "no timeline",
6416
+ group: "Group",
6417
+ chooseBase: "Choose a base task (it supplies the timeline)",
6418
+ chooseTable: "Choose target table",
6419
+ timelineTitle: "Task timeline",
6420
+ newTimeline: "New timeline task",
6421
+ restartTitle: "Restart task",
6422
+ noTimeline: "No associated timeline",
6423
+ restartPriorityHint: "Restarted tasks require priority 1\u201310; 0 is only for completed or closed tasks.",
6424
+ restartPriorityError: "Enter a priority from 1 to 10 to restart; 0 is only for completed or closed tasks.",
6425
+ activePriorityError: "Active tasks require a priority from 1 to 10; 0 is only for completed or closed tasks.",
6426
+ confirm: "OK",
6427
+ difficultyHint: "Set difficulty 1\u20135 before completing; 0 is counted as unset",
6428
+ emptyTree: "Task tree is empty",
6429
+ appear: "Show",
6430
+ hide: "Hide",
6431
+ move: "Move to",
6432
+ source: "Source",
6433
+ page: "Page",
6434
+ total: "Total",
6435
+ items: "items",
6436
+ doneSuccess: "Completed",
6437
+ saved: "Saved",
6438
+ created: "Created",
6439
+ updated: "Updated",
6440
+ edit: "Edit",
6441
+ editTitle: "Edit task",
6442
+ editHintDone: "Completed: title, description, feeling and difficulty can change; priority was cleared on completion.",
6443
+ editHintOpen: "Not completed: title, description, priority, feeling and difficulty can change.",
6444
+ deleted: "Deleted",
6445
+ needTitle: "Title is required",
6446
+ needTable: "Pick a task table",
6447
+ needDate: "Date is required",
6448
+ needBase: "Pick a base task",
6449
+ needDifficulty: "Pick a difficulty"
7376
6450
  }
7377
- return false;
7378
6451
  };
7379
6452
  }
7380
6453
  });
7381
6454
 
7382
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/context.mjs
7383
- var import_react, LucideContext, useLucideContext;
7384
- var init_context = __esm({
7385
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/context.mjs"() {
6455
+ // packages/addons/lib/icon-label.cjs
6456
+ var require_icon_label = __commonJS({
6457
+ "packages/addons/lib/icon-label.cjs"(exports2, module2) {
7386
6458
  "use strict";
7387
- "use client";
7388
- import_react = require("react");
7389
- LucideContext = (0, import_react.createContext)({});
7390
- useLucideContext = () => (0, import_react.useContext)(LucideContext);
6459
+ var VISUALLY_HIDDEN = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap";
6460
+ module2.exports = function iconLabel(h, Icon2, text, options) {
6461
+ var opts = options || {};
6462
+ var cls = "wb-icon-label" + (opts.short ? " wb-icon-label-short" : "") + (Icon2 ? "" : " wb-icon-label-fallback");
6463
+ return h(
6464
+ "span",
6465
+ { className: cls, title: typeof text === "string" ? text : void 0 },
6466
+ Icon2 ? h(Icon2, { size: 14, strokeWidth: 2, "aria-hidden": true, focusable: false }) : null,
6467
+ h("span", { className: "wb-icon-label-text" }, text)
6468
+ );
6469
+ };
6470
+ module2.exports.styles = ".wb-icon-label{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle;text-align:start}.wb-icon-label>svg{flex:none}.wb-icon-label>span{min-width:0;overflow-wrap:anywhere}button .wb-icon-label:not(.wb-icon-label-fallback) .wb-icon-label-text{" + VISUALLY_HIDDEN + "}button .wb-icon-label.wb-icon-label-short .wb-icon-label-text{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}";
7391
6471
  }
7392
6472
  });
7393
6473
 
7394
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.mjs
7395
- var import_react2, Icon;
7396
- var init_Icon = __esm({
7397
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.mjs"() {
6474
+ // packages/addons/lib/icons.cjs
6475
+ var require_icons = __commonJS({
6476
+ "packages/addons/lib/icons.cjs"(exports2, module2) {
7398
6477
  "use strict";
7399
- "use client";
7400
- import_react2 = require("react");
7401
- init_mergeClasses();
7402
- init_buildLucideIconForReact();
7403
- init_hasA11yProp();
7404
- init_context();
7405
- Icon = (0, import_react2.forwardRef)(
7406
- ({
7407
- color,
7408
- size,
7409
- width,
7410
- height,
7411
- strokeWidth,
7412
- absoluteStrokeWidth,
7413
- nonScalingStroke,
7414
- className = "",
7415
- children,
7416
- iconNode = [],
7417
- icon = {
7418
- node: iconNode,
7419
- aliases: [],
7420
- size: 24
7421
- },
7422
- ...rest
7423
- }, ref) => {
7424
- const {
7425
- size: contextSize = 24,
7426
- strokeWidth: contextStrokeWidth = 2,
7427
- absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,
7428
- nonScalingStroke: contextNonScalingStroke = false,
7429
- color: contextColor = "currentColor",
7430
- className: contextClass = ""
7431
- } = useLucideContext() ?? {};
7432
- const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);
7433
- const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {
7434
- color: color ?? contextColor,
7435
- width: width ?? size ?? contextSize,
7436
- height: height ?? size ?? contextSize,
7437
- strokeWidth: strokeWidth ?? contextStrokeWidth,
7438
- absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,
7439
- nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,
7440
- className: mergeClasses(contextClass, className),
7441
- hasA11yProp: hasAccessibleProp,
7442
- attributes: rest
7443
- });
7444
- return (0, import_react2.createElement)(
7445
- name,
7446
- {
7447
- ref,
7448
- ...svgAttributes
7449
- },
7450
- [
7451
- ...builtIconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
7452
- ...Array.isArray(children) ? children : [children]
7453
- ]
7454
- );
6478
+ var h = require("react").createElement;
6479
+ function create(prefix, glyphs, options) {
6480
+ var opts = options || {};
6481
+ var ICONS = Object.assign({}, glyphs);
6482
+ function Icon2(props) {
6483
+ var C = ICONS[props.name] || (opts.fallback ? ICONS[opts.fallback] : null);
6484
+ if (!C) return null;
6485
+ var size = typeof opts.sizeOf === "function" ? opts.sizeOf(props) : props.size || 14;
6486
+ var cls = prefix + "-svg" + (opts.classNameAppend && props.className ? " " + props.className : "");
6487
+ var attrs = {
6488
+ size,
6489
+ strokeWidth: props.strokeWidth || 2,
6490
+ "aria-hidden": "true",
6491
+ className: cls
6492
+ };
6493
+ if (opts.focusable) attrs.focusable = false;
6494
+ return h(C, attrs);
7455
6495
  }
7456
- );
7457
- }
7458
- });
7459
-
7460
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
7461
- function createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {
7462
- const iconData = typeof iconDataOrName === "string" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;
7463
- const Component = (0, import_react3.forwardRef)(
7464
- ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
7465
- ref,
7466
- icon: iconData,
7467
- className,
7468
- ...props
7469
- })
7470
- );
7471
- if (iconData.name) {
7472
- Component.displayName = toPascalCase(iconData.name);
7473
- }
7474
- return Component;
7475
- }
7476
- var import_react3;
7477
- var init_createLucideIcon = __esm({
7478
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.mjs"() {
7479
- import_react3 = require("react");
7480
- init_toLucideIconData();
7481
- init_toPascalCase();
7482
- init_Icon();
6496
+ var set = { ICONS, Icon: Icon2 };
6497
+ set.label = function(name, text, options2) {
6498
+ return require_icon_label()(h, function NamedIcon(props) {
6499
+ return h(Icon2, Object.assign({ name }, props));
6500
+ }, text, options2);
6501
+ };
6502
+ if (opts.tabIcon) {
6503
+ set.tabIcon = function(name) {
6504
+ return function TabIcon() {
6505
+ return h(Icon2, { name, size: 14 });
6506
+ };
6507
+ };
6508
+ }
6509
+ return set;
6510
+ }
6511
+ module2.exports = { create };
7483
6512
  }
7484
6513
  });
7485
6514
 
7486
6515
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.mjs
7487
6516
  var sliders_horizontal_exports = {};
7488
6517
  __export(sliders_horizontal_exports, {
7489
- __iconData: () => __iconData,
6518
+ __iconData: () => __iconData2,
7490
6519
  default: () => SlidersHorizontal
7491
6520
  });
7492
- var __iconData, SlidersHorizontal;
6521
+ var __iconData2, SlidersHorizontal;
7493
6522
  var init_sliders_horizontal = __esm({
7494
6523
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.mjs"() {
7495
6524
  init_createLucideIcon();
7496
- __iconData = {
6525
+ __iconData2 = {
7497
6526
  name: "sliders-horizontal",
7498
6527
  size: 24,
7499
6528
  node: [
@@ -7508,22 +6537,22 @@ var init_sliders_horizontal = __esm({
7508
6537
  ["path", { d: "M8 12H3", key: "a7s4jb" }]
7509
6538
  ]
7510
6539
  };
7511
- __iconData.node;
7512
- SlidersHorizontal = createLucideIcon(__iconData);
6540
+ __iconData2.node;
6541
+ SlidersHorizontal = createLucideIcon(__iconData2);
7513
6542
  }
7514
6543
  });
7515
6544
 
7516
6545
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chart-column.mjs
7517
6546
  var chart_column_exports = {};
7518
6547
  __export(chart_column_exports, {
7519
- __iconData: () => __iconData2,
6548
+ __iconData: () => __iconData3,
7520
6549
  default: () => ChartColumn
7521
6550
  });
7522
- var __iconData2, ChartColumn;
6551
+ var __iconData3, ChartColumn;
7523
6552
  var init_chart_column = __esm({
7524
6553
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chart-column.mjs"() {
7525
6554
  init_createLucideIcon();
7526
- __iconData2 = {
6555
+ __iconData3 = {
7527
6556
  name: "chart-column",
7528
6557
  size: 24,
7529
6558
  node: [
@@ -7534,22 +6563,22 @@ var init_chart_column = __esm({
7534
6563
  ],
7535
6564
  aliases: ["bar-chart-3"]
7536
6565
  };
7537
- __iconData2.node;
7538
- ChartColumn = createLucideIcon(__iconData2);
6566
+ __iconData3.node;
6567
+ ChartColumn = createLucideIcon(__iconData3);
7539
6568
  }
7540
6569
  });
7541
6570
 
7542
6571
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/settings.mjs
7543
6572
  var settings_exports = {};
7544
6573
  __export(settings_exports, {
7545
- __iconData: () => __iconData3,
6574
+ __iconData: () => __iconData4,
7546
6575
  default: () => Settings
7547
6576
  });
7548
- var __iconData3, Settings;
6577
+ var __iconData4, Settings;
7549
6578
  var init_settings = __esm({
7550
6579
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/settings.mjs"() {
7551
6580
  init_createLucideIcon();
7552
- __iconData3 = {
6581
+ __iconData4 = {
7553
6582
  name: "settings",
7554
6583
  size: 24,
7555
6584
  node: [
@@ -7563,22 +6592,22 @@ var init_settings = __esm({
7563
6592
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
7564
6593
  ]
7565
6594
  };
7566
- __iconData3.node;
7567
- Settings = createLucideIcon(__iconData3);
6595
+ __iconData4.node;
6596
+ Settings = createLucideIcon(__iconData4);
7568
6597
  }
7569
6598
  });
7570
6599
 
7571
6600
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/database.mjs
7572
6601
  var database_exports = {};
7573
6602
  __export(database_exports, {
7574
- __iconData: () => __iconData4,
6603
+ __iconData: () => __iconData5,
7575
6604
  default: () => Database
7576
6605
  });
7577
- var __iconData4, Database;
6606
+ var __iconData5, Database;
7578
6607
  var init_database = __esm({
7579
6608
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/database.mjs"() {
7580
6609
  init_createLucideIcon();
7581
- __iconData4 = {
6610
+ __iconData5 = {
7582
6611
  name: "database",
7583
6612
  size: 24,
7584
6613
  node: [
@@ -7587,22 +6616,22 @@ var init_database = __esm({
7587
6616
  ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
7588
6617
  ]
7589
6618
  };
7590
- __iconData4.node;
7591
- Database = createLucideIcon(__iconData4);
6619
+ __iconData5.node;
6620
+ Database = createLucideIcon(__iconData5);
7592
6621
  }
7593
6622
  });
7594
6623
 
7595
6624
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/calendar-days.mjs
7596
6625
  var calendar_days_exports = {};
7597
6626
  __export(calendar_days_exports, {
7598
- __iconData: () => __iconData5,
6627
+ __iconData: () => __iconData6,
7599
6628
  default: () => CalendarDays
7600
6629
  });
7601
- var __iconData5, CalendarDays;
6630
+ var __iconData6, CalendarDays;
7602
6631
  var init_calendar_days = __esm({
7603
6632
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/calendar-days.mjs"() {
7604
6633
  init_createLucideIcon();
7605
- __iconData5 = {
6634
+ __iconData6 = {
7606
6635
  name: "calendar-days",
7607
6636
  size: 24,
7608
6637
  node: [
@@ -7618,22 +6647,22 @@ var init_calendar_days = __esm({
7618
6647
  ["path", { d: "M16 17h.01", key: "ql8jdd" }]
7619
6648
  ]
7620
6649
  };
7621
- __iconData5.node;
7622
- CalendarDays = createLucideIcon(__iconData5);
6650
+ __iconData6.node;
6651
+ CalendarDays = createLucideIcon(__iconData6);
7623
6652
  }
7624
6653
  });
7625
6654
 
7626
6655
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-xml.mjs
7627
6656
  var code_xml_exports = {};
7628
6657
  __export(code_xml_exports, {
7629
- __iconData: () => __iconData6,
6658
+ __iconData: () => __iconData7,
7630
6659
  default: () => CodeXml
7631
6660
  });
7632
- var __iconData6, CodeXml;
6661
+ var __iconData7, CodeXml;
7633
6662
  var init_code_xml = __esm({
7634
6663
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-xml.mjs"() {
7635
6664
  init_createLucideIcon();
7636
- __iconData6 = {
6665
+ __iconData7 = {
7637
6666
  name: "code-xml",
7638
6667
  size: 24,
7639
6668
  node: [
@@ -7643,22 +6672,22 @@ var init_code_xml = __esm({
7643
6672
  ],
7644
6673
  aliases: ["code-2"]
7645
6674
  };
7646
- __iconData6.node;
7647
- CodeXml = createLucideIcon(__iconData6);
6675
+ __iconData7.node;
6676
+ CodeXml = createLucideIcon(__iconData7);
7648
6677
  }
7649
6678
  });
7650
6679
 
7651
6680
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/terminal.mjs
7652
6681
  var terminal_exports = {};
7653
6682
  __export(terminal_exports, {
7654
- __iconData: () => __iconData7,
6683
+ __iconData: () => __iconData8,
7655
6684
  default: () => Terminal
7656
6685
  });
7657
- var __iconData7, Terminal;
6686
+ var __iconData8, Terminal;
7658
6687
  var init_terminal = __esm({
7659
6688
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/terminal.mjs"() {
7660
6689
  init_createLucideIcon();
7661
- __iconData7 = {
6690
+ __iconData8 = {
7662
6691
  name: "terminal",
7663
6692
  size: 24,
7664
6693
  node: [
@@ -7666,22 +6695,22 @@ var init_terminal = __esm({
7666
6695
  ["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
7667
6696
  ]
7668
6697
  };
7669
- __iconData7.node;
7670
- Terminal = createLucideIcon(__iconData7);
6698
+ __iconData8.node;
6699
+ Terminal = createLucideIcon(__iconData8);
7671
6700
  }
7672
6701
  });
7673
6702
 
7674
6703
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/pilcrow.mjs
7675
6704
  var pilcrow_exports = {};
7676
6705
  __export(pilcrow_exports, {
7677
- __iconData: () => __iconData8,
6706
+ __iconData: () => __iconData9,
7678
6707
  default: () => Pilcrow
7679
6708
  });
7680
- var __iconData8, Pilcrow;
6709
+ var __iconData9, Pilcrow;
7681
6710
  var init_pilcrow = __esm({
7682
6711
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/pilcrow.mjs"() {
7683
6712
  init_createLucideIcon();
7684
- __iconData8 = {
6713
+ __iconData9 = {
7685
6714
  name: "pilcrow",
7686
6715
  size: 24,
7687
6716
  node: [
@@ -7690,22 +6719,22 @@ var init_pilcrow = __esm({
7690
6719
  ["path", { d: "M19 4H9.5a4.5 4.5 0 0 0 0 9H13", key: "sh4n9v" }]
7691
6720
  ]
7692
6721
  };
7693
- __iconData8.node;
7694
- Pilcrow = createLucideIcon(__iconData8);
6722
+ __iconData9.node;
6723
+ Pilcrow = createLucideIcon(__iconData9);
7695
6724
  }
7696
6725
  });
7697
6726
 
7698
6727
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/plus.mjs
7699
6728
  var plus_exports = {};
7700
6729
  __export(plus_exports, {
7701
- __iconData: () => __iconData9,
6730
+ __iconData: () => __iconData10,
7702
6731
  default: () => Plus
7703
6732
  });
7704
- var __iconData9, Plus;
6733
+ var __iconData10, Plus;
7705
6734
  var init_plus = __esm({
7706
6735
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/plus.mjs"() {
7707
6736
  init_createLucideIcon();
7708
- __iconData9 = {
6737
+ __iconData10 = {
7709
6738
  name: "plus",
7710
6739
  size: 24,
7711
6740
  node: [
@@ -7713,82 +6742,82 @@ var init_plus = __esm({
7713
6742
  ["path", { d: "M12 5v14", key: "s699le" }]
7714
6743
  ]
7715
6744
  };
7716
- __iconData9.node;
7717
- Plus = createLucideIcon(__iconData9);
6745
+ __iconData10.node;
6746
+ Plus = createLucideIcon(__iconData10);
7718
6747
  }
7719
6748
  });
7720
6749
 
7721
6750
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.mjs
7722
6751
  var minus_exports = {};
7723
6752
  __export(minus_exports, {
7724
- __iconData: () => __iconData10,
6753
+ __iconData: () => __iconData11,
7725
6754
  default: () => Minus
7726
6755
  });
7727
- var __iconData10, Minus;
6756
+ var __iconData11, Minus;
7728
6757
  var init_minus = __esm({
7729
6758
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/minus.mjs"() {
7730
6759
  init_createLucideIcon();
7731
- __iconData10 = {
6760
+ __iconData11 = {
7732
6761
  name: "minus",
7733
6762
  size: 24,
7734
6763
  node: [["path", { d: "M5 12h14", key: "1ays0h" }]]
7735
6764
  };
7736
- __iconData10.node;
7737
- Minus = createLucideIcon(__iconData10);
6765
+ __iconData11.node;
6766
+ Minus = createLucideIcon(__iconData11);
7738
6767
  }
7739
6768
  });
7740
6769
 
7741
6770
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.mjs
7742
6771
  var check_exports = {};
7743
6772
  __export(check_exports, {
7744
- __iconData: () => __iconData11,
6773
+ __iconData: () => __iconData12,
7745
6774
  default: () => Check
7746
6775
  });
7747
- var __iconData11, Check;
6776
+ var __iconData12, Check;
7748
6777
  var init_check = __esm({
7749
6778
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/check.mjs"() {
7750
6779
  init_createLucideIcon();
7751
- __iconData11 = {
6780
+ __iconData12 = {
7752
6781
  name: "check",
7753
6782
  size: 24,
7754
6783
  node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
7755
6784
  };
7756
- __iconData11.node;
7757
- Check = createLucideIcon(__iconData11);
6785
+ __iconData12.node;
6786
+ Check = createLucideIcon(__iconData12);
7758
6787
  }
7759
6788
  });
7760
6789
 
7761
6790
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square.mjs
7762
6791
  var square_exports = {};
7763
6792
  __export(square_exports, {
7764
- __iconData: () => __iconData12,
6793
+ __iconData: () => __iconData13,
7765
6794
  default: () => Square
7766
6795
  });
7767
- var __iconData12, Square;
6796
+ var __iconData13, Square;
7768
6797
  var init_square = __esm({
7769
6798
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square.mjs"() {
7770
6799
  init_createLucideIcon();
7771
- __iconData12 = {
6800
+ __iconData13 = {
7772
6801
  name: "square",
7773
6802
  size: 24,
7774
6803
  node: [["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]]
7775
6804
  };
7776
- __iconData12.node;
7777
- Square = createLucideIcon(__iconData12);
6805
+ __iconData13.node;
6806
+ Square = createLucideIcon(__iconData13);
7778
6807
  }
7779
6808
  });
7780
6809
 
7781
6810
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/rotate-ccw.mjs
7782
6811
  var rotate_ccw_exports = {};
7783
6812
  __export(rotate_ccw_exports, {
7784
- __iconData: () => __iconData13,
6813
+ __iconData: () => __iconData14,
7785
6814
  default: () => RotateCcw
7786
6815
  });
7787
- var __iconData13, RotateCcw;
6816
+ var __iconData14, RotateCcw;
7788
6817
  var init_rotate_ccw = __esm({
7789
6818
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/rotate-ccw.mjs"() {
7790
6819
  init_createLucideIcon();
7791
- __iconData13 = {
6820
+ __iconData14 = {
7792
6821
  name: "rotate-ccw",
7793
6822
  size: 24,
7794
6823
  node: [
@@ -7796,22 +6825,22 @@ var init_rotate_ccw = __esm({
7796
6825
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
7797
6826
  ]
7798
6827
  };
7799
- __iconData13.node;
7800
- RotateCcw = createLucideIcon(__iconData13);
6828
+ __iconData14.node;
6829
+ RotateCcw = createLucideIcon(__iconData14);
7801
6830
  }
7802
6831
  });
7803
6832
 
7804
6833
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list-tree.mjs
7805
6834
  var list_tree_exports = {};
7806
6835
  __export(list_tree_exports, {
7807
- __iconData: () => __iconData14,
6836
+ __iconData: () => __iconData15,
7808
6837
  default: () => ListTree
7809
6838
  });
7810
- var __iconData14, ListTree;
6839
+ var __iconData15, ListTree;
7811
6840
  var init_list_tree = __esm({
7812
6841
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list-tree.mjs"() {
7813
6842
  init_createLucideIcon();
7814
- __iconData14 = {
6843
+ __iconData15 = {
7815
6844
  name: "list-tree",
7816
6845
  size: 24,
7817
6846
  node: [
@@ -7822,22 +6851,22 @@ var init_list_tree = __esm({
7822
6851
  ["path", { d: "M3 5v12a2 2 0 0 0 2 2h3", key: "x1gjn2" }]
7823
6852
  ]
7824
6853
  };
7825
- __iconData14.node;
7826
- ListTree = createLucideIcon(__iconData14);
6854
+ __iconData15.node;
6855
+ ListTree = createLucideIcon(__iconData15);
7827
6856
  }
7828
6857
  });
7829
6858
 
7830
6859
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/folder-tree.mjs
7831
6860
  var folder_tree_exports = {};
7832
6861
  __export(folder_tree_exports, {
7833
- __iconData: () => __iconData15,
6862
+ __iconData: () => __iconData16,
7834
6863
  default: () => FolderTree
7835
6864
  });
7836
- var __iconData15, FolderTree;
6865
+ var __iconData16, FolderTree;
7837
6866
  var init_folder_tree = __esm({
7838
6867
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/folder-tree.mjs"() {
7839
6868
  init_createLucideIcon();
7840
- __iconData15 = {
6869
+ __iconData16 = {
7841
6870
  name: "folder-tree",
7842
6871
  size: 24,
7843
6872
  node: [
@@ -7859,22 +6888,22 @@ var init_folder_tree = __esm({
7859
6888
  ["path", { d: "M3 3v13a2 2 0 0 0 2 2h3", key: "k8epm1" }]
7860
6889
  ]
7861
6890
  };
7862
- __iconData15.node;
7863
- FolderTree = createLucideIcon(__iconData15);
6891
+ __iconData16.node;
6892
+ FolderTree = createLucideIcon(__iconData16);
7864
6893
  }
7865
6894
  });
7866
6895
 
7867
6896
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.mjs
7868
6897
  var search_exports = {};
7869
6898
  __export(search_exports, {
7870
- __iconData: () => __iconData16,
6899
+ __iconData: () => __iconData17,
7871
6900
  default: () => Search
7872
6901
  });
7873
- var __iconData16, Search;
6902
+ var __iconData17, Search;
7874
6903
  var init_search = __esm({
7875
6904
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.mjs"() {
7876
6905
  init_createLucideIcon();
7877
- __iconData16 = {
6906
+ __iconData17 = {
7878
6907
  name: "search",
7879
6908
  size: 24,
7880
6909
  node: [
@@ -7882,22 +6911,22 @@ var init_search = __esm({
7882
6911
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
7883
6912
  ]
7884
6913
  };
7885
- __iconData16.node;
7886
- Search = createLucideIcon(__iconData16);
6914
+ __iconData17.node;
6915
+ Search = createLucideIcon(__iconData17);
7887
6916
  }
7888
6917
  });
7889
6918
 
7890
6919
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/layout-grid.mjs
7891
6920
  var layout_grid_exports = {};
7892
6921
  __export(layout_grid_exports, {
7893
- __iconData: () => __iconData17,
6922
+ __iconData: () => __iconData18,
7894
6923
  default: () => LayoutGrid
7895
6924
  });
7896
- var __iconData17, LayoutGrid;
6925
+ var __iconData18, LayoutGrid;
7897
6926
  var init_layout_grid = __esm({
7898
6927
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/layout-grid.mjs"() {
7899
6928
  init_createLucideIcon();
7900
- __iconData17 = {
6929
+ __iconData18 = {
7901
6930
  name: "layout-grid",
7902
6931
  size: 24,
7903
6932
  node: [
@@ -7907,22 +6936,22 @@ var init_layout_grid = __esm({
7907
6936
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
7908
6937
  ]
7909
6938
  };
7910
- __iconData17.node;
7911
- LayoutGrid = createLucideIcon(__iconData17);
6939
+ __iconData18.node;
6940
+ LayoutGrid = createLucideIcon(__iconData18);
7912
6941
  }
7913
6942
  });
7914
6943
 
7915
6944
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list.mjs
7916
6945
  var list_exports = {};
7917
6946
  __export(list_exports, {
7918
- __iconData: () => __iconData18,
6947
+ __iconData: () => __iconData19,
7919
6948
  default: () => List
7920
6949
  });
7921
- var __iconData18, List;
6950
+ var __iconData19, List;
7922
6951
  var init_list = __esm({
7923
6952
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list.mjs"() {
7924
6953
  init_createLucideIcon();
7925
- __iconData18 = {
6954
+ __iconData19 = {
7926
6955
  name: "list",
7927
6956
  size: 24,
7928
6957
  node: [
@@ -7934,22 +6963,22 @@ var init_list = __esm({
7934
6963
  ["path", { d: "M8 19h13", key: "m83p4d" }]
7935
6964
  ]
7936
6965
  };
7937
- __iconData18.node;
7938
- List = createLucideIcon(__iconData18);
6966
+ __iconData19.node;
6967
+ List = createLucideIcon(__iconData19);
7939
6968
  }
7940
6969
  });
7941
6970
 
7942
6971
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list-checks.mjs
7943
6972
  var list_checks_exports = {};
7944
6973
  __export(list_checks_exports, {
7945
- __iconData: () => __iconData19,
6974
+ __iconData: () => __iconData20,
7946
6975
  default: () => ListChecks
7947
6976
  });
7948
- var __iconData19, ListChecks;
6977
+ var __iconData20, ListChecks;
7949
6978
  var init_list_checks = __esm({
7950
6979
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/list-checks.mjs"() {
7951
6980
  init_createLucideIcon();
7952
- __iconData19 = {
6981
+ __iconData20 = {
7953
6982
  name: "list-checks",
7954
6983
  size: 24,
7955
6984
  node: [
@@ -7960,22 +6989,22 @@ var init_list_checks = __esm({
7960
6989
  ["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
7961
6990
  ]
7962
6991
  };
7963
- __iconData19.node;
7964
- ListChecks = createLucideIcon(__iconData19);
6992
+ __iconData20.node;
6993
+ ListChecks = createLucideIcon(__iconData20);
7965
6994
  }
7966
6995
  });
7967
6996
 
7968
6997
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square-check-big.mjs
7969
6998
  var square_check_big_exports = {};
7970
6999
  __export(square_check_big_exports, {
7971
- __iconData: () => __iconData20,
7000
+ __iconData: () => __iconData21,
7972
7001
  default: () => SquareCheckBig
7973
7002
  });
7974
- var __iconData20, SquareCheckBig;
7003
+ var __iconData21, SquareCheckBig;
7975
7004
  var init_square_check_big = __esm({
7976
7005
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/square-check-big.mjs"() {
7977
7006
  init_createLucideIcon();
7978
- __iconData20 = {
7007
+ __iconData21 = {
7979
7008
  name: "square-check-big",
7980
7009
  size: 24,
7981
7010
  node: [
@@ -7987,48 +7016,28 @@ var init_square_check_big = __esm({
7987
7016
  ],
7988
7017
  aliases: ["check-square"]
7989
7018
  };
7990
- __iconData20.node;
7991
- SquareCheckBig = createLucideIcon(__iconData20);
7019
+ __iconData21.node;
7020
+ SquareCheckBig = createLucideIcon(__iconData21);
7992
7021
  }
7993
7022
  });
7994
7023
 
7995
7024
  // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-left.mjs
7996
7025
  var chevron_left_exports = {};
7997
7026
  __export(chevron_left_exports, {
7998
- __iconData: () => __iconData21,
7027
+ __iconData: () => __iconData22,
7999
7028
  default: () => ChevronLeft
8000
7029
  });
8001
- var __iconData21, ChevronLeft;
7030
+ var __iconData22, ChevronLeft;
8002
7031
  var init_chevron_left = __esm({
8003
7032
  "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-left.mjs"() {
8004
7033
  init_createLucideIcon();
8005
- __iconData21 = {
7034
+ __iconData22 = {
8006
7035
  name: "chevron-left",
8007
7036
  size: 24,
8008
7037
  node: [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]]
8009
7038
  };
8010
- __iconData21.node;
8011
- ChevronLeft = createLucideIcon(__iconData21);
8012
- }
8013
- });
8014
-
8015
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs
8016
- var chevron_right_exports = {};
8017
- __export(chevron_right_exports, {
8018
- __iconData: () => __iconData22,
8019
- default: () => ChevronRight
8020
- });
8021
- var __iconData22, ChevronRight;
8022
- var init_chevron_right = __esm({
8023
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs"() {
8024
- init_createLucideIcon();
8025
- __iconData22 = {
8026
- name: "chevron-right",
8027
- size: 24,
8028
- node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
8029
- };
8030
7039
  __iconData22.node;
8031
- ChevronRight = createLucideIcon(__iconData22);
7040
+ ChevronLeft = createLucideIcon(__iconData22);
8032
7041
  }
8033
7042
  });
8034
7043
 
@@ -8954,261 +7963,6 @@ var require_workspace_view = __commonJS({
8954
7963
  }
8955
7964
  });
8956
7965
 
8957
- // packages/addons/tasks/client/views/commands.cjs
8958
- var require_commands = __commonJS({
8959
- "packages/addons/tasks/client/views/commands.cjs"(exports2, module2) {
8960
- "use strict";
8961
- module2.exports = function(deps) {
8962
- var React = deps.React, h = React.createElement;
8963
- var Icon2 = deps.Icon, Body = deps.Body, BodyMode = deps.BodyMode;
8964
- var bodyCopy = deps.bodyCopy || { zh: {}, en: {} };
8965
- var BODY_DEFAULT = { "ui.bodyMode": "markdown" };
8966
- var useConfig = deps.useConfig || function() {
8967
- return { ready: true, values: BODY_DEFAULT };
8968
- };
8969
- var COPY = {
8970
- zh: {
8971
- title: "\u547D\u4EE4",
8972
- hint: "\u53EA\u8BFB \xB7 \u6570\u636E\u6765\u81EA tasks.commands",
8973
- loading: "\u6B63\u5728\u8BFB\u53D6\u547D\u4EE4\u76EE\u5F55\u2026",
8974
- empty: "\u672C\u63D2\u4EF6\u8FD8\u6CA1\u6709\u6CE8\u518C\u659C\u6760\u547D\u4EE4\u3002",
8975
- retry: "\u91CD\u8BD5",
8976
- error: "\u547D\u4EE4\u76EE\u5F55\u52A0\u8F7D\u5931\u8D25",
8977
- count: function(n) {
8978
- return n + " \u6761\u547D\u4EE4";
8979
- },
8980
- usage: "\u7528\u6CD5",
8981
- input: "\u8F93\u5165",
8982
- examples: "\u793A\u4F8B",
8983
- limit: "\u4E0A\u9650",
8984
- attachments: "\u652F\u6301\u9644\u4EF6",
8985
- noAttachments: "\u4E0D\u652F\u6301\u9644\u4EF6",
8986
- notes: "\u8BF4\u660E",
8987
- copy: "\u590D\u5236",
8988
- copied: "\u5DF2\u590D\u5236",
8989
- chars: function(n) {
8990
- return "\u6700\u591A " + n + " \u5B57\u7B26";
8991
- },
8992
- template: "\u63D0\u793A\u8BCD\u6A21\u677F",
8993
- templateHint: "\u53EA\u8BFB \xB7 \u9ED8\u8BA4\u6298\u53E0\uFF0C\u5C55\u5F00\u53EF\u770B\u5168\u6587\uFF1B{\u9700\u6C42\u63CF\u8FF0} \u6362\u6210\u4F60\u7684\u539F\u8BDD\uFF0C<sessionId> \u4E3A\u5F53\u524D\u4F1A\u8BDD id",
8994
- copyTemplate: "\u590D\u5236\u6A21\u677F",
8995
- bodyModeToggle: bodyCopy.zh.bodyModeToggle || "{field} \xB7 \u5F53\u524D\uFF1A{current}\uFF1B\u5207\u6362\u4E3A{target}",
8996
- markdown: bodyCopy.zh.markdown || "Markdown \u6E32\u67D3",
8997
- plainText: bodyCopy.zh.plainText || "\u7EAF\u6587\u672C"
8998
- },
8999
- en: {
9000
- title: "Commands",
9001
- hint: "Read-only \xB7 from tasks.commands",
9002
- loading: "Loading command catalog\u2026",
9003
- empty: "No slash commands registered yet.",
9004
- retry: "Retry",
9005
- error: "Failed to load command catalog",
9006
- count: function(n) {
9007
- return n + (n === 1 ? " command" : " commands");
9008
- },
9009
- usage: "Usage",
9010
- input: "Input",
9011
- examples: "Examples",
9012
- limit: "Limit",
9013
- attachments: "Attachments allowed",
9014
- noAttachments: "No attachments",
9015
- notes: "Notes",
9016
- copy: "Copy",
9017
- copied: "Copied",
9018
- chars: function(n) {
9019
- return "up to " + n + " characters";
9020
- },
9021
- template: "Prompt template",
9022
- templateHint: "Read-only \xB7 collapsed by default; {requirement} is replaced by your words and <sessionId> by the current session id",
9023
- copyTemplate: "Copy template",
9024
- bodyModeToggle: bodyCopy.en.bodyModeToggle || "{field} \xB7 Current: {current}; switch to {target}",
9025
- markdown: bodyCopy.en.markdown || "Rendered Markdown",
9026
- plainText: bodyCopy.en.plainText || "Plain text"
9027
- }
9028
- };
9029
- var CSS = String(deps.bodyStyles || "") + [
9030
- ".wbt-cmd{display:flex;flex-direction:column;gap:10px;min-height:0}",
9031
- ".wbt-cmd-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}",
9032
- ".wbt-cmd-hint,.wbt-cmd-count{color:var(--dsw-alias-label-secondary,inherit);font-size:12px}",
9033
- ".wbt-cmd-list{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0}",
9034
- ".wbt-cmd-card{border:1px solid var(--wb-border);border-radius:var(--wb-radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:6px}",
9035
- ".wbt-cmd-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}",
9036
- ".wbt-cmd-name code{font-size:13px}",
9037
- ".wbt-cmd-title{font-weight:600}",
9038
- ".wbt-cmd-badge{border:1px solid var(--wb-border);border-radius:999px;padding:0 8px;font-size:11px;color:var(--dsw-alias-label-secondary,inherit)}",
9039
- ".wbt-cmd-summary,.wbt-cmd-notes{margin:0;line-height:1.55;font-size:12.5px;color:var(--dsw-alias-label-secondary,inherit)}",
9040
- ".wbt-cmd-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}",
9041
- ".wbt-cmd-label{font-size:11.5px;color:var(--dsw-alias-label-secondary,inherit);flex:none}",
9042
- ".wbt-cmd-row code{min-width:0;overflow-wrap:anywhere;background:var(--dsw-alias-bg-layer-1,color-mix(in oklab,currentColor 4%,transparent));padding:2px 6px;border-radius:4px}",
9043
- ".wbt-cmd-examples{margin:0;padding-left:18px;font-size:12.5px;display:flex;flex-direction:column;gap:4px}",
9044
- ".wbt-cmd-examples li{overflow-wrap:anywhere}",
9045
- ".wbt-cmd-empty,.wbt-cmd-error{padding:12px;border:1px dashed var(--wb-border);border-radius:var(--wb-radius-sm);font-size:12.5px}",
9046
- ".wbt-cmd-error{border-style:solid;color:var(--dsw-alias-status-danger,inherit)}",
9047
- ".wbt-cmd-template{border-top:1px dashed var(--wb-border);padding-top:8px;display:flex;flex-direction:column;gap:8px}",
9048
- ".wbt-cmd-template>summary{cursor:pointer;font-size:12.5px;font-weight:600;list-style:revert}",
9049
- ".wbt-cmd-template-head{padding-left:0;margin:0}",
9050
- ".wbt-cmd-bar{display:inline-flex;align-items:center;gap:6px}",
9051
- ".wbt-cmd-body{max-height:340px;overflow:auto;background:var(--dsw-alias-bg-layer-1,color-mix(in oklab,currentColor 4%,transparent));border-radius:var(--wb-radius-sm);padding:10px}",
9052
- ".wbt-cmd-body .wb-markdown,.wbt-cmd-body .wb-body-text{font-size:11.5px;line-height:1.55}"
9053
- ].join("");
9054
- function result(r) {
9055
- if (!r || !r.ok) throw new Error(r && r.error || "Request failed");
9056
- return r.result || {};
9057
- }
9058
- function CopyButton(p) {
9059
- var s = React.useState(false), done = s[0], setDone = s[1];
9060
- return h("button", {
9061
- className: "wbt-btn",
9062
- type: "button",
9063
- title: p.t.copy,
9064
- onClick: function() {
9065
- var clip = typeof navigator !== "undefined" && navigator.clipboard;
9066
- var write = clip && typeof clip.writeText === "function" ? clip.writeText(p.text) : Promise.reject(new Error("no clipboard"));
9067
- write.then(function() {
9068
- setDone(true);
9069
- if (typeof p.onCopied === "function") p.onCopied(p.text);
9070
- if (typeof setTimeout === "function") setTimeout(function() {
9071
- setDone(false);
9072
- }, 1200);
9073
- }).catch(function() {
9074
- setDone(false);
9075
- });
9076
- }
9077
- }, done ? p.t.copied : p.t.copy);
9078
- }
9079
- function TemplateBlock(props) {
9080
- var c = props.command, t = props.t;
9081
- var text = typeof c.template === "string" ? c.template : "";
9082
- var s = React.useState(props.mode === "text" ? "text" : "markdown"), mode = s[0], setMode = s[1];
9083
- if (!text.trim()) return null;
9084
- return h(
9085
- "details",
9086
- { className: "wbt-cmd-template" },
9087
- h("summary", null, t.template),
9088
- h("span", { className: "wbt-cmd-hint" }, t.templateHint),
9089
- h(
9090
- "div",
9091
- { className: "wb-body-heading wbt-cmd-template-head" },
9092
- h("span", { className: "wb-body-label" }, t.template),
9093
- h(
9094
- "span",
9095
- { className: "wbt-cmd-bar" },
9096
- h(BodyMode, { label: t.template, mode, onChange: setMode, t, Icon: Icon2 }),
9097
- h(CopyButton, { t, text, onCopied: props.onCopied })
9098
- )
9099
- ),
9100
- h("div", { className: "wbt-cmd-body" }, h(Body, { text, mode }))
9101
- );
9102
- }
9103
- function CommandCard(props) {
9104
- var c = props.command, t = props.t;
9105
- var limit = c.limit && c.limit.max ? t.chars(c.limit.max) : "";
9106
- return h(
9107
- "article",
9108
- { className: "wbt-cmd-card" },
9109
- h(
9110
- "div",
9111
- { className: "wbt-cmd-name" },
9112
- h("code", null, "/" + c.name),
9113
- h("span", { className: "wbt-cmd-title" }, c.title.zh && t === COPY.zh ? c.title.zh : c.title.en || c.title.zh),
9114
- h("span", { className: "wbt-cmd-badge" }, c.attachments ? t.attachments : t.noAttachments)
9115
- ),
9116
- h("p", { className: "wbt-cmd-summary" }, t === COPY.zh ? c.summary.zh : c.summary.en),
9117
- h(
9118
- "div",
9119
- { className: "wbt-cmd-row" },
9120
- h("span", { className: "wbt-cmd-label" }, t.usage),
9121
- h("code", null, t === COPY.zh ? c.usage.zh : c.usage.en),
9122
- h(CopyButton, { t, text: t === COPY.zh ? c.usage.zh : c.usage.en, onCopied: props.onCopied })
9123
- ),
9124
- h(
9125
- "div",
9126
- { className: "wbt-cmd-row" },
9127
- h("span", { className: "wbt-cmd-label" }, t.input),
9128
- h("code", null, t === COPY.zh ? c.inputHint.zh : c.inputHint.en)
9129
- ),
9130
- c.examples && c.examples.length ? h(
9131
- "div",
9132
- { className: "wbt-cmd-row", style: { alignItems: "flex-start" } },
9133
- h("span", { className: "wbt-cmd-label" }, t.examples),
9134
- h("ul", { className: "wbt-cmd-examples" }, c.examples.map(function(text, i) {
9135
- return h(
9136
- "li",
9137
- { key: i },
9138
- h("code", null, text),
9139
- " ",
9140
- h(CopyButton, { t, text, onCopied: props.onCopied })
9141
- );
9142
- }))
9143
- ) : null,
9144
- limit ? h("div", { className: "wbt-cmd-row" }, h("span", { className: "wbt-cmd-label" }, t.limit), h("span", null, limit)) : null,
9145
- c.notes && (t === COPY.zh ? c.notes.zh : c.notes.en) ? h("p", { className: "wbt-cmd-notes" }, t === COPY.zh ? c.notes.zh : c.notes.en) : null,
9146
- h(TemplateBlock, { command: c, t, mode: props.bodyMode, onCopied: props.onCopied })
9147
- );
9148
- }
9149
- function CommandsView(props) {
9150
- var lang = props.lang === "en" ? "en" : "zh", t = COPY[lang];
9151
- var api = props.api;
9152
- var cfg = useConfig(api, BODY_DEFAULT);
9153
- var bodyMode = cfg.values && cfg.values["ui.bodyMode"] === "text" ? "text" : "markdown";
9154
- var dataS = React.useState(null), data = dataS[0], setData = dataS[1];
9155
- var busyS = React.useState(true), busy = busyS[0], setBusy = busyS[1];
9156
- var errorS = React.useState(""), error = errorS[0], setError = errorS[1];
9157
- var refreshS = React.useState(0), refresh = refreshS[0], setRefresh = refreshS[1];
9158
- var toastS = React.useState(""), toast = toastS[0], setToast = toastS[1];
9159
- React.useEffect(function() {
9160
- var cancelled = false;
9161
- setBusy(true);
9162
- setError("");
9163
- api.call("tasks.commands", {}).then(result).then(function(r) {
9164
- if (cancelled) return;
9165
- setData(Array.isArray(r.commands) ? r.commands : []);
9166
- setBusy(false);
9167
- }).catch(function(e) {
9168
- if (cancelled) return;
9169
- setBusy(false);
9170
- setError(String(e && e.message || e));
9171
- });
9172
- return function() {
9173
- cancelled = true;
9174
- };
9175
- }, [api, refresh]);
9176
- var commands = data || [];
9177
- var ready = !busy && cfg.ready;
9178
- return h(
9179
- "div",
9180
- { className: "wbt-root wbt-cmd" },
9181
- h("style", null, CSS),
9182
- h(
9183
- "div",
9184
- { className: "wbt-cmd-head" },
9185
- h("strong", null, t.title),
9186
- h("span", { className: "wbt-cmd-hint" }, t.hint),
9187
- ready && !error ? h("span", { className: "wbt-cmd-count" }, t.count(commands.length)) : null
9188
- ),
9189
- !ready && !error ? h("div", { className: "wbt-cmd-empty" }, t.loading) : null,
9190
- error ? h(
9191
- "div",
9192
- { className: "wbt-cmd-error" },
9193
- t.error + "\uFF1A" + error,
9194
- h("button", { className: "wbt-btn", type: "button", onClick: function() {
9195
- setRefresh(refresh + 1);
9196
- } }, t.retry)
9197
- ) : null,
9198
- ready && !error && !commands.length ? h("div", { className: "wbt-cmd-empty" }, t.empty) : null,
9199
- ready && !error && commands.length ? h("div", { className: "wbt-cmd-list" }, commands.map(function(c) {
9200
- return h(CommandCard, { key: c.name, command: c, t, bodyMode, onCopied: function(text) {
9201
- setToast(text);
9202
- } });
9203
- })) : null,
9204
- toast ? h("span", { className: "wbt-cmd-hint", "aria-live": "polite" }, t.copied) : null
9205
- );
9206
- }
9207
- return { CommandsView, CSS };
9208
- };
9209
- }
9210
- });
9211
-
9212
7966
  // packages/addons/lib/markdown.cjs
9213
7967
  var require_markdown = __commonJS({
9214
7968
  "packages/addons/lib/markdown.cjs"(exports2, module2) {
@@ -9364,10 +8118,14 @@ var require_body_toggle = __commonJS({
9364
8118
  }
9365
8119
  });
9366
8120
 
9367
- // packages/addons/tasks/client/ui/body-mode.cjs
9368
- var require_body_mode = __commonJS({
9369
- "packages/addons/tasks/client/ui/body-mode.cjs"(exports2, module2) {
9370
- module2.exports = require_body_toggle();
8121
+ // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-2.mjs
8122
+ var code_2_exports = {};
8123
+ __export(code_2_exports, {
8124
+ default: () => CodeXml
8125
+ });
8126
+ var init_code_2 = __esm({
8127
+ "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-2.mjs"() {
8128
+ init_code_xml();
9371
8129
  }
9372
8130
  });
9373
8131
 
@@ -9401,17 +8159,6 @@ var require_body_styles = __commonJS({
9401
8159
  }
9402
8160
  });
9403
8161
 
9404
- // node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-2.mjs
9405
- var code_2_exports = {};
9406
- __export(code_2_exports, {
9407
- default: () => CodeXml
9408
- });
9409
- var init_code_2 = __esm({
9410
- "node_modules/.pnpm/lucide-react@1.70.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/code-2.mjs"() {
9411
- init_code_xml();
9412
- }
9413
- });
9414
-
9415
8162
  // packages/addons/lib/body-id.cjs
9416
8163
  var require_body_id = __commonJS({
9417
8164
  "packages/addons/lib/body-id.cjs"(exports2, module2) {
@@ -9504,6 +8251,16 @@ var require_description = __commonJS({
9504
8251
  }
9505
8252
  });
9506
8253
 
8254
+ // packages/addons/lib/visual-tokens.cjs
8255
+ var require_visual_tokens = __commonJS({
8256
+ "packages/addons/lib/visual-tokens.cjs"(exports2, module2) {
8257
+ module2.exports = `
8258
+ :where(.wbt-root,.wbi-root,.wbi-cfg,.wbt-data,.wbs-data,.wbg-data,.wbi-data,.wb-desc){--wb-radius-sm:8px;--wb-radius-card:12px;--wb-space-sm:8px;--wb-space-md:14px;--wb-border:var(--dsw-alias-border-l2,color-mix(in oklab,currentColor 16%,transparent));--wb-description-bg:color-mix(in oklab,var(--dsw-alias-brand-primary,#5b7fd6) 7%,transparent);--wb-description-line:color-mix(in oklab,var(--dsw-alias-brand-primary,#5b7fd6) 34%,transparent);--wb-motion:140ms;--wb-btn-bg:transparent;--wb-btn-hover-bg:color-mix(in oklab,currentColor 6%,transparent);--wb-btn-active-bg:color-mix(in oklab,currentColor 11%,transparent);--wb-btn-primary-bg:var(--dsw-alias-brand-primary,#2563eb);--wb-btn-primary-fg:var(--dsw-alias-label-primary-inverted,#fff);--wb-btn-danger-fg:var(--dsw-alias-state-error-primary,#b91c1c);--wb-btn-size-sm:32px;--wb-btn-focus:2px solid var(--dsw-alias-brand-primary,#2563eb);--wb-btn-focus-offset:2px}
8259
+ .wb-desc{background:var(--wb-description-bg);border-left-color:var(--wb-description-line);border-radius:0 var(--wb-radius-sm) var(--wb-radius-sm) 0}
8260
+ `;
8261
+ }
8262
+ });
8263
+
9507
8264
  // packages/addons/lib/filter-checklist-styles.cjs
9508
8265
  var require_filter_checklist_styles = __commonJS({
9509
8266
  "packages/addons/lib/filter-checklist-styles.cjs"(exports2, module2) {
@@ -10130,7 +8887,7 @@ var require_styles = __commonJS({
10130
8887
  ".wbtx-slot-note{color:var(--wbt-muted,var(--wb-muted))}",
10131
8888
  ".wbtx-slot-link{border:0;background:transparent;padding:0;font:inherit;font-size:12px;color:var(--wbt-accent,var(--wb-accent));cursor:pointer;text-decoration:underline}",
10132
8889
  ".wbt-mailback{font-size:11.5px;padding:2px 7px}"
10133
- ].concat(require_filter_checklist_styles(), require_date_picker_styles()("wbt"), require_switch().styles, require_number_field().styles, require_stepper().styles, require_staged_dialog().styles).join("\n");
8890
+ ].concat(require_filter_checklist_styles(), require_date_picker_styles()("wbt"), require_switch().styles, require_number_field().styles, require_stepper().styles, require_staged_dialog().styles, require_disclosure_styles()).join("\n");
10134
8891
  }
10135
8892
  });
10136
8893
 
@@ -10203,6 +8960,13 @@ var require_highlight2 = __commonJS({
10203
8960
  }
10204
8961
  });
10205
8962
 
8963
+ // packages/addons/tasks/client/ui/body-mode.cjs
8964
+ var require_body_mode = __commonJS({
8965
+ "packages/addons/tasks/client/ui/body-mode.cjs"(exports2, module2) {
8966
+ module2.exports = require_body_toggle();
8967
+ }
8968
+ });
8969
+
10206
8970
  // packages/addons/tasks/client/item/task-item.cjs
10207
8971
  var require_task_item = __commonJS({
10208
8972
  "packages/addons/tasks/client/item/task-item.cjs"(exports2, module2) {
@@ -10827,6 +9591,7 @@ var require_difficulty_field = __commonJS({
10827
9591
  var NF = require_number_field();
10828
9592
  module2.exports = function(React) {
10829
9593
  var h = React.createElement;
9594
+ var Disclosure = require_disclosure().createDisclosure(React).Disclosure;
10830
9595
  return function difficultyField(t, value, onChange, id, lang) {
10831
9596
  var n = Number(value) || 0, full = Math.floor(n), half = n - full >= 0.5;
10832
9597
  var stars = "\u2605".repeat(full) + (half ? "\u2BEA" : "") + "\u2606".repeat(Math.max(0, 5 - full - (half ? 1 : 0)));
@@ -10861,7 +9626,7 @@ var require_difficulty_field = __commonJS({
10861
9626
  h("b", null, n.toFixed(1))
10862
9627
  ),
10863
9628
  h("small", { id: id + "-hint" }, t.difficultyUnsetHint),
10864
- h("details", null, h("summary", null, t.difficultyGuideTitle), h("p", null, t.difficultyGuide))
9629
+ h(Disclosure, { title: t.difficultyGuideTitle }, h("p", null, t.difficultyGuide))
10865
9630
  );
10866
9631
  };
10867
9632
  };
@@ -14718,7 +13483,6 @@ var require_timeline_view = __commonJS({
14718
13483
  var WorkspaceFilter = require_workspacefilter();
14719
13484
  var statsView = require_stats();
14720
13485
  var configView = require_config();
14721
- var dataView = require_data();
14722
13486
  var actionSchemaView = require_actions();
14723
13487
  var COPY = require_copy();
14724
13488
  function hostHasAddon(id) {
@@ -14738,15 +13502,6 @@ var require_timeline_view = __commonJS({
14738
13502
  var icons = require_icons2(), ICONS = icons.ICONS, Icon2 = icons.Icon;
14739
13503
  var createOverlay = require_overlay();
14740
13504
  var workspaceView = require_workspace_view()({ React, Icon: Icon2, createOverlay });
14741
- var commandsView = require_commands()({
14742
- React,
14743
- Icon: Icon2,
14744
- Body: require_markdown().createBody(React),
14745
- BodyMode: require_body_mode()(React),
14746
- bodyStyles: require_body_styles(),
14747
- bodyCopy: require_body_copy(),
14748
- useConfig: configView.useConfig
14749
- });
14750
13505
  function tabIcon(name) {
14751
13506
  return function TasksTabIcon() {
14752
13507
  return React.createElement(Icon2, { name, size: 14 });
@@ -15164,7 +13919,7 @@ var require_timeline_view = __commonJS({
15164
13919
  var TimelineView = require_timeline_view()({ React, COPY, injectCss, statusInfo, configView, CFG_FALLBACK, TaskItem, EditModal, DoneModal, TimelineModal, CreateModal });
15165
13920
  host.registerAddon({
15166
13921
  id: "wb-addon-tasks",
15167
- version: "5.4.0",
13922
+ version: "5.5.4",
15168
13923
  icon: ICONS["list-checks"],
15169
13924
  // 贡献声明写在 registerAddon 里:卸载任务插件时宿主按 addonId 一起撤销,
15170
13925
  // 不会在邮件里留一个渲染即报错的孤儿按钮。
@@ -15175,8 +13930,6 @@ var require_timeline_view = __commonJS({
15175
13930
  { id: "timeline", icon: tabIcon("timeline"), title: { zh: "\u65F6\u95F4\u7EBF", en: "Timeline" }, component: TimelineView },
15176
13931
  { id: "workspace", icon: tabIcon("folder"), title: { zh: "\u5DE5\u4F5C\u533A", en: "Workspaces" }, component: workspaceView.WorkspaceView },
15177
13932
  { id: "config", icon: tabIcon("settings"), title: { zh: "\u914D\u7F6E", en: "Config" }, component: configView.ConfigView },
15178
- { id: "data", icon: tabIcon("database"), title: { zh: "\u6570\u636E", en: "Data" }, component: dataView.DataView },
15179
- { id: "commands", icon: tabIcon("terminal"), title: { zh: "\u547D\u4EE4", en: "Commands" }, component: commandsView.CommandsView },
15180
13933
  { id: "actions", icon: tabIcon("code-2"), title: { zh: "Action", en: "Actions" }, component: actionSchemaView.ActionSchemaView }
15181
13934
  ]
15182
13935
  });