@glodon-aiot/agent-cli-ui 3.11.0 → 3.11.1-alpha.1765331460
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/SessionRefer/ReferItem/index.mjs +28 -28
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +10 -10
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +2 -2
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +133 -118
- package/dist/es/Dialog/AgentChat/index.mjs +600 -569
- package/dist/es/Dialog/SessionList/index.mjs +271 -218
- 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/packages/agent-cli-ui/package.json.mjs +11 -11
- package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Markdown/Code/index.mjs +8 -8
- package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Markdown/Image/index.mjs +3 -3
- package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Markdown/index.mjs +24 -25
- package/dist/es/packages/react-components/dist/es/index.mjs +10 -0
- package/dist/es/src/style10.css +1 -1
- 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/style22.css +1 -1
- package/dist/es/src/style23.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style25.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style29.css +1 -1
- package/dist/es/src/style30.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 +69 -68
- package/package.json +3 -3
- package/dist/es/node_modules/@glodon-aiot/react-components/dist/es/index.mjs +0 -10
- package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +0 -162
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +0 -14
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +0 -36
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +0 -28
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +0 -10
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +0 -21
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +0 -47
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +0 -11
- package/dist/es/node_modules/rehype-raw/lib/index.mjs +0 -26
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -38
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +0 -251
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -7
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +0 -249
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +0 -125
- package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +0 -4
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +0 -34
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +0 -7
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +0 -103
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +0 -44
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +0 -14
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +0 -38
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -91
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +0 -2308
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -220
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +0 -2
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +0 -1948
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -92
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +0 -173
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +0 -17
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +0 -27
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +0 -23
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +0 -11
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +0 -17
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +0 -11
- package/dist/es/node_modules/zwitch/index.mjs +0 -18
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +0 -44
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +0 -1
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +0 -36
- package/dist/src/utils/reactCompatibility.d.ts +0 -27
- package/dist/src/utils/testAntdPrefix.d.ts +0 -3
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/Iconfont/index.mjs +0 -0
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Copy/index.mjs +0 -0
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Markdown/ATag/index.mjs +0 -0
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/components/Markdown/Video/index.mjs +0 -0
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/utils/clipboard.mjs +0 -0
- /package/dist/es/{node_modules/@glodon-aiot → packages}/react-components/dist/es/utils/markdown/index.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/agent-cli-ui",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1-alpha.1765331460",
|
|
4
4
|
"module": "./dist/es/index.mjs",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"typings": "./dist/src/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ant-design/icons": "^5.3.4",
|
|
40
|
-
"@glodon-aiot/apis": "^3.11.
|
|
41
|
-
"@glodon-aiot/bot-client-sdk": "^3.11.
|
|
40
|
+
"@glodon-aiot/apis": "^3.11.1-alpha.1765331460",
|
|
41
|
+
"@glodon-aiot/bot-client-sdk": "^3.11.1-alpha.1765331460",
|
|
42
42
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
43
43
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
44
44
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
3
|
-
if (typeof document != "undefined") {
|
|
4
|
-
var e = document.createElement("style");
|
|
5
|
-
e.appendChild(document.createTextNode('.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}')), document.head.appendChild(e);
|
|
6
|
-
}
|
|
7
|
-
} catch (o) {
|
|
8
|
-
console.error("vite-plugin-css-injected-by-js", o);
|
|
9
|
-
}
|
|
10
|
-
})();
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { ok as x } from "../../devlop/lib/default.mjs";
|
|
2
|
-
import { svg as h, html as T } from "../node_modules/property-information/index.mjs";
|
|
3
|
-
import { webNamespaces as b } from "../node_modules/web-namespaces/index.mjs";
|
|
4
|
-
import { s as L, h as w } from "../../hastscript/lib/index.mjs";
|
|
5
|
-
import { find as C } from "../node_modules/property-information/lib/find.mjs";
|
|
6
|
-
import { location as N } from "../node_modules/vfile-location/lib/index.mjs";
|
|
7
|
-
const v = {}.hasOwnProperty, k = Object.prototype;
|
|
8
|
-
function U(t, n) {
|
|
9
|
-
const e = n || {};
|
|
10
|
-
return m({
|
|
11
|
-
file: e.file || void 0,
|
|
12
|
-
location: !1,
|
|
13
|
-
schema: e.space === "svg" ? h : T,
|
|
14
|
-
verbose: e.verbose || !1
|
|
15
|
-
}, t);
|
|
16
|
-
}
|
|
17
|
-
function m(t, n) {
|
|
18
|
-
let e;
|
|
19
|
-
switch (n.nodeName) {
|
|
20
|
-
case "#comment": {
|
|
21
|
-
const o = (
|
|
22
|
-
/** @type {DefaultTreeAdapterMap['commentNode']} */
|
|
23
|
-
n
|
|
24
|
-
);
|
|
25
|
-
return e = {
|
|
26
|
-
type: "comment",
|
|
27
|
-
value: o.data
|
|
28
|
-
}, l(t, o, e), e;
|
|
29
|
-
}
|
|
30
|
-
case "#document":
|
|
31
|
-
case "#document-fragment": {
|
|
32
|
-
const o = (
|
|
33
|
-
/** @type {DefaultTreeAdapterMap['document'] | DefaultTreeAdapterMap['documentFragment']} */
|
|
34
|
-
n
|
|
35
|
-
), c = "mode" in o ? o.mode === "quirks" || o.mode === "limited-quirks" : !1;
|
|
36
|
-
if (e = {
|
|
37
|
-
type: "root",
|
|
38
|
-
children: y(t, n.childNodes),
|
|
39
|
-
data: {
|
|
40
|
-
quirksMode: c
|
|
41
|
-
}
|
|
42
|
-
}, t.file && t.location) {
|
|
43
|
-
const a = String(t.file), s = N(a), i = s.toPoint(0), r = s.toPoint(a.length);
|
|
44
|
-
e.position = {
|
|
45
|
-
start: i,
|
|
46
|
-
end: r
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
return e;
|
|
50
|
-
}
|
|
51
|
-
case "#documentType": {
|
|
52
|
-
const o = (
|
|
53
|
-
/** @type {DefaultTreeAdapterMap['documentType']} */
|
|
54
|
-
n
|
|
55
|
-
);
|
|
56
|
-
return e = {
|
|
57
|
-
type: "doctype"
|
|
58
|
-
}, l(t, o, e), e;
|
|
59
|
-
}
|
|
60
|
-
case "#text": {
|
|
61
|
-
const o = (
|
|
62
|
-
/** @type {DefaultTreeAdapterMap['textNode']} */
|
|
63
|
-
n
|
|
64
|
-
);
|
|
65
|
-
return e = {
|
|
66
|
-
type: "text",
|
|
67
|
-
value: o.value
|
|
68
|
-
}, l(t, o, e), e;
|
|
69
|
-
}
|
|
70
|
-
default:
|
|
71
|
-
return e = O(
|
|
72
|
-
t,
|
|
73
|
-
/** @type {DefaultTreeAdapterMap['element']} */
|
|
74
|
-
n
|
|
75
|
-
), e;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function y(t, n) {
|
|
79
|
-
let e = -1;
|
|
80
|
-
const o = [];
|
|
81
|
-
for (; ++e < n.length; ) {
|
|
82
|
-
const c = (
|
|
83
|
-
/** @type {RootContent} */
|
|
84
|
-
m(t, n[e])
|
|
85
|
-
);
|
|
86
|
-
o.push(c);
|
|
87
|
-
}
|
|
88
|
-
return o;
|
|
89
|
-
}
|
|
90
|
-
function O(t, n) {
|
|
91
|
-
const e = t.schema;
|
|
92
|
-
t.schema = n.namespaceURI === b.svg ? h : T;
|
|
93
|
-
let o = -1;
|
|
94
|
-
const c = {};
|
|
95
|
-
for (; ++o < n.attrs.length; ) {
|
|
96
|
-
const i = n.attrs[o], r = (i.prefix ? i.prefix + ":" : "") + i.name;
|
|
97
|
-
v.call(k, r) || (c[r] = i.value);
|
|
98
|
-
}
|
|
99
|
-
const s = (t.schema.space === "svg" ? L : w)(n.tagName, c, y(t, n.childNodes));
|
|
100
|
-
if (l(t, n, s), s.tagName === "template") {
|
|
101
|
-
const i = (
|
|
102
|
-
/** @type {DefaultTreeAdapterMap['template']} */
|
|
103
|
-
n
|
|
104
|
-
), r = i.sourceCodeLocation, f = r && r.startTag && u(r.startTag), p = r && r.endTag && u(r.endTag), d = (
|
|
105
|
-
/** @type {Root} */
|
|
106
|
-
m(t, i.content)
|
|
107
|
-
);
|
|
108
|
-
f && p && t.file && (d.position = {
|
|
109
|
-
start: f.end,
|
|
110
|
-
end: p.start
|
|
111
|
-
}), s.content = d;
|
|
112
|
-
}
|
|
113
|
-
return t.schema = e, s;
|
|
114
|
-
}
|
|
115
|
-
function l(t, n, e) {
|
|
116
|
-
if ("sourceCodeLocation" in n && n.sourceCodeLocation && t.file) {
|
|
117
|
-
const o = P(t, e, n.sourceCodeLocation);
|
|
118
|
-
o && (t.location = !0, e.position = o);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
function P(t, n, e) {
|
|
122
|
-
const o = u(e);
|
|
123
|
-
if (n.type === "element") {
|
|
124
|
-
const c = n.children[n.children.length - 1];
|
|
125
|
-
if (o && !e.endTag && c && c.position && c.position.end && (o.end = Object.assign({}, c.position.end)), t.verbose) {
|
|
126
|
-
const a = {};
|
|
127
|
-
let s;
|
|
128
|
-
if (e.attrs)
|
|
129
|
-
for (s in e.attrs)
|
|
130
|
-
v.call(e.attrs, s) && (a[C(t.schema, s).property] = u(e.attrs[s]));
|
|
131
|
-
x(e.startTag);
|
|
132
|
-
const i = u(e.startTag), r = e.endTag ? u(e.endTag) : void 0, f = {
|
|
133
|
-
opening: i
|
|
134
|
-
};
|
|
135
|
-
r && (f.closing = r), f.properties = a, n.data = {
|
|
136
|
-
position: f
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return o;
|
|
141
|
-
}
|
|
142
|
-
function u(t) {
|
|
143
|
-
const n = g({
|
|
144
|
-
line: t.startLine,
|
|
145
|
-
column: t.startCol,
|
|
146
|
-
offset: t.startOffset
|
|
147
|
-
}), e = g({
|
|
148
|
-
line: t.endLine,
|
|
149
|
-
column: t.endCol,
|
|
150
|
-
offset: t.endOffset
|
|
151
|
-
});
|
|
152
|
-
return n || e ? {
|
|
153
|
-
start: n,
|
|
154
|
-
end: e
|
|
155
|
-
} : void 0;
|
|
156
|
-
}
|
|
157
|
-
function g(t) {
|
|
158
|
-
return t.line && t.column ? t : void 0;
|
|
159
|
-
}
|
|
160
|
-
export {
|
|
161
|
-
U as fromParse5
|
|
162
|
-
};
|
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { merge as m } from "./lib/util/merge.mjs";
|
|
2
|
-
import { aria as o } from "./lib/aria.mjs";
|
|
3
|
-
import { html as s } from "./lib/html.mjs";
|
|
4
|
-
import { svg as p } from "./lib/svg.mjs";
|
|
5
|
-
import { xlink as r } from "./lib/xlink.mjs";
|
|
6
|
-
import { xmlns as t } from "./lib/xmlns.mjs";
|
|
7
|
-
import { xml as i } from "./lib/xml.mjs";
|
|
8
|
-
const x = m([o, s, r, t, i], "html"), e = m([o, p, r, t, i], "svg");
|
|
9
|
-
export {
|
|
10
|
-
x as html,
|
|
11
|
-
e as svg
|
|
12
|
-
};
|
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { create as l } from "./util/create.mjs";
|
|
2
|
-
import { booleanish as a, number as r, spaceSeparated as i } from "./util/types.mjs";
|
|
3
|
-
const u = l({
|
|
4
|
-
properties: {
|
|
5
|
-
ariaActiveDescendant: null,
|
|
6
|
-
ariaAtomic: a,
|
|
7
|
-
ariaAutoComplete: null,
|
|
8
|
-
ariaBusy: a,
|
|
9
|
-
ariaChecked: a,
|
|
10
|
-
ariaColCount: r,
|
|
11
|
-
ariaColIndex: r,
|
|
12
|
-
ariaColSpan: r,
|
|
13
|
-
ariaControls: i,
|
|
14
|
-
ariaCurrent: null,
|
|
15
|
-
ariaDescribedBy: i,
|
|
16
|
-
ariaDetails: null,
|
|
17
|
-
ariaDisabled: a,
|
|
18
|
-
ariaDropEffect: i,
|
|
19
|
-
ariaErrorMessage: null,
|
|
20
|
-
ariaExpanded: a,
|
|
21
|
-
ariaFlowTo: i,
|
|
22
|
-
ariaGrabbed: a,
|
|
23
|
-
ariaHasPopup: null,
|
|
24
|
-
ariaHidden: a,
|
|
25
|
-
ariaInvalid: null,
|
|
26
|
-
ariaKeyShortcuts: null,
|
|
27
|
-
ariaLabel: null,
|
|
28
|
-
ariaLabelledBy: i,
|
|
29
|
-
ariaLevel: r,
|
|
30
|
-
ariaLive: null,
|
|
31
|
-
ariaModal: a,
|
|
32
|
-
ariaMultiLine: a,
|
|
33
|
-
ariaMultiSelectable: a,
|
|
34
|
-
ariaOrientation: null,
|
|
35
|
-
ariaOwns: i,
|
|
36
|
-
ariaPlaceholder: null,
|
|
37
|
-
ariaPosInSet: r,
|
|
38
|
-
ariaPressed: a,
|
|
39
|
-
ariaReadOnly: a,
|
|
40
|
-
ariaRelevant: null,
|
|
41
|
-
ariaRequired: a,
|
|
42
|
-
ariaRoleDescription: i,
|
|
43
|
-
ariaRowCount: r,
|
|
44
|
-
ariaRowIndex: r,
|
|
45
|
-
ariaRowSpan: r,
|
|
46
|
-
ariaSelected: a,
|
|
47
|
-
ariaSetSize: r,
|
|
48
|
-
ariaSort: null,
|
|
49
|
-
ariaValueMax: r,
|
|
50
|
-
ariaValueMin: r,
|
|
51
|
-
ariaValueNow: r,
|
|
52
|
-
ariaValueText: null,
|
|
53
|
-
role: null
|
|
54
|
-
},
|
|
55
|
-
transform(n, e) {
|
|
56
|
-
return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
export {
|
|
60
|
-
u as aria
|
|
61
|
-
};
|
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { DefinedInfo as s } from "./util/defined-info.mjs";
|
|
2
|
-
import { Info as p } from "./util/info.mjs";
|
|
3
|
-
import { normalize as f } from "./normalize.mjs";
|
|
4
|
-
const l = /[A-Z]/g, c = /-[a-z]/g, d = /^data[-\w.:]+$/i;
|
|
5
|
-
function y(r, t) {
|
|
6
|
-
const o = f(t);
|
|
7
|
-
let i = t, a = p;
|
|
8
|
-
if (o in r.normal)
|
|
9
|
-
return r.property[r.normal[o]];
|
|
10
|
-
if (o.length > 4 && o.slice(0, 4) === "data" && d.test(t)) {
|
|
11
|
-
if (t.charAt(4) === "-") {
|
|
12
|
-
const e = t.slice(5).replace(c, h);
|
|
13
|
-
i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
14
|
-
} else {
|
|
15
|
-
const e = t.slice(4);
|
|
16
|
-
if (!c.test(e)) {
|
|
17
|
-
let n = e.replace(l, m);
|
|
18
|
-
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
a = s;
|
|
22
|
-
}
|
|
23
|
-
return new a(i, t);
|
|
24
|
-
}
|
|
25
|
-
function m(r) {
|
|
26
|
-
return "-" + r.toLowerCase();
|
|
27
|
-
}
|
|
28
|
-
function h(r) {
|
|
29
|
-
return r.charAt(1).toUpperCase();
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
y as find
|
|
33
|
-
};
|