@blueking/ai-ui-sdk 0.0.14 → 0.0.15-beta.10
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/assets/images/ai.png +0 -0
- package/dist/assets/images/user.png +0 -0
- package/dist/assets/svg/picture-fail.svg +1 -0
- package/dist/common/chart-helper.d.ts +1 -1
- package/dist/common/chart-helper.js +173 -0
- package/dist/common/util.d.ts +31 -0
- package/dist/common/util.js +177 -0
- package/dist/component/render-image/index.script.vue.js +37 -0
- package/dist/component/render-image/index.vue.d.ts +6 -0
- package/dist/component/render-image/index.vue.js +3 -0
- package/dist/component/render-input/index.script.vue.js +205 -0
- package/dist/component/render-input/index.vue.css +134 -0
- package/dist/component/render-input/index.vue.d.ts +18 -0
- package/dist/component/render-input/index.vue.js +5 -0
- package/dist/component/render-input/render-drag.script.vue.js +61 -0
- package/dist/component/render-input/render-drag.vue.css +32 -0
- package/dist/component/render-input/render-drag.vue.d.ts +13 -0
- package/dist/component/render-input/render-drag.vue.js +5 -0
- package/dist/component/render-input/render-quill.script.vue.js +197 -0
- package/dist/component/render-input/render-quill.vue.css +27 -0
- package/dist/component/render-input/render-quill.vue.d.ts +24 -0
- package/dist/component/render-input/render-quill.vue.js +4 -0
- package/dist/component/render-knowledge-icon/index.script.vue.js +40 -0
- package/dist/component/render-knowledge-icon/index.vue.css +4 -0
- package/dist/component/render-knowledge-icon/index.vue.d.ts +14 -0
- package/dist/component/render-knowledge-icon/index.vue.js +5 -0
- package/dist/component/render-markdown/mark-down-code.d.ts +2 -0
- package/dist/component/render-markdown/mark-down-code.js +171 -0
- package/dist/component/render-markdown/mark-down-emoji.d.ts +2 -0
- package/dist/component/render-markdown/mark-down-emoji.js +4 -0
- package/dist/component/render-markdown/mark-down.d.ts +74 -0
- package/dist/component/render-markdown/mark-down.js +147 -0
- package/dist/component/render-markdown/mark-down.postcss.css +131 -0
- package/dist/component/render-message/image-not-supported-message.script.vue.js +99 -0
- package/dist/component/render-message/image-not-supported-message.vue.css +66 -0
- package/dist/component/render-message/image-not-supported-message.vue.d.ts +21 -0
- package/dist/component/render-message/image-not-supported-message.vue.js +5 -0
- package/dist/component/render-message/index.script.vue.js +104 -0
- package/dist/component/render-message/index.vue.d.ts +13 -0
- package/dist/component/render-message/index.vue.js +3 -0
- package/dist/component/render-message/openai-message.script.vue.js +215 -0
- package/dist/component/render-message/openai-message.vue.css +98 -0
- package/dist/component/render-message/openai-message.vue.d.ts +15 -0
- package/dist/component/render-message/openai-message.vue.js +5 -0
- package/dist/component/render-message/skeleton-message.script.vue.js +7 -0
- package/dist/component/render-message/skeleton-message.vue.css +7 -0
- package/dist/component/render-message/skeleton-message.vue.d.ts +2 -0
- package/dist/component/render-message/skeleton-message.vue.js +6 -0
- package/dist/component/render-message/system-message.script.vue.js +17 -0
- package/dist/component/render-message/system-message.vue.css +20 -0
- package/dist/component/render-message/system-message.vue.d.ts +6 -0
- package/dist/component/render-message/system-message.vue.js +5 -0
- package/dist/component/render-message/time-message.script.vue.js +41 -0
- package/dist/component/render-message/time-message.vue.css +14 -0
- package/dist/component/render-message/time-message.vue.d.ts +6 -0
- package/dist/component/render-message/time-message.vue.js +5 -0
- package/dist/component/render-message/token-expired-message.script.vue.js +78 -0
- package/dist/component/render-message/token-expired-message.vue.css +60 -0
- package/dist/component/render-message/token-expired-message.vue.d.ts +15 -0
- package/dist/component/render-message/token-expired-message.vue.js +5 -0
- package/dist/component/render-message/user-message.script.vue.js +241 -0
- package/dist/component/render-message/user-message.vue.css +100 -0
- package/dist/component/render-message/user-message.vue.d.ts +21 -0
- package/dist/component/render-message/user-message.vue.js +5 -0
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +53 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +10 -0
- package/dist/css/style.css +43 -0
- package/dist/event/index.d.ts +4 -0
- package/dist/event/index.js +18 -0
- package/dist/hooks/use-chat.d.ts +844 -20
- package/dist/hooks/use-chat.js +565 -0
- package/dist/hooks/use-click-proxy.js +77 -0
- package/dist/hooks/use-http.d.ts +15 -0
- package/dist/hooks/use-http.js +48 -0
- package/dist/hooks/use-mouse-drag.d.ts +13 -0
- package/dist/hooks/use-mouse-drag.js +59 -0
- package/dist/hooks/use-reference-doc.d.ts +1 -1
- package/dist/hooks/use-reference-doc.js +185 -0
- package/dist/hooks/use-style.js +11 -0
- package/dist/hooks/use-summary.d.ts +1 -1
- package/dist/hooks/use-summary.js +55 -0
- package/dist/hooks/use-think.js +135 -0
- package/dist/http/fetch/error-interceptor.d.ts +3 -0
- package/dist/http/fetch/error-interceptor.js +28 -0
- package/dist/http/fetch/index.d.ts +25 -0
- package/dist/http/fetch/index.js +182 -0
- package/dist/http/fetch/request-error.d.ts +6 -0
- package/dist/http/fetch/request-error.js +25 -0
- package/dist/http/fetch/success-interceptor.d.ts +3 -0
- package/dist/http/fetch/success-interceptor.js +92 -0
- package/dist/http/helper/knowledge.d.ts +43 -0
- package/dist/http/helper/knowledge.js +227 -0
- package/dist/http/helper/permission.d.ts +7 -0
- package/dist/http/helper/permission.js +28 -0
- package/dist/http/helper/session.d.ts +31 -0
- package/dist/http/helper/session.js +147 -0
- package/dist/http/helper/tool.d.ts +13 -0
- package/dist/http/helper/tool.js +49 -0
- package/dist/main.d.ts +17 -2
- package/dist/main.js +29 -239
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-down-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-left-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-left.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-right-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-right.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-up-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-down-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-down-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-down.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-left.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-right.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-up-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/angle-up.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/archive-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/arrows-left.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/arrows-right.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/assistant.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/audio-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/bk.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/circle.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/close-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/close.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/code.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/cog-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/collapse-left.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/copy-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/copy.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/data-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/del.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/doc-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/done.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/down-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/down-small.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/edit-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/ellipsis.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/enlarge-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/error.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/excel-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/exclamation-circle-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/eye.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/filliscreen-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/fix-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/fix-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/folder-open.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/folder-shape-open.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/folder-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/folder.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/funnel.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/grag-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/help-document-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/help-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/help.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/image-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/img-error.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/img-placehoulder.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/index.js +113 -0
- package/dist/node_modules/bkui-vue/lib/icon/info-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/info.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/left-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/left-turn-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/loading.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/narrow-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/original.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/pdf-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/play-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/plus.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/ppt-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/qq.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/right-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/right-turn-line.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/search.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/share.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/spinner.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/success.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/switcher-loading.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/text-all.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/text-file.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/text-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/transfer.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/tree-application-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/unfull-screen.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/unvisible.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/up-shape.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/upload.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/video-fill.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/warn.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/weixin-pro.js +191 -0
- package/dist/node_modules/bkui-vue/lib/icon/weixin.js +191 -0
- package/dist/node_modules/bkui-vue/lib/styles/reset.css +439 -0
- package/dist/node_modules/call-bind/index.js +24 -0
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/dist/node_modules/call-bound/index.js +19 -0
- package/dist/node_modules/deep-equal/index.js +112 -0
- package/dist/node_modules/define-data-property/index.js +56 -0
- package/dist/node_modules/define-properties/index.js +47 -0
- package/dist/node_modules/dunder-proto/get.js +30 -0
- package/dist/node_modules/es-define-property/index.js +14 -0
- package/dist/node_modules/es-errors/eval.js +4 -0
- package/dist/node_modules/es-errors/index.js +4 -0
- package/dist/node_modules/es-errors/range.js +4 -0
- package/dist/node_modules/es-errors/ref.js +4 -0
- package/dist/node_modules/es-errors/syntax.js +4 -0
- package/dist/node_modules/es-errors/type.js +4 -0
- package/dist/node_modules/es-errors/uri.js +4 -0
- package/dist/node_modules/es-object-atoms/index.js +4 -0
- package/dist/node_modules/extend/index.js +117 -0
- package/dist/node_modules/fast-diff/diff.js +738 -0
- package/dist/node_modules/function-bind/implementation.js +84 -0
- package/dist/node_modules/function-bind/index.js +5 -0
- package/dist/node_modules/functions-have-names/index.js +31 -0
- package/dist/node_modules/get-intrinsic/index.js +378 -0
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/dist/node_modules/get-proto/index.js +27 -0
- package/dist/node_modules/gopd/gOPD.js +4 -0
- package/dist/node_modules/gopd/index.js +15 -0
- package/dist/node_modules/has-property-descriptors/index.js +22 -0
- package/dist/node_modules/has-symbols/index.js +14 -0
- package/dist/node_modules/has-symbols/shams.js +45 -0
- package/dist/node_modules/has-tostringtag/shams.js +8 -0
- package/dist/node_modules/hasown/index.js +8 -0
- package/dist/node_modules/is-arguments/index.js +44 -0
- package/dist/node_modules/is-date-object/index.js +27 -0
- package/dist/node_modules/is-regex/index.js +69 -0
- package/dist/node_modules/math-intrinsics/abs.js +4 -0
- package/dist/node_modules/math-intrinsics/floor.js +4 -0
- package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
- package/dist/node_modules/math-intrinsics/max.js +4 -0
- package/dist/node_modules/math-intrinsics/min.js +4 -0
- package/dist/node_modules/math-intrinsics/pow.js +4 -0
- package/dist/node_modules/math-intrinsics/round.js +4 -0
- package/dist/node_modules/math-intrinsics/sign.js +11 -0
- package/dist/node_modules/object-is/implementation.js +19 -0
- package/dist/node_modules/object-is/index.js +18 -0
- package/dist/node_modules/object-is/polyfill.js +7 -0
- package/dist/node_modules/object-is/shim.js +14 -0
- package/dist/node_modules/object-keys/implementation.js +122 -0
- package/dist/node_modules/object-keys/index.js +32 -0
- package/dist/node_modules/object-keys/isArguments.js +17 -0
- package/dist/node_modules/quill/dist/quill.js +11562 -0
- package/dist/node_modules/quill/dist/quill.snow.css +945 -0
- package/dist/node_modules/quill-delta/lib/delta.js +344 -0
- package/dist/node_modules/quill-delta/lib/op.js +155 -0
- package/dist/node_modules/regexp.prototype.flags/implementation.js +39 -0
- package/dist/node_modules/regexp.prototype.flags/index.js +18 -0
- package/dist/node_modules/regexp.prototype.flags/polyfill.js +39 -0
- package/dist/node_modules/regexp.prototype.flags/shim.js +26 -0
- package/dist/node_modules/set-function-length/index.js +42 -0
- package/dist/node_modules/set-function-name/index.js +23 -0
- package/dist/node_modules/x-mavon-editor/dist/css/index.css +1 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.eot +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.svg +72 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/highlight.min.js +1150 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/bash.min.js +20 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/css.min.js +31 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/go.min.js +14 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/java.min.js +37 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/javascript.min.js +76 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/json.min.js +7 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/markdown.min.js +31 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/perl.min.js +36 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/php.min.js +37 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/python.min.js +42 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/ruby.min.js +48 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/sql.min.js +17 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/swift.min.js +60 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/typescript.min.js +92 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/xml.min.js +28 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/styles/atom-one-dark.min.css +1 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.css +1 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.js +1 -0
- package/dist/node_modules/x-mavon-editor/dist/markdown/github-markdown.min.css +2 -0
- package/dist/node_modules/x-mavon-editor/dist/mavon-editor.js +31 -0
- package/dist/types/enum.d.ts +44 -0
- package/dist/types/enum.js +111 -0
- package/dist/types/file.d.ts +13 -0
- package/dist/types/file.js +1 -0
- package/dist/types/knowledge.d.ts +133 -0
- package/dist/types/knowledge.js +1 -0
- package/dist/types/model.d.ts +14 -0
- package/dist/types/permission.d.ts +48 -0
- package/dist/types/permission.js +1 -0
- package/dist/types/{type.d.ts → session.d.ts} +84 -23
- package/dist/types/session.js +1 -0
- package/dist/types/tool.d.ts +60 -0
- package/dist/types/tool.js +1 -0
- package/package.json +10 -4
- package/dist/common/type-transform.d.ts +0 -7
@@ -0,0 +1,191 @@
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
+
/******/ // The require scope
|
3
|
+
/******/ var __webpack_require__ = {};
|
4
|
+
/******/
|
5
|
+
/************************************************************************/
|
6
|
+
/******/ /* webpack/runtime/define property getters */
|
7
|
+
/******/ (() => {
|
8
|
+
/******/ // define getter functions for harmony exports
|
9
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
10
|
+
/******/ for(var key in definition) {
|
11
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
12
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
13
|
+
/******/ }
|
14
|
+
/******/ }
|
15
|
+
/******/ };
|
16
|
+
/******/ })();
|
17
|
+
/******/
|
18
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
19
|
+
/******/ (() => {
|
20
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
21
|
+
/******/ })();
|
22
|
+
/******/
|
23
|
+
/************************************************************************/
|
24
|
+
var __webpack_exports__ = {};
|
25
|
+
|
26
|
+
// EXPORTS
|
27
|
+
__webpack_require__.d(__webpack_exports__, {
|
28
|
+
"default": () => (/* binding */ icons_weixin)
|
29
|
+
});
|
30
|
+
|
31
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
|
+
"@babel/helpers - typeof";
|
34
|
+
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
|
+
}
|
41
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
|
+
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
|
+
}
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
|
+
}
|
53
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
|
+
|
55
|
+
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
|
+
}
|
60
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
|
+
|
62
|
+
function _defineProperty(obj, key, value) {
|
63
|
+
key = toPropertyKey(key);
|
64
|
+
if (key in obj) {
|
65
|
+
Object.defineProperty(obj, key, {
|
66
|
+
value: value,
|
67
|
+
enumerable: true,
|
68
|
+
configurable: true,
|
69
|
+
writable: true
|
70
|
+
});
|
71
|
+
} else {
|
72
|
+
obj[key] = value;
|
73
|
+
}
|
74
|
+
return obj;
|
75
|
+
}
|
76
|
+
;// CONCATENATED MODULE: external "vue"
|
77
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
78
|
+
var y = x => () => x
|
79
|
+
const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
80
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
81
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
82
|
+
if (source == null) return {};
|
83
|
+
var target = {};
|
84
|
+
var sourceKeys = Object.keys(source);
|
85
|
+
var key, i;
|
86
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
87
|
+
key = sourceKeys[i];
|
88
|
+
if (excluded.indexOf(key) >= 0) continue;
|
89
|
+
target[key] = source[key];
|
90
|
+
}
|
91
|
+
return target;
|
92
|
+
}
|
93
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
94
|
+
|
95
|
+
function _objectWithoutProperties(source, excluded) {
|
96
|
+
if (source == null) return {};
|
97
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
98
|
+
var key, i;
|
99
|
+
if (Object.getOwnPropertySymbols) {
|
100
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
101
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
102
|
+
key = sourceSymbolKeys[i];
|
103
|
+
if (excluded.indexOf(key) >= 0) continue;
|
104
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
105
|
+
target[key] = source[key];
|
106
|
+
}
|
107
|
+
}
|
108
|
+
return target;
|
109
|
+
}
|
110
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
|
111
|
+
|
112
|
+
|
113
|
+
var _excluded = ["data", "name", "width", "height", "fill"];
|
114
|
+
|
115
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
116
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
117
|
+
/*
|
118
|
+
* Tencent is pleased to support the open source community by making
|
119
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
120
|
+
*
|
121
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
122
|
+
*
|
123
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
124
|
+
*
|
125
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
126
|
+
*
|
127
|
+
* ---------------------------------------------------
|
128
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
129
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
130
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
131
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
132
|
+
*
|
133
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
134
|
+
* the Software.
|
135
|
+
*
|
136
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
137
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
138
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
139
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
140
|
+
* IN THE SOFTWARE.
|
141
|
+
*/
|
142
|
+
|
143
|
+
function generate(node, key, rootAttrs) {
|
144
|
+
return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
|
145
|
+
key: key
|
146
|
+
}, node.attributes), {}, {
|
147
|
+
style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
|
148
|
+
}), (node.elements || []).map(function (element, index) {
|
149
|
+
return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
|
150
|
+
}));
|
151
|
+
}
|
152
|
+
var bkIcon = function bkIcon(props, context) {
|
153
|
+
var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
|
154
|
+
data = _context$attrs$props.data,
|
155
|
+
name = _context$attrs$props.name,
|
156
|
+
width = _context$attrs$props.width,
|
157
|
+
height = _context$attrs$props.height,
|
158
|
+
fill = _context$attrs$props.fill,
|
159
|
+
restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
|
160
|
+
var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
|
161
|
+
var iconBoxStyle = {
|
162
|
+
display: 'inline-flex',
|
163
|
+
'align-items': 'center',
|
164
|
+
'justify-content': 'center'
|
165
|
+
};
|
166
|
+
return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
|
167
|
+
"style": iconBoxStyle
|
168
|
+
}, restProps), [generate(data, name, rootAttrs)]);
|
169
|
+
};
|
170
|
+
bkIcon.inheritAttrs = false;
|
171
|
+
bkIcon.displayName = 'bkIcon';
|
172
|
+
/* harmony default export */ const icon = (bkIcon);
|
173
|
+
;// CONCATENATED MODULE: ../../packages/icon/icons/weixin.tsx
|
174
|
+
|
175
|
+
|
176
|
+
function weixin_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
177
|
+
function weixin_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? weixin_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : weixin_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
178
|
+
|
179
|
+
var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}');
|
180
|
+
var weixin = function weixin(props, context) {
|
181
|
+
var p = weixin_objectSpread(weixin_objectSpread({}, props), context.attrs);
|
182
|
+
return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
|
183
|
+
"data": data,
|
184
|
+
"name": "weixin"
|
185
|
+
}), null);
|
186
|
+
};
|
187
|
+
weixin.displayName = 'weixin';
|
188
|
+
weixin.inheritAttrs = false;
|
189
|
+
/* harmony default export */ const icons_weixin = (weixin);
|
190
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
191
|
+
export { __webpack_exports__default as default };
|
@@ -0,0 +1,439 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
13
|
+
--disable-color: #dcdee5;
|
14
|
+
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
16
|
+
--font-size-base: 12px;
|
17
|
+
--font-size-medium: 14px;
|
18
|
+
--font-size-large: 16px;
|
19
|
+
--line-height-base: 16px;
|
20
|
+
--line-height-medium: 16px;
|
21
|
+
--line-height-large: 18px;
|
22
|
+
--component-size-small: 26px;
|
23
|
+
--component-size-base: 32px;
|
24
|
+
--component-size-large: 40px;
|
25
|
+
--component-size-small-padding: 0 12px;
|
26
|
+
--component-size-base-padding: 0 14px;
|
27
|
+
--component-size-large-padding: 0 16px;
|
28
|
+
--border-width-base: 1px;
|
29
|
+
--border-style-base: solid;
|
30
|
+
--border-radius-base: 2px;
|
31
|
+
--border-style-color: var(--light-gray);
|
32
|
+
--input-disabled-bg: #fafbfd;
|
33
|
+
--input-disabled-border: var(--disable-color);
|
34
|
+
--input-height-base: var(--component-size-base);
|
35
|
+
--input-color: var(--default-color);
|
36
|
+
--input-bg: white;
|
37
|
+
--input-border-color: var(--light-gray);
|
38
|
+
--input-broder-radius: 3px;
|
39
|
+
--input-shadow-color: #a3c5fd;
|
40
|
+
--input-horizontal-padding: 8px;
|
41
|
+
--input-block-color: #f5f7fa;
|
42
|
+
--input-block-hover-color: #eaebf0;
|
43
|
+
--input-icon-size: var(--font-size-medium);
|
44
|
+
--input-maxlength-color: #979ba5;
|
45
|
+
--button-primary-hover-color: #5594fa;
|
46
|
+
--button-danger-hover-color: #ff5656;
|
47
|
+
--button-success-hover-color: #45e35f;
|
48
|
+
--button-warning-hover-color: #ffb848;
|
49
|
+
--button-default-hover-border-color: #979ba5;
|
50
|
+
--button-primary-active-color: #2c77f4;
|
51
|
+
--button-danger-active-color: #db2626;
|
52
|
+
--button-success-active-color: #1ab943;
|
53
|
+
--button-warning-active-color: #eb9000;
|
54
|
+
--button-selected-bg-color: #e1ecff;
|
55
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
56
|
+
--radio-font-color: #63656e;
|
57
|
+
--radio-active-color: #3a84ff;
|
58
|
+
--radio-hover-border-color: #979ba5;
|
59
|
+
--radio-disabled-border: #dcdee5;
|
60
|
+
--radio-disabled-font-color: #c4c6cc;
|
61
|
+
--radio-disabled-checked-bg: #a3c5fd;
|
62
|
+
--radio-button-checked-bg: #e1ecff;
|
63
|
+
--radio-button-disabled-checked-bg: #fafbfd;
|
64
|
+
--checkbox-disabled-checked-bg: #a3c5fd;
|
65
|
+
--fixed-navbar-background: #fff;
|
66
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
67
|
+
--switch-default-color: #fff;
|
68
|
+
--switch-grey-color: #c4c6cc;
|
69
|
+
--breadcrumb-black-color: #979ba5;
|
70
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
71
|
+
--breadcrumb-fn-main-color: #63656e;
|
72
|
+
--link-default-hover-color: #979ba5;
|
73
|
+
--link-primary-hover-color: #699df4;
|
74
|
+
--link-success-hover-color: #45e35f;
|
75
|
+
--link-warning-hover-color: #ffb848;
|
76
|
+
--link-danger-hover-color: #ff5656;
|
77
|
+
--link-default-disabled-color: #dcdee5;
|
78
|
+
--link-primary-disabled-color: #a3c5fd;
|
79
|
+
--link-success-disabled-color: #94f5a4;
|
80
|
+
--link-warning-disabled-color: #ffd695;
|
81
|
+
--link-danger-disabled-color: #fd9c9c;
|
82
|
+
--message-color: var(--default-color);
|
83
|
+
--message-primary-bg-color: #f0f8ff;
|
84
|
+
--message-primary-border-color: #e1ecff;
|
85
|
+
--message-primary-shadow-color: #e1e8f4;
|
86
|
+
--message-warning-bg-color: #fff4e2;
|
87
|
+
--message-warning-border-color: #ffe8c3;
|
88
|
+
--message-warning-shadow-color: #ede6db;
|
89
|
+
--message-success-bg-color: #f2fff4;
|
90
|
+
--message-success-border-color: #dcffe2;
|
91
|
+
--message-success-shadow-color: #cef0d7;
|
92
|
+
--message-danger-bg-color: #ffeded;
|
93
|
+
--message-danger-border-color: #ffdddd;
|
94
|
+
--message-danger-shadow-color: #f6dada;
|
95
|
+
--slider-default-bg: #dcdee5;
|
96
|
+
--slider-disable-bar-bg: #979ba5;
|
97
|
+
--menu-bg-color: #182132;
|
98
|
+
--submenu-bg-color: #151d2c;
|
99
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
100
|
+
--menu-color: #96a2b9;
|
101
|
+
--menu-group-color: var(--default-color);
|
102
|
+
--menu-width: 260px;
|
103
|
+
--menu-collapse-width: 60px;
|
104
|
+
--menu-active-color: white;
|
105
|
+
--nav-header-bg-color: #182132;
|
106
|
+
--nav-bg-color: #182132;
|
107
|
+
--date-picker-disabled-bg: #fafbfd;
|
108
|
+
--date-picker-dropdown-mb: 4px;
|
109
|
+
--date-picker-dropdown-bg: #fff;
|
110
|
+
--table-bg-color: var(--white-color);
|
111
|
+
--table-border-color: #dcdee5;
|
112
|
+
--table-strip-color: #fafbfd;
|
113
|
+
--table-head-bg-color: #fafbfd;
|
114
|
+
--table-head-font-color: #313238;
|
115
|
+
--table-body-font-color: #63656e;
|
116
|
+
--table-row-hover-bg-color: #f5f7fa;
|
117
|
+
--table-row-active-bg-color: #f0f1f5;
|
118
|
+
--cascader-panel-border-color: #dcdee5;
|
119
|
+
--cascader-panel-hover: #f5f7fa;
|
120
|
+
--cascader-panel-active: #e1ecff;
|
121
|
+
--cascader-panel-disabled-bg: #fff;
|
122
|
+
--search-select-focus-border-color: var(--primary-color);
|
123
|
+
--search-select-focus-color: #3c96ff;
|
124
|
+
--search-select-font-color: var(--default-color);
|
125
|
+
--search-select-placeholder-color: var(--light-gray);
|
126
|
+
--search-select-message-color: var(--danger-color);
|
127
|
+
--search-select-menu-border-color: var(--disable-color);
|
128
|
+
--select-active-color: #e1ecff;
|
129
|
+
--select-hover-color: #f5f7fa;
|
130
|
+
}
|
131
|
+
.scroll-bar-style::-webkit-scrollbar {
|
132
|
+
width: 4px;
|
133
|
+
height: 4px;
|
134
|
+
}
|
135
|
+
.scroll-bar-style::-webkit-scrollbar-thumb {
|
136
|
+
background: #ddd;
|
137
|
+
border-radius: 20px;
|
138
|
+
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
139
|
+
}
|
140
|
+
html,
|
141
|
+
body {
|
142
|
+
padding: 0;
|
143
|
+
margin: 0;
|
144
|
+
}
|
145
|
+
* {
|
146
|
+
box-sizing: border-box;
|
147
|
+
}
|
148
|
+
/**
|
149
|
+
* HTML5 display definitions
|
150
|
+
* ==========================================================================
|
151
|
+
*
|
152
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
153
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
|
154
|
+
* Correct `block` display not defined for `main` in IE 11.
|
155
|
+
*/
|
156
|
+
article,
|
157
|
+
aside,
|
158
|
+
details,
|
159
|
+
figcaption,
|
160
|
+
figure,
|
161
|
+
footer,
|
162
|
+
header,
|
163
|
+
hgroup,
|
164
|
+
main,
|
165
|
+
menu,
|
166
|
+
nav,
|
167
|
+
section,
|
168
|
+
summary {
|
169
|
+
display: block;
|
170
|
+
}
|
171
|
+
/**
|
172
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
173
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
174
|
+
*/
|
175
|
+
audio,
|
176
|
+
canvas,
|
177
|
+
progress,
|
178
|
+
video {
|
179
|
+
/* 1 */
|
180
|
+
display: inline-block;
|
181
|
+
/* 2 */
|
182
|
+
vertical-align: baseline;
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
186
|
+
* Remove excess height in iOS 5 devices.
|
187
|
+
*/
|
188
|
+
audio:not([controls]) {
|
189
|
+
display: none;
|
190
|
+
height: 0;
|
191
|
+
}
|
192
|
+
/**
|
193
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
194
|
+
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
195
|
+
*/
|
196
|
+
[hidden],
|
197
|
+
template {
|
198
|
+
display: none;
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* Links
|
202
|
+
* ==========================================================================
|
203
|
+
*
|
204
|
+
* Remove the gray background color from active links in IE 10.
|
205
|
+
*/
|
206
|
+
a {
|
207
|
+
background-color: transparent;
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* Improve readability of focused elements when they are also in an
|
211
|
+
* active/hover state.
|
212
|
+
*/
|
213
|
+
a:active,
|
214
|
+
a:hover {
|
215
|
+
outline: 0;
|
216
|
+
}
|
217
|
+
/**
|
218
|
+
* Text-level semantics
|
219
|
+
* ==========================================================================
|
220
|
+
*
|
221
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
222
|
+
*/
|
223
|
+
abbr[title] {
|
224
|
+
border-bottom: 1px dotted;
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* Embedded content
|
228
|
+
* ==========================================================================
|
229
|
+
*
|
230
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
231
|
+
*/
|
232
|
+
img {
|
233
|
+
border: 0;
|
234
|
+
}
|
235
|
+
/**
|
236
|
+
* Correct overflow not hidden in IE 9/10/11.
|
237
|
+
*/
|
238
|
+
svg:not(:root) {
|
239
|
+
overflow: hidden;
|
240
|
+
}
|
241
|
+
/**
|
242
|
+
* Grouping content
|
243
|
+
* ==========================================================================
|
244
|
+
*
|
245
|
+
* Address margin not present in IE 8/9 and Safari.
|
246
|
+
*/
|
247
|
+
figure {
|
248
|
+
margin: 1em 40px;
|
249
|
+
}
|
250
|
+
/**
|
251
|
+
* Address differences between Firefox and other browsers.
|
252
|
+
*/
|
253
|
+
hr {
|
254
|
+
height: 0;
|
255
|
+
box-sizing: content-box;
|
256
|
+
}
|
257
|
+
/**
|
258
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
259
|
+
*
|
260
|
+
* Forms
|
261
|
+
* ==========================================================================
|
262
|
+
*
|
263
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
264
|
+
* styling of `select`, unless a `border` property is set.
|
265
|
+
*
|
266
|
+
* 1. Correct color not being inherited.
|
267
|
+
* Known issue: affects color of disabled elements.
|
268
|
+
* 2. Correct font properties not being inherited.
|
269
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
270
|
+
*/
|
271
|
+
button,
|
272
|
+
input,
|
273
|
+
optgroup,
|
274
|
+
select,
|
275
|
+
textarea {
|
276
|
+
/* 3 */
|
277
|
+
margin: 0;
|
278
|
+
/* 2 */
|
279
|
+
font: inherit;
|
280
|
+
/* 1 */
|
281
|
+
color: inherit;
|
282
|
+
}
|
283
|
+
/**
|
284
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
285
|
+
*/
|
286
|
+
button {
|
287
|
+
overflow: visible;
|
288
|
+
}
|
289
|
+
/**
|
290
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
291
|
+
* All other form control elements do not inherit `text-transform` values.
|
292
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
293
|
+
* Correct `select` style inheritance in Firefox.
|
294
|
+
*/
|
295
|
+
button,
|
296
|
+
select {
|
297
|
+
text-transform: none;
|
298
|
+
}
|
299
|
+
/**
|
300
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
301
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
302
|
+
* 3. Improve usability and consistency of cursor style between image-type `input` and others.
|
303
|
+
*/
|
304
|
+
button,
|
305
|
+
html input[type='button'],
|
306
|
+
input[type='reset'],
|
307
|
+
input[type='submit'] {
|
308
|
+
/* 3 */
|
309
|
+
cursor: pointer;
|
310
|
+
/* 2 */
|
311
|
+
appearance: button;
|
312
|
+
}
|
313
|
+
/* Re-set default cursor for disabled elements. */
|
314
|
+
button[disabled],
|
315
|
+
html input[disabled] {
|
316
|
+
cursor: default;
|
317
|
+
}
|
318
|
+
/* Remove inner padding and border in Firefox 4+. */
|
319
|
+
button::-moz-focus-inner,
|
320
|
+
input::-moz-focus-inner {
|
321
|
+
padding: 0;
|
322
|
+
border: 0;
|
323
|
+
}
|
324
|
+
/**
|
325
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
|
326
|
+
*/
|
327
|
+
input {
|
328
|
+
line-height: normal;
|
329
|
+
}
|
330
|
+
/**
|
331
|
+
* It's recommended that you don't attempt to style these elements.
|
332
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
333
|
+
*
|
334
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
335
|
+
* 2. Remove excess padding in IE 8/9/10.
|
336
|
+
*/
|
337
|
+
input[type='checkbox'],
|
338
|
+
input[type='radio'] {
|
339
|
+
/* 2 */
|
340
|
+
padding: 0;
|
341
|
+
/* 1 */
|
342
|
+
box-sizing: border-box;
|
343
|
+
}
|
344
|
+
/**
|
345
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
346
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
347
|
+
* decrement button to change from `default` to `text`.
|
348
|
+
*/
|
349
|
+
input[type='number']::-webkit-inner-spin-button,
|
350
|
+
input[type='number']::-webkit-outer-spin-button {
|
351
|
+
height: auto;
|
352
|
+
}
|
353
|
+
::-ms-clear,
|
354
|
+
::-ms-reveal {
|
355
|
+
display: none;
|
356
|
+
}
|
357
|
+
input[type='text']::-ms-clear {
|
358
|
+
display: none;
|
359
|
+
}
|
360
|
+
input[type='text']::-ms-reveal {
|
361
|
+
display: none;
|
362
|
+
}
|
363
|
+
/**
|
364
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
365
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
366
|
+
*/
|
367
|
+
input[type='search'] {
|
368
|
+
/* 2 */
|
369
|
+
box-sizing: content-box;
|
370
|
+
/* 1 */
|
371
|
+
appearance: textfield;
|
372
|
+
}
|
373
|
+
/**
|
374
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
375
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
376
|
+
* padding (and `textfield` appearance).
|
377
|
+
*/
|
378
|
+
input[type='search']::-webkit-search-cancel-button,
|
379
|
+
input[type='search']::-webkit-search-decoration {
|
380
|
+
appearance: none;
|
381
|
+
}
|
382
|
+
/**
|
383
|
+
* Define consistent border, margin, and padding.
|
384
|
+
*/
|
385
|
+
fieldset {
|
386
|
+
padding: 0.35em 0.625em 0.75em;
|
387
|
+
margin: 0 2px;
|
388
|
+
border: 1px solid #c0c0c0;
|
389
|
+
}
|
390
|
+
/**
|
391
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
392
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
393
|
+
*/
|
394
|
+
legend {
|
395
|
+
/* 2 */
|
396
|
+
padding: 0;
|
397
|
+
/* 1 */
|
398
|
+
border: 0;
|
399
|
+
}
|
400
|
+
/**
|
401
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
402
|
+
*/
|
403
|
+
textarea {
|
404
|
+
overflow: auto;
|
405
|
+
}
|
406
|
+
/**
|
407
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
408
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
409
|
+
*/
|
410
|
+
optgroup {
|
411
|
+
font-weight: bold;
|
412
|
+
}
|
413
|
+
/**
|
414
|
+
* BK-Scroll-Style
|
415
|
+
*/
|
416
|
+
.bk-scroll-y {
|
417
|
+
overflow-y: auto;
|
418
|
+
}
|
419
|
+
.bk-scroll-y::-webkit-scrollbar {
|
420
|
+
width: 4px;
|
421
|
+
height: 4px;
|
422
|
+
}
|
423
|
+
.bk-scroll-y::-webkit-scrollbar-thumb {
|
424
|
+
background: #ddd;
|
425
|
+
border-radius: 20px;
|
426
|
+
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
427
|
+
}
|
428
|
+
.bk-scroll-x {
|
429
|
+
overflow-x: auto;
|
430
|
+
}
|
431
|
+
.bk-scroll-x::-webkit-scrollbar {
|
432
|
+
width: 4px;
|
433
|
+
height: 4px;
|
434
|
+
}
|
435
|
+
.bk-scroll-x::-webkit-scrollbar-thumb {
|
436
|
+
background: #ddd;
|
437
|
+
border-radius: 20px;
|
438
|
+
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
439
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var setFunctionLength = require('../set-function-length/index.js');
|
4
|
+
|
5
|
+
var $defineProperty = require('../es-define-property/index.js');
|
6
|
+
|
7
|
+
var callBindBasic = require('../call-bind-apply-helpers/index.js');
|
8
|
+
var applyBind = require('../call-bind-apply-helpers/applyBind.js');
|
9
|
+
|
10
|
+
module.exports = function callBind(originalFunction) {
|
11
|
+
var func = callBindBasic(arguments);
|
12
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
13
|
+
return setFunctionLength(
|
14
|
+
func,
|
15
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
16
|
+
true
|
17
|
+
);
|
18
|
+
};
|
19
|
+
|
20
|
+
if ($defineProperty) {
|
21
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
22
|
+
} else {
|
23
|
+
module.exports.apply = applyBind;
|
24
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var bind = require('../function-bind/index.js');
|
4
|
+
|
5
|
+
var $apply = require('./functionApply.js');
|
6
|
+
var $call = require('./functionCall.js');
|
7
|
+
var $reflectApply = require('./reflectApply.js');
|
8
|
+
|
9
|
+
/** @type {import('./actualApply')} */
|
10
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var bind = require('../function-bind/index.js');
|
4
|
+
var $apply = require('./functionApply.js');
|
5
|
+
var actualApply = require('./actualApply.js');
|
6
|
+
|
7
|
+
/** @type {import('./applyBind')} */
|
8
|
+
module.exports = function applyBind() {
|
9
|
+
return actualApply(bind, $apply, arguments);
|
10
|
+
};
|