@gct-paas/core-web 0.1.5-dev.4 → 0.1.5-dev.5
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/_plugin-vue_export-helper-4vvM2fiX.js +1 -0
- package/dist/icon-next-picker-CShmDJI0.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/monaco-editor-B8f_I6sY.js +1 -0
- package/dist/overlayscrollbars-vue-B2LfyB-V.js +1 -0
- package/es/components/UserPick/src/user-pick.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/base-button/base-button.vue.mjs +1 -1
- package/es/components/field-upload/src/components/base-upload.vue.mjs +2 -2
- package/es/components/field-upload/src/components/base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs +4 -3
- package/es/components/field-upload/src/components/{base-upload.vue_vue_type_style_index_0_scoped_f53b6ac6_lang.css → base-upload.vue_vue_type_style_index_0_scoped_65872e0a_lang.css} +18 -18
- package/es/components/field-upload/src/components/file-list.vue.mjs +2 -2
- package/es/components/field-upload/src/components/file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs +2 -2
- package/es/components/field-upload/src/components/{file-list.vue_vue_type_style_index_0_scoped_3918aad0_lang.css → file-list.vue_vue_type_style_index_0_scoped_543b5221_lang.css} +25 -25
- package/es/components/field-upload/src/components/upload-design.vue.mjs +2 -2
- package/es/components/field-upload/src/components/upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs +4 -3
- package/es/components/field-upload/src/components/{upload-design.vue_vue_type_style_index_0_scoped_1e5189c1_lang.css → upload-design.vue_vue_type_style_index_0_scoped_5fd18cf8_lang.css} +10 -10
- package/es/components/icon-next-picker/icon-next-picker.vue.mjs +6 -0
- package/es/components/{icon-next/src/IconNextPicker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs → icon-next-picker/icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs} +7 -11
- package/es/components/image-upload/index.mjs +1 -1
- package/es/components/index.d.ts +1 -5
- package/es/components/index.mjs +2 -11
- package/es/create-app-vue.mjs +5 -3
- package/es/index.mjs +35 -39
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +1 -1
- package/es/modules/formula-editor/formula-editor.mjs +1 -2
- package/es/setup-app.d.ts +2 -1
- package/es/setup-app.mjs +1 -3
- package/package.json +7 -5
- package/dist/monaco-editor-BSzX1Bsh.js +0 -1
- package/dist/useMonacoEditor-BCTpu3UR.js +0 -1
- package/es/components/assets-svg-icon/assets-svg-icon.css +0 -188
- package/es/components/assets-svg-icon/assets-svg-icon.d.ts +0 -134
- package/es/components/assets-svg-icon/assets-svg-icon.mjs +0 -167
- package/es/components/assets-svg-icon/request.d.ts +0 -2
- package/es/components/assets-svg-icon/request.mjs +0 -68
- package/es/components/assets-svg-icon/utils.d.ts +0 -9
- package/es/components/assets-svg-icon/utils.mjs +0 -23
- package/es/components/assets-svg-icon/validate.d.ts +0 -4
- package/es/components/assets-svg-icon/validate.mjs +0 -29
- package/es/components/icon-next/data/icons.data.d.ts +0 -5
- package/es/components/icon-next/hooks/useIconAsset.d.ts +0 -16
- package/es/components/icon-next/hooks/useIconAsset.mjs +0 -36
- package/es/components/icon-next/hooks/useIconPark.d.ts +0 -16
- package/es/components/icon-next/hooks/useIconPark.mjs +0 -52
- package/es/components/icon-next/hooks/useIconPlatform.d.ts +0 -8
- package/es/components/icon-next/hooks/useIconPlatform.mjs +0 -43
- package/es/components/icon-next/index.d.ts +0 -3
- package/es/components/icon-next/index.mjs +0 -3
- package/es/components/icon-next/src/IconNext.vue.d.ts +0 -40
- package/es/components/icon-next/src/IconNext.vue.mjs +0 -7
- package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +0 -113
- package/es/components/icon-next/src/IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css +0 -18
- package/es/components/icon-next/src/IconNextPicker.vue.mjs +0 -6
- package/es/components/icon-next/types/index.d.ts +0 -17
- package/es/components/icon-next/types/index.mjs +0 -11
- package/es/components/svg-icon/svg-icon.vue.d.ts +0 -40
- package/es/components/svg-icon/svg-icon.vue.mjs +0 -6
- package/es/components/svg-icon/svg-icon.vue_vue_type_script_setup_true_name_SvgIcon_lang.mjs +0 -52
- package/es/components/svg-icon/svg-icon.vue_vue_type_style_index_0_lang.css +0 -73
- package/es/components/wujie-container/wujie-container.css +0 -74
- package/es/components/wujie-container/wujie-container.d.ts +0 -11
- package/es/components/wujie-container/wujie-container.mjs +0 -61
- /package/dist/{cropper-DyP6CFER.js → cropper-DPh9NaIi.js} +0 -0
- /package/dist/{de_DE-DIDpd1gQ.js → de_DE-BY1He8Sf.js} +0 -0
- /package/dist/{en_US-BaP-b1tP.js → en_US-CuX-vrWy.js} +0 -0
- /package/dist/{es_ES-NOVlNQnw.js → es_ES-BqHRjpc9.js} +0 -0
- /package/dist/{fr_FR-Bk_x0L7S.js → fr_FR-C4TFcMTv.js} +0 -0
- /package/dist/{ja_JP-CeseBQS9.js → ja_JP-CgXnA74i.js} +0 -0
- /package/dist/{pt_PT-DFlFmzXZ.js → pt_PT-C0ALlHDr.js} +0 -0
- /package/dist/{ru_RU-C5XPaRfl.js → ru_RU-D39vUeFW.js} +0 -0
- /package/dist/{tr_TR-CODhj5X1.js → tr_TR-Cm3P61iH.js} +0 -0
- /package/dist/{vi_VN-BjwID8XV.js → vi_VN-BZ_iPKuE.js} +0 -0
- /package/dist/{zh_CN-BKmwBYsr.js → zh_CN-DY_wA21D.js} +0 -0
- /package/dist/{zh_TW-BSGEo2Qx.js → zh_TW-A1Y7MG2g.js} +0 -0
- /package/es/components/{icon-next/src/IconNextPicker.vue.d.ts → icon-next-picker/icon-next-picker.vue.d.ts} +0 -0
- /package/es/components/{icon-next/src/IconNextPicker.vue_vue_type_style_index_0_lang.css → icon-next-picker/icon-next-picker.vue_vue_type_style_index_0_lang.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,p as t,t as o}from"./_plugin-vue_export-helper-4vvM2fiX.js";import{computed as n,createBlock as a,createCommentVNode as l,createElementBlock as i,createElementVNode as u,createTextVNode as r,createVNode as c,defineComponent as s,normalizeClass as d,normalizeStyle as f,onMounted as g,onUnmounted as v,openBlock as m,ref as p,renderSlot as w,resolveComponent as h,toDisplayString as C,unref as M,watch as b,withCtx as y}from"vue";import{ClearOutlined as x,CloudDownloadOutlined as k,DownCircleOutlined as E,FormatPainterOutlined as L,RobotOutlined as _,SearchOutlined as V,UpCircleOutlined as R}from"@ant-design/icons-vue";var B={class:"hex-monaco-editor m-e w-full h-full overflow-hidden"},S={class:"m-e-main"},O=/* @__PURE__ */o(/* @__PURE__ */s({__name:"monaco-editor",props:{value:{default:""},title:{default:""},language:{default:"typescript"},theme:{default:e.DARK},readonly:{type:Boolean,default:!1},direction:{default:"bottom"},gapVal:{default:20}},emits:["update:value","change","editor-mounted","blur","focus","chat-bot-click"],setup(o,{expose:s,emit:O}){const D=o,N=p(!1);let T=null;b(()=>D.language,async e=>{A&&A.getModel()&&T&&T.editor.setModelLanguage(A.getModel(),e)});const F=O,W=p();let A;const I=p(!0),j=p(!1),q=p(!1),U=p(!1),$=p(!1),K=n(()=>({color:q.value?"#000":"#fff",marginRight:D.gapVal+"px"}));D.theme===e.VS&&(q.value=!0);let z={value:D.value??"",language:D.language,automaticLayout:!0,theme:D.theme,readOnly:D.readonly,wordWrap:I.value?"on":"off",scrollBeyondLastLine:!1,minimap:{enabled:!0},tabSize:2,autoClosingBrackets:"always",autoClosingDelete:"always",autoClosingOvertype:"always",autoClosingQuotes:"always",comments:{ignoreEmptyLines:!0,insertSpace:!0},columnSelection:!1,folding:!0,fixedOverflowWidgets:!0,hover:{sticky:!0,above:!1}};function P(e){A.setValue(e),F("change",Q()),F("update:value",Q())}function Q(){return A.getValue()}function G(){if(T)try{A.focus(),A.setSelection(new T.Range(1,9999,1,1e4)),A.trigger("","actions.find",null)}catch(e){console.error(e)}else console.warn("[MonacoEditor] Monaco editor is not available for findByKeyword")}function H(){A.setScrollPosition({scrollTop:0})}function J(){A.revealLine(A.getModel().getLineCount())}function X(){!function(e,t){const o=window.URL||window.webkitURL||window,n=new Blob([t]),a=document.createEvent("MouseEvents");a.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null);const l=document.createElementNS("http://www.w3.org/1999/xhtml","a");l.href=o.createObjectURL(n),l.download=e,l.dispatchEvent(a)}(D.title,A.getValue())}async function Y(){if("sql"==D.language){const e=Q(),{format:t}=await import("sql-formatter"),o=t(e);A.setValue(o)}else A.getAction("editor.action.formatDocument").run();const e=Q();F("change",e),F("update:value",e)}function Z(){P("")}function ee(){U.value=!U.value,F("chat-bot-click")}function te(){A&&A.dispose()}return g(()=>{!async function(){T=await t.loadMonaco(),te(),T?(A=T.editor.create(W.value,z),"bottom"===D.direction?J():"top"===D.direction&&H(),A.onDidChangeModelContent(()=>{F("change",Q()),F("update:value",Q())}),A.onDidBlurEditorText(()=>{F("blur",Q()),F("update:value",Q())}),A.onDidFocusEditorText(()=>{F("focus")}),N.value=!0,F("editor-mounted",A)):console.warn("[MonacoEditor] Monaco editor is not available for initEditor"),D.value&&Y()}()}),v(()=>{te()}),async function(){1==await _api.apaas.basicConfig.getAiRagEnabled()?$.value=!0:$.value=!1}(),s({isMonacoReady:N,reload(e){null!=A?A.setValue(e||""):console.warn("[MonacoEditor] Monaco editor is not available for reload")},getMonacoEditor:function(){return A},setEditorContent:P,getEditorContent:Q,scrollToTop:H,scrollToBottom:J,setEditorWordWrap:function(){I.value=!I.value,I.value?A.updateOptions({wordWrap:"on"}):A.updateOptions({wordWrap:"off"})},setEditorTheme:function(){q.value=!q.value,q.value?A.updateOptions({theme:"vs"}):A.updateOptions({theme:"vs-dark"})},handleFullScreenClick:function(){W.value.fullscreenElement?(W.value.exitFullscreen(),j.value=!1):(W.value.requestFullscreen(),j.value=!0)},handleDownloadLogClick:X,getEditorMarkers:function(){if(!T)return console.warn("[MonacoEditor] Monaco editor is not available for getEditorMarkers"),[];const e=A.getModel();return e?T.editor.getModelMarkers({resource:e.uri}):[]},handleFormatCodeClick:Y,getValue:function(){return A.getValue()},setValue:function(e){const t=A.getModel();if(!t)return;const o=t.getFullModelRange();A.executeEdits("setValue",[{range:o,text:e,forceMoveMarkers:!1}]),F("change",Q()),F("update:value",Q())},getSelectCode:function(){const e=A.getSelection();if(e){var t;const o=null===(t=A.getModel())||void 0===t?void 0:t.getValueInRange(e),n=e.startLineNumber,a=e.startColumn,l=e.endLineNumber,i=e.endColumn,u={startLineNumber:1,startColumn:1,endLineNumber:n,endColumn:a},r=A.getModel().getValueInRange(u),c={startLineNumber:l,startColumn:i,endLineNumber:A.getModel().getLineCount(),endColumn:A.getModel().getLineMaxColumn(A.getModel().getLineCount())};return{text:o,textBefore:r,textAfter:A.getModel().getValueInRange(c)}}return{}},isChatBotActive:U,handleChatBotClick:ee}),(e,t)=>{const n=h("a-col"),s=h("a-row");return m(),i("div",B,[w(e.$slots,"header",{},void 0,!0),u("div",S,[c(s,{class:"m-e-main_toolbar w-full flex",type:"flex",justify:"space-between",style:f(q.value?"background-color: #fff; box-shadow: 0px 2px 5px #ddd;":"background-color: #1e1e1e; box-shadow: 0px 2px 5px #111;")},{default:y(()=>[c(n,{class:"m-e-main_toolbar_left flex-1",style:f(q.value?"color: #000":"color: #fff")},{default:y(()=>[u("span",null,[w(e.$slots,"title",{},()=>[r(C(o.title),1)],!0)])]),_:3},8,["style"]),c(n,{class:"m-e-main_toolbar_right",style:f(K.value)},{default:y(()=>[c(M(V),{class:"icon",onClick:G}),c(M(R),{class:"icon",onClick:H}),c(M(E),{class:"icon",onClick:J}),c(M(L),{class:"icon",onClick:Y}),c(M(k),{class:"icon",onClick:X}),c(M(x),{class:"icon",onClick:Z}),$.value?(m(),a(M(_),{key:0,title:"聊天机器人",class:d(["icon",{"icon-active":U.value}]),onClick:ee},null,8,["class"])):l("",!0)]),_:1},8,["style"])]),_:3},8,["style"]),u("div",{ref_key:"Editor",ref:W,class:"m-e-main_container"},null,512)]),w(e.$slots,"footer",{},void 0,!0)])}}}),[["__scopeId","data-v-ccf22884"]]);export{O as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createBlock as e,createElementBlock as t,defineComponent as l,onUnmounted as o,openBlock as r,ref as n,renderSlot as a,resolveDynamicComponent as s,shallowRef as i,toRefs as d,unref as u,watch as c,watchPostEffect as v,withCtx as p}from"vue";import{OverlayScrollbars as m}from"overlayscrollbars";var y=/* @__PURE__ */l({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(l,{expose:y,emit:f}){const b=l,k={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:j,options:I,events:O,defer:w}=d(b),_=i(null),g=i(null),z=n(),[A,C]=(e=>{let t,l,r,n=null;const a=i(e||{}),[s,d]=(()=>{if(typeof window>"u"){const e=()=>{};return[e,e]}let e,t;const l=window,o="function"==typeof l.requestIdleCallback,r=l.requestAnimationFrame,n=l.cancelAnimationFrame,a=o?l.requestIdleCallback:r,s=o?l.cancelIdleCallback:n,i=()=>{s(e),n(t)};return[(l,n)=>{i(),e=a(o?()=>{i(),t=r(l)}:l,"object"==typeof n?n:{timeout:2233})},i]})();return c(()=>{var e;return u(null==(e=a.value)?void 0:e.defer)},e=>{r=e},{deep:!0,immediate:!0}),c(()=>{var e;return u(null==(e=a.value)?void 0:e.options)},e=>{t=e,m.valid(n)&&n.options(t||{},!0)},{deep:!0,immediate:!0}),c(()=>{var e;return u(null==(e=a.value)?void 0:e.events)},e=>{l=e,m.valid(n)&&n.on(l||{},!0)},{deep:!0,immediate:!0}),o(()=>{d(),null==n||n.destroy()}),[e=>{if(m.valid(n))return n;const o=()=>n=m(e,t||{},l||{});r?s(o,r):o()},()=>n]})({options:I,events:z,defer:w});return y({osInstance:C,getElement:()=>_.value}),v(e=>{const{value:t}=_,{value:l}=g;t&&(A("body"===j.value?{target:t,cancel:{body:null}}:{target:t,elements:{viewport:l,content:l}}),e(()=>{var e;return null==(e=C())?void 0:e.destroy()}))}),c(()=>u(O),e=>{const t=e||{};z.value=Object.keys(k).reduce((e,l)=>{const o=t[l];return e[l]=[(...e)=>f(k[l],...e),...(Array.isArray(o)?o:[o]).filter(Boolean)],e},{})},{deep:!0,immediate:!0}),(l,o)=>(r(),e(s(u(j)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:_},{default:p(()=>["body"===u(j)?a(l.$slots,"default",{key:0}):(r(),t("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:g},[a(l.$slots,"default")],512))]),_:3},512))}});export{y as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { useModal as useModal$1 } from "../../../modules/global-modal/src/hooks/useModal.mjs";
|
|
2
|
+
import "../../../modules/global-modal/index.mjs";
|
|
1
3
|
import { useModalPickerCom } from "./hooks.mjs";
|
|
2
4
|
import user_item_default from "./components/user-item.vue.mjs";
|
|
3
5
|
import dept_item_default from "./components/dept-item.vue.mjs";
|
|
4
|
-
import { useModal as useModal$1 } from "../../../modules/global-modal/src/hooks/useModal.mjs";
|
|
5
|
-
import "../../../modules/global-modal/index.mjs";
|
|
6
6
|
import { PickType } from "./constants/index.mjs";
|
|
7
7
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, normalizeClass, openBlock, reactive, ref, renderList, resolveComponent, toDisplayString, toRaw, unref, vShow, withCtx, withDirectives } from "vue";
|
|
8
8
|
import { t } from "@gct-paas/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
1
2
|
import base_button_vue_vue_type_script_setup_true_name_BaseButton_lang_default from "./base-button.vue_vue_type_script_setup_true_name_BaseButton_lang.mjs";
|
|
2
3
|
import './base-button.vue_vue_type_style_index_0_scoped_5b7fe5af_lang.css';/* empty css */
|
|
3
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
4
|
//#region src/components/base-button/base-button.vue
|
|
5
5
|
var base_button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(base_button_vue_vue_type_script_setup_true_name_BaseButton_lang_default, [["__scopeId", "data-v-5b7fe5af"]]);
|
|
6
6
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default from "./base-upload.vue_vue_type_script_name_baseUpload_setup_true_lang.mjs";
|
|
3
|
-
import './base-upload.
|
|
3
|
+
import './base-upload.vue_vue_type_style_index_0_scoped_65872e0a_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/field-upload/src/components/base-upload.vue
|
|
5
|
-
var base_upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var base_upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default, [["__scopeId", "data-v-65872e0a"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { base_upload_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import svg_icon_default from "../../../svg-icon/svg-icon.vue.mjs";
|
|
2
1
|
import { statusEnum } from "../types/index.mjs";
|
|
3
2
|
import { getFileSize, sizeParser, typeParser } from "../hooks/hooks.mjs";
|
|
4
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, openBlock, ref, renderList, resolveComponent, toDisplayString, unref, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
@@ -162,7 +161,9 @@ var base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default = /*
|
|
|
162
161
|
downloadByUrl({ url: item.path });
|
|
163
162
|
}
|
|
164
163
|
return (_ctx, _cache) => {
|
|
164
|
+
const _component_SvgIcon = resolveComponent("SvgIcon");
|
|
165
165
|
const _component_a_upload_dragger = resolveComponent("a-upload-dragger");
|
|
166
|
+
const _component_svg_icon = resolveComponent("svg-icon");
|
|
166
167
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
167
168
|
const _component_a_progress = resolveComponent("a-progress");
|
|
168
169
|
const _component_close_outlined = resolveComponent("close-outlined");
|
|
@@ -174,7 +175,7 @@ var base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default = /*
|
|
|
174
175
|
"file-list": [],
|
|
175
176
|
accept: acceptList.value + ""
|
|
176
177
|
}, {
|
|
177
|
-
default: withCtx(() => [createElementVNode("div", null, [createVNode(
|
|
178
|
+
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_SvgIcon, {
|
|
178
179
|
size: "56",
|
|
179
180
|
name: "folder"
|
|
180
181
|
})]), _cache[0] || (_cache[0] = createElementVNode("p", {
|
|
@@ -191,7 +192,7 @@ var base_upload_vue_vue_type_script_name_baseUpload_setup_true_lang_default = /*
|
|
|
191
192
|
key: index,
|
|
192
193
|
class: "progress-item mb-8px w-full"
|
|
193
194
|
}, [
|
|
194
|
-
createVNode(
|
|
195
|
+
createVNode(_component_svg_icon, {
|
|
195
196
|
class: "svg-icon",
|
|
196
197
|
size: item.status ? 32 : 24,
|
|
197
198
|
name: fileTypeParser.value(item.name)
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
.progress-box[data-v-
|
|
1
|
+
.progress-box[data-v-65872e0a] {
|
|
2
2
|
max-height: 320px;
|
|
3
3
|
overflow-y: auto;
|
|
4
4
|
}
|
|
5
|
-
.progress-box[data-v-
|
|
5
|
+
.progress-box[data-v-65872e0a]::-webkit-scrollbar {
|
|
6
6
|
display: block;
|
|
7
7
|
width: 4px;
|
|
8
8
|
}
|
|
9
|
-
.progress-item[data-v-
|
|
9
|
+
.progress-item[data-v-65872e0a] {
|
|
10
10
|
display: flex;
|
|
11
11
|
justify-content: flex-start;
|
|
12
12
|
}
|
|
13
|
-
.progress-item .svg-icon[data-v-
|
|
13
|
+
.progress-item .svg-icon[data-v-65872e0a] {
|
|
14
14
|
width: 32px;
|
|
15
15
|
height: 32px;
|
|
16
16
|
}
|
|
17
|
-
.progress-item__box[data-v-
|
|
17
|
+
.progress-item__box[data-v-65872e0a] {
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
align-self: center;
|
|
21
21
|
width: calc(100% - 72px);
|
|
22
22
|
line-height: 22px;
|
|
23
23
|
}
|
|
24
|
-
.progress-item__box[data-v-
|
|
24
|
+
.progress-item__box[data-v-65872e0a] .ant-progress {
|
|
25
25
|
line-height: 0.4;
|
|
26
26
|
}
|
|
27
|
-
.progress-item__box[data-v-
|
|
27
|
+
.progress-item__box[data-v-65872e0a] .ant-progress .ant-progress-text {
|
|
28
28
|
position: absolute;
|
|
29
29
|
top: -14px;
|
|
30
30
|
right: 0;
|
|
31
31
|
color: #797a7d;
|
|
32
32
|
line-height: 0.6;
|
|
33
33
|
}
|
|
34
|
-
.progress-item__box[data-v-
|
|
34
|
+
.progress-item__box[data-v-65872e0a] .ant-progress .ant-progress-text:has(.error) {
|
|
35
35
|
right: 30px;
|
|
36
36
|
}
|
|
37
|
-
.progress-item__box[data-v-
|
|
37
|
+
.progress-item__box[data-v-65872e0a] .ant-progress-show-info .ant-progress-outer {
|
|
38
38
|
margin-right: 0;
|
|
39
39
|
padding-right: 0;
|
|
40
40
|
}
|
|
41
|
-
.progress-item__box[data-v-
|
|
41
|
+
.progress-item__box[data-v-65872e0a] .ant-progress-show-info .ant-progress-outer .ant-progress-inner {
|
|
42
42
|
background: #e6e9ef;
|
|
43
43
|
}
|
|
44
|
-
.progress-item__name[data-v-
|
|
44
|
+
.progress-item__name[data-v-65872e0a] {
|
|
45
45
|
display: flex;
|
|
46
46
|
width: 100%;
|
|
47
47
|
}
|
|
48
|
-
.progress-item__name .label[data-v-
|
|
48
|
+
.progress-item__name .label[data-v-65872e0a] {
|
|
49
49
|
overflow: hidden;
|
|
50
50
|
text-overflow: ellipsis;
|
|
51
51
|
white-space: nowrap;
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
|
-
.progress-item__name .label[data-v-
|
|
54
|
+
.progress-item__name .label[data-v-65872e0a]:hover {
|
|
55
55
|
color: var(--ant-primary-color);
|
|
56
56
|
}
|
|
57
|
-
.progress-item__name .size[data-v-
|
|
57
|
+
.progress-item__name .size[data-v-65872e0a] {
|
|
58
58
|
margin-left: 16px;
|
|
59
59
|
color: #c3c3c3;
|
|
60
60
|
}
|
|
61
|
-
.progress-item .icon[data-v-
|
|
61
|
+
.progress-item .icon[data-v-65872e0a] {
|
|
62
62
|
align-self: center;
|
|
63
63
|
margin-left: 24px;
|
|
64
64
|
color: #212528;
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
justify-items: flex-end;
|
|
67
67
|
}
|
|
68
|
-
[data-v-
|
|
68
|
+
[data-v-65872e0a] .ant-upload.ant-upload-drag {
|
|
69
69
|
background: #f7f8fa;
|
|
70
70
|
}
|
|
71
|
-
[data-v-
|
|
71
|
+
[data-v-65872e0a] .ant-upload.ant-upload-drag.ant-upload-disabled {
|
|
72
72
|
opacity: 0.5;
|
|
73
73
|
}
|
|
74
|
-
[data-v-
|
|
74
|
+
[data-v-65872e0a] .ant-upload.ant-upload-drag .ant-upload {
|
|
75
75
|
padding: 40px 0;
|
|
76
76
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import file_list_vue_vue_type_script_setup_true_name_fileList_lang_default from "./file-list.vue_vue_type_script_setup_true_name_fileList_lang.mjs";
|
|
3
|
-
import './file-list.
|
|
3
|
+
import './file-list.vue_vue_type_style_index_0_scoped_543b5221_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/field-upload/src/components/file-list.vue
|
|
5
|
-
var file_list_default = /* @__PURE__ */ _plugin_vue_export_helper_default(file_list_vue_vue_type_script_setup_true_name_fileList_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var file_list_default = /* @__PURE__ */ _plugin_vue_export_helper_default(file_list_vue_vue_type_script_setup_true_name_fileList_lang_default, [["__scopeId", "data-v-543b5221"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { file_list_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import svg_icon_default from "../../../svg-icon/svg-icon.vue.mjs";
|
|
2
1
|
import { sizeParser, typeParser } from "../hooks/hooks.mjs";
|
|
3
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, resolveComponent, toDisplayString, unref, watch, withCtx, withModifiers } from "vue";
|
|
4
3
|
import { isFunction } from "lodash-es";
|
|
@@ -82,6 +81,7 @@ var file_list_vue_vue_type_script_setup_true_name_fileList_lang_default = /* @__
|
|
|
82
81
|
else downloadByUrl({ url: item.path });
|
|
83
82
|
}
|
|
84
83
|
return (_ctx, _cache) => {
|
|
84
|
+
const _component_svg_icon = resolveComponent("svg-icon");
|
|
85
85
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
86
86
|
return openBlock(), createElementBlock("div", _hoisted_1, [!__props.hideSwitch ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createElementBlock(Fragment, null, renderList(switchIcons, (tab) => {
|
|
87
87
|
return createElementVNode("div", {
|
|
@@ -102,7 +102,7 @@ var file_list_vue_vue_type_script_setup_true_name_fileList_lang_default = /* @__
|
|
|
102
102
|
{ "material-table-field": __props.materialType === unref(MaterialEnum).MaterialTableField }
|
|
103
103
|
])
|
|
104
104
|
}, [
|
|
105
|
-
createVNode(
|
|
105
|
+
createVNode(_component_svg_icon, {
|
|
106
106
|
class: normalizeClass(["file-list__item-svg", !__props.hasSize ? "no-size" : ""]),
|
|
107
107
|
size: __props.showType === "Card" ? 32 : 24,
|
|
108
108
|
name: fileTypeParser.value(file)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.file-list__header[data-v-
|
|
1
|
+
.file-list__header[data-v-543b5221] {
|
|
2
2
|
width: 64px;
|
|
3
3
|
height: 32px;
|
|
4
4
|
padding: 4px;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
justify-content: space-between;
|
|
10
10
|
}
|
|
11
|
-
.file-list__header .switch-item[data-v-
|
|
11
|
+
.file-list__header .switch-item[data-v-543b5221] {
|
|
12
12
|
position: relative;
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
border-radius: 2px;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
}
|
|
21
|
-
.file-list__header .switch-item .iconfont[data-v-
|
|
21
|
+
.file-list__header .switch-item .iconfont[data-v-543b5221] {
|
|
22
22
|
width: 24px;
|
|
23
23
|
height: 24px;
|
|
24
24
|
font-size: 16px;
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
}
|
|
28
|
-
.file-list__header .switch-item.selected[data-v-
|
|
28
|
+
.file-list__header .switch-item.selected[data-v-543b5221] {
|
|
29
29
|
background-color: #fff;
|
|
30
30
|
color: #384356;
|
|
31
31
|
}
|
|
32
|
-
.file-list__list[data-v-
|
|
32
|
+
.file-list__list[data-v-543b5221] {
|
|
33
33
|
margin-top: 12px;
|
|
34
34
|
display: flex;
|
|
35
35
|
}
|
|
36
|
-
.file-list__list.hide-switch[data-v-
|
|
36
|
+
.file-list__list.hide-switch[data-v-543b5221] {
|
|
37
37
|
margin-top: 0;
|
|
38
38
|
}
|
|
39
|
-
.file-list__list[data-v-
|
|
39
|
+
.file-list__list[data-v-543b5221]::-webkit-scrollbar {
|
|
40
40
|
display: block;
|
|
41
41
|
width: 4px;
|
|
42
42
|
}
|
|
43
|
-
.file-list__list.flex-card[data-v-
|
|
43
|
+
.file-list__list.flex-card[data-v-543b5221] {
|
|
44
44
|
flex-direction: row;
|
|
45
45
|
flex-wrap: wrap;
|
|
46
46
|
max-height: 372px;
|
|
47
47
|
overflow-y: auto;
|
|
48
48
|
}
|
|
49
|
-
.file-list__list.flex-card .file-list__item[data-v-
|
|
49
|
+
.file-list__list.flex-card .file-list__item[data-v-543b5221] {
|
|
50
50
|
flex-direction: column;
|
|
51
51
|
text-align: center;
|
|
52
52
|
width: 115px;
|
|
@@ -56,43 +56,43 @@
|
|
|
56
56
|
border: 1px solid #e8ebf0;
|
|
57
57
|
border-radius: 4px 4px 4px 4px;
|
|
58
58
|
}
|
|
59
|
-
.file-list__list.flex-card .file-list__item.material-table-field[data-v-
|
|
59
|
+
.file-list__list.flex-card .file-list__item.material-table-field[data-v-543b5221]:nth-child(3n + 3) {
|
|
60
60
|
margin-right: 0;
|
|
61
61
|
}
|
|
62
|
-
.file-list__list.flex-card .file-list__item-svg[data-v-
|
|
62
|
+
.file-list__list.flex-card .file-list__item-svg[data-v-543b5221] {
|
|
63
63
|
margin: 0 auto;
|
|
64
64
|
}
|
|
65
|
-
.file-list__list.flex-card .file-list__item-svg.no-size[data-v-
|
|
65
|
+
.file-list__list.flex-card .file-list__item-svg.no-size[data-v-543b5221] {
|
|
66
66
|
margin-top: 6px;
|
|
67
67
|
}
|
|
68
|
-
.file-list__list.flex-card .file-list__item-name[data-v-
|
|
68
|
+
.file-list__list.flex-card .file-list__item-name[data-v-543b5221] {
|
|
69
69
|
width: 100%;
|
|
70
70
|
height: 22px;
|
|
71
71
|
line-height: 22px;
|
|
72
72
|
margin: 8px auto 0;
|
|
73
73
|
}
|
|
74
|
-
.file-list__list.flex-card .file-list__item-size[data-v-
|
|
74
|
+
.file-list__list.flex-card .file-list__item-size[data-v-543b5221] {
|
|
75
75
|
line-height: 18px;
|
|
76
76
|
margin-top: 2px;
|
|
77
77
|
font-size: 12px;
|
|
78
78
|
color: #c3c3c3;
|
|
79
79
|
}
|
|
80
|
-
.file-list__list.flex-card .file-list__item[data-v-
|
|
80
|
+
.file-list__list.flex-card .file-list__item[data-v-543b5221]:hover {
|
|
81
81
|
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.08);
|
|
82
82
|
border-color: #fff;
|
|
83
83
|
}
|
|
84
|
-
.file-list__list.flex-card .file-list__item:hover .file-list__item-size.is-design[data-v-
|
|
84
|
+
.file-list__list.flex-card .file-list__item:hover .file-list__item-size.is-design[data-v-543b5221] {
|
|
85
85
|
color: #c3c3c3;
|
|
86
86
|
}
|
|
87
|
-
.file-list__list.flex-list[data-v-
|
|
87
|
+
.file-list__list.flex-list[data-v-543b5221] {
|
|
88
88
|
flex-direction: column;
|
|
89
89
|
max-height: 320px;
|
|
90
90
|
overflow-y: auto;
|
|
91
91
|
}
|
|
92
|
-
.file-list__list.flex-list .file-list__item[data-v-
|
|
92
|
+
.file-list__list.flex-list .file-list__item[data-v-543b5221] {
|
|
93
93
|
line-height: 24px;
|
|
94
94
|
}
|
|
95
|
-
.file-list__list.flex-list .file-list__item-name[data-v-
|
|
95
|
+
.file-list__list.flex-list .file-list__item-name[data-v-543b5221] {
|
|
96
96
|
height: 24px;
|
|
97
97
|
width: calc(100% - 26px);
|
|
98
98
|
margin-left: 8px;
|
|
@@ -100,30 +100,30 @@
|
|
|
100
100
|
overflow: hidden;
|
|
101
101
|
text-overflow: ellipsis;
|
|
102
102
|
}
|
|
103
|
-
.file-list__list.flex-list .file-list__item-size[data-v-
|
|
103
|
+
.file-list__list.flex-list .file-list__item-size[data-v-543b5221] {
|
|
104
104
|
margin-left: 16px;
|
|
105
105
|
margin-right: 3px;
|
|
106
106
|
}
|
|
107
|
-
.file-list__item[data-v-
|
|
107
|
+
.file-list__item[data-v-543b5221] {
|
|
108
108
|
display: flex;
|
|
109
109
|
margin-top: 2px;
|
|
110
110
|
margin-bottom: 6px;
|
|
111
111
|
}
|
|
112
|
-
.file-list__item-name span[data-v-
|
|
112
|
+
.file-list__item-name span[data-v-543b5221] {
|
|
113
113
|
display: inline-block;
|
|
114
114
|
max-width: 100%;
|
|
115
115
|
white-space: nowrap;
|
|
116
116
|
overflow: hidden;
|
|
117
117
|
text-overflow: ellipsis;
|
|
118
118
|
}
|
|
119
|
-
.file-list__item-size[data-v-
|
|
119
|
+
.file-list__item-size[data-v-543b5221] {
|
|
120
120
|
color: #c3c3c3;
|
|
121
121
|
}
|
|
122
|
-
.file-list__item[data-v-
|
|
122
|
+
.file-list__item[data-v-543b5221]:hover {
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
color: var(--ant-primary-color);
|
|
125
125
|
}
|
|
126
|
-
.file-list__item.is-design[data-v-
|
|
126
|
+
.file-list__item.is-design[data-v-543b5221] {
|
|
127
127
|
cursor: default;
|
|
128
128
|
color: rgba(0, 0, 0, 0.85);
|
|
129
129
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import upload_design_vue_vue_type_script_name_UploadDesign_setup_true_lang_default from "./upload-design.vue_vue_type_script_name_UploadDesign_setup_true_lang.mjs";
|
|
3
|
-
import './upload-design.
|
|
3
|
+
import './upload-design.vue_vue_type_style_index_0_scoped_5fd18cf8_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/field-upload/src/components/upload-design.vue
|
|
5
|
-
var upload_design_default = /* @__PURE__ */ _plugin_vue_export_helper_default(upload_design_vue_vue_type_script_name_UploadDesign_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var upload_design_default = /* @__PURE__ */ _plugin_vue_export_helper_default(upload_design_vue_vue_type_script_name_UploadDesign_setup_true_lang_default, [["__scopeId", "data-v-5fd18cf8"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { upload_design_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import svg_icon_default from "../../../svg-icon/svg-icon.vue.mjs";
|
|
2
1
|
import { createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, resolveComponent, withCtx } from "vue";
|
|
3
2
|
//#region src/components/field-upload/src/components/upload-design.vue?vue&type=script&name=UploadDesign&setup=true&lang.ts
|
|
4
3
|
var _hoisted_1 = { class: "upload-design" };
|
|
@@ -10,14 +9,16 @@ var upload_design_vue_vue_type_script_name_UploadDesign_setup_true_lang_default
|
|
|
10
9
|
props: { disabled: { type: Boolean } },
|
|
11
10
|
setup(__props) {
|
|
12
11
|
return (_ctx, _cache) => {
|
|
12
|
+
const _component_SvgIcon = resolveComponent("SvgIcon");
|
|
13
13
|
const _component_a_upload_dragger = resolveComponent("a-upload-dragger");
|
|
14
|
+
const _component_svg_icon = resolveComponent("svg-icon");
|
|
14
15
|
const _component_a_progress = resolveComponent("a-progress");
|
|
15
16
|
const _component_close_outlined = resolveComponent("close-outlined");
|
|
16
17
|
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(_component_a_upload_dragger, {
|
|
17
18
|
"file-list": [],
|
|
18
19
|
disabled: __props.disabled
|
|
19
20
|
}, {
|
|
20
|
-
default: withCtx(() => [createElementVNode("div", null, [createVNode(
|
|
21
|
+
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_SvgIcon, {
|
|
21
22
|
size: "56",
|
|
22
23
|
name: "folder"
|
|
23
24
|
})]), _cache[0] || (_cache[0] = createElementVNode("p", {
|
|
@@ -26,7 +27,7 @@ var upload_design_vue_vue_type_script_name_UploadDesign_setup_true_lang_default
|
|
|
26
27
|
}, " 点击或将文件拖拽到这里上传 ", -1))]),
|
|
27
28
|
_: 1
|
|
28
29
|
}, 8, ["disabled"])]), createElementVNode("div", _hoisted_3, [
|
|
29
|
-
createVNode(
|
|
30
|
+
createVNode(_component_svg_icon, {
|
|
30
31
|
size: "32",
|
|
31
32
|
name: "doc"
|
|
32
33
|
}),
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.progress-wrap[data-v-
|
|
1
|
+
.progress-wrap[data-v-5fd18cf8] {
|
|
2
2
|
display: flex;
|
|
3
3
|
margin-top: 16px;
|
|
4
4
|
}
|
|
5
|
-
.progress-wrap .progress-box[data-v-
|
|
5
|
+
.progress-wrap .progress-box[data-v-5fd18cf8] {
|
|
6
6
|
flex: 1;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
line-height: 22px;
|
|
10
10
|
align-self: center;
|
|
11
11
|
}
|
|
12
|
-
.progress-wrap .progress-box[data-v-
|
|
12
|
+
.progress-wrap .progress-box[data-v-5fd18cf8] .ant-progress {
|
|
13
13
|
line-height: 0.4;
|
|
14
14
|
}
|
|
15
|
-
.progress-wrap .progress-box[data-v-
|
|
15
|
+
.progress-wrap .progress-box[data-v-5fd18cf8] .ant-progress .ant-progress-text {
|
|
16
16
|
position: absolute;
|
|
17
17
|
right: 0;
|
|
18
18
|
top: -14px;
|
|
19
19
|
line-height: 0.6;
|
|
20
20
|
color: #797a7d;
|
|
21
21
|
}
|
|
22
|
-
.progress-wrap .progress-box[data-v-
|
|
22
|
+
.progress-wrap .progress-box[data-v-5fd18cf8] .ant-progress-show-info .ant-progress-outer {
|
|
23
23
|
margin-right: 0;
|
|
24
24
|
padding-right: 0;
|
|
25
25
|
}
|
|
26
|
-
.progress-wrap .progress-box[data-v-
|
|
26
|
+
.progress-wrap .progress-box[data-v-5fd18cf8] .ant-progress-show-info .ant-progress-outer .ant-progress-inner {
|
|
27
27
|
background: #e6e9ef;
|
|
28
28
|
}
|
|
29
|
-
.progress-wrap .icon[data-v-
|
|
29
|
+
.progress-wrap .icon[data-v-5fd18cf8] {
|
|
30
30
|
margin-left: 24px;
|
|
31
31
|
font-size: 16px;
|
|
32
32
|
color: #212528 !important;
|
|
33
33
|
align-self: center;
|
|
34
34
|
}
|
|
35
|
-
[data-v-
|
|
35
|
+
[data-v-5fd18cf8] .ant-upload.ant-upload-drag {
|
|
36
36
|
background: #f7f8fa;
|
|
37
37
|
}
|
|
38
|
-
[data-v-
|
|
38
|
+
[data-v-5fd18cf8] .ant-upload.ant-upload-drag.ant-upload-disabled {
|
|
39
39
|
opacity: 0.5;
|
|
40
40
|
}
|
|
41
|
-
[data-v-
|
|
41
|
+
[data-v-5fd18cf8] .ant-upload.ant-upload-drag .ant-upload {
|
|
42
42
|
padding: 40px 0;
|
|
43
43
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import icon_next_picker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default from "./icon-next-picker.vue_vue_type_script_setup_true_name_IconNextPicker_lang.mjs";
|
|
2
|
+
import './icon-next-picker.vue_vue_type_style_index_0_lang.css';/* empty css */
|
|
3
|
+
//#region src/components/icon-next-picker/icon-next-picker.vue
|
|
4
|
+
var icon_next_picker_default = icon_next_picker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { icon_next_picker_default as default };
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { IconNamespaceEnum } from "../types/index.mjs";
|
|
2
|
-
import IconNext_default from "./IconNext.vue.mjs";
|
|
3
|
-
import { useIconAsset } from "../hooks/useIconAsset.mjs";
|
|
4
|
-
import { useIconPark } from "../hooks/useIconPark.mjs";
|
|
5
|
-
import { useIconPlatform } from "../hooks/useIconPlatform.mjs";
|
|
6
1
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, resolveComponent, toDisplayString, unref, vModelText, withCtx, withDirectives } from "vue";
|
|
7
2
|
import { cloneDeep, debounce } from "lodash-es";
|
|
8
3
|
import { usePlatformConfigStore } from "@gct-paas/core";
|
|
4
|
+
import { IconNamespaceEnum, IconNext, useIconAsset, useIconPark, useIconPlatform } from "@gct-paas/core-components";
|
|
9
5
|
import { Empty, Form } from "ant-design-vue";
|
|
10
6
|
import "overlayscrollbars-vue";
|
|
11
|
-
//#region src/components/icon-next/
|
|
7
|
+
//#region src/components/icon-next-picker/icon-next-picker.vue?vue&type=script&setup=true&name=IconNextPicker&lang.ts
|
|
12
8
|
var _hoisted_1 = { class: "icon-picker-next" };
|
|
13
9
|
var _hoisted_2 = { class: "p-12px" };
|
|
14
10
|
var _hoisted_3 = { class: "flex icon-picker-next__container" };
|
|
@@ -46,8 +42,8 @@ var _hoisted_18 = {
|
|
|
46
42
|
};
|
|
47
43
|
var DEFAULT_COLOR = "#FFFFFF";
|
|
48
44
|
var DEFAULT_BACKGROUND = "#3370FF";
|
|
49
|
-
var
|
|
50
|
-
__name: "
|
|
45
|
+
var icon_next_picker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default = /* @__PURE__ */ defineComponent({
|
|
46
|
+
__name: "icon-next-picker",
|
|
51
47
|
props: {
|
|
52
48
|
value: {
|
|
53
49
|
type: String,
|
|
@@ -304,7 +300,7 @@ var IconNextPicker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_defau
|
|
|
304
300
|
title: icon.name,
|
|
305
301
|
"data-id": icon.id,
|
|
306
302
|
onClick: ($event) => handleIconClick(icon.id)
|
|
307
|
-
}, [createVNode(
|
|
303
|
+
}, [createVNode(unref(IconNext), {
|
|
308
304
|
value: icon.id,
|
|
309
305
|
color: icon.id === __props.value ? __props.color : DEFAULT_COLOR
|
|
310
306
|
}, null, 8, ["value", "color"])], 14, _hoisted_9);
|
|
@@ -360,7 +356,7 @@ var IconNextPicker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_defau
|
|
|
360
356
|
default: withCtx(() => [createElementVNode("div", {
|
|
361
357
|
class: normalizeClass(["icon-picker-next__trigger cursor-pointer", { "icon-picker-next--selected": __props.value }]),
|
|
362
358
|
style: normalizeStyle({ "--background": __props.background || unref(themeSetting).themeColor })
|
|
363
|
-
}, [__props.value ? (openBlock(), createBlock(
|
|
359
|
+
}, [__props.value ? (openBlock(), createBlock(unref(IconNext), {
|
|
364
360
|
key: 0,
|
|
365
361
|
value: __props.value,
|
|
366
362
|
size: __props.size,
|
|
@@ -376,4 +372,4 @@ var IconNextPicker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_defau
|
|
|
376
372
|
}
|
|
377
373
|
});
|
|
378
374
|
//#endregion
|
|
379
|
-
export {
|
|
375
|
+
export { icon_next_picker_vue_vue_type_script_setup_true_name_IconNextPicker_lang_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import ImageUpload_default from "./src/ImageUpload.vue.mjs";
|
|
2
1
|
import { withInstall } from "../../utils/with-install.mjs";
|
|
3
2
|
import "../../utils/index.mjs";
|
|
3
|
+
import ImageUpload_default from "./src/ImageUpload.vue.mjs";
|
|
4
4
|
//#region src/components/image-upload/index.ts
|
|
5
5
|
var ImageUpload = withInstall(ImageUpload_default);
|
|
6
6
|
//#endregion
|
package/es/components/index.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { default as SvgIcon } from './svg-icon/svg-icon.vue';
|
|
3
|
-
import { AssetsSvgIcon } from './assets-svg-icon/assets-svg-icon';
|
|
4
2
|
import { default as BaseButton } from './base-button/base-button.vue';
|
|
5
3
|
import { default as BasicButton } from './basic-button/basic-button.vue';
|
|
6
|
-
import { WuJieContainer } from './wujie-container/wujie-container';
|
|
7
4
|
import { default as DoubleInput } from './double-input/double-input.vue';
|
|
8
5
|
import { default as CopyModuleKey } from './copy-module-key/copy-module-key.vue';
|
|
9
|
-
import { IconNext } from './icon-next';
|
|
10
6
|
import { ImageUpload } from './image-upload';
|
|
11
7
|
import { FieldUpload } from './field-upload';
|
|
12
8
|
import { default as PaasBpmnLog } from './paas-bpmn-log/paas-bpmn-log.vue';
|
|
13
|
-
export {
|
|
9
|
+
export { BaseButton, BasicButton, DoubleInput, CopyModuleKey, ImageUpload, FieldUpload, PaasBpmnLog, };
|
|
14
10
|
export { CodeEditor } from './code-editor/code-editor';
|
|
15
11
|
export { ViewContainer } from './layout/view-container/view-container';
|
|
16
12
|
export { Vue3GridDndItem } from './vue3-grid-dnd-item/vue3-grid-dnd-item';
|
package/es/components/index.mjs
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import svg_icon_default from "./svg-icon/svg-icon.vue.mjs";
|
|
2
|
-
import { AssetsSvgIcon } from "./assets-svg-icon/assets-svg-icon.mjs";
|
|
3
1
|
import "./base-button/base-button.vue.mjs";
|
|
4
2
|
import "./basic-button/basic-button.vue.mjs";
|
|
5
|
-
import { WuJieContainer } from "./wujie-container/wujie-container.mjs";
|
|
6
3
|
import "./double-input/double-input.vue.mjs";
|
|
7
4
|
import "./copy-module-key/copy-module-key.vue.mjs";
|
|
8
|
-
import IconNext_default from "./icon-next/src/IconNext.vue.mjs";
|
|
9
|
-
import IconNextPicker_default from "./icon-next/src/IconNextPicker.vue.mjs";
|
|
10
|
-
import "./icon-next/index.mjs";
|
|
11
5
|
import "./image-upload/index.mjs";
|
|
12
6
|
import "./field-upload/index.mjs";
|
|
13
7
|
import "./paas-bpmn-log/paas-bpmn-log.vue.mjs";
|
|
@@ -26,13 +20,10 @@ import "./I18nSelect/src/i18n-select-input-form.vue.mjs";
|
|
|
26
20
|
import "./I18nSelect/src/i18n-select-textarea.vue.mjs";
|
|
27
21
|
import "./I18nSelect/src/i18n-select-textarea-form.vue.mjs";
|
|
28
22
|
import "./I18nSelect/index.mjs";
|
|
23
|
+
import { defineAsyncComponent } from "vue";
|
|
29
24
|
//#region src/components/index.ts
|
|
30
25
|
var components_default = { install(app) {
|
|
31
|
-
app.component(
|
|
32
|
-
app.component(svg_icon_default.name, svg_icon_default);
|
|
33
|
-
app.component(WuJieContainer.name, WuJieContainer);
|
|
34
|
-
app.component(IconNext_default.name || IconNext_default.__name, IconNext_default);
|
|
35
|
-
app.component(IconNextPicker_default.name || IconNextPicker_default.__name, IconNextPicker_default);
|
|
26
|
+
app.component("IconNextPicker", defineAsyncComponent(() => import("./icon-next-picker/icon-next-picker.vue.mjs")));
|
|
36
27
|
} };
|
|
37
28
|
//#endregion
|
|
38
29
|
export { components_default as default };
|
package/es/create-app-vue.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { BasicModal } from "./modules/global-modal/index.mjs";
|
|
2
|
-
import components_default from "./components/index.mjs";
|
|
3
1
|
import gct_form_default from "./modules/gct-form/index.mjs";
|
|
4
2
|
import gct_table_default from "./modules/gct-table/index.mjs";
|
|
5
3
|
import ColorPicker_default from "./modules/color-picker/src/ColorPicker.vue.mjs";
|
|
6
4
|
import "./modules/color-picker/index.mjs";
|
|
5
|
+
import { BasicModal } from "./modules/global-modal/index.mjs";
|
|
6
|
+
import components_default from "./components/index.mjs";
|
|
7
7
|
import { setupDirectives } from "./directives/index.mjs";
|
|
8
|
+
import { coreComponentsCreateAppVue } from "@gct-paas/core-components";
|
|
8
9
|
import Antdv from "ant-design-vue";
|
|
9
|
-
import { OverlayScrollbarsComponent } from "overlayscrollbars-vue";
|
|
10
10
|
import * as Icons from "@ant-design/icons-vue";
|
|
11
|
+
import { OverlayScrollbarsComponent } from "overlayscrollbars-vue";
|
|
11
12
|
import "overlayscrollbars/overlayscrollbars.css";
|
|
12
13
|
//#region src/create-app-vue.ts
|
|
13
14
|
/**
|
|
@@ -26,6 +27,7 @@ async function coreWebCreateAppVue(app) {
|
|
|
26
27
|
});
|
|
27
28
|
app.component(ColorPicker_default.name, ColorPicker_default);
|
|
28
29
|
app.component(OverlayScrollbarsComponent.__name, OverlayScrollbarsComponent);
|
|
30
|
+
await coreComponentsCreateAppVue(app);
|
|
29
31
|
app.use(gct_form_default);
|
|
30
32
|
app.use(gct_table_default);
|
|
31
33
|
app.use(BasicModal);
|