@glodon-aiot/agent-cli-ui 3.9.0-beta.10 → 3.11.0

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 (109) hide show
  1. package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +12 -12
  2. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +11 -11
  3. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +2 -2
  4. package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +118 -133
  5. package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +1 -1
  6. package/dist/es/Dialog/AgentChat/index.mjs +573 -604
  7. package/dist/es/Dialog/SessionList/index.mjs +218 -271
  8. package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +53 -53
  9. package/dist/es/components/FilePreview/index.mjs +6 -6
  10. package/dist/es/components/Iconfont/index.mjs +3 -3
  11. package/dist/es/constant.mjs +4 -4
  12. package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Markdown/Code/index.mjs +1 -1
  13. package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Markdown/Image/index.mjs +3 -3
  14. package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Markdown/index.mjs +25 -24
  15. package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/index.mjs +1 -1
  16. package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +162 -0
  17. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +12 -0
  18. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +61 -0
  19. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +33 -0
  20. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +368 -0
  21. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +6 -0
  22. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +566 -0
  23. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  24. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  25. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +14 -0
  26. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +36 -0
  27. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +28 -0
  28. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +10 -0
  29. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +21 -0
  30. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +15 -0
  31. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +19 -0
  32. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +15 -0
  33. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +16 -0
  34. package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +47 -0
  35. package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +11 -0
  36. package/dist/es/node_modules/rehype-raw/lib/index.mjs +26 -0
  37. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +38 -0
  38. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +251 -0
  39. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +7 -0
  40. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +249 -0
  41. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +125 -0
  42. package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +4 -0
  43. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +34 -0
  44. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +7 -0
  45. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +103 -0
  46. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +44 -0
  47. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +14 -0
  48. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +38 -0
  49. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
  50. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +2308 -0
  51. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +220 -0
  52. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +2 -0
  53. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +1948 -0
  54. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +92 -0
  55. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +173 -0
  56. package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +12 -0
  57. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +61 -0
  58. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +33 -0
  59. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +368 -0
  60. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +6 -0
  61. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +566 -0
  62. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  63. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  64. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +17 -0
  65. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +27 -0
  66. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +23 -0
  67. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +11 -0
  68. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +17 -0
  69. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +15 -0
  70. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +19 -0
  71. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +15 -0
  72. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +16 -0
  73. package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +16 -0
  74. package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +11 -0
  75. package/dist/es/node_modules/zwitch/index.mjs +18 -0
  76. package/dist/es/packages/agent-cli-ui/package.json.mjs +3 -3
  77. package/dist/es/src/style11.css +1 -1
  78. package/dist/es/src/style12.css +1 -1
  79. package/dist/es/src/style13.css +1 -1
  80. package/dist/es/src/style14.css +1 -1
  81. package/dist/es/src/style15.css +1 -1
  82. package/dist/es/src/style16.css +1 -1
  83. package/dist/es/src/style17.css +1 -1
  84. package/dist/es/src/style18.css +1 -1
  85. package/dist/es/src/style19.css +1 -1
  86. package/dist/es/src/style20.css +1 -1
  87. package/dist/es/src/style21.css +1 -1
  88. package/dist/es/src/style22.css +1 -1
  89. package/dist/es/src/style23.css +1 -1
  90. package/dist/es/src/style26.css +1 -1
  91. package/dist/es/src/style27.css +1 -1
  92. package/dist/es/src/style28.css +1 -1
  93. package/dist/es/src/style30.css +1 -1
  94. package/dist/es/src/style31.css +1 -1
  95. package/dist/es/src/style32.css +1 -1
  96. package/dist/es/src/style5.css +1 -1
  97. package/dist/es/src/style6.css +1 -1
  98. package/dist/es/src/style8.css +1 -1
  99. package/dist/es/src/style9.css +1 -1
  100. package/dist/lib/index.css +1 -1
  101. package/dist/lib/index.js +68 -69
  102. package/dist/src/constant.d.ts +2 -2
  103. package/package.json +3 -3
  104. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/Iconfont/index.mjs +0 -0
  105. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Copy/index.mjs +0 -0
  106. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Markdown/ATag/index.mjs +0 -0
  107. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/components/Markdown/Video/index.mjs +0 -0
  108. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/utils/clipboard.mjs +0 -0
  109. /package/dist/es/{packages → node_modules/@glodon-aiot}/react-components/dist/es/utils/markdown/index.mjs +0 -0
@@ -0,0 +1,566 @@
1
+ import { caseSensitiveTransform as t } from "./util/case-sensitive-transform.mjs";
2
+ import { create as i } from "./util/create.mjs";
3
+ import { commaOrSpaceSeparated as l, number as n, spaceSeparated as o, boolean as r, commaSeparated as e } from "./util/types.mjs";
4
+ const g = i({
5
+ attributes: {
6
+ accentHeight: "accent-height",
7
+ alignmentBaseline: "alignment-baseline",
8
+ arabicForm: "arabic-form",
9
+ baselineShift: "baseline-shift",
10
+ capHeight: "cap-height",
11
+ className: "class",
12
+ clipPath: "clip-path",
13
+ clipRule: "clip-rule",
14
+ colorInterpolation: "color-interpolation",
15
+ colorInterpolationFilters: "color-interpolation-filters",
16
+ colorProfile: "color-profile",
17
+ colorRendering: "color-rendering",
18
+ crossOrigin: "crossorigin",
19
+ dataType: "datatype",
20
+ dominantBaseline: "dominant-baseline",
21
+ enableBackground: "enable-background",
22
+ fillOpacity: "fill-opacity",
23
+ fillRule: "fill-rule",
24
+ floodColor: "flood-color",
25
+ floodOpacity: "flood-opacity",
26
+ fontFamily: "font-family",
27
+ fontSize: "font-size",
28
+ fontSizeAdjust: "font-size-adjust",
29
+ fontStretch: "font-stretch",
30
+ fontStyle: "font-style",
31
+ fontVariant: "font-variant",
32
+ fontWeight: "font-weight",
33
+ glyphName: "glyph-name",
34
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
35
+ glyphOrientationVertical: "glyph-orientation-vertical",
36
+ hrefLang: "hreflang",
37
+ horizAdvX: "horiz-adv-x",
38
+ horizOriginX: "horiz-origin-x",
39
+ horizOriginY: "horiz-origin-y",
40
+ imageRendering: "image-rendering",
41
+ letterSpacing: "letter-spacing",
42
+ lightingColor: "lighting-color",
43
+ markerEnd: "marker-end",
44
+ markerMid: "marker-mid",
45
+ markerStart: "marker-start",
46
+ navDown: "nav-down",
47
+ navDownLeft: "nav-down-left",
48
+ navDownRight: "nav-down-right",
49
+ navLeft: "nav-left",
50
+ navNext: "nav-next",
51
+ navPrev: "nav-prev",
52
+ navRight: "nav-right",
53
+ navUp: "nav-up",
54
+ navUpLeft: "nav-up-left",
55
+ navUpRight: "nav-up-right",
56
+ onAbort: "onabort",
57
+ onActivate: "onactivate",
58
+ onAfterPrint: "onafterprint",
59
+ onBeforePrint: "onbeforeprint",
60
+ onBegin: "onbegin",
61
+ onCancel: "oncancel",
62
+ onCanPlay: "oncanplay",
63
+ onCanPlayThrough: "oncanplaythrough",
64
+ onChange: "onchange",
65
+ onClick: "onclick",
66
+ onClose: "onclose",
67
+ onCopy: "oncopy",
68
+ onCueChange: "oncuechange",
69
+ onCut: "oncut",
70
+ onDblClick: "ondblclick",
71
+ onDrag: "ondrag",
72
+ onDragEnd: "ondragend",
73
+ onDragEnter: "ondragenter",
74
+ onDragExit: "ondragexit",
75
+ onDragLeave: "ondragleave",
76
+ onDragOver: "ondragover",
77
+ onDragStart: "ondragstart",
78
+ onDrop: "ondrop",
79
+ onDurationChange: "ondurationchange",
80
+ onEmptied: "onemptied",
81
+ onEnd: "onend",
82
+ onEnded: "onended",
83
+ onError: "onerror",
84
+ onFocus: "onfocus",
85
+ onFocusIn: "onfocusin",
86
+ onFocusOut: "onfocusout",
87
+ onHashChange: "onhashchange",
88
+ onInput: "oninput",
89
+ onInvalid: "oninvalid",
90
+ onKeyDown: "onkeydown",
91
+ onKeyPress: "onkeypress",
92
+ onKeyUp: "onkeyup",
93
+ onLoad: "onload",
94
+ onLoadedData: "onloadeddata",
95
+ onLoadedMetadata: "onloadedmetadata",
96
+ onLoadStart: "onloadstart",
97
+ onMessage: "onmessage",
98
+ onMouseDown: "onmousedown",
99
+ onMouseEnter: "onmouseenter",
100
+ onMouseLeave: "onmouseleave",
101
+ onMouseMove: "onmousemove",
102
+ onMouseOut: "onmouseout",
103
+ onMouseOver: "onmouseover",
104
+ onMouseUp: "onmouseup",
105
+ onMouseWheel: "onmousewheel",
106
+ onOffline: "onoffline",
107
+ onOnline: "ononline",
108
+ onPageHide: "onpagehide",
109
+ onPageShow: "onpageshow",
110
+ onPaste: "onpaste",
111
+ onPause: "onpause",
112
+ onPlay: "onplay",
113
+ onPlaying: "onplaying",
114
+ onPopState: "onpopstate",
115
+ onProgress: "onprogress",
116
+ onRateChange: "onratechange",
117
+ onRepeat: "onrepeat",
118
+ onReset: "onreset",
119
+ onResize: "onresize",
120
+ onScroll: "onscroll",
121
+ onSeeked: "onseeked",
122
+ onSeeking: "onseeking",
123
+ onSelect: "onselect",
124
+ onShow: "onshow",
125
+ onStalled: "onstalled",
126
+ onStorage: "onstorage",
127
+ onSubmit: "onsubmit",
128
+ onSuspend: "onsuspend",
129
+ onTimeUpdate: "ontimeupdate",
130
+ onToggle: "ontoggle",
131
+ onUnload: "onunload",
132
+ onVolumeChange: "onvolumechange",
133
+ onWaiting: "onwaiting",
134
+ onZoom: "onzoom",
135
+ overlinePosition: "overline-position",
136
+ overlineThickness: "overline-thickness",
137
+ paintOrder: "paint-order",
138
+ panose1: "panose-1",
139
+ pointerEvents: "pointer-events",
140
+ referrerPolicy: "referrerpolicy",
141
+ renderingIntent: "rendering-intent",
142
+ shapeRendering: "shape-rendering",
143
+ stopColor: "stop-color",
144
+ stopOpacity: "stop-opacity",
145
+ strikethroughPosition: "strikethrough-position",
146
+ strikethroughThickness: "strikethrough-thickness",
147
+ strokeDashArray: "stroke-dasharray",
148
+ strokeDashOffset: "stroke-dashoffset",
149
+ strokeLineCap: "stroke-linecap",
150
+ strokeLineJoin: "stroke-linejoin",
151
+ strokeMiterLimit: "stroke-miterlimit",
152
+ strokeOpacity: "stroke-opacity",
153
+ strokeWidth: "stroke-width",
154
+ tabIndex: "tabindex",
155
+ textAnchor: "text-anchor",
156
+ textDecoration: "text-decoration",
157
+ textRendering: "text-rendering",
158
+ transformOrigin: "transform-origin",
159
+ typeOf: "typeof",
160
+ underlinePosition: "underline-position",
161
+ underlineThickness: "underline-thickness",
162
+ unicodeBidi: "unicode-bidi",
163
+ unicodeRange: "unicode-range",
164
+ unitsPerEm: "units-per-em",
165
+ vAlphabetic: "v-alphabetic",
166
+ vHanging: "v-hanging",
167
+ vIdeographic: "v-ideographic",
168
+ vMathematical: "v-mathematical",
169
+ vectorEffect: "vector-effect",
170
+ vertAdvY: "vert-adv-y",
171
+ vertOriginX: "vert-origin-x",
172
+ vertOriginY: "vert-origin-y",
173
+ wordSpacing: "word-spacing",
174
+ writingMode: "writing-mode",
175
+ xHeight: "x-height",
176
+ // These were camelcased in Tiny. Now lowercased in SVG 2
177
+ playbackOrder: "playbackorder",
178
+ timelineBegin: "timelinebegin"
179
+ },
180
+ properties: {
181
+ about: l,
182
+ accentHeight: n,
183
+ accumulate: null,
184
+ additive: null,
185
+ alignmentBaseline: null,
186
+ alphabetic: n,
187
+ amplitude: n,
188
+ arabicForm: null,
189
+ ascent: n,
190
+ attributeName: null,
191
+ attributeType: null,
192
+ azimuth: n,
193
+ bandwidth: null,
194
+ baselineShift: null,
195
+ baseFrequency: null,
196
+ baseProfile: null,
197
+ bbox: null,
198
+ begin: null,
199
+ bias: n,
200
+ by: null,
201
+ calcMode: null,
202
+ capHeight: n,
203
+ className: o,
204
+ clip: null,
205
+ clipPath: null,
206
+ clipPathUnits: null,
207
+ clipRule: null,
208
+ color: null,
209
+ colorInterpolation: null,
210
+ colorInterpolationFilters: null,
211
+ colorProfile: null,
212
+ colorRendering: null,
213
+ content: null,
214
+ contentScriptType: null,
215
+ contentStyleType: null,
216
+ crossOrigin: null,
217
+ cursor: null,
218
+ cx: null,
219
+ cy: null,
220
+ d: null,
221
+ dataType: null,
222
+ defaultAction: null,
223
+ descent: n,
224
+ diffuseConstant: n,
225
+ direction: null,
226
+ display: null,
227
+ dur: null,
228
+ divisor: n,
229
+ dominantBaseline: null,
230
+ download: r,
231
+ dx: null,
232
+ dy: null,
233
+ edgeMode: null,
234
+ editable: null,
235
+ elevation: n,
236
+ enableBackground: null,
237
+ end: null,
238
+ event: null,
239
+ exponent: n,
240
+ externalResourcesRequired: null,
241
+ fill: null,
242
+ fillOpacity: n,
243
+ fillRule: null,
244
+ filter: null,
245
+ filterRes: null,
246
+ filterUnits: null,
247
+ floodColor: null,
248
+ floodOpacity: null,
249
+ focusable: null,
250
+ focusHighlight: null,
251
+ fontFamily: null,
252
+ fontSize: null,
253
+ fontSizeAdjust: null,
254
+ fontStretch: null,
255
+ fontStyle: null,
256
+ fontVariant: null,
257
+ fontWeight: null,
258
+ format: null,
259
+ fr: null,
260
+ from: null,
261
+ fx: null,
262
+ fy: null,
263
+ g1: e,
264
+ g2: e,
265
+ glyphName: e,
266
+ glyphOrientationHorizontal: null,
267
+ glyphOrientationVertical: null,
268
+ glyphRef: null,
269
+ gradientTransform: null,
270
+ gradientUnits: null,
271
+ handler: null,
272
+ hanging: n,
273
+ hatchContentUnits: null,
274
+ hatchUnits: null,
275
+ height: null,
276
+ href: null,
277
+ hrefLang: null,
278
+ horizAdvX: n,
279
+ horizOriginX: n,
280
+ horizOriginY: n,
281
+ id: null,
282
+ ideographic: n,
283
+ imageRendering: null,
284
+ initialVisibility: null,
285
+ in: null,
286
+ in2: null,
287
+ intercept: n,
288
+ k: n,
289
+ k1: n,
290
+ k2: n,
291
+ k3: n,
292
+ k4: n,
293
+ kernelMatrix: l,
294
+ kernelUnitLength: null,
295
+ keyPoints: null,
296
+ // SEMI_COLON_SEPARATED
297
+ keySplines: null,
298
+ // SEMI_COLON_SEPARATED
299
+ keyTimes: null,
300
+ // SEMI_COLON_SEPARATED
301
+ kerning: null,
302
+ lang: null,
303
+ lengthAdjust: null,
304
+ letterSpacing: null,
305
+ lightingColor: null,
306
+ limitingConeAngle: n,
307
+ local: null,
308
+ markerEnd: null,
309
+ markerMid: null,
310
+ markerStart: null,
311
+ markerHeight: null,
312
+ markerUnits: null,
313
+ markerWidth: null,
314
+ mask: null,
315
+ maskContentUnits: null,
316
+ maskUnits: null,
317
+ mathematical: null,
318
+ max: null,
319
+ media: null,
320
+ mediaCharacterEncoding: null,
321
+ mediaContentEncodings: null,
322
+ mediaSize: n,
323
+ mediaTime: null,
324
+ method: null,
325
+ min: null,
326
+ mode: null,
327
+ name: null,
328
+ navDown: null,
329
+ navDownLeft: null,
330
+ navDownRight: null,
331
+ navLeft: null,
332
+ navNext: null,
333
+ navPrev: null,
334
+ navRight: null,
335
+ navUp: null,
336
+ navUpLeft: null,
337
+ navUpRight: null,
338
+ numOctaves: null,
339
+ observer: null,
340
+ offset: null,
341
+ onAbort: null,
342
+ onActivate: null,
343
+ onAfterPrint: null,
344
+ onBeforePrint: null,
345
+ onBegin: null,
346
+ onCancel: null,
347
+ onCanPlay: null,
348
+ onCanPlayThrough: null,
349
+ onChange: null,
350
+ onClick: null,
351
+ onClose: null,
352
+ onCopy: null,
353
+ onCueChange: null,
354
+ onCut: null,
355
+ onDblClick: null,
356
+ onDrag: null,
357
+ onDragEnd: null,
358
+ onDragEnter: null,
359
+ onDragExit: null,
360
+ onDragLeave: null,
361
+ onDragOver: null,
362
+ onDragStart: null,
363
+ onDrop: null,
364
+ onDurationChange: null,
365
+ onEmptied: null,
366
+ onEnd: null,
367
+ onEnded: null,
368
+ onError: null,
369
+ onFocus: null,
370
+ onFocusIn: null,
371
+ onFocusOut: null,
372
+ onHashChange: null,
373
+ onInput: null,
374
+ onInvalid: null,
375
+ onKeyDown: null,
376
+ onKeyPress: null,
377
+ onKeyUp: null,
378
+ onLoad: null,
379
+ onLoadedData: null,
380
+ onLoadedMetadata: null,
381
+ onLoadStart: null,
382
+ onMessage: null,
383
+ onMouseDown: null,
384
+ onMouseEnter: null,
385
+ onMouseLeave: null,
386
+ onMouseMove: null,
387
+ onMouseOut: null,
388
+ onMouseOver: null,
389
+ onMouseUp: null,
390
+ onMouseWheel: null,
391
+ onOffline: null,
392
+ onOnline: null,
393
+ onPageHide: null,
394
+ onPageShow: null,
395
+ onPaste: null,
396
+ onPause: null,
397
+ onPlay: null,
398
+ onPlaying: null,
399
+ onPopState: null,
400
+ onProgress: null,
401
+ onRateChange: null,
402
+ onRepeat: null,
403
+ onReset: null,
404
+ onResize: null,
405
+ onScroll: null,
406
+ onSeeked: null,
407
+ onSeeking: null,
408
+ onSelect: null,
409
+ onShow: null,
410
+ onStalled: null,
411
+ onStorage: null,
412
+ onSubmit: null,
413
+ onSuspend: null,
414
+ onTimeUpdate: null,
415
+ onToggle: null,
416
+ onUnload: null,
417
+ onVolumeChange: null,
418
+ onWaiting: null,
419
+ onZoom: null,
420
+ opacity: null,
421
+ operator: null,
422
+ order: null,
423
+ orient: null,
424
+ orientation: null,
425
+ origin: null,
426
+ overflow: null,
427
+ overlay: null,
428
+ overlinePosition: n,
429
+ overlineThickness: n,
430
+ paintOrder: null,
431
+ panose1: null,
432
+ path: null,
433
+ pathLength: n,
434
+ patternContentUnits: null,
435
+ patternTransform: null,
436
+ patternUnits: null,
437
+ phase: null,
438
+ ping: o,
439
+ pitch: null,
440
+ playbackOrder: null,
441
+ pointerEvents: null,
442
+ points: null,
443
+ pointsAtX: n,
444
+ pointsAtY: n,
445
+ pointsAtZ: n,
446
+ preserveAlpha: null,
447
+ preserveAspectRatio: null,
448
+ primitiveUnits: null,
449
+ propagate: null,
450
+ property: l,
451
+ r: null,
452
+ radius: null,
453
+ referrerPolicy: null,
454
+ refX: null,
455
+ refY: null,
456
+ rel: l,
457
+ rev: l,
458
+ renderingIntent: null,
459
+ repeatCount: null,
460
+ repeatDur: null,
461
+ requiredExtensions: l,
462
+ requiredFeatures: l,
463
+ requiredFonts: l,
464
+ requiredFormats: l,
465
+ resource: null,
466
+ restart: null,
467
+ result: null,
468
+ rotate: null,
469
+ rx: null,
470
+ ry: null,
471
+ scale: null,
472
+ seed: null,
473
+ shapeRendering: null,
474
+ side: null,
475
+ slope: null,
476
+ snapshotTime: null,
477
+ specularConstant: n,
478
+ specularExponent: n,
479
+ spreadMethod: null,
480
+ spacing: null,
481
+ startOffset: null,
482
+ stdDeviation: null,
483
+ stemh: null,
484
+ stemv: null,
485
+ stitchTiles: null,
486
+ stopColor: null,
487
+ stopOpacity: null,
488
+ strikethroughPosition: n,
489
+ strikethroughThickness: n,
490
+ string: null,
491
+ stroke: null,
492
+ strokeDashArray: l,
493
+ strokeDashOffset: null,
494
+ strokeLineCap: null,
495
+ strokeLineJoin: null,
496
+ strokeMiterLimit: n,
497
+ strokeOpacity: n,
498
+ strokeWidth: null,
499
+ style: null,
500
+ surfaceScale: n,
501
+ syncBehavior: null,
502
+ syncBehaviorDefault: null,
503
+ syncMaster: null,
504
+ syncTolerance: null,
505
+ syncToleranceDefault: null,
506
+ systemLanguage: l,
507
+ tabIndex: n,
508
+ tableValues: null,
509
+ target: null,
510
+ targetX: n,
511
+ targetY: n,
512
+ textAnchor: null,
513
+ textDecoration: null,
514
+ textRendering: null,
515
+ textLength: null,
516
+ timelineBegin: null,
517
+ title: null,
518
+ transformBehavior: null,
519
+ type: null,
520
+ typeOf: l,
521
+ to: null,
522
+ transform: null,
523
+ transformOrigin: null,
524
+ u1: null,
525
+ u2: null,
526
+ underlinePosition: n,
527
+ underlineThickness: n,
528
+ unicode: null,
529
+ unicodeBidi: null,
530
+ unicodeRange: null,
531
+ unitsPerEm: n,
532
+ values: null,
533
+ vAlphabetic: n,
534
+ vMathematical: n,
535
+ vectorEffect: null,
536
+ vHanging: n,
537
+ vIdeographic: n,
538
+ version: null,
539
+ vertAdvY: n,
540
+ vertOriginX: n,
541
+ vertOriginY: n,
542
+ viewBox: null,
543
+ viewTarget: null,
544
+ visibility: null,
545
+ width: null,
546
+ widths: null,
547
+ wordSpacing: null,
548
+ writingMode: null,
549
+ x: null,
550
+ x1: null,
551
+ x2: null,
552
+ xChannelSelector: null,
553
+ xHeight: n,
554
+ y: null,
555
+ y1: null,
556
+ y2: null,
557
+ yChannelSelector: null,
558
+ z: null,
559
+ zoomAndPan: null
560
+ },
561
+ space: "svg",
562
+ transform: t
563
+ });
564
+ export {
565
+ g as svg
566
+ };
@@ -0,0 +1,7 @@
1
+ import { caseSensitiveTransform as n } from "./case-sensitive-transform.mjs";
2
+ function s(e, r) {
3
+ return n(e, r.toLowerCase());
4
+ }
5
+ export {
6
+ s as caseInsensitiveTransform
7
+ };
@@ -0,0 +1,6 @@
1
+ function c(o, n) {
2
+ return n in o ? o[n] : n;
3
+ }
4
+ export {
5
+ c as caseSensitiveTransform
6
+ };
@@ -0,0 +1,14 @@
1
+ import { normalize as p } from "../normalize.mjs";
2
+ import { DefinedInfo as c } from "./defined-info.mjs";
3
+ import { Schema as a } from "./schema.mjs";
4
+ function l(r) {
5
+ const s = {}, t = {};
6
+ for (const [e, m] of Object.entries(r.properties)) {
7
+ const o = new c(e, r.transform(r.attributes || {}, e), m, r.space);
8
+ r.mustUseProperty && r.mustUseProperty.includes(e) && (o.mustUseProperty = !0), s[e] = o, t[p(e)] = e, t[p(o.attribute)] = e;
9
+ }
10
+ return new a(s, t, r.space);
11
+ }
12
+ export {
13
+ l as create
14
+ };
@@ -0,0 +1,36 @@
1
+ import { Info as h } from "./info.mjs";
2
+ import * as s from "./types.mjs";
3
+ const n = (
4
+ /** @type {ReadonlyArray<keyof typeof types>} */
5
+ Object.keys(s)
6
+ );
7
+ class d extends h {
8
+ /**
9
+ * @constructor
10
+ * @param {string} property
11
+ * Property.
12
+ * @param {string} attribute
13
+ * Attribute.
14
+ * @param {number | null | undefined} [mask]
15
+ * Mask.
16
+ * @param {Space | undefined} [space]
17
+ * Space.
18
+ * @returns
19
+ * Info.
20
+ */
21
+ constructor(t, e, r, p) {
22
+ let o = -1;
23
+ if (super(t, e), f(this, "space", p), typeof r == "number")
24
+ for (; ++o < n.length; ) {
25
+ const i = n[o];
26
+ f(this, n[o], (r & s[i]) === s[i]);
27
+ }
28
+ }
29
+ }
30
+ d.prototype.defined = !0;
31
+ function f(c, t, e) {
32
+ e && (c[t] = e);
33
+ }
34
+ export {
35
+ d as DefinedInfo
36
+ };
@@ -0,0 +1,28 @@
1
+ class e {
2
+ /**
3
+ * @param {string} property
4
+ * Property.
5
+ * @param {string} attribute
6
+ * Attribute.
7
+ * @returns
8
+ * Info.
9
+ */
10
+ constructor(t, o) {
11
+ this.attribute = o, this.property = t;
12
+ }
13
+ }
14
+ e.prototype.attribute = "";
15
+ e.prototype.booleanish = !1;
16
+ e.prototype.boolean = !1;
17
+ e.prototype.commaOrSpaceSeparated = !1;
18
+ e.prototype.commaSeparated = !1;
19
+ e.prototype.defined = !1;
20
+ e.prototype.mustUseProperty = !1;
21
+ e.prototype.number = !1;
22
+ e.prototype.overloadedBoolean = !1;
23
+ e.prototype.property = "";
24
+ e.prototype.spaceSeparated = !1;
25
+ e.prototype.space = void 0;
26
+ export {
27
+ e as Info
28
+ };
@@ -0,0 +1,10 @@
1
+ import { Schema as c } from "./schema.mjs";
2
+ function s(t, e) {
3
+ const o = {}, n = {};
4
+ for (const r of t)
5
+ Object.assign(o, r.property), Object.assign(n, r.normal);
6
+ return new c(o, n, e);
7
+ }
8
+ export {
9
+ s as merge
10
+ };
@@ -0,0 +1,21 @@
1
+ class t {
2
+ /**
3
+ * @param {SchemaType['property']} property
4
+ * Property.
5
+ * @param {SchemaType['normal']} normal
6
+ * Normal.
7
+ * @param {Space | undefined} [space]
8
+ * Space.
9
+ * @returns
10
+ * Schema.
11
+ */
12
+ constructor(p, r, o) {
13
+ this.normal = r, this.property = p, o && (this.space = o);
14
+ }
15
+ }
16
+ t.prototype.normal = {};
17
+ t.prototype.property = {};
18
+ t.prototype.space = void 0;
19
+ export {
20
+ t as Schema
21
+ };
@@ -0,0 +1,15 @@
1
+ var o = Math.pow;
2
+ let n = 0;
3
+ const a = e(), c = e(), r = e(), s = e(), p = e(), m = e(), d = e();
4
+ function e() {
5
+ return o(2, ++n);
6
+ }
7
+ export {
8
+ a as boolean,
9
+ c as booleanish,
10
+ d as commaOrSpaceSeparated,
11
+ m as commaSeparated,
12
+ s as number,
13
+ r as overloadedBoolean,
14
+ p as spaceSeparated
15
+ };