@reliverse/rempts-core 1.6.1

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 (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +102 -0
  3. package/bin/core-impl/anykey/anykey-mod.d.ts +12 -0
  4. package/bin/core-impl/anykey/anykey-mod.js +125 -0
  5. package/bin/core-impl/date/date.d.ts +2 -0
  6. package/bin/core-impl/date/date.js +236 -0
  7. package/bin/core-impl/editor/editor-mod.d.ts +25 -0
  8. package/bin/core-impl/editor/editor-mod.js +896 -0
  9. package/bin/core-impl/figures/figures-mod.d.ts +233 -0
  10. package/bin/core-impl/figures/figures-mod.js +286 -0
  11. package/bin/core-impl/figures/figures.test.d.ts +1 -0
  12. package/bin/core-impl/figures/figures.test.js +474 -0
  13. package/bin/core-impl/input/confirm-prompt.d.ts +5 -0
  14. package/bin/core-impl/input/confirm-prompt.js +173 -0
  15. package/bin/core-impl/input/input-prompt.d.ts +16 -0
  16. package/bin/core-impl/input/input-prompt.js +370 -0
  17. package/bin/core-impl/launcher/_parser.d.ts +2 -0
  18. package/bin/core-impl/launcher/_parser.js +122 -0
  19. package/bin/core-impl/launcher/_utils.d.ts +8 -0
  20. package/bin/core-impl/launcher/_utils.js +29 -0
  21. package/bin/core-impl/launcher/args.d.ts +3 -0
  22. package/bin/core-impl/launcher/args.js +89 -0
  23. package/bin/core-impl/launcher/command.d.ts +8 -0
  24. package/bin/core-impl/launcher/command.js +68 -0
  25. package/bin/core-impl/launcher/launcher-mod.d.ts +8 -0
  26. package/bin/core-impl/launcher/launcher-mod.js +34 -0
  27. package/bin/core-impl/launcher/usage.d.ts +3 -0
  28. package/bin/core-impl/launcher/usage.js +104 -0
  29. package/bin/core-impl/msg-fmt/colors.d.ts +30 -0
  30. package/bin/core-impl/msg-fmt/colors.js +42 -0
  31. package/bin/core-impl/msg-fmt/logger.d.ts +17 -0
  32. package/bin/core-impl/msg-fmt/logger.js +106 -0
  33. package/bin/core-impl/msg-fmt/mapping.d.ts +3 -0
  34. package/bin/core-impl/msg-fmt/mapping.js +49 -0
  35. package/bin/core-impl/msg-fmt/messages.d.ts +35 -0
  36. package/bin/core-impl/msg-fmt/messages.js +314 -0
  37. package/bin/core-impl/msg-fmt/terminal.d.ts +15 -0
  38. package/bin/core-impl/msg-fmt/terminal.js +59 -0
  39. package/bin/core-impl/msg-fmt/variants.d.ts +11 -0
  40. package/bin/core-impl/msg-fmt/variants.js +52 -0
  41. package/bin/core-impl/next-steps/next-steps.d.ts +14 -0
  42. package/bin/core-impl/next-steps/next-steps.js +24 -0
  43. package/bin/core-impl/number/number-mod.d.ts +28 -0
  44. package/bin/core-impl/number/number-mod.js +197 -0
  45. package/bin/core-impl/results/results.d.ts +7 -0
  46. package/bin/core-impl/results/results.js +27 -0
  47. package/bin/core-impl/select/multiselect-prompt.d.ts +2 -0
  48. package/bin/core-impl/select/multiselect-prompt.js +341 -0
  49. package/bin/core-impl/select/nummultiselect-prompt.d.ts +6 -0
  50. package/bin/core-impl/select/nummultiselect-prompt.js +105 -0
  51. package/bin/core-impl/select/numselect-prompt.d.ts +7 -0
  52. package/bin/core-impl/select/numselect-prompt.js +115 -0
  53. package/bin/core-impl/select/select-prompt.d.ts +33 -0
  54. package/bin/core-impl/select/select-prompt.js +302 -0
  55. package/bin/core-impl/select/toggle-prompt.d.ts +5 -0
  56. package/bin/core-impl/select/toggle-prompt.js +208 -0
  57. package/bin/core-impl/st-end/end.d.ts +2 -0
  58. package/bin/core-impl/st-end/end.js +42 -0
  59. package/bin/core-impl/st-end/start.d.ts +17 -0
  60. package/bin/core-impl/st-end/start.js +66 -0
  61. package/bin/core-impl/task/progress.d.ts +2 -0
  62. package/bin/core-impl/task/progress.js +57 -0
  63. package/bin/core-impl/task/spinner.d.ts +15 -0
  64. package/bin/core-impl/task/spinner.js +110 -0
  65. package/bin/core-impl/utils/colorize.d.ts +2 -0
  66. package/bin/core-impl/utils/colorize.js +134 -0
  67. package/bin/core-impl/utils/errors.d.ts +1 -0
  68. package/bin/core-impl/utils/errors.js +15 -0
  69. package/bin/core-impl/utils/prevent.d.ts +10 -0
  70. package/bin/core-impl/utils/prevent.js +69 -0
  71. package/bin/core-impl/utils/prompt-end.d.ts +8 -0
  72. package/bin/core-impl/utils/prompt-end.js +33 -0
  73. package/bin/core-impl/utils/stream-text.d.ts +18 -0
  74. package/bin/core-impl/utils/stream-text.js +136 -0
  75. package/bin/core-impl/utils/system.d.ts +6 -0
  76. package/bin/core-impl/utils/system.js +7 -0
  77. package/bin/core-impl/utils/validate.d.ts +22 -0
  78. package/bin/core-impl/utils/validate.js +17 -0
  79. package/bin/core-impl/visual/animate/animate.d.ts +14 -0
  80. package/bin/core-impl/visual/animate/animate.js +64 -0
  81. package/bin/core-impl/visual/ascii-art/ascii-art.d.ts +6 -0
  82. package/bin/core-impl/visual/ascii-art/ascii-art.js +12 -0
  83. package/bin/core-types.d.ts +434 -0
  84. package/bin/core-types.js +0 -0
  85. package/bin/main.d.ts +41 -0
  86. package/bin/main.js +96 -0
  87. package/package.json +58 -0
@@ -0,0 +1,233 @@
1
+ export declare const mainSymbols: {
2
+ tick: string;
3
+ info: string;
4
+ warning: string;
5
+ cross: string;
6
+ squareSmall: string;
7
+ squareSmallFilled: string;
8
+ circle: string;
9
+ circleFilled: string;
10
+ circleDotted: string;
11
+ circleDouble: string;
12
+ circleCircle: string;
13
+ circleCross: string;
14
+ circlePipe: string;
15
+ radioOn: string;
16
+ radioOff: string;
17
+ checkboxOn: string;
18
+ checkboxOff: string;
19
+ checkboxCircleOn: string;
20
+ checkboxCircleOff: string;
21
+ pointer: string;
22
+ triangleUpOutline: string;
23
+ triangleLeft: string;
24
+ triangleRight: string;
25
+ lozenge: string;
26
+ lozengeOutline: string;
27
+ hamburger: string;
28
+ smiley: string;
29
+ mustache: string;
30
+ star: string;
31
+ play: string;
32
+ nodejs: string;
33
+ oneSeventh: string;
34
+ oneNinth: string;
35
+ oneTenth: string;
36
+ circleQuestionMark: string;
37
+ questionMarkPrefix: string;
38
+ square: string;
39
+ squareDarkShade: string;
40
+ squareMediumShade: string;
41
+ squareLightShade: string;
42
+ squareTop: string;
43
+ squareBottom: string;
44
+ squareLeft: string;
45
+ squareRight: string;
46
+ squareCenter: string;
47
+ bullet: string;
48
+ dot: string;
49
+ ellipsis: string;
50
+ pointerSmall: string;
51
+ triangleUp: string;
52
+ triangleUpSmall: string;
53
+ triangleDown: string;
54
+ triangleDownSmall: string;
55
+ triangleLeftSmall: string;
56
+ triangleRightSmall: string;
57
+ home: string;
58
+ heart: string;
59
+ musicNote: string;
60
+ musicNoteBeamed: string;
61
+ arrowUp: string;
62
+ arrowDown: string;
63
+ arrowLeft: string;
64
+ arrowRight: string;
65
+ arrowLeftRight: string;
66
+ arrowUpDown: string;
67
+ almostEqual: string;
68
+ notEqual: string;
69
+ lessOrEqual: string;
70
+ greaterOrEqual: string;
71
+ identical: string;
72
+ infinity: string;
73
+ subscriptZero: string;
74
+ subscriptOne: string;
75
+ subscriptTwo: string;
76
+ subscriptThree: string;
77
+ subscriptFour: string;
78
+ subscriptFive: string;
79
+ subscriptSix: string;
80
+ subscriptSeven: string;
81
+ subscriptEight: string;
82
+ subscriptNine: string;
83
+ oneHalf: string;
84
+ oneThird: string;
85
+ oneQuarter: string;
86
+ oneFifth: string;
87
+ oneSixth: string;
88
+ oneEighth: string;
89
+ twoThirds: string;
90
+ twoFifths: string;
91
+ threeQuarters: string;
92
+ threeFifths: string;
93
+ threeEighths: string;
94
+ fourFifths: string;
95
+ fiveSixths: string;
96
+ fiveEighths: string;
97
+ sevenEighths: string;
98
+ line: string;
99
+ lineBold: string;
100
+ lineDouble: string;
101
+ lineDashed0: string;
102
+ lineDashed1: string;
103
+ lineDashed2: string;
104
+ lineDashed3: string;
105
+ lineDashed4: string;
106
+ lineDashed5: string;
107
+ lineDashed6: string;
108
+ lineDashed7: string;
109
+ lineDashed8: string;
110
+ lineDashed9: string;
111
+ lineDashed10: string;
112
+ lineDashed11: string;
113
+ lineDashed12: string;
114
+ lineDashed13: string;
115
+ lineDashed14: string;
116
+ lineDashed15: string;
117
+ lineVertical: string;
118
+ lineVerticalBold: string;
119
+ lineVerticalDouble: string;
120
+ lineVerticalDashed0: string;
121
+ lineVerticalDashed1: string;
122
+ lineVerticalDashed2: string;
123
+ lineVerticalDashed3: string;
124
+ lineVerticalDashed4: string;
125
+ lineVerticalDashed5: string;
126
+ lineVerticalDashed6: string;
127
+ lineVerticalDashed7: string;
128
+ lineVerticalDashed8: string;
129
+ lineVerticalDashed9: string;
130
+ lineVerticalDashed10: string;
131
+ lineVerticalDashed11: string;
132
+ lineDownLeft: string;
133
+ lineDownLeftArc: string;
134
+ lineDownBoldLeftBold: string;
135
+ lineDownBoldLeft: string;
136
+ lineDownLeftBold: string;
137
+ lineDownDoubleLeftDouble: string;
138
+ lineDownDoubleLeft: string;
139
+ lineDownLeftDouble: string;
140
+ lineDownRight: string;
141
+ lineDownRightArc: string;
142
+ lineDownBoldRightBold: string;
143
+ lineDownBoldRight: string;
144
+ lineDownRightBold: string;
145
+ lineDownDoubleRightDouble: string;
146
+ lineDownDoubleRight: string;
147
+ lineDownRightDouble: string;
148
+ lineUpLeft: string;
149
+ lineUpLeftArc: string;
150
+ lineUpBoldLeftBold: string;
151
+ lineUpBoldLeft: string;
152
+ lineUpLeftBold: string;
153
+ lineUpDoubleLeftDouble: string;
154
+ lineUpDoubleLeft: string;
155
+ lineUpLeftDouble: string;
156
+ lineUpRight: string;
157
+ lineUpRightArc: string;
158
+ lineUpBoldRightBold: string;
159
+ lineUpBoldRight: string;
160
+ lineUpRightBold: string;
161
+ lineUpDoubleRightDouble: string;
162
+ lineUpDoubleRight: string;
163
+ lineUpRightDouble: string;
164
+ lineUpDownLeft: string;
165
+ lineUpBoldDownBoldLeftBold: string;
166
+ lineUpBoldDownBoldLeft: string;
167
+ lineUpDownLeftBold: string;
168
+ lineUpBoldDownLeftBold: string;
169
+ lineUpDownBoldLeftBold: string;
170
+ lineUpDownBoldLeft: string;
171
+ lineUpBoldDownLeft: string;
172
+ lineUpDoubleDownDoubleLeftDouble: string;
173
+ lineUpDoubleDownDoubleLeft: string;
174
+ lineUpDownLeftDouble: string;
175
+ lineUpDownRight: string;
176
+ lineUpBoldDownBoldRightBold: string;
177
+ lineUpBoldDownBoldRight: string;
178
+ lineUpDownRightBold: string;
179
+ lineUpBoldDownRightBold: string;
180
+ lineUpDownBoldRightBold: string;
181
+ lineUpDownBoldRight: string;
182
+ lineUpBoldDownRight: string;
183
+ lineUpDoubleDownDoubleRightDouble: string;
184
+ lineUpDoubleDownDoubleRight: string;
185
+ lineUpDownRightDouble: string;
186
+ lineDownLeftRight: string;
187
+ lineDownBoldLeftBoldRightBold: string;
188
+ lineDownLeftBoldRightBold: string;
189
+ lineDownBoldLeftRight: string;
190
+ lineDownBoldLeftBoldRight: string;
191
+ lineDownBoldLeftRightBold: string;
192
+ lineDownLeftRightBold: string;
193
+ lineDownLeftBoldRight: string;
194
+ lineDownDoubleLeftDoubleRightDouble: string;
195
+ lineDownDoubleLeftRight: string;
196
+ lineDownLeftDoubleRightDouble: string;
197
+ lineUpLeftRight: string;
198
+ lineUpBoldLeftBoldRightBold: string;
199
+ lineUpLeftBoldRightBold: string;
200
+ lineUpBoldLeftRight: string;
201
+ lineUpBoldLeftBoldRight: string;
202
+ lineUpBoldLeftRightBold: string;
203
+ lineUpLeftRightBold: string;
204
+ lineUpLeftBoldRight: string;
205
+ lineUpDoubleLeftDoubleRightDouble: string;
206
+ lineUpDoubleLeftRight: string;
207
+ lineUpLeftDoubleRightDouble: string;
208
+ lineUpDownLeftRight: string;
209
+ lineUpBoldDownBoldLeftBoldRightBold: string;
210
+ lineUpDownBoldLeftBoldRightBold: string;
211
+ lineUpBoldDownLeftBoldRightBold: string;
212
+ lineUpBoldDownBoldLeftRightBold: string;
213
+ lineUpBoldDownBoldLeftBoldRight: string;
214
+ lineUpBoldDownLeftRight: string;
215
+ lineUpDownBoldLeftRight: string;
216
+ lineUpDownLeftBoldRight: string;
217
+ lineUpDownLeftRightBold: string;
218
+ lineUpBoldDownBoldLeftRight: string;
219
+ lineUpDownLeftBoldRightBold: string;
220
+ lineUpBoldDownLeftBoldRight: string;
221
+ lineUpBoldDownLeftRightBold: string;
222
+ lineUpDownBoldLeftBoldRight: string;
223
+ lineUpDownBoldLeftRightBold: string;
224
+ lineUpDoubleDownDoubleLeftDoubleRightDouble: string;
225
+ lineUpDoubleDownDoubleLeftRight: string;
226
+ lineUpDownLeftDoubleRightDouble: string;
227
+ lineCross: string;
228
+ lineBackslash: string;
229
+ lineSlash: string;
230
+ };
231
+ export declare const fallbackSymbols: Record<string, string>;
232
+ declare const figures: Record<string, string>;
233
+ export default figures;
@@ -0,0 +1,286 @@
1
+ import process from "node:process";
2
+ function isUnicodeSupported() {
3
+ if (process.platform !== "win32") {
4
+ return process.env.TERM !== "linux";
5
+ }
6
+ return Boolean(process.env.WT_SESSION) || // Windows Terminal
7
+ Boolean(process.env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
8
+ process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
9
+ process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
10
+ }
11
+ const common = {
12
+ circleQuestionMark: "(?)",
13
+ questionMarkPrefix: "(?)",
14
+ square: "\u2588",
15
+ squareDarkShade: "\u2593",
16
+ squareMediumShade: "\u2592",
17
+ squareLightShade: "\u2591",
18
+ squareTop: "\u2580",
19
+ squareBottom: "\u2584",
20
+ squareLeft: "\u258C",
21
+ squareRight: "\u2590",
22
+ squareCenter: "\u25A0",
23
+ bullet: "\u25CF",
24
+ dot: "\u2024",
25
+ ellipsis: "\u2026",
26
+ pointerSmall: "\u203A",
27
+ triangleUp: "\u25B2",
28
+ triangleUpSmall: "\u25B4",
29
+ triangleDown: "\u25BC",
30
+ triangleDownSmall: "\u25BE",
31
+ triangleLeftSmall: "\u25C2",
32
+ triangleRightSmall: "\u25B8",
33
+ home: "\u2302",
34
+ heart: "\u2665",
35
+ musicNote: "\u266A",
36
+ musicNoteBeamed: "\u266B",
37
+ arrowUp: "\u2191",
38
+ arrowDown: "\u2193",
39
+ arrowLeft: "\u2190",
40
+ arrowRight: "\u2192",
41
+ arrowLeftRight: "\u2194",
42
+ arrowUpDown: "\u2195",
43
+ almostEqual: "\u2248",
44
+ notEqual: "\u2260",
45
+ lessOrEqual: "\u2264",
46
+ greaterOrEqual: "\u2265",
47
+ identical: "\u2261",
48
+ infinity: "\u221E",
49
+ subscriptZero: "\u2080",
50
+ subscriptOne: "\u2081",
51
+ subscriptTwo: "\u2082",
52
+ subscriptThree: "\u2083",
53
+ subscriptFour: "\u2084",
54
+ subscriptFive: "\u2085",
55
+ subscriptSix: "\u2086",
56
+ subscriptSeven: "\u2087",
57
+ subscriptEight: "\u2088",
58
+ subscriptNine: "\u2089",
59
+ oneHalf: "\xBD",
60
+ oneThird: "\u2153",
61
+ oneQuarter: "\xBC",
62
+ oneFifth: "\u2155",
63
+ oneSixth: "\u2159",
64
+ oneEighth: "\u215B",
65
+ twoThirds: "\u2154",
66
+ twoFifths: "\u2156",
67
+ threeQuarters: "\xBE",
68
+ threeFifths: "\u2157",
69
+ threeEighths: "\u215C",
70
+ fourFifths: "\u2158",
71
+ fiveSixths: "\u215A",
72
+ fiveEighths: "\u215D",
73
+ sevenEighths: "\u215E",
74
+ line: "\u2500",
75
+ lineBold: "\u2501",
76
+ lineDouble: "\u2550",
77
+ lineDashed0: "\u2504",
78
+ lineDashed1: "\u2505",
79
+ lineDashed2: "\u2508",
80
+ lineDashed3: "\u2509",
81
+ lineDashed4: "\u254C",
82
+ lineDashed5: "\u254D",
83
+ lineDashed6: "\u2574",
84
+ lineDashed7: "\u2576",
85
+ lineDashed8: "\u2578",
86
+ lineDashed9: "\u257A",
87
+ lineDashed10: "\u257C",
88
+ lineDashed11: "\u257E",
89
+ lineDashed12: "\u2212",
90
+ lineDashed13: "\u2013",
91
+ lineDashed14: "\u2010",
92
+ lineDashed15: "\u2043",
93
+ lineVertical: "\u2502",
94
+ lineVerticalBold: "\u2503",
95
+ lineVerticalDouble: "\u2551",
96
+ lineVerticalDashed0: "\u2506",
97
+ lineVerticalDashed1: "\u2507",
98
+ lineVerticalDashed2: "\u250A",
99
+ lineVerticalDashed3: "\u250B",
100
+ lineVerticalDashed4: "\u254E",
101
+ lineVerticalDashed5: "\u254F",
102
+ lineVerticalDashed6: "\u2575",
103
+ lineVerticalDashed7: "\u2577",
104
+ lineVerticalDashed8: "\u2579",
105
+ lineVerticalDashed9: "\u257B",
106
+ lineVerticalDashed10: "\u257D",
107
+ lineVerticalDashed11: "\u257F",
108
+ lineDownLeft: "\u2510",
109
+ lineDownLeftArc: "\u256E",
110
+ lineDownBoldLeftBold: "\u2513",
111
+ lineDownBoldLeft: "\u2512",
112
+ lineDownLeftBold: "\u2511",
113
+ lineDownDoubleLeftDouble: "\u2557",
114
+ lineDownDoubleLeft: "\u2556",
115
+ lineDownLeftDouble: "\u2555",
116
+ lineDownRight: "\u250C",
117
+ lineDownRightArc: "\u256D",
118
+ lineDownBoldRightBold: "\u250F",
119
+ lineDownBoldRight: "\u250E",
120
+ lineDownRightBold: "\u250D",
121
+ lineDownDoubleRightDouble: "\u2554",
122
+ lineDownDoubleRight: "\u2553",
123
+ lineDownRightDouble: "\u2552",
124
+ lineUpLeft: "\u2518",
125
+ lineUpLeftArc: "\u256F",
126
+ lineUpBoldLeftBold: "\u251B",
127
+ lineUpBoldLeft: "\u251A",
128
+ lineUpLeftBold: "\u2519",
129
+ lineUpDoubleLeftDouble: "\u255D",
130
+ lineUpDoubleLeft: "\u255C",
131
+ lineUpLeftDouble: "\u255B",
132
+ lineUpRight: "\u2514",
133
+ lineUpRightArc: "\u2570",
134
+ lineUpBoldRightBold: "\u2517",
135
+ lineUpBoldRight: "\u2516",
136
+ lineUpRightBold: "\u2515",
137
+ lineUpDoubleRightDouble: "\u255A",
138
+ lineUpDoubleRight: "\u2559",
139
+ lineUpRightDouble: "\u2558",
140
+ lineUpDownLeft: "\u2524",
141
+ lineUpBoldDownBoldLeftBold: "\u252B",
142
+ lineUpBoldDownBoldLeft: "\u2528",
143
+ lineUpDownLeftBold: "\u2525",
144
+ lineUpBoldDownLeftBold: "\u2529",
145
+ lineUpDownBoldLeftBold: "\u252A",
146
+ lineUpDownBoldLeft: "\u2527",
147
+ lineUpBoldDownLeft: "\u2526",
148
+ lineUpDoubleDownDoubleLeftDouble: "\u2563",
149
+ lineUpDoubleDownDoubleLeft: "\u2562",
150
+ lineUpDownLeftDouble: "\u2561",
151
+ lineUpDownRight: "\u251C",
152
+ lineUpBoldDownBoldRightBold: "\u2523",
153
+ lineUpBoldDownBoldRight: "\u2520",
154
+ lineUpDownRightBold: "\u251D",
155
+ lineUpBoldDownRightBold: "\u2521",
156
+ lineUpDownBoldRightBold: "\u2522",
157
+ lineUpDownBoldRight: "\u251F",
158
+ lineUpBoldDownRight: "\u251E",
159
+ lineUpDoubleDownDoubleRightDouble: "\u2560",
160
+ lineUpDoubleDownDoubleRight: "\u255F",
161
+ lineUpDownRightDouble: "\u255E",
162
+ lineDownLeftRight: "\u252C",
163
+ lineDownBoldLeftBoldRightBold: "\u2533",
164
+ lineDownLeftBoldRightBold: "\u252F",
165
+ lineDownBoldLeftRight: "\u2530",
166
+ lineDownBoldLeftBoldRight: "\u2531",
167
+ lineDownBoldLeftRightBold: "\u2532",
168
+ lineDownLeftRightBold: "\u252E",
169
+ lineDownLeftBoldRight: "\u252D",
170
+ lineDownDoubleLeftDoubleRightDouble: "\u2566",
171
+ lineDownDoubleLeftRight: "\u2565",
172
+ lineDownLeftDoubleRightDouble: "\u2564",
173
+ lineUpLeftRight: "\u2534",
174
+ lineUpBoldLeftBoldRightBold: "\u253B",
175
+ lineUpLeftBoldRightBold: "\u2537",
176
+ lineUpBoldLeftRight: "\u2538",
177
+ lineUpBoldLeftBoldRight: "\u2539",
178
+ lineUpBoldLeftRightBold: "\u253A",
179
+ lineUpLeftRightBold: "\u2536",
180
+ lineUpLeftBoldRight: "\u2535",
181
+ lineUpDoubleLeftDoubleRightDouble: "\u2569",
182
+ lineUpDoubleLeftRight: "\u2568",
183
+ lineUpLeftDoubleRightDouble: "\u2567",
184
+ lineUpDownLeftRight: "\u253C",
185
+ lineUpBoldDownBoldLeftBoldRightBold: "\u254B",
186
+ lineUpDownBoldLeftBoldRightBold: "\u2548",
187
+ lineUpBoldDownLeftBoldRightBold: "\u2547",
188
+ lineUpBoldDownBoldLeftRightBold: "\u254A",
189
+ lineUpBoldDownBoldLeftBoldRight: "\u2549",
190
+ lineUpBoldDownLeftRight: "\u2540",
191
+ lineUpDownBoldLeftRight: "\u2541",
192
+ lineUpDownLeftBoldRight: "\u253D",
193
+ lineUpDownLeftRightBold: "\u253E",
194
+ lineUpBoldDownBoldLeftRight: "\u2542",
195
+ lineUpDownLeftBoldRightBold: "\u253F",
196
+ lineUpBoldDownLeftBoldRight: "\u2543",
197
+ lineUpBoldDownLeftRightBold: "\u2544",
198
+ lineUpDownBoldLeftBoldRight: "\u2545",
199
+ lineUpDownBoldLeftRightBold: "\u2546",
200
+ lineUpDoubleDownDoubleLeftDoubleRightDouble: "\u256C",
201
+ lineUpDoubleDownDoubleLeftRight: "\u256B",
202
+ lineUpDownLeftDoubleRightDouble: "\u256A",
203
+ lineCross: "\u2573",
204
+ lineBackslash: "\u2572",
205
+ lineSlash: "\u2571"
206
+ };
207
+ const specialMainSymbols = {
208
+ tick: "\u2714",
209
+ info: "\u2139",
210
+ warning: "\u26A0",
211
+ cross: "\u2718",
212
+ squareSmall: "\u25FB",
213
+ squareSmallFilled: "\u25FC",
214
+ circle: "\u25EF",
215
+ circleFilled: "\u25C9",
216
+ circleDotted: "\u25CC",
217
+ circleDouble: "\u25CE",
218
+ circleCircle: "\u24DE",
219
+ circleCross: "\u24E7",
220
+ circlePipe: "\u24BE",
221
+ radioOn: "\u25C9",
222
+ radioOff: "\u25EF",
223
+ checkboxOn: "\u2612",
224
+ checkboxOff: "\u2610",
225
+ checkboxCircleOn: "\u24E7",
226
+ checkboxCircleOff: "\u24BE",
227
+ pointer: "\u276F",
228
+ triangleUpOutline: "\u25B3",
229
+ triangleLeft: "\u25C0",
230
+ triangleRight: "\u25B6",
231
+ lozenge: "\u25C6",
232
+ lozengeOutline: "\u25C7",
233
+ hamburger: "\u2630",
234
+ smiley: "\u32E1",
235
+ mustache: "\u0DF4",
236
+ star: "\u2605",
237
+ play: "\u25B6",
238
+ nodejs: "\u2B22",
239
+ oneSeventh: "\u2150",
240
+ oneNinth: "\u2151",
241
+ oneTenth: "\u2152"
242
+ };
243
+ const specialFallbackSymbols = {
244
+ tick: "\u221A",
245
+ info: "i",
246
+ warning: "\u203C",
247
+ cross: "\xD7",
248
+ squareSmall: "\u25A1",
249
+ squareSmallFilled: "\u25A0",
250
+ circle: "( )",
251
+ circleFilled: "(*)",
252
+ circleDotted: "( )",
253
+ circleDouble: "( )",
254
+ circleCircle: "(\u25CB)",
255
+ circleCross: "(\xD7)",
256
+ circlePipe: "(\u2502)",
257
+ radioOn: "(*)",
258
+ radioOff: "( )",
259
+ checkboxOn: "[\xD7]",
260
+ checkboxOff: "[ ]",
261
+ checkboxCircleOn: "(\xD7)",
262
+ checkboxCircleOff: "( )",
263
+ pointer: ">",
264
+ triangleUpOutline: "\u2206",
265
+ triangleLeft: "\u25C4",
266
+ triangleRight: "\u25BA",
267
+ lozenge: "\u2666",
268
+ lozengeOutline: "\u25CA",
269
+ hamburger: "\u2261",
270
+ smiley: "\u263A",
271
+ mustache: "\u250C\u2500\u2510",
272
+ star: "\u2736",
273
+ play: "\u25BA",
274
+ nodejs: "\u2666",
275
+ oneSeventh: "1/7",
276
+ oneNinth: "1/9",
277
+ oneTenth: "1/10"
278
+ };
279
+ export const mainSymbols = { ...common, ...specialMainSymbols };
280
+ export const fallbackSymbols = {
281
+ ...common,
282
+ ...specialFallbackSymbols
283
+ };
284
+ const shouldUseMain = isUnicodeSupported();
285
+ const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
286
+ export default figures;
@@ -0,0 +1 @@
1
+ export {};