tui-components 0.0.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/box.cjs +25 -0
  2. package/dist/box.cjs.map +1 -0
  3. package/dist/box.d.cts +12 -0
  4. package/dist/box.d.ts +12 -0
  5. package/dist/box.js +3 -0
  6. package/dist/box.js.map +1 -0
  7. package/dist/chart.cjs +25 -0
  8. package/dist/chart.cjs.map +1 -0
  9. package/dist/chart.d.cts +1 -0
  10. package/dist/chart.d.ts +1 -0
  11. package/dist/chart.js +3 -0
  12. package/dist/chart.js.map +1 -0
  13. package/dist/core.cjs +25 -0
  14. package/dist/core.cjs.map +1 -0
  15. package/dist/core.d.cts +1 -0
  16. package/dist/core.d.ts +1 -0
  17. package/dist/core.js +3 -0
  18. package/dist/core.js.map +1 -0
  19. package/dist/diff.cjs +25 -0
  20. package/dist/diff.cjs.map +1 -0
  21. package/dist/diff.d.cts +1 -0
  22. package/dist/diff.d.ts +1 -0
  23. package/dist/diff.js +3 -0
  24. package/dist/diff.js.map +1 -0
  25. package/dist/gauge.cjs +25 -0
  26. package/dist/gauge.cjs.map +1 -0
  27. package/dist/gauge.d.cts +1 -0
  28. package/dist/gauge.d.ts +1 -0
  29. package/dist/gauge.js +3 -0
  30. package/dist/gauge.js.map +1 -0
  31. package/dist/graph.cjs +25 -0
  32. package/dist/graph.cjs.map +1 -0
  33. package/dist/graph.d.cts +1 -0
  34. package/dist/graph.d.ts +1 -0
  35. package/dist/graph.js +3 -0
  36. package/dist/graph.js.map +1 -0
  37. package/dist/index.cjs +131 -0
  38. package/dist/index.cjs.map +1 -0
  39. package/dist/index.d.cts +12 -0
  40. package/dist/index.d.ts +12 -0
  41. package/dist/index.js +75 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/keyvalue.cjs +25 -0
  44. package/dist/keyvalue.cjs.map +1 -0
  45. package/dist/keyvalue.d.cts +1 -0
  46. package/dist/keyvalue.d.ts +1 -0
  47. package/dist/keyvalue.js +3 -0
  48. package/dist/keyvalue.js.map +1 -0
  49. package/dist/list.cjs +25 -0
  50. package/dist/list.cjs.map +1 -0
  51. package/dist/list.d.cts +1 -0
  52. package/dist/list.d.ts +1 -0
  53. package/dist/list.js +3 -0
  54. package/dist/list.js.map +1 -0
  55. package/dist/progress.cjs +25 -0
  56. package/dist/progress.cjs.map +1 -0
  57. package/dist/progress.d.cts +1 -0
  58. package/dist/progress.d.ts +1 -0
  59. package/dist/progress.js +3 -0
  60. package/dist/progress.js.map +1 -0
  61. package/dist/sparkline.cjs +25 -0
  62. package/dist/sparkline.cjs.map +1 -0
  63. package/dist/sparkline.d.cts +1 -0
  64. package/dist/sparkline.d.ts +1 -0
  65. package/dist/sparkline.js +3 -0
  66. package/dist/sparkline.js.map +1 -0
  67. package/dist/table.cjs +25 -0
  68. package/dist/table.cjs.map +1 -0
  69. package/dist/table.d.cts +1 -0
  70. package/dist/table.d.ts +1 -0
  71. package/dist/table.js +3 -0
  72. package/dist/table.js.map +1 -0
  73. package/dist/tree.cjs +25 -0
  74. package/dist/tree.cjs.map +1 -0
  75. package/dist/tree.d.cts +1 -0
  76. package/dist/tree.d.ts +1 -0
  77. package/dist/tree.js +3 -0
  78. package/dist/tree.js.map +1 -0
  79. package/package.json +180 -6
package/dist/box.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/box.ts
18
+ var box_exports = {};
19
+ module.exports = __toCommonJS(box_exports);
20
+ __reExport(box_exports, require("@tuicomponents/box"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/box")
24
+ });
25
+ //# sourceMappingURL=box.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/box.ts"],"sourcesContent":["export * from \"@tuicomponents/box\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,+BAAd;","names":[]}
package/dist/box.d.cts ADDED
@@ -0,0 +1,12 @@
1
+ export * from '@tuicomponents/box';
2
+ import '@tuicomponents/chart';
3
+ import '@tuicomponents/core';
4
+ import '@tuicomponents/diff';
5
+ import '@tuicomponents/gauge';
6
+ import '@tuicomponents/graph';
7
+ import '@tuicomponents/keyvalue';
8
+ import '@tuicomponents/list';
9
+ import '@tuicomponents/progress';
10
+ import '@tuicomponents/sparkline';
11
+ import '@tuicomponents/table';
12
+ import '@tuicomponents/tree';
package/dist/box.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export * from '@tuicomponents/box';
2
+ import '@tuicomponents/chart';
3
+ import '@tuicomponents/core';
4
+ import '@tuicomponents/diff';
5
+ import '@tuicomponents/gauge';
6
+ import '@tuicomponents/graph';
7
+ import '@tuicomponents/keyvalue';
8
+ import '@tuicomponents/list';
9
+ import '@tuicomponents/progress';
10
+ import '@tuicomponents/sparkline';
11
+ import '@tuicomponents/table';
12
+ import '@tuicomponents/tree';
package/dist/box.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/box.ts
2
+ export * from "@tuicomponents/box";
3
+ //# sourceMappingURL=box.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/box.ts"],"sourcesContent":["export * from \"@tuicomponents/box\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/chart.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/chart.ts
18
+ var chart_exports = {};
19
+ module.exports = __toCommonJS(chart_exports);
20
+ __reExport(chart_exports, require("@tuicomponents/chart"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/chart")
24
+ });
25
+ //# sourceMappingURL=chart.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/chart.ts"],"sourcesContent":["/**\n * Chart component re-export for tree-shaking.\n */\nexport * from \"@tuicomponents/chart\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAGA,0BAAc,iCAHd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/chart';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/chart';
package/dist/chart.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/chart.ts
2
+ export * from "@tuicomponents/chart";
3
+ //# sourceMappingURL=chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/chart.ts"],"sourcesContent":["/**\n * Chart component re-export for tree-shaking.\n */\nexport * from \"@tuicomponents/chart\";\n"],"mappings":";AAGA,cAAc;","names":[]}
package/dist/core.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/core.ts
18
+ var core_exports = {};
19
+ module.exports = __toCommonJS(core_exports);
20
+ __reExport(core_exports, require("@tuicomponents/core"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/core")
24
+ });
25
+ //# sourceMappingURL=core.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core.ts"],"sourcesContent":["export * from \"@tuicomponents/core\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,gCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/core';
package/dist/core.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/core';
package/dist/core.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/core.ts
2
+ export * from "@tuicomponents/core";
3
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core.ts"],"sourcesContent":["export * from \"@tuicomponents/core\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/diff.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/diff.ts
18
+ var diff_exports = {};
19
+ module.exports = __toCommonJS(diff_exports);
20
+ __reExport(diff_exports, require("@tuicomponents/diff"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/diff")
24
+ });
25
+ //# sourceMappingURL=diff.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/diff.ts"],"sourcesContent":["export * from \"@tuicomponents/diff\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,gCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/diff';
package/dist/diff.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/diff';
package/dist/diff.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/diff.ts
2
+ export * from "@tuicomponents/diff";
3
+ //# sourceMappingURL=diff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/diff.ts"],"sourcesContent":["export * from \"@tuicomponents/diff\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/gauge.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/gauge.ts
18
+ var gauge_exports = {};
19
+ module.exports = __toCommonJS(gauge_exports);
20
+ __reExport(gauge_exports, require("@tuicomponents/gauge"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/gauge")
24
+ });
25
+ //# sourceMappingURL=gauge.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/gauge.ts"],"sourcesContent":["export * from \"@tuicomponents/gauge\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,iCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/gauge';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/gauge';
package/dist/gauge.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/gauge.ts
2
+ export * from "@tuicomponents/gauge";
3
+ //# sourceMappingURL=gauge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/gauge.ts"],"sourcesContent":["export * from \"@tuicomponents/gauge\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/graph.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/graph.ts
18
+ var graph_exports = {};
19
+ module.exports = __toCommonJS(graph_exports);
20
+ __reExport(graph_exports, require("@tuicomponents/graph"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/graph")
24
+ });
25
+ //# sourceMappingURL=graph.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/graph.ts"],"sourcesContent":["export * from \"@tuicomponents/graph\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,iCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/graph';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/graph';
package/dist/graph.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/graph.ts
2
+ export * from "@tuicomponents/graph";
3
+ //# sourceMappingURL=graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/graph.ts"],"sourcesContent":["export * from \"@tuicomponents/graph\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/index.cjs ADDED
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ BaseTuiComponent: () => import_core.BaseTuiComponent,
24
+ BoxComponent: () => import_box.BoxComponent,
25
+ ChartComponent: () => import_chart.ChartComponent,
26
+ DiffComponent: () => import_diff.DiffComponent,
27
+ GaugeComponent: () => import_gauge.GaugeComponent,
28
+ GraphComponent: () => import_graph.GraphComponent,
29
+ KeyValueComponent: () => import_keyvalue.KeyValueComponent,
30
+ ListComponent: () => import_list.ListComponent,
31
+ ProgressComponent: () => import_progress.ProgressComponent,
32
+ SparklineComponent: () => import_sparkline.SparklineComponent,
33
+ TableComponent: () => import_table.TableComponent,
34
+ TreeComponent: () => import_tree.TreeComponent,
35
+ boxInputSchema: () => import_box2.boxInputSchema,
36
+ chartInputSchema: () => import_chart2.chartInputSchema,
37
+ createBox: () => import_box.createBox,
38
+ createChart: () => import_chart.createChart,
39
+ createDiff: () => import_diff.createDiff,
40
+ createGauge: () => import_gauge.createGauge,
41
+ createGraph: () => import_graph.createGraph,
42
+ createKeyValue: () => import_keyvalue.createKeyValue,
43
+ createList: () => import_list.createList,
44
+ createProgress: () => import_progress.createProgress,
45
+ createSparkline: () => import_sparkline.createSparkline,
46
+ createTable: () => import_table.createTable,
47
+ createTree: () => import_tree.createTree,
48
+ diffInputSchema: () => import_diff2.diffInputSchema,
49
+ gaugeInputSchema: () => import_gauge2.gaugeInputSchema,
50
+ getStringWidth: () => import_core.getStringWidth,
51
+ graphInputSchema: () => import_graph2.graphInputSchema,
52
+ keyValueInputSchema: () => import_keyvalue2.keyValueInputSchema,
53
+ listInputSchema: () => import_list2.listInputSchema,
54
+ measureLines: () => import_core.measureLines,
55
+ padToWidth: () => import_core.padToWidth,
56
+ progressInputSchema: () => import_progress2.progressInputSchema,
57
+ registry: () => import_core.registry,
58
+ sparklineInputSchema: () => import_sparkline2.sparklineInputSchema,
59
+ tableInputSchema: () => import_table2.tableInputSchema,
60
+ treeInputSchema: () => import_tree2.treeInputSchema,
61
+ truncateToWidth: () => import_core.truncateToWidth,
62
+ wrapText: () => import_core.wrapText
63
+ });
64
+ module.exports = __toCommonJS(index_exports);
65
+ var import_box = require("@tuicomponents/box");
66
+ var import_chart = require("@tuicomponents/chart");
67
+ var import_diff = require("@tuicomponents/diff");
68
+ var import_gauge = require("@tuicomponents/gauge");
69
+ var import_graph = require("@tuicomponents/graph");
70
+ var import_keyvalue = require("@tuicomponents/keyvalue");
71
+ var import_list = require("@tuicomponents/list");
72
+ var import_progress = require("@tuicomponents/progress");
73
+ var import_sparkline = require("@tuicomponents/sparkline");
74
+ var import_table = require("@tuicomponents/table");
75
+ var import_tree = require("@tuicomponents/tree");
76
+ var import_core = require("@tuicomponents/core");
77
+ var import_box2 = require("@tuicomponents/box");
78
+ var import_chart2 = require("@tuicomponents/chart");
79
+ var import_diff2 = require("@tuicomponents/diff");
80
+ var import_gauge2 = require("@tuicomponents/gauge");
81
+ var import_graph2 = require("@tuicomponents/graph");
82
+ var import_keyvalue2 = require("@tuicomponents/keyvalue");
83
+ var import_list2 = require("@tuicomponents/list");
84
+ var import_progress2 = require("@tuicomponents/progress");
85
+ var import_sparkline2 = require("@tuicomponents/sparkline");
86
+ var import_table2 = require("@tuicomponents/table");
87
+ var import_tree2 = require("@tuicomponents/tree");
88
+ // Annotate the CommonJS export names for ESM import in node:
89
+ 0 && (module.exports = {
90
+ BaseTuiComponent,
91
+ BoxComponent,
92
+ ChartComponent,
93
+ DiffComponent,
94
+ GaugeComponent,
95
+ GraphComponent,
96
+ KeyValueComponent,
97
+ ListComponent,
98
+ ProgressComponent,
99
+ SparklineComponent,
100
+ TableComponent,
101
+ TreeComponent,
102
+ boxInputSchema,
103
+ chartInputSchema,
104
+ createBox,
105
+ createChart,
106
+ createDiff,
107
+ createGauge,
108
+ createGraph,
109
+ createKeyValue,
110
+ createList,
111
+ createProgress,
112
+ createSparkline,
113
+ createTable,
114
+ createTree,
115
+ diffInputSchema,
116
+ gaugeInputSchema,
117
+ getStringWidth,
118
+ graphInputSchema,
119
+ keyValueInputSchema,
120
+ listInputSchema,
121
+ measureLines,
122
+ padToWidth,
123
+ progressInputSchema,
124
+ registry,
125
+ sparklineInputSchema,
126
+ tableInputSchema,
127
+ treeInputSchema,
128
+ truncateToWidth,
129
+ wrapText
130
+ });
131
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * TUI Components - Terminal UI components for beautiful CLI output\n *\n * This umbrella package re-exports all TUI components for convenience.\n * You can also import individual packages for smaller bundle sizes:\n *\n * @example\n * // Import everything\n * import { createTable, createBox } from 'tui-components';\n *\n * // Or import specific packages\n * import { createTable } from 'tui-components/table';\n * import { createBox } from 'tui-components/box';\n */\n\n// Re-export component factory functions (no conflicts)\nexport { createBox, BoxComponent } from \"@tuicomponents/box\";\nexport { createChart, ChartComponent } from \"@tuicomponents/chart\";\nexport { createDiff, DiffComponent } from \"@tuicomponents/diff\";\nexport { createGauge, GaugeComponent } from \"@tuicomponents/gauge\";\nexport { createGraph, GraphComponent } from \"@tuicomponents/graph\";\nexport { createKeyValue, KeyValueComponent } from \"@tuicomponents/keyvalue\";\nexport { createList, ListComponent } from \"@tuicomponents/list\";\nexport { createProgress, ProgressComponent } from \"@tuicomponents/progress\";\nexport { createSparkline, SparklineComponent } from \"@tuicomponents/sparkline\";\nexport { createTable, TableComponent } from \"@tuicomponents/table\";\nexport { createTree, TreeComponent } from \"@tuicomponents/tree\";\n\n// Re-export core utilities\nexport {\n registry,\n BaseTuiComponent,\n getStringWidth,\n padToWidth,\n truncateToWidth,\n wrapText,\n measureLines,\n} from \"@tuicomponents/core\";\n\n// Re-export core types\nexport type {\n TuiComponent,\n ComponentMetadata,\n RenderContext,\n RenderResult,\n} from \"@tuicomponents/core\";\n\n// Re-export input types with namespacing to avoid conflicts\nexport type { BoxInput, Padding } from \"@tuicomponents/box\";\nexport type {\n ChartInput,\n ChartType,\n DataPoint,\n DataSeries,\n AxisConfig,\n BarStyle,\n LineStyle,\n} from \"@tuicomponents/chart\";\nexport type { DiffInput, DiffLine, Hunk, LineType } from \"@tuicomponents/diff\";\nexport type {\n GaugeInput,\n GaugeZone,\n GaugeZoneColor,\n GaugeStyle,\n} from \"@tuicomponents/gauge\";\nexport type { GraphInput, GraphNode, GraphStyle } from \"@tuicomponents/graph\";\nexport type { KeyValueInput, KeyValuePair } from \"@tuicomponents/keyvalue\";\nexport type { ListInput, ListItem, ListStyle } from \"@tuicomponents/list\";\nexport type { ProgressInput, ProgressStyle } from \"@tuicomponents/progress\";\nexport type { SparklineInput } from \"@tuicomponents/sparkline\";\nexport type { TableInput, Column } from \"@tuicomponents/table\";\nexport type { TreeInput, TreeNode, TreeStyle } from \"@tuicomponents/tree\";\n\n// Re-export schemas for validation\nexport { boxInputSchema } from \"@tuicomponents/box\";\nexport { chartInputSchema } from \"@tuicomponents/chart\";\nexport { diffInputSchema } from \"@tuicomponents/diff\";\nexport { gaugeInputSchema } from \"@tuicomponents/gauge\";\nexport { graphInputSchema } from \"@tuicomponents/graph\";\nexport { keyValueInputSchema } from \"@tuicomponents/keyvalue\";\nexport { listInputSchema } from \"@tuicomponents/list\";\nexport { progressInputSchema } from \"@tuicomponents/progress\";\nexport { sparklineInputSchema } from \"@tuicomponents/sparkline\";\nexport { tableInputSchema } from \"@tuicomponents/table\";\nexport { treeInputSchema } from \"@tuicomponents/tree\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,iBAAwC;AACxC,mBAA4C;AAC5C,kBAA0C;AAC1C,mBAA4C;AAC5C,mBAA4C;AAC5C,sBAAkD;AAClD,kBAA0C;AAC1C,sBAAkD;AAClD,uBAAoD;AACpD,mBAA4C;AAC5C,kBAA0C;AAG1C,kBAQO;AAqCP,IAAAA,cAA+B;AAC/B,IAAAC,gBAAiC;AACjC,IAAAC,eAAgC;AAChC,IAAAC,gBAAiC;AACjC,IAAAC,gBAAiC;AACjC,IAAAC,mBAAoC;AACpC,IAAAC,eAAgC;AAChC,IAAAC,mBAAoC;AACpC,IAAAC,oBAAqC;AACrC,IAAAC,gBAAiC;AACjC,IAAAC,eAAgC;","names":["import_box","import_chart","import_diff","import_gauge","import_graph","import_keyvalue","import_list","import_progress","import_sparkline","import_table","import_tree"]}
@@ -0,0 +1,12 @@
1
+ export { BoxComponent, BoxInput, Padding, boxInputSchema, createBox } from '@tuicomponents/box';
2
+ export { AxisConfig, BarStyle, ChartComponent, ChartInput, ChartType, DataPoint, DataSeries, LineStyle, chartInputSchema, createChart } from '@tuicomponents/chart';
3
+ export { DiffComponent, DiffInput, DiffLine, Hunk, LineType, createDiff, diffInputSchema } from '@tuicomponents/diff';
4
+ export { GaugeComponent, GaugeInput, GaugeStyle, GaugeZone, GaugeZoneColor, createGauge, gaugeInputSchema } from '@tuicomponents/gauge';
5
+ export { GraphComponent, GraphInput, GraphNode, GraphStyle, createGraph, graphInputSchema } from '@tuicomponents/graph';
6
+ export { KeyValueComponent, KeyValueInput, KeyValuePair, createKeyValue, keyValueInputSchema } from '@tuicomponents/keyvalue';
7
+ export { ListComponent, ListInput, ListItem, ListStyle, createList, listInputSchema } from '@tuicomponents/list';
8
+ export { ProgressComponent, ProgressInput, ProgressStyle, createProgress, progressInputSchema } from '@tuicomponents/progress';
9
+ export { SparklineComponent, SparklineInput, createSparkline, sparklineInputSchema } from '@tuicomponents/sparkline';
10
+ export { Column, TableComponent, TableInput, createTable, tableInputSchema } from '@tuicomponents/table';
11
+ export { TreeComponent, TreeInput, TreeNode, TreeStyle, createTree, treeInputSchema } from '@tuicomponents/tree';
12
+ export { BaseTuiComponent, ComponentMetadata, RenderContext, RenderResult, TuiComponent, getStringWidth, measureLines, padToWidth, registry, truncateToWidth, wrapText } from '@tuicomponents/core';
@@ -0,0 +1,12 @@
1
+ export { BoxComponent, BoxInput, Padding, boxInputSchema, createBox } from '@tuicomponents/box';
2
+ export { AxisConfig, BarStyle, ChartComponent, ChartInput, ChartType, DataPoint, DataSeries, LineStyle, chartInputSchema, createChart } from '@tuicomponents/chart';
3
+ export { DiffComponent, DiffInput, DiffLine, Hunk, LineType, createDiff, diffInputSchema } from '@tuicomponents/diff';
4
+ export { GaugeComponent, GaugeInput, GaugeStyle, GaugeZone, GaugeZoneColor, createGauge, gaugeInputSchema } from '@tuicomponents/gauge';
5
+ export { GraphComponent, GraphInput, GraphNode, GraphStyle, createGraph, graphInputSchema } from '@tuicomponents/graph';
6
+ export { KeyValueComponent, KeyValueInput, KeyValuePair, createKeyValue, keyValueInputSchema } from '@tuicomponents/keyvalue';
7
+ export { ListComponent, ListInput, ListItem, ListStyle, createList, listInputSchema } from '@tuicomponents/list';
8
+ export { ProgressComponent, ProgressInput, ProgressStyle, createProgress, progressInputSchema } from '@tuicomponents/progress';
9
+ export { SparklineComponent, SparklineInput, createSparkline, sparklineInputSchema } from '@tuicomponents/sparkline';
10
+ export { Column, TableComponent, TableInput, createTable, tableInputSchema } from '@tuicomponents/table';
11
+ export { TreeComponent, TreeInput, TreeNode, TreeStyle, createTree, treeInputSchema } from '@tuicomponents/tree';
12
+ export { BaseTuiComponent, ComponentMetadata, RenderContext, RenderResult, TuiComponent, getStringWidth, measureLines, padToWidth, registry, truncateToWidth, wrapText } from '@tuicomponents/core';
package/dist/index.js ADDED
@@ -0,0 +1,75 @@
1
+ // src/index.ts
2
+ import { createBox, BoxComponent } from "@tuicomponents/box";
3
+ import { createChart, ChartComponent } from "@tuicomponents/chart";
4
+ import { createDiff, DiffComponent } from "@tuicomponents/diff";
5
+ import { createGauge, GaugeComponent } from "@tuicomponents/gauge";
6
+ import { createGraph, GraphComponent } from "@tuicomponents/graph";
7
+ import { createKeyValue, KeyValueComponent } from "@tuicomponents/keyvalue";
8
+ import { createList, ListComponent } from "@tuicomponents/list";
9
+ import { createProgress, ProgressComponent } from "@tuicomponents/progress";
10
+ import { createSparkline, SparklineComponent } from "@tuicomponents/sparkline";
11
+ import { createTable, TableComponent } from "@tuicomponents/table";
12
+ import { createTree, TreeComponent } from "@tuicomponents/tree";
13
+ import {
14
+ registry,
15
+ BaseTuiComponent,
16
+ getStringWidth,
17
+ padToWidth,
18
+ truncateToWidth,
19
+ wrapText,
20
+ measureLines
21
+ } from "@tuicomponents/core";
22
+ import { boxInputSchema } from "@tuicomponents/box";
23
+ import { chartInputSchema } from "@tuicomponents/chart";
24
+ import { diffInputSchema } from "@tuicomponents/diff";
25
+ import { gaugeInputSchema } from "@tuicomponents/gauge";
26
+ import { graphInputSchema } from "@tuicomponents/graph";
27
+ import { keyValueInputSchema } from "@tuicomponents/keyvalue";
28
+ import { listInputSchema } from "@tuicomponents/list";
29
+ import { progressInputSchema } from "@tuicomponents/progress";
30
+ import { sparklineInputSchema } from "@tuicomponents/sparkline";
31
+ import { tableInputSchema } from "@tuicomponents/table";
32
+ import { treeInputSchema } from "@tuicomponents/tree";
33
+ export {
34
+ BaseTuiComponent,
35
+ BoxComponent,
36
+ ChartComponent,
37
+ DiffComponent,
38
+ GaugeComponent,
39
+ GraphComponent,
40
+ KeyValueComponent,
41
+ ListComponent,
42
+ ProgressComponent,
43
+ SparklineComponent,
44
+ TableComponent,
45
+ TreeComponent,
46
+ boxInputSchema,
47
+ chartInputSchema,
48
+ createBox,
49
+ createChart,
50
+ createDiff,
51
+ createGauge,
52
+ createGraph,
53
+ createKeyValue,
54
+ createList,
55
+ createProgress,
56
+ createSparkline,
57
+ createTable,
58
+ createTree,
59
+ diffInputSchema,
60
+ gaugeInputSchema,
61
+ getStringWidth,
62
+ graphInputSchema,
63
+ keyValueInputSchema,
64
+ listInputSchema,
65
+ measureLines,
66
+ padToWidth,
67
+ progressInputSchema,
68
+ registry,
69
+ sparklineInputSchema,
70
+ tableInputSchema,
71
+ treeInputSchema,
72
+ truncateToWidth,
73
+ wrapText
74
+ };
75
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * TUI Components - Terminal UI components for beautiful CLI output\n *\n * This umbrella package re-exports all TUI components for convenience.\n * You can also import individual packages for smaller bundle sizes:\n *\n * @example\n * // Import everything\n * import { createTable, createBox } from 'tui-components';\n *\n * // Or import specific packages\n * import { createTable } from 'tui-components/table';\n * import { createBox } from 'tui-components/box';\n */\n\n// Re-export component factory functions (no conflicts)\nexport { createBox, BoxComponent } from \"@tuicomponents/box\";\nexport { createChart, ChartComponent } from \"@tuicomponents/chart\";\nexport { createDiff, DiffComponent } from \"@tuicomponents/diff\";\nexport { createGauge, GaugeComponent } from \"@tuicomponents/gauge\";\nexport { createGraph, GraphComponent } from \"@tuicomponents/graph\";\nexport { createKeyValue, KeyValueComponent } from \"@tuicomponents/keyvalue\";\nexport { createList, ListComponent } from \"@tuicomponents/list\";\nexport { createProgress, ProgressComponent } from \"@tuicomponents/progress\";\nexport { createSparkline, SparklineComponent } from \"@tuicomponents/sparkline\";\nexport { createTable, TableComponent } from \"@tuicomponents/table\";\nexport { createTree, TreeComponent } from \"@tuicomponents/tree\";\n\n// Re-export core utilities\nexport {\n registry,\n BaseTuiComponent,\n getStringWidth,\n padToWidth,\n truncateToWidth,\n wrapText,\n measureLines,\n} from \"@tuicomponents/core\";\n\n// Re-export core types\nexport type {\n TuiComponent,\n ComponentMetadata,\n RenderContext,\n RenderResult,\n} from \"@tuicomponents/core\";\n\n// Re-export input types with namespacing to avoid conflicts\nexport type { BoxInput, Padding } from \"@tuicomponents/box\";\nexport type {\n ChartInput,\n ChartType,\n DataPoint,\n DataSeries,\n AxisConfig,\n BarStyle,\n LineStyle,\n} from \"@tuicomponents/chart\";\nexport type { DiffInput, DiffLine, Hunk, LineType } from \"@tuicomponents/diff\";\nexport type {\n GaugeInput,\n GaugeZone,\n GaugeZoneColor,\n GaugeStyle,\n} from \"@tuicomponents/gauge\";\nexport type { GraphInput, GraphNode, GraphStyle } from \"@tuicomponents/graph\";\nexport type { KeyValueInput, KeyValuePair } from \"@tuicomponents/keyvalue\";\nexport type { ListInput, ListItem, ListStyle } from \"@tuicomponents/list\";\nexport type { ProgressInput, ProgressStyle } from \"@tuicomponents/progress\";\nexport type { SparklineInput } from \"@tuicomponents/sparkline\";\nexport type { TableInput, Column } from \"@tuicomponents/table\";\nexport type { TreeInput, TreeNode, TreeStyle } from \"@tuicomponents/tree\";\n\n// Re-export schemas for validation\nexport { boxInputSchema } from \"@tuicomponents/box\";\nexport { chartInputSchema } from \"@tuicomponents/chart\";\nexport { diffInputSchema } from \"@tuicomponents/diff\";\nexport { gaugeInputSchema } from \"@tuicomponents/gauge\";\nexport { graphInputSchema } from \"@tuicomponents/graph\";\nexport { keyValueInputSchema } from \"@tuicomponents/keyvalue\";\nexport { listInputSchema } from \"@tuicomponents/list\";\nexport { progressInputSchema } from \"@tuicomponents/progress\";\nexport { sparklineInputSchema } from \"@tuicomponents/sparkline\";\nexport { tableInputSchema } from \"@tuicomponents/table\";\nexport { treeInputSchema } from \"@tuicomponents/tree\";\n"],"mappings":";AAgBA,SAAS,WAAW,oBAAoB;AACxC,SAAS,aAAa,sBAAsB;AAC5C,SAAS,YAAY,qBAAqB;AAC1C,SAAS,aAAa,sBAAsB;AAC5C,SAAS,aAAa,sBAAsB;AAC5C,SAAS,gBAAgB,yBAAyB;AAClD,SAAS,YAAY,qBAAqB;AAC1C,SAAS,gBAAgB,yBAAyB;AAClD,SAAS,iBAAiB,0BAA0B;AACpD,SAAS,aAAa,sBAAsB;AAC5C,SAAS,YAAY,qBAAqB;AAG1C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAqCP,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,4BAA4B;AACrC,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;","names":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/keyvalue.ts
18
+ var keyvalue_exports = {};
19
+ module.exports = __toCommonJS(keyvalue_exports);
20
+ __reExport(keyvalue_exports, require("@tuicomponents/keyvalue"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/keyvalue")
24
+ });
25
+ //# sourceMappingURL=keyvalue.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/keyvalue.ts"],"sourcesContent":["export * from \"@tuicomponents/keyvalue\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,oCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/keyvalue';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/keyvalue';
@@ -0,0 +1,3 @@
1
+ // src/keyvalue.ts
2
+ export * from "@tuicomponents/keyvalue";
3
+ //# sourceMappingURL=keyvalue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/keyvalue.ts"],"sourcesContent":["export * from \"@tuicomponents/keyvalue\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/list.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/list.ts
18
+ var list_exports = {};
19
+ module.exports = __toCommonJS(list_exports);
20
+ __reExport(list_exports, require("@tuicomponents/list"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/list")
24
+ });
25
+ //# sourceMappingURL=list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/list.ts"],"sourcesContent":["export * from \"@tuicomponents/list\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,gCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/list';
package/dist/list.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/list';
package/dist/list.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/list.ts
2
+ export * from "@tuicomponents/list";
3
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/list.ts"],"sourcesContent":["export * from \"@tuicomponents/list\";\n"],"mappings":";AAAA,cAAc;","names":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/progress.ts
18
+ var progress_exports = {};
19
+ module.exports = __toCommonJS(progress_exports);
20
+ __reExport(progress_exports, require("@tuicomponents/progress"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/progress")
24
+ });
25
+ //# sourceMappingURL=progress.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/progress.ts"],"sourcesContent":["export * from \"@tuicomponents/progress\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,oCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/progress';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/progress';
@@ -0,0 +1,3 @@
1
+ // src/progress.ts
2
+ export * from "@tuicomponents/progress";
3
+ //# sourceMappingURL=progress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/progress.ts"],"sourcesContent":["export * from \"@tuicomponents/progress\";\n"],"mappings":";AAAA,cAAc;","names":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/sparkline.ts
18
+ var sparkline_exports = {};
19
+ module.exports = __toCommonJS(sparkline_exports);
20
+ __reExport(sparkline_exports, require("@tuicomponents/sparkline"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/sparkline")
24
+ });
25
+ //# sourceMappingURL=sparkline.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sparkline.ts"],"sourcesContent":["/**\n * Sparkline component re-export.\n * Import directly from '@tuicomponents/sparkline' for smaller bundle size.\n */\nexport * from \"@tuicomponents/sparkline\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAIA,8BAAc,qCAJd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/sparkline';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/sparkline';
@@ -0,0 +1,3 @@
1
+ // src/sparkline.ts
2
+ export * from "@tuicomponents/sparkline";
3
+ //# sourceMappingURL=sparkline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sparkline.ts"],"sourcesContent":["/**\n * Sparkline component re-export.\n * Import directly from '@tuicomponents/sparkline' for smaller bundle size.\n */\nexport * from \"@tuicomponents/sparkline\";\n"],"mappings":";AAIA,cAAc;","names":[]}
package/dist/table.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/table.ts
18
+ var table_exports = {};
19
+ module.exports = __toCommonJS(table_exports);
20
+ __reExport(table_exports, require("@tuicomponents/table"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/table")
24
+ });
25
+ //# sourceMappingURL=table.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/table.ts"],"sourcesContent":["export * from \"@tuicomponents/table\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,iCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/table';
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/table';
package/dist/table.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/table.ts
2
+ export * from "@tuicomponents/table";
3
+ //# sourceMappingURL=table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/table.ts"],"sourcesContent":["export * from \"@tuicomponents/table\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/dist/tree.cjs ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/tree.ts
18
+ var tree_exports = {};
19
+ module.exports = __toCommonJS(tree_exports);
20
+ __reExport(tree_exports, require("@tuicomponents/tree"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@tuicomponents/tree")
24
+ });
25
+ //# sourceMappingURL=tree.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tree.ts"],"sourcesContent":["export * from \"@tuicomponents/tree\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,gCAAd;","names":[]}
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/tree';
package/dist/tree.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@tuicomponents/tree';
package/dist/tree.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/tree.ts
2
+ export * from "@tuicomponents/tree";
3
+ //# sourceMappingURL=tree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tree.ts"],"sourcesContent":["export * from \"@tuicomponents/tree\";\n"],"mappings":";AAAA,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,12 +1,186 @@
1
1
  {
2
2
  "name": "tui-components",
3
- "version": "0.0.0",
4
- "description": "A library of UI components for text user interfaces (TUIs)",
5
- "main": "dist/index.js",
6
- "keywords": [],
7
- "author": "",
3
+ "version": "0.1.2",
4
+ "description": "Terminal UI components for beautiful CLI output",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./chart": {
21
+ "import": {
22
+ "types": "./dist/chart.d.ts",
23
+ "default": "./dist/chart.js"
24
+ },
25
+ "require": {
26
+ "types": "./dist/chart.d.cts",
27
+ "default": "./dist/chart.cjs"
28
+ }
29
+ },
30
+ "./box": {
31
+ "import": {
32
+ "types": "./dist/box.d.ts",
33
+ "default": "./dist/box.js"
34
+ },
35
+ "require": {
36
+ "types": "./dist/box.d.cts",
37
+ "default": "./dist/box.cjs"
38
+ }
39
+ },
40
+ "./diff": {
41
+ "import": {
42
+ "types": "./dist/diff.d.ts",
43
+ "default": "./dist/diff.js"
44
+ },
45
+ "require": {
46
+ "types": "./dist/diff.d.cts",
47
+ "default": "./dist/diff.cjs"
48
+ }
49
+ },
50
+ "./graph": {
51
+ "import": {
52
+ "types": "./dist/graph.d.ts",
53
+ "default": "./dist/graph.js"
54
+ },
55
+ "require": {
56
+ "types": "./dist/graph.d.cts",
57
+ "default": "./dist/graph.cjs"
58
+ }
59
+ },
60
+ "./keyvalue": {
61
+ "import": {
62
+ "types": "./dist/keyvalue.d.ts",
63
+ "default": "./dist/keyvalue.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/keyvalue.d.cts",
67
+ "default": "./dist/keyvalue.cjs"
68
+ }
69
+ },
70
+ "./list": {
71
+ "import": {
72
+ "types": "./dist/list.d.ts",
73
+ "default": "./dist/list.js"
74
+ },
75
+ "require": {
76
+ "types": "./dist/list.d.cts",
77
+ "default": "./dist/list.cjs"
78
+ }
79
+ },
80
+ "./table": {
81
+ "import": {
82
+ "types": "./dist/table.d.ts",
83
+ "default": "./dist/table.js"
84
+ },
85
+ "require": {
86
+ "types": "./dist/table.d.cts",
87
+ "default": "./dist/table.cjs"
88
+ }
89
+ },
90
+ "./tree": {
91
+ "import": {
92
+ "types": "./dist/tree.d.ts",
93
+ "default": "./dist/tree.js"
94
+ },
95
+ "require": {
96
+ "types": "./dist/tree.d.cts",
97
+ "default": "./dist/tree.cjs"
98
+ }
99
+ },
100
+ "./sparkline": {
101
+ "import": {
102
+ "types": "./dist/sparkline.d.ts",
103
+ "default": "./dist/sparkline.js"
104
+ },
105
+ "require": {
106
+ "types": "./dist/sparkline.d.cts",
107
+ "default": "./dist/sparkline.cjs"
108
+ }
109
+ },
110
+ "./progress": {
111
+ "import": {
112
+ "types": "./dist/progress.d.ts",
113
+ "default": "./dist/progress.js"
114
+ },
115
+ "require": {
116
+ "types": "./dist/progress.d.cts",
117
+ "default": "./dist/progress.cjs"
118
+ }
119
+ },
120
+ "./gauge": {
121
+ "import": {
122
+ "types": "./dist/gauge.d.ts",
123
+ "default": "./dist/gauge.js"
124
+ },
125
+ "require": {
126
+ "types": "./dist/gauge.d.cts",
127
+ "default": "./dist/gauge.cjs"
128
+ }
129
+ },
130
+ "./core": {
131
+ "import": {
132
+ "types": "./dist/core.d.ts",
133
+ "default": "./dist/core.js"
134
+ },
135
+ "require": {
136
+ "types": "./dist/core.d.cts",
137
+ "default": "./dist/core.cjs"
138
+ }
139
+ }
140
+ },
141
+ "files": [
142
+ "dist"
143
+ ],
144
+ "keywords": [
145
+ "tui",
146
+ "terminal",
147
+ "cli",
148
+ "table",
149
+ "tree",
150
+ "box",
151
+ "list",
152
+ "diff",
153
+ "chart",
154
+ "graph",
155
+ "keyvalue",
156
+ "sparkline",
157
+ "progress",
158
+ "gauge"
159
+ ],
8
160
  "license": "UNLICENSED",
161
+ "devDependencies": {
162
+ "@types/node": "^22.0.0"
163
+ },
164
+ "dependencies": {
165
+ "@tuicomponents/core": "0.1.2",
166
+ "@tuicomponents/box": "0.1.2",
167
+ "@tuicomponents/diff": "0.2.0",
168
+ "@tuicomponents/gauge": "0.1.2",
169
+ "@tuicomponents/chart": "0.2.1",
170
+ "@tuicomponents/graph": "0.1.2",
171
+ "@tuicomponents/keyvalue": "0.1.2",
172
+ "@tuicomponents/list": "0.1.2",
173
+ "@tuicomponents/progress": "0.1.2",
174
+ "@tuicomponents/sparkline": "0.1.2",
175
+ "@tuicomponents/table": "0.1.2",
176
+ "@tuicomponents/tree": "0.1.2"
177
+ },
9
178
  "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1"
179
+ "build": "tsup",
180
+ "typecheck": "tsc --noEmit",
181
+ "lint": "eslint src",
182
+ "api-report": "api-extractor run",
183
+ "api-report:update": "api-extractor run --local",
184
+ "clean": "rm -rf dist"
11
185
  }
12
186
  }