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