@gct-paas/core-web 0.1.4-dev.17 → 0.1.4-dev.18
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/chunk-lEgNpoW5.js +1 -0
- package/dist/cropper-DyP6CFER.js +1 -0
- package/dist/{de_DE-WZ3EB5Ei.js → de_DE-DIDpd1gQ.js} +1 -1
- package/dist/{en_US-CsMalKr8.js → en_US-BaP-b1tP.js} +1 -1
- package/dist/{es_ES-B9hxIQ3B.js → es_ES-NOVlNQnw.js} +1 -1
- package/dist/{fr_FR-C6_kWsnc.js → fr_FR-Bk_x0L7S.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-Bh5yjd5R.js → ja_JP-CeseBQS9.js} +1 -1
- package/dist/loader.esm.min.js +1 -1
- package/dist/{monaco-editor-BhuLUOmL.js → monaco-editor-DCEyjUmJ.js} +1 -1
- package/dist/{pt_PT-BWSTPDc8.js → pt_PT-DFlFmzXZ.js} +1 -1
- package/dist/{ru_RU-BhsOXNnH.js → ru_RU-C5XPaRfl.js} +1 -1
- package/dist/{tr_TR-DFflgWBG.js → tr_TR-CODhj5X1.js} +1 -1
- package/dist/useMonacoEditor-kyCCXYcK.js +1 -0
- package/dist/{vi_VN-pWDyqq2t.js → vi_VN-BjwID8XV.js} +1 -1
- package/dist/{zh_CN-TmE4LVWm.js → zh_CN-BKmwBYsr.js} +1 -1
- package/dist/{zh_TW-CkLTTF7p.js → zh_TW-BSGEo2Qx.js} +1 -1
- package/es/components/icon-next/src/IconNext.vue.d.ts +2 -2
- package/es/components/icon-next/src/IconNext.vue.mjs +2 -2
- package/es/components/icon-next/src/IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs +1 -1
- package/es/components/icon-next/src/{IconNext.vue_vue_type_style_index_0_scoped_c5a83130_lang.css → IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css} +3 -3
- package/es/modules/Cropper/src/Cropper.vue_vue_type_script_lang.mjs +2 -3
- package/es/modules/gct-table/editor/gct-table-date/gct-table-date.mjs +1 -1
- package/es/modules/gct-table/editor/gct-table-text/gct-table-text.mjs +1 -1
- package/es/modules/global-modal/src/props.mjs +2 -4
- package/package.json +4 -4
- package/dist/BpmnApproval.vue-BQUAB11v.js +0 -1
- package/dist/BpmnBusiness.vue-C5duJF50.js +0 -1
- package/dist/BpmnEnd.vue-BjEcQnG0.js +0 -1
- package/dist/BpmnExclusive.vue-Cx276gAF.js +0 -1
- package/dist/BpmnForm.vue-CF07AB3T.js +0 -1
- package/dist/BpmnJoin.vue-DZgck71H.js +0 -1
- package/dist/BpmnJs.vue-BdKux96j.js +0 -1
- package/dist/BpmnMessage.vue-DABYKBdz.js +0 -1
- package/dist/BpmnParallel.vue-CUi6RogD.js +0 -1
- package/dist/BpmnStart.vue-lvEOgVJW.js +0 -1
- package/dist/NodeFlow.vue-DsiKwCpI.js +0 -1
- package/dist/NodeTools.vue-CKtwcfn2.js +0 -1
- package/dist/NodeTooltips.vue-BuKpNXoA.js +0 -1
- package/dist/enums-DefcbOFc.js +0 -1
- package/dist/node-popover.vue-CnA0OEQf.js +0 -1
- package/dist/useGctBpmn-wMjCfvFc.js +0 -1
- package/dist/useMonacoEditor-no1c2RQN.js +0 -1
- /package/dist/{objectSpread2-BL8YUfIz.js → objectSpread2-Cr8AaZiL.js} +0 -0
- /package/es/modules/gct-table/editor/{gct-table-text/gct-table-text.css → gct-table-date/gct-table-date.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,m as t,r as o}from"./useMonacoEditor-
|
|
1
|
+
import{_ as e,m as t,r as o}from"./useMonacoEditor-kyCCXYcK.js";import{computed as n,createBlock as a,createCommentVNode as l,createElementBlock as i,createElementVNode as r,createTextVNode as u,createVNode as c,defineComponent as s,normalizeClass as d,normalizeStyle as f,onMounted as g,onUnmounted as m,openBlock as v,ref as p,renderSlot as w,resolveComponent as h,toDisplayString as M,unref as C,watch as b,withCtx as y}from"vue";import{ClearOutlined as k,CloudDownloadOutlined as x,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__ */e(/* @__PURE__ */s({__name:"monaco-editor",props:{value:{default:""},title:{default:""},language:{default:"typescript"},theme:{default:o.DARK},readonly:{type:Boolean,default:!1},direction:{default:"bottom"},gapVal:{default:20}},emits:["update:value","change","editor-mounted","blur","focus","chat-bot-click"],setup(e,{expose:s,emit:O}){const D=e,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===o.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()}()}),m(()=>{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,r={startLineNumber:1,startColumn:1,endLineNumber:n,endColumn:a},u=A.getModel().getValueInRange(r),c={startLineNumber:l,startColumn:i,endLineNumber:A.getModel().getLineCount(),endColumn:A.getModel().getLineMaxColumn(A.getModel().getLineCount())};return{text:o,textBefore:u,textAfter:A.getModel().getValueInRange(c)}}return{}},isChatBotActive:U,handleChatBotClick:ee}),(t,o)=>{const n=h("a-col"),s=h("a-row");return v(),i("div",B,[w(t.$slots,"header",{},void 0,!0),r("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(()=>[r("span",null,[w(t.$slots,"title",{},()=>[u(M(e.title),1)],!0)])]),_:3},8,["style"]),c(n,{class:"m-e-main_toolbar_right",style:f(K.value)},{default:y(()=>[c(C(V),{class:"icon",onClick:G}),c(C(R),{class:"icon",onClick:H}),c(C(E),{class:"icon",onClick:J}),c(C(L),{class:"icon",onClick:Y}),c(C(x),{class:"icon",onClick:X}),c(C(k),{class:"icon",onClick:Z}),$.value?(v(),a(C(_),{key:0,title:"聊天机器人",class:d(["icon",{"icon-active":U.value}]),onClick:ee},null,8,["class"])):l("",!0)]),_:1},8,["style"])]),_:3},8,["style"]),r("div",{ref_key:"Editor",ref:W,class:"m-e-main_container"},null,512)]),w(t.$slots,"footer",{},void 0,!0)])}}}),[["__scopeId","data-v-ccf22884"]]);export{O as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var a={placeholder:"Hora"},r={lang:e(e({},{locale:"pt_PT",today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"Ok",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Selecionar mês",yearSelect:"Selecionar ano",decadeSelect:"Selecionar década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mês anterior (PageUp)",nextMonth:"Mês seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"Década anterior",nextDecade:"Década seguinte",previousCentury:"Século anterior",nextCentury:"Século seguinte",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]}),{},{placeholder:"Data",rangePlaceholder:["Data inicial","Data final"],today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Hora",dateSelect:"Selecionar data",monthSelect:"Selecionar mês",yearSelect:"Selecionar ano",decadeSelect:"Selecionar década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthFormat:"MMMM",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Mês seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"Última década",nextDecade:"Próxima década",previousCentury:"Último século",nextCentury:"Próximo século"}),timePickerLocale:e(e({},a),{},{placeholder:"Hora"})},o={locale:"pt",Pagination:{items_per_page:"/ página",jump_to:"Saltar",jump_to_confirm:"confirmar",page:"",prev_page:"Página Anterior",next_page:"Página Seguinte",prev_5:"Recuar 5 Páginas",next_5:"Avançar 5 Páginas",prev_3:"Recuar 3 Páginas",next_3:"Avançar 3 Páginas"},DatePicker:r,TimePicker:a,Calendar:r,Table:{filterTitle:"Filtro",filterConfirm:"Aplicar",filterReset:"Reiniciar",selectAll:"Selecionar página atual",selectInvert:"Inverter seleção",sortTitle:"Ordenação"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{searchPlaceholder:"Procurar...",itemUnit:"item",itemsUnit:"itens"},Upload:{uploading:"A carregar...",removeFile:"Remover",uploadError:"Erro ao carregar",previewFile:"Pré-visualizar",downloadFile:"Baixar"},Empty:{description:"Sem resultados"}};export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var l={placeholder:"Выберите время",rangePlaceholder:["Время начала","Время окончания"]},a={lang:e({placeholder:"Выберите дату",yearPlaceholder:"Выберите год",quarterPlaceholder:"Выберите квартал",monthPlaceholder:"Выберите месяц",weekPlaceholder:"Выберите неделю",rangePlaceholder:["Начальная дата","Конечная дата"],rangeYearPlaceholder:["Начальный год","Год окончания"],rangeMonthPlaceholder:["Начальный месяц","Конечный месяц"],rangeWeekPlaceholder:["Начальная неделя","Конечная неделя"]},{locale:"ru_RU",today:"Сегодня",now:"Сейчас",backToToday:"Текущая дата",ok:"ОК",clear:"Очистить",month:"Месяц",year:"Год",timeSelect:"Выбрать время",dateSelect:"Выбрать дату",monthSelect:"Выбрать месяц",yearSelect:"Выбрать год",decadeSelect:"Выбрать десятилетие",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Предыдущий месяц (PageUp)",nextMonth:"Следующий месяц (PageDown)",previousYear:"Предыдущий год (Control + left)",nextYear:"Следующий год (Control + right)",previousDecade:"Предыдущее десятилетие",nextDecade:"Следущее десятилетие",previousCentury:"Предыдущий век",nextCentury:"Следующий век"}),timePickerLocale:e({},l)},r="${label} не является типом ${type}",t={locale:"ru",Pagination:{items_per_page:"/ стр.",jump_to:"Перейти",jump_to_confirm:"подтвердить",page:"",prev_page:"Назад",next_page:"Вперед",prev_5:"Предыдущие 5",next_5:"Следующие 5",prev_3:"Предыдущие 3",next_3:"Следующие 3"},DatePicker:a,TimePicker:l,Calendar:a,global:{placeholder:"Пожалуйста выберите"},Table:{filterTitle:"Фильтр",filterConfirm:"OK",filterReset:"Сбросить",filterEmptyText:"Без фильтров",emptyText:"Нет данных",selectAll:"Выбрать всё",selectInvert:"Инвертировать выбор",selectNone:"Очистить все данные",selectionAll:"Выбрать все данные",sortTitle:"Сортировка",expand:"Развернуть строку",collapse:"Свернуть строку",triggerDesc:"Нажмите для сортировки по убыванию",triggerAsc:"Нажмите для сортировки по возрастанию",cancelSort:"Нажмите, чтобы отменить сортировку"},Modal:{okText:"OK",cancelText:"Отмена",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Отмена"},Transfer:{titles:["",""],searchPlaceholder:"Поиск",itemUnit:"элем.",itemsUnit:"элем.",remove:"Удалить",selectAll:"Выбрать все данные",selectCurrent:"Выбрать текущую страницу",selectInvert:"Показать в обратном порядке",removeAll:"Удалить все данные",removeCurrent:"Удалить текущую страницу"},Upload:{uploading:"Загрузка...",removeFile:"Удалить файл",uploadError:"При загрузке произошла ошибка",previewFile:"Предпросмотр файла",downloadFile:"Загрузить файл"},Empty:{description:"Нет данных"},Icon:{icon:"иконка"},Text:{edit:"Редактировать",copy:"Копировать",copied:"Скопировано",expand:"Раскрыть"},PageHeader:{back:"Назад"},Form:{defaultValidateMessages:{default:"Ошибка проверки поля ${label}",required:"Пожалуйста, введите ${label}",enum:"${label} должен быть одним из [${enum}]",whitespace:"${label} не может быть пустым",date:{format:"${label} не правильный формат даты",parse:"${label} не может быть преобразовано в дату",invalid:"${label} не является корректной датой"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label} должна быть ${len} символов",min:"${label} должна быть больше или равна ${min} символов",max:"${label} должна быть меньше или равна ${max} символов",range:"Длина ${label} должна быть между ${min}-${max} символами"},number:{len:"${label} должна быть равна ${len}",min:"${label} должна быть больше или равна ${min}",max:"${label} должна быть меньше или равна ${max}"},array:{len:"Количество элементов ${label} должно быть равно ${len}",min:"Количество элементов ${label} должно быть больше или равно ${min}",max:"Количество элементов ${label} должно быть меньше или равно ${max}",range:"Количество элементов ${label} должно быть между ${min} и ${max}"},pattern:{mismatch:"${label} не соответствует шаблону ${pattern}"}}},Image:{preview:"Предпросмотр"}};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var a={placeholder:"Zaman seç",rangePlaceholder:["Başlangıç zamanı","Bitiş zamanı"]},l={lang:e({placeholder:"Tarih seç",yearPlaceholder:"Yıl seç",quarterPlaceholder:"Çeyrek seç",monthPlaceholder:"Ay seç",weekPlaceholder:"Hafta seç",rangePlaceholder:["Başlangıç tarihi","Bitiş tarihi"],rangeYearPlaceholder:["Başlangıç yılı","Bitiş yılı"],rangeMonthPlaceholder:["Başlangıç ayı","Bitiş ayı"],rangeWeekPlaceholder:["Başlangıç haftası","Bitiş haftası"]},{locale:"tr_TR",today:"Bugün",now:"Şimdi",backToToday:"Bugüne Geri Dön",ok:"tamam",clear:"Temizle",month:"Ay",year:"Yıl",timeSelect:"Zaman Seç",dateSelect:"Tarih Seç",monthSelect:"Ay Seç",yearSelect:"Yıl Seç",decadeSelect:"On Yıl Seç",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Önceki Ay (PageUp)",nextMonth:"Sonraki Ay (PageDown)",previousYear:"Önceki Yıl (Control + Sol)",nextYear:"Sonraki Yıl (Control + Sağ)",previousDecade:"Önceki On Yıl",nextDecade:"Sonraki On Yıl",previousCentury:"Önceki Yüzyıl",nextCentury:"Sonraki Yüzyıl"}),timePickerLocale:e({},a)},r="${label} geçerli bir ${type} değil",n={locale:"tr",Pagination:{items_per_page:"/ sayfa",jump_to:"Git",jump_to_confirm:"onayla",page:"",prev_page:"Önceki Sayfa",next_page:"Sonraki Sayfa",prev_5:"Önceki 5 Sayfa",next_5:"Sonraki 5 Sayfa",prev_3:"Önceki 3 Sayfa",next_3:"Sonraki 3 Sayfa"},DatePicker:l,TimePicker:a,Calendar:l,global:{placeholder:"Lütfen seçiniz"},Table:{filterTitle:"Filtre menüsü",filterConfirm:"Tamam",filterReset:"Sıfırla",filterEmptyText:"Filtre yok",selectAll:"Tüm sayfayı seç",selectInvert:"Tersini seç",selectionAll:"Tümünü seç",sortTitle:"Sırala",expand:"Satırı genişlet",collapse:"Satırı daralt",triggerDesc:"Azalan düzende sırala",triggerAsc:"Artan düzende sırala",cancelSort:"Sıralamayı kaldır"},Modal:{okText:"Tamam",cancelText:"İptal",justOkText:"Tamam"},Popconfirm:{okText:"Tamam",cancelText:"İptal"},Transfer:{titles:["",""],searchPlaceholder:"Arama",itemUnit:"Öğe",itemsUnit:"Öğeler",remove:"Kaldır",selectCurrent:"Tüm sayfayı seç",removeCurrent:"Sayfayı kaldır",selectAll:"Tümünü seç",removeAll:"Tümünü kaldır",selectInvert:"Tersini seç"},Upload:{uploading:"Yükleniyor...",removeFile:"Dosyayı kaldır",uploadError:"Yükleme hatası",previewFile:"Dosyayı önizle",downloadFile:"Dosyayı indir"},Empty:{description:"Veri Yok"},Icon:{icon:"ikon"},Text:{edit:"Düzenle",copy:"Kopyala",copied:"Kopyalandı",expand:"Genişlet"},PageHeader:{back:"Geri"},Form:{optional:"(opsiyonel)",defaultValidateMessages:{default:"Alan doğrulama hatası ${label}",required:"${label} gerekli bir alan",enum:"${label} şunlardan biri olmalı: [${enum}]",whitespace:"${label} sadece boşluk olamaz",date:{format:"${label} tarih biçimi geçersiz",parse:"${label} bir tarihe dönüştürülemedi",invalid:"${label} geçersiz bir tarih"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label} ${len} karakter olmalı",min:"${label} en az ${min} karakter olmalı",max:"${label} en çok ${max} karakter olmalı",range:"${label} ${min}-${max} karakter arası olmalı"},number:{len:"${label} ${len} olmalı",min:"${label} en az ${min} olmalı",max:"${label} en çok ${max} olmalı",range:"${label} ${min}-${max} arası olmalı"},array:{len:"${label} sayısı ${len} olmalı",min:"${label} sayısı en az ${min} olmalı",max:"${label} sayısı en çok ${max} olmalı",range:"${label} sayısı ${min}-${max} arası olmalı"},pattern:{mismatch:"${label} şu kalıpla eşleşmeli: ${pattern}"}}},Image:{preview:"Önizleme"}};export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r,t as n}from"./chunk-lEgNpoW5.js";import{Modal as o,OverlayContainer as i,VITE_MINIO_PATH as a,useNamespace as s}from"@gct-paas/core";import*as c from"vue";import{computed as u,createVNode as l,defineComponent as d,h as f,isVNode as h,provide as g,reactive as p,ref as v,resolveComponent as m}from"vue";import{isFunction as y,isString as b}from"lodash-es";import{ConfigProvider as O,message as w}from"ant-design-vue";function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function S(e,t,r){return(t=function(e){var t=function(e){if("object"!=D(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==D(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},I=class{info(e,t){return new Promise(r=>{w.info(e,null==t?void 0:t.duration,r)})}success(e,t){return new Promise(r=>{w.success(e,null==t?void 0:t.duration,r)})}warning(e,t){return new Promise(r=>{w.warning(e,null==t?void 0:t.duration,r)})}error(e,t){return new Promise(r=>{w.error(e,null==t?void 0:t.duration,r)})}};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function C(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){C(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){N(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function A(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(r,[].concat(o,n))}}}function M(e){return{}.toString.call(e).includes("Object")}function _(e){return"function"==typeof e}var k=A(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),L=function(e,t){return M(t)||k("changeType"),Object.keys(t).some(function(t){return r=e,n=t,!Object.prototype.hasOwnProperty.call(r,n);var r,n})&&k("changeField"),t},H=function(e){_(e)||k("selectorType")},U=function(e){_(e)||M(e)||k("handlerType"),M(e)&&Object.values(e).some(function(e){return!_(e)})&&k("handlersType")},F=function(e){var t;e||k("initialIsRequired"),M(e)||k("initialType"),t=e,Object.keys(t).length||k("initialContent")};function q(e,t){return _(t)?t(e.current):t}function B(e,t){return e.current=R(R({},e.current),t),t}function W(e,t,r){return _(t)?t(e.current):Object.keys(r).forEach(function(r){var n;return null===(n=t[r])||void 0===n?void 0:n.call(t,e.current[r])}),r}var $,V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(e),U(t);var r={current:e},n=A(W)(r,t),o=A(B)(r),i=A(L)(e),a=A(q)(r);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return H(e),e(r.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}(n,o,i,a)(e)}]},z={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},G=($=function(e,t){throw new Error(e[t]||e.default)},function e(){for(var t=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return n.length>=$.length?$.apply(this,n):function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e.apply(t,[].concat(n,o))}})(z),X=function(e){var t;return e||G("configIsRequired"),t=e,{}.toString.call(t).includes("Object")||G("configType"),e.urls?(console.warn(z.deprecation),{paths:{vs:e.urls.monacoBase}}):e};function Y(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],Y(e[r],t[r]))}),j(j({},e),t)}var K={type:"cancelation",msg:"operation is manually canceled"};function J(e){var t=!1,r=new Promise(function(r,n){e.then(function(e){return t?n(K):r(e)}),e.catch(n)});return r.cancel=function(){return t=!0},r}var Q,Z=["monaco"],ee=function(e){if(Array.isArray(e))return e}(Q=V({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],s=!0,c=!1;try{for(o=(t=t.call(e)).next,!2;!(s=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(Q)||function(e){if(e){if("string"==typeof e)return E(e,2);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?E(e,2):void 0}}(Q)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),te=ee[0],re=ee[1];function ne(e){return document.body.appendChild(e)}function oe(e){var t,r,n=te(function(e){return{config:e.config,reject:e.reject}}),o=(t="".concat(n.config.paths.vs,"/loader.js"),r=document.createElement("script"),t&&(r.src=t),r);return o.onload=function(){return e()},o.onerror=n.reject,o}function ie(){var e=te(function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(t){var r=t.m||t;ae(r),e.resolve(r)},function(t){e.reject(t)})}function ae(e){te().monaco||re({monaco:e})}var se=new Promise(function(e,t){return re({resolve:e,reject:t})}),ce={config:function(e){var t=X(e),r=t.monaco,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,Z);re(function(e){return{config:Y(e.config,n),monaco:r}})},init:function(){var e=te(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(re({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),J(se);if(window.monaco&&window.monaco.editor)return ae(window.monaco),e.resolve(window.monaco),J(se);!function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}(ne,oe)(ie)}return J(se)},__getMonacoInstance:function(){return te(function(e){return e.monaco})}},ue=new class{constructor(){S(this,"_monacoInstance",null),S(this,"_loadingPromise",null),this._configureLoader()}_configureLoader(){ce.config({paths:{vs:location.origin+"/extras/monaco-editor/0.55.1/min/vs"}})}async loadMonaco(){if(this._monacoInstance)return this._monacoInstance;if(this._loadingPromise)return this._loadingPromise;this._loadingPromise=ce.init();try{return this._monacoInstance=await this._loadingPromise,console.info("✓ Monaco Editor loaded successfully"),this._monacoInstance}catch(e){throw console.error("✗ Failed to load Monaco Editor:",e),this._loadingPromise=null,e}}getMonaco(){return this._monacoInstance}isMonacoLoaded(){return null!==this._monacoInstance}async createMonacoEditor(e,t){return(await this.loadMonaco()).editor.create(e,t)}async createMonacoDiffEditor(e,t){return(await this.loadMonaco()).editor.createDiffEditor(e,t)}async createMonacoModel(e,t,r){return(await this.loadMonaco()).editor.createModel(e,t,r)}},le=/* @__PURE__ */t({Vue:()=>c,Vue2:()=>{},del:()=>ge,install:()=>fe,isVue2:()=>!1,isVue3:()=>!0,set:()=>he});import*as de from"vue";function fe(){}function he(e,t,r){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,r),r):(e[t]=r,r)}function ge(e,t){Array.isArray(e)?e.splice(t,1):delete e[t]}r(le,de);var pe=Symbol.for("DndContextType");function ve(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var me="function"==typeof Symbol&&Symbol.observable||"@@observable",ye=function(){return Math.random().toString(36).substring(7).split("").join(".")},be={INIT:"@@redux/INIT"+ye(),REPLACE:"@@redux/REPLACE"+ye(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ye()}};function Oe(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(ve(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(ve(1));return r(Oe)(e,t)}if("function"!=typeof e)throw new Error(ve(2));var o=e,i=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function l(){if(c)throw new Error(ve(3));return i}function d(e){if("function"!=typeof e)throw new Error(ve(4));if(c)throw new Error(ve(5));var t=!0;return u(),s.push(e),function(){if(t){if(c)throw new Error(ve(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),a=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ve(7));if(void 0===e.type)throw new Error(ve(8));if(c)throw new Error(ve(9));try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,r=0;r<t.length;r++)(0,t[r])();return e}return f({type:be.INIT}),(n={dispatch:f,subscribe:d,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ve(10));o=e,f({type:be.REPLACE})}})[me]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ve(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[me]=function(){return this},e},n}function we(e,t,...r){if("undefined"!=typeof process&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=/* @__PURE__ */new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;e=new Error(t.replace(/%s/g,function(){return r[n++]})),e.name="Invariant Violation"}throw e.framesToPop=1,e}}function De(e){return"object"==typeof e}var Se="dnd-core/INIT_COORDS",Te="dnd-core/BEGIN_DRAG",Ie="dnd-core/PUBLISH_DRAG_SOURCE",Ee="dnd-core/HOVER",Ce="dnd-core/DROP",Pe="dnd-core/END_DRAG";function je(e,t){return{type:Se,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}var Ne={type:Se,payload:{clientOffset:null,sourceClientOffset:null}};function xe(e){return function(t=[],r={publishSource:!0}){const{publishSource:n=!0,clientOffset:o,getSourceClientOffset:i}=r,a=e.getMonitor(),s=e.getRegistry();e.dispatch(je(o)),function(e,t,r){we(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(e){we(r.getSource(e),"Expected sourceIds to be registered.")})}(t,a,s);const c=function(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}(t,a);if(null==c)return void e.dispatch(Ne);let u=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(e){we("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),u=i(c)}e.dispatch(je(o,u));const l=s.getSource(c).beginDrag(a,c);return null!=l?(function(e){we(De(e),"Item must be an object.")}(l),s.pinSource(c),{type:Te,payload:{itemType:s.getSourceType(c),item:l,sourceId:c,clientOffset:o||null,sourceClientOffset:u||null,isSourcePublic:!!n}}):void 0}}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){Re(e,t,r[t])})}return e}function Me(e){return function(t={}){const r=e.getMonitor(),n=e.getRegistry();!function(e){we(e.isDragging(),"Cannot call drop while not dragging."),we(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(r),function(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(r).forEach((o,i)=>{const a={type:Ce,payload:{dropResult:Ae({},t,_e(o,i,n,r))}};e.dispatch(a)})}}function _e(e,t,r,n){const o=r.getTarget(e);let i=o?o.drop(n,e):void 0;return function(e){we(void 0===e||De(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:n.getDropResult()),i}function ke(e){return function(){const t=e.getMonitor(),r=e.getRegistry();!function(e){we(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const n=t.getSourceId();return null!=n&&(r.getSource(n,!0).endDrag(t,n),r.unpinSource()),{type:Pe}}}function Le(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}function He(e){return function(t,{clientOffset:r}={}){!function(e){we(Array.isArray(e),"Expected targetIds to be an array.")}(t);const n=t.slice(0),o=e.getMonitor(),i=e.getRegistry();return function(e,t,r){for(let n=e.length-1;n>=0;n--){const o=e[n];Le(t.getTargetType(o),r)||e.splice(n,1)}}(n,i,o.getItemType()),function(e,t,r){we(t.isDragging(),"Cannot call hover while not dragging."),we(!t.didDrop(),"Cannot call hover after drop.");for(let n=0;n<e.length;n++){const t=e[n];we(e.lastIndexOf(t)===n,"Expected targetIds to be unique in the passed array."),we(r.getTarget(t),"Expected targetIds to be registered.")}}(n,o,i),function(e,t,r){e.forEach(function(e){r.getTarget(e).hover(t,e)})}(n,o,i),{type:Ee,payload:{targetIds:n,clientOffset:r||null}}}}function Ue(e){return function(){if(e.getMonitor().isDragging())return{type:Ie}}}var Fe=class{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store,r=function(e){return{beginDrag:xe(e),publishDragSource:Ue(e),hover:He(e),drop:Me(e),endDrag:ke(e)}}(this);return Object.keys(r).reduce((n,o)=>{const i=r[o];var a;return n[o]=(a=i,(...r)=>{const n=a.apply(e,r);void 0!==n&&t(n)}),n},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}};function qe(e,t){return{x:e.x-t.x,y:e.y-t.y}}var Be=[],We=[];Be.__IS_NONE__=!0,We.__IS_ALL__=!0;var $e=class{subscribeToStateChange(e,t={}){const{handlerIds:r}=t;we("function"==typeof e,"listener must be a function."),we(void 0===r||Array.isArray(r),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{const t=this.store.getState(),o=t.stateId;try{o===n||o===n+1&&!function(e,t){return e!==Be&&(e===We||void 0===t||(r=t,n=e,r.filter(e=>n.indexOf(e)>-1)).length>0);var r,n}(t.dirtyHandlerIds,r)||e()}finally{n=o}})}subscribeToOffsetChange(e){we("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{const r=this.store.getState().dragOffset;r!==t&&(t=r,e())})}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return we(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);return we(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&Le(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);return we(t,`Expected to find a valid source. sourceId=${e}`),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;const{shallow:r}=t;if(!this.isDragging())return!1;const n=this.registry.getTargetType(e),o=this.getItemType();if(o&&!Le(n,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(e);return r?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return t&&r&&n?qe((i=n,{x:(o=t).x+i.x,y:o.y+i.y}),r):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:r}=e;return t&&r?qe(t,r):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}},Ve="undefined"!=typeof global?global:self,ze=Ve.MutationObserver||Ve.WebKitMutationObserver;function Ge(e){return function(){const t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}var Xe,Ye="function"==typeof ze?function(e){let t=1;const r=new ze(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}:Ge,Ke=class{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}},Je=new class{enqueueTask(e){const{queue:t,requestFlush:r}=this;t.length||(r(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,r=e.length-this.index;t<r;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=Ye(this.flush),this.requestErrorThrow=Ge(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},Qe=new class{create(e){const t=this.freeTasks,r=t.length?t.pop():new Ke(this.onError,e=>t[t.length]=e);return r.task=e,r}constructor(e){this.onError=e,this.freeTasks=[]}}(Je.registerPendingError),Ze="dnd-core/ADD_SOURCE",et="dnd-core/ADD_TARGET",tt="dnd-core/REMOVE_SOURCE",rt="dnd-core/REMOVE_TARGET";function nt(e,t){t&&Array.isArray(e)?e.forEach(e=>nt(e,!1)):we("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(Xe||(Xe={}));var ot=0;function it(e){switch(e[0]){case"S":return Xe.SOURCE;case"T":return Xe.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function at(e,t){const r=e.entries();let n=!1;do{const{done:e,value:[,o]}=r.next();if(o===t)return!0;n=!!e}while(!n);return!1}var st=class{addSource(e,t){nt(e),function(e){we("function"==typeof e.canDrag,"Expected canDrag to be a function."),we("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),we("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const r=this.addHandler(Xe.SOURCE,e,t);return this.store.dispatch(function(e){return{type:Ze,payload:{sourceId:e}}}(r)),r}addTarget(e,t){nt(e,!0),function(e){we("function"==typeof e.canDrop,"Expected canDrop to be a function."),we("function"==typeof e.hover,"Expected hover to be a function."),we("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const r=this.addHandler(Xe.TARGET,e,t);return this.store.dispatch(function(e){return{type:et,payload:{targetId:e}}}(r)),r}containsHandler(e){return at(this.dragSources,e)||at(this.dropTargets,e)}getSource(e,t=!1){return we(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return we(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return we(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return we(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return it(e)===Xe.SOURCE}isTargetId(e){return it(e)===Xe.TARGET}removeSource(e){var t;we(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:tt,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},Je.enqueueTask(Qe.create(t))}removeTarget(e){we(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:rt,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);we(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){we(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,r){const n=function(e){const t=(ot++).toString();switch(e){case Xe.SOURCE:return`S${t}`;case Xe.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(n,t),e===Xe.SOURCE?this.dragSources.set(n,r):e===Xe.TARGET&&this.dropTargets.set(n,r),n}constructor(e){this.types=/* @__PURE__ */new Map,this.dragSources=/* @__PURE__ */new Map,this.dropTargets=/* @__PURE__ */new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}},ct=(e,t)=>e===t;function ut(e=Be,t){switch(t.type){case Ee:break;case Ze:case et:case rt:case tt:return Be;default:return We}const{targetIds:r=[],prevTargetIds:n=[]}=t.payload,o=function(e,t){const r=/* @__PURE__ */new Map,n=e=>{r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);const o=[];return r.forEach((e,t)=>{1===e&&o.push(t)}),o}(r,n);if(!(o.length>0)&&function(e,t,r=ct){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}(r,n))return Be;const i=n[n.length-1],a=r[r.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function ft(e=dt,t){const{payload:r}=t;switch(t.type){case Se:case Te:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case Ee:return n=e.clientOffset,o=r.clientOffset,!n&&!o||n&&o&&n.x===o.x&&n.y===o.y?e:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){lt(e,t,r[t])})}return e}({},e,{clientOffset:r.clientOffset});case Pe:case Ce:return dt;default:return e}var n,o}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){ht(e,t,r[t])})}return e}var pt={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function vt(e=pt,t){const{payload:r}=t;switch(t.type){case Te:return gt({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case Ie:return gt({},e,{isSourcePublic:!0});case Ee:return gt({},e,{targetIds:r.targetIds});case rt:return-1===e.targetIds.indexOf(r.targetId)?e:gt({},e,{targetIds:(n=e.targetIds,o=r.targetId,n.filter(e=>e!==o))});case Ce:return gt({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case Pe:return gt({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var n,o}function mt(e=0,t){switch(t.type){case Ze:case et:return e+1;case tt:case rt:return e-1;default:return e}}function yt(e=0){return e+1}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){bt(e,t,r[t])})}return e}function wt(e={},t){return{dirtyHandlerIds:ut(e.dirtyHandlerIds,{type:t.type,payload:Ot({},t.payload,{prevTargetIds:(r=e,n=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:n||null,r))})}),dragOffset:ft(e.dragOffset,t),refCount:mt(e.refCount,t),dragOperation:vt(e.dragOperation,t),stateId:yt(e.stateId)};var r,n}function Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var St=0,Tt=Symbol.for("__VUE_DND_CONTEXT_INSTANCE__");function It(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Et(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=t;return o[Tt]||(o[Tt]=function(e,t,r={},n=!1){const o=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return Oe(wt,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(n),i=new Fe(o,new $e(o,new st(o))),a=e(i,t,r);return i.receiveBackend(a),i}(e,t,r,n)),o[Tt]}function Et(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:window}var Ct=(0,le.defineComponent)({name:"DndProvider",props:{manager:{type:Object},backend:{type:Function},context:{type:Object},options:{type:Object},debugMode:{type:Boolean}},setup:function(e,t){var r,n,o,i,a=t.slots,s=(o=function(e){return function(e){return"manager"in e&&e.manager}(e)?[e.manager,!1]:[It(e.backend,e.context,e.options,e.debugMode),!e.context]}(e),i=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(o,i)||function(e,t){if(e){if("string"==typeof e)return Dt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dt(e,t):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],u=s[1];return u&&++St,(0,le.onUnmounted)(function(){if(u){var e=Et();0===--St&&(e[Tt]=null)}}),r=c,(0,le.provide)(pe,r),function(){var e;return null!==(n=null===(e=a.default)||void 0===e?void 0:e.call(a))&&void 0!==n?n:null}}});(0,le.defineComponent)({props:{connect:{type:Function,required:!0},src:{type:String,required:!0}},setup:function(e){return(0,le.watchEffect)(function(){if("undefined"!=typeof Image){var t=!1,r=new Image;return r.src=e.src,r.onload=function(){e.connect(r),t=!0},function(){t&&e.connect(null)}}}),function(){return null}}});var Pt=!1,jt=!1,Nt=/* @__PURE__ */function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.sourceId=e},t.getHandlerId=function(){return this.sourceId},t.canDrag=function(){we(!Pt,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Pt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Pt=!1}},t.isDragging=function(){if(!this.sourceId)return!1;we(!jt,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return jt=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{jt=!1}},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},t.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},t.getTargetIds=function(){return this.internalMonitor.getTargetIds()},t.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},t.getSourceId=function(){return this.internalMonitor.getSourceId()},t.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},t.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},t.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}(),xt=!1,Rt=/* @__PURE__ */function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.targetId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.targetId=e},t.getHandlerId=function(){return this.targetId},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.canDrop=function(){if(!this.targetId)return!1;we(!xt,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return xt=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{xt=!1}},t.isOver=function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();function At(e){return function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((t=r)&&t.__v_skip&&function(){throw new Error("Only native element nodes can now be passed to Vue DnD connectors.You can either wrap Component into a <div>, or turn it into a drag source or a drop target itself.")}(),!function(e){return!!(r=e)&&!0===r.__v_isVNode&&"symbol"!=((t=e.type)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t);var t,r}(r)){var o=r;return e(o,n),o}}}function Mt(e){var t={};return Object.keys(e).forEach(function(r){var n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var o=At(n);t[r]=function(){return o}}}),t}function _t(e,t,r,n){let o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c<i.length;c++){const a=i[c];if(!s(a))return!1;const u=e[a],l=t[a];if(o=r?r.call(n,u,l,a):void 0,!1===o||void 0===o&&u!==l)return!1}return!0}function kt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Lt=/* @__PURE__ */function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=Mt({dragSource:function(e,t){r.clearDragSource(),r.dragSourceOptions=t||null,r.dragSourceNode=e,r.reconnectDragSource()},dragPreview:function(e,t){r.clearDragPreview(),r.dragPreviewOptions=t||null,r.dragPreviewNode=e,r.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceOptionsInternal=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}var t,r,n=e.prototype;return n.receiveHandlerId=function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())},n.reconnect=function(){var e=this.reconnectDragSource();this.reconnectDragPreview(e)},n.reconnectDragSource=function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t},n.reconnectDragPreview=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.dragPreview,r=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();r&&this.disconnectDragPreview(),this.handlerId&&(t?r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didConnectedDragSourceChange=function(){return this.lastConnectedDragSource!==this.dragSource},n.didConnectedDragPreviewChange=function(){return this.lastConnectedDragPreview!==this.dragPreview},n.didDragSourceOptionsChange=function(){return!_t(this.lastConnectedDragSourceOptions,this.dragSourceOptions)},n.didDragPreviewOptionsChange=function(){return!_t(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)},n.disconnectDragSource=function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)},n.disconnectDragPreview=function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null)},n.clearDragSource=function(){this.dragSourceNode=null},n.clearDragPreview=function(){this.dragPreviewNode=null},t=e,(r=[{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode}},{key:"dragPreview",get:function(){return this.dragPreviewNode}}])&&kt(t.prototype,r),e}();function Ht(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ut=/* @__PURE__ */function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks=Mt({dropTarget:function(e,t){r.clearDropTarget(),r.dropTargetOptions=t,(0,le.isRef)(e)?r.dropTargetRef=e:r.dropTargetNode=e,r.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}var t,r,n=e.prototype;return n.reconnect=function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)},n.receiveHandlerId=function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didDropTargetChange=function(){return this.lastConnectedDropTarget!==this.dropTarget},n.didOptionsChange=function(){return!_t(this.lastConnectedDropTargetOptions,this.dropTargetOptions)},n.disconnectDropTarget=function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)},n.clearDropTarget=function(){this.dropTargetRef=null,this.dropTargetNode=null},t=e,(r=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.value}}])&&Ht(t.prototype,r),e}(),Ft=/* @__PURE__ */function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.spec=t,this.monitor=r,this.connector=n}var t=e.prototype;return t.beginDrag=function(){var e,t=this.spec,r=this.monitor;return null!=(e="object"==typeof t.item?t.item:"function"==typeof t.item?t.item(r):{})?e:null},t.canDrag=function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)},t.isDragging=function(e,t){var r=this.spec,n=this.monitor,o=r.isDragging;return o?o(n):t===e.getSourceId()},t.endDrag=function(){var e=this.spec,t=this.monitor,r=this.connector,n=e.end;n&&n(t.getItem(),t),r.reconnect()},e}();function qt(){var e=(0,le.inject)(pe);return we(null!=e,"Expected drag drop context"),e}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wt(e,t,r){var n=qt(),o=function(e,t,r){var n=(0,le.computed)(function(){return new Ft((0,le.unref)(e),(0,le.unref)(t),(0,le.unref)(r))});return(0,le.watchEffect)(function(){n.value.spec=(0,le.unref)(e)}),n}(e,t,r),i=function(e){return(0,le.computed)(function(){var t=(0,le.unref)(e).type;return we(null!=t,"spec.type must be defined"),t})}(e);(0,le.watchEffect)(function(e){if(null!=(0,le.unref)(i)){var a=(u=function(e,t,r){var n=r.getRegistry(),o=n.addSource(e,t);return[o,function(){return n.removeSource(o)}]}((0,le.unref)(i),(0,le.unref)(o),(0,le.unref)(n)),l=2,function(e){if(Array.isArray(e))return e}(u)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(u,l)||function(e,t){if(e){if("string"==typeof e)return Bt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bt(e,t):void 0}}(u,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],c=a[1];(0,le.unref)(t).receiveHandlerId(s),(0,le.unref)(r).receiveHandlerId(s),e(c)}var u,l})}function $t(e){return(0,le.computed)(function(){return"function"==typeof e?e():e})}var Vt=/* @__PURE__ */e(/* @__PURE__ */n((e,t)=>{t.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!==o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!==o--;){var a=i[o];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}})());function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gt(e,t,r){var n,o,i=(n=function(e,t,r){var n=(0,le.ref)((0,le.unref)(t)((0,le.unref)(e))),o=function(){var o=(0,le.unref)(t)((0,le.unref)(e));(0,Vt.default)(n.value,o)||(n.value=o,r&&r())};return(0,le.watchEffect)(o),[n,o]}(e,t,r),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(n,o)||function(e,t){if(e){if("string"==typeof e)return zt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zt(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],s=i[1];return(0,le.watchEffect)(function(t){var r=(0,le.unref)(e).getHandlerId();null!=r&&t((0,le.unref)(e).subscribeToStateChange(s,{handlerIds:[r]}))}),a}function Xt(e,t,r){return Gt(t,e||function(){return{}},function(){return(0,le.unref)(r).reconnect()})}function Yt(e,t){var r=(0,le.reactive)({el:null,options:(0,le.unref)(t)});return(0,le.watchEffect)(function(){e(r)},{flush:"post"}),function(e,n){he(r,"el",e);var o=(0,le.unref)(t)||n;return(0,Vt.default)(r.options,o)||he(r,"options",o),(0,le.unref)(e)}}function Kt(e,t){return Yt(function(t){(0,le.unref)(e).hooks.dragSource()(t.el,t.options)},(0,le.computed)(function(){return(0,le.unref)(t).options}))}function Jt(e,t){return Yt(function(t){(0,le.unref)(e).hooks.dragPreview()(t.el,t.options)},(0,le.computed)(function(){return(0,le.unref)(t).previewOptions}))}function Qt(e){var t,r=$t(e),n=(t=qt(),(0,le.computed)(function(){return new Nt((0,le.unref)(t))})),o=function(e,t){var r=qt(),n=(0,le.computed)(function(){return new Lt((0,le.unref)(r).getBackend())});return(0,le.watchEffect)(function(t){n.value.dragSourceOptions=(0,le.unref)(e)||null,(0,le.unref)(n).reconnect(),t(function(){n.value.disconnectDragSource()})}),(0,le.watchEffect)(function(e){n.value.dragPreviewOptions=(0,le.unref)(t)||null,(0,le.unref)(n).reconnect(),e(function(){n.value.disconnectDragPreview()})}),n}((0,le.computed)(function(){return(0,le.unref)(r).options}),(0,le.computed)(function(){return(0,le.unref)(r).previewOptions}));return Wt(r,n,o),[Xt((0,le.computed)(function(){return(0,le.unref)(r).collect||function(){return{}}}),n,o),Kt(o,r),Jt(o,r)]}var Zt=/* @__PURE__ */function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.spec=t,this.monitor=r}var t=e.prototype;return t.canDrop=function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)},t.hover=function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)},t.drop=function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)},e}();function er(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tr(e,t,r){var n=qt(),o=function(e,t){var r=(0,le.computed)(function(){return new Zt((0,le.unref)(e),(0,le.unref)(t))});return(0,le.watchEffect)(function(){r.value.spec=(0,le.unref)(e)}),r}(e,t),i=function(e){return(0,le.computed)(function(){var t=(0,le.unref)(e).accept;return we(null!=t,"accept must be defined"),Array.isArray(t)?t:[t]})}(e);(0,le.watchEffect)(function(e){var a,s,c=(a=function(e,t,r){var n=(0,le.unref)(r).getRegistry(),o=n.addTarget((0,le.unref)(e),(0,le.unref)(t));return[o,function(){return n.removeTarget(o)}]}(i,o,n),s=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(a,s)||function(e,t){if(e){if("string"==typeof e)return er(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?er(e,t):void 0}}(a,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],l=c[1];(0,le.unref)(t).receiveHandlerId(u),(0,le.unref)(r).receiveHandlerId(u),e(l)})}function rr(e,t){return Yt(function(t){(0,le.unref)(e).hooks.dropTarget()(t.el,t.options)},(0,le.computed)(function(){return(0,le.unref)(t).options}))}function nr(e){var t,r=$t(e),n=(t=qt(),(0,le.computed)(function(){return new Rt((0,le.unref)(t))})),o=function(e){var t=qt(),r=(0,le.computed)(function(){return new Ut((0,le.unref)(t).getBackend())});return(0,le.watchEffect)(function(t){r.value.dropTargetOptions=(0,le.unref)(e)||null,r.value.reconnect(),t(function(){return r.value.disconnectDropTarget()})}),r}((0,le.computed)(function(){return(0,le.unref)(r).options}));return tr(r,n,o),[Xt((0,le.computed)(function(){return(0,le.unref)(r).collect||function(){return{}}}),n,o),rr(o,r)]}function or(e){let t=null;return()=>(null==t&&(t=e()),t)}var ir=class{enter(e){const t=this.entered.length;return this.entered=function(e,t){const r=/* @__PURE__ */new Set,n=e=>r.add(e);e.forEach(n),t.forEach(n);const o=[];return r.forEach(e=>o.push(e)),o}(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),0===t&&this.entered.length>0}leave(e){const t=this.entered.length;var r,n;return this.entered=(r=this.entered.filter(this.isNodeInDocument),n=e,r.filter(e=>e!==n)),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}},ar=class{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach(r=>{const n=this.config.exposeProperties[r];null!=n&&(t[r]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}},sr=/* @__PURE__ */t({FILE:()=>cr,HTML:()=>dr,TEXT:()=>lr,URL:()=>ur}),cr="__NATIVE_FILE__",ur="__NATIVE_URL__",lr="__NATIVE_TEXT__",dr="__NATIVE_HTML__";function fr(e,t,r){const n=t.reduce((t,r)=>t||e.getData(r),"");return null!=n?n:r}var hr={[cr]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[dr]:{exposeProperties:{html:(e,t)=>fr(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[ur]:{exposeProperties:{urls:(e,t)=>fr(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[lr]:{exposeProperties:{text:(e,t)=>fr(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function gr(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(hr).filter(e=>{const r=hr[e];return!!(null==r?void 0:r.matchesTypes)&&r.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}var pr=or(()=>/firefox/i.test(navigator.userAgent)),vr=or(()=>Boolean(window.safari)),mr=class{interpolate(e){const{xs:t,ys:r,c1s:n,c2s:o,c3s:i}=this;let a=t.length-1;if(e===t[a])return r[a];let s,c=0,u=i.length-1;for(;c<=u;){s=Math.floor(.5*(c+u));const n=t[s];if(n<e)c=s+1;else{if(!(n>e))return r[s];u=s-1}}a=Math.max(0,u);const l=e-t[a],d=l*l;return r[a]+n[a]*l+o[a]*d+i[a]*l*d}constructor(e,t){const{length:r}=e,n=[];for(let h=0;h<r;h++)n.push(h);n.sort((t,r)=>e[t]<e[r]?-1:1);const o=[],i=[],a=[];let s,c;for(let h=0;h<r-1;h++)s=e[h+1]-e[h],c=t[h+1]-t[h],i.push(s),o.push(c),a.push(c/s);const u=[a[0]];for(let h=0;h<i.length-1;h++){const e=a[h],t=a[h+1];if(e*t<=0)u.push(0);else{s=i[h];const r=i[h+1],n=s+r;u.push(3*n/((n+r)/e+(n+s)/t))}}u.push(a[a.length-1]);const l=[],d=[];let f;for(let h=0;h<u.length-1;h++){f=a[h];const e=u[h],t=1/i[h],r=e+u[h+1]-f-f;l.push((f-e-r)*t),d.push(r*t*t)}this.xs=e,this.ys=t,this.c1s=u,this.c2s=l,this.c3s=d}};function yr(e){const t=1===e.nodeType?e:e.parentElement;if(!t)return null;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function br(e){return{x:e.clientX,y:e.clientY}}var Or=class{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}};function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){wr(e,t,r[t])})}return e}var Sr=class{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;var t;void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(e,t,r){return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,r){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);const n=t=>this.handleDragStart(t,e),o=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const r=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),o=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",r),t.addEventListener("dragover",n),t.addEventListener("drop",o),()=>{t.removeEventListener("dragenter",r),t.removeEventListener("dragover",n),t.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return Dr({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId();return Dr({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(sr).some(t=>sr[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){const r=hr[e];if(!r)throw new Error(`native type ${e} has no configuration`);const n=new ar(r);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,r){this.sourcePreviewNodes=/* @__PURE__ */new Map,this.sourcePreviewNodeOptions=/* @__PURE__ */new Map,this.sourceNodes=/* @__PURE__ */new Map,this.sourceNodeOptions=/* @__PURE__ */new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&yr(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>Boolean(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{const e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;const{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;const r=br(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});const{dataTransfer:n}=e,o=gr(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){const e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),o=this.sourcePreviewNodes.get(e)||t;if(o){const{anchorX:e,anchorY:i,offsetX:a,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),c=function(e,t,r,n,o){const i=function(e){var t;return"IMG"===e.nodeName&&(pr()||!(null===(t=document.documentElement)||void 0===t?void 0:t.contains(e)))}(t),a=yr(i?e:t),s={x:r.x-a.x,y:r.y-a.y},{offsetWidth:c,offsetHeight:u}=e,{anchorX:l,anchorY:d}=n,{dragPreviewWidth:f,dragPreviewHeight:h}=function(e,t,r,n){let o=e?t.width:r,i=e?t.height:n;return vr()&&e&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}(i,t,c,u),{offsetX:g,offsetY:p}=o,v=0===p||p;return{x:0===g||g?g:new mr([0,.5,1],[s.x,s.x/c*f,s.x+f-c]).interpolate(l),y:v?p:(()=>{let e=new mr([0,.5,1],[s.y,s.y/u*h,s.y+h-u]).interpolate(d);return vr()&&i&&(e+=(window.devicePixelRatio-1)*h),e})()}}(t,o,r,{anchorX:e,anchorY:i},{offsetX:a,offsetY:s});n.setDragImage(o,c.x,c.y)}}try{null==n||n.setData("application/json",{})}catch(i){}this.setCurrentDragSourceNode(e.target);const{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(o)this.beginDragNativeItem(o);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{var t;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)),!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;const{dataTransfer:r}=e,n=gr(r);n&&this.beginDragNativeItem(n,r)},this.handleTopDragEnter=e=>{const{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:br(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{var t;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer))},this.handleTopDragOver=e=>{const{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));this.altKeyPressed=e.altKey,this.lastClientOffset=br(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{var t;this.dropTargetIds=[],this.isDraggingNativeItem()?(e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):gr(e.dataTransfer)&&e.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{const{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:br(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{const t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new Or(t,r),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new ir(this.isNodeInDocument)}},Tr=function(e,t,r){return new Sr(e,t,r)},Ir={"zh-CN":()=>import("./zh_CN-BKmwBYsr.js"),"en-US":()=>import("./en_US-BaP-b1tP.js"),"pt-PT":()=>import("./pt_PT-DFlFmzXZ.js"),"tr-TR":()=>import("./tr_TR-CODhj5X1.js"),"zh-TW":()=>import("./zh_TW-BSGEo2Qx.js"),"ja-JP":()=>import("./ja_JP-CeseBQS9.js"),"vi-VN":()=>import("./vi_VN-BjwID8XV.js"),"de-GE":()=>import("./de_DE-DIDpd1gQ.js"),"fr-FR":()=>import("./fr_FR-Bk_x0L7S.js"),"es-ES":()=>import("./es_ES-NOVlNQnw.js"),"ru-RU":()=>import("./ru_RU-C5XPaRfl.js")},Er=v({locale:""});function Cr(){if(Er.value.locale!==_gct.i18n.global.locale){const e=Ir[_gct.i18n.global.locale];e&&e().then(e=>{Er.value=e.default})}return{getAntdLocale:Er}}var Pr=p({});function jr(){return{themeVars:Pr,setPrimaryColor:function(e){Pr.primaryColor=e,O.config({theme:{primaryColor:e}})}}}function Nr(e,t,r={}){const n=r.minValue??10,o=v(e),i=p({offset:"offsetWidth",client:"clientX",clientMove:0,rowType:t,offsetWidth:2e3});function a(e){const t=e-i.clientMove;o.value=s(s(o.value)+t),i.clientMove=e}function s(e){return"right"===i.rowType||"bottom"===i.rowType?i.offsetWidth-e:e}return{moveDomDown:function(e,t,r){const n=t,o=e;i.offsetWidth=n[i.offset]??0,i.clientMove=o[i.client]??0,e.preventDefault(),document.onmousemove=e=>{a(e[i.client]??0)},document.onmouseup=()=>{document.onmouseup=null,document.onmousemove=null,null==r||r()}},moveMobileDomDown:function(e,t,r){const n=t,o=e.touches[0];o&&(i.offsetWidth=n[i.offset]??0,i.clientMove=o[i.client]??0,e.preventDefault(),document.ontouchmove=e=>{a(e.touches[0][i.client]??0)},document.ontouchend=()=>{document.ontouchend=null,document.ontouchmove=null,null==r||r()})},start:u({get:()=>o.value<n?n:o.value>i.offsetWidth-n?i.offsetWidth-n:o.value,set(e){o.value=e}})}}var xr={};function Rr(e,{random:t=!0}={}){if(!e)return"/404.png";const r=`${a}${e.startsWith("/")?"":"/"}${e}`;if(!t)return r;if(xr[e]&&Date.now()-xr[e].timestamp<6e4)return`${r}?${xr[e].random}`;Object.keys(xr).length>100&&(xr={});const n=Math.random();return xr[e]={random:n,timestamp:Date.now()},`${r}?${n}`}function Ar(e){return e?`${a}${e.startsWith("/")?"":"/"}${e}`:e}var Mr=/* @__PURE__ */d({props:{opts:{type:Object,default:()=>({})}},setup(e,t){const r=s("modal"),n=v(!1),i=v(!!e.opts.defaultFullscreen),a=()=>{i.value=!i.value},c=v({});e.opts&&Object.assign(c.value,e.opts);let u=null;const d=new o({dismiss:e=>{n.value=!1,u=e,t.emit("dismiss",u)},setOptions(e){Object.assign(c.value,e)}});g("modal",d);const p=e=>d.dismiss(e);t.expose({present:()=>{n.value=!0},dismiss:p});const y=v(!1),b=async()=>{if(d.ok)try{y.value=!0;const e=await d.ok();y.value=!1,!e||!0!==e.ok&&!0!==e.close||p(e)}finally{y.value=!1}else console.warn("打开模态未实现ok方法")},w=async()=>{d.cancel&&!1===await d.cancel()||p()},{getAntdLocale:D}=Cr();return()=>{var e,o;let s;const u=null===(e=(o=t.slots).default)||void 0===e?void 0:e.call(o);return u&&u.length>0&&(u[0].props.modal=d),l(O,{locale:D.value},{default:()=>{return[l(Ct,{backend:Tr},(e=s=f(m("a-modal"),{visible:n.value,class:[r.b(),c.value.placement&&r.m(c.value.placement),c.value.modalClass,r.is("hidden-footer",!1===c.value.showFooter),r.is("hidden-close-btn",!1===c.value.showCloseBtn),r.is("hidden-cancel-btn",!1===c.value.showCancelBtn),r.is("full-screen",i.value)],centered:!0,onOk:b,confirmLoading:y.value,onCancel:w,okText:"确认",okButtonProps:{disabled:d.state.okDisabled},...c.value},[!1!==c.value.canFullscreen?l("div",{class:r.e("full-screen"),onClick:a},[l("i",{class:"iconfont "+(i.value?"icon-tuichuquanping":"icon-quanping")},null)]):null,u]),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!h(e)?s:{default:()=>[s]}))];var e}})}}}),_r=class{async modal(e,t,r){const n=this.createModal(e,t,r);return n.present(),n.onWillDismiss()}createModal(e,t,r){return function(e,t){return new i(Mr,e,t)}(y(e)?e:()=>f(function(e){return b(e)?m(e):e}(e),{...t}),r)}},kr=new _r,Lr=(e,t)=>(e.install=r=>{const n=e.name||e.displayName;n&&(r.component(n,e),t&&(r.config.globalProperties[t]=e))},e),Hr={VS:"vs",BLACK:"hc-black",DARK:"vs-dark"},Ur={JS:"javascript",SQL:"sql",PWSH:"powershell",JAVA:"java",C_SHARP:"csharp",JSON:"json"},Fr=class{constructor(){S(this,"value",void 0),S(this,"title",void 0),S(this,"language",void 0),S(this,"theme",void 0),S(this,"readonly",void 0)}};export{T as _,_r as a,Rr as c,Cr as d,nr as f,I as g,ce as h,Lr as i,Nr as l,ue as m,Fr as n,kr as o,Qt as p,Hr as r,Ar as s,Ur as t,jr as u,S as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var t={placeholder:"Chọn thời gian"},n={lang:e({placeholder:"Chọn thời điểm",rangePlaceholder:["Ngày bắt đầu","Ngày kết thúc"]},{locale:"vi_VN",today:"Hôm nay",now:"Bây giờ",backToToday:"Trở về hôm nay",ok:"Ok",clear:"Xóa",month:"Tháng",year:"Năm",timeSelect:"Chọn thời gian",dateSelect:"Chọn ngày",weekSelect:"Chọn tuần",monthSelect:"Chọn tháng",yearSelect:"Chọn năm",decadeSelect:"Chọn thập kỷ",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Tháng trước (PageUp)",nextMonth:"Tháng sau (PageDown)",previousYear:"Năm trước (Control + left)",nextYear:"Năm sau (Control + right)",previousDecade:"Thập kỷ trước",nextDecade:"Thập kỷ sau",previousCentury:"Thế kỷ trước",nextCentury:"Thế kỷ sau"}),timePickerLocale:e({},t)},a={locale:"vi",Pagination:{items_per_page:"/ trang",jump_to:"Đến",jump_to_confirm:"xác nhận",page:"",prev_page:"Trang Trước",next_page:"Trang Kế",prev_5:"Về 5 Trang Trước",next_5:"Đến 5 Trang Kế",prev_3:"Về 3 Trang Trước",next_3:"Đến 3 Trang Kế"},DatePicker:n,TimePicker:t,Calendar:n,Table:{filterTitle:"Bộ ",filterConfirm:"OK",filterReset:"Tạo Lại",selectAll:"Chọn Tất Cả",selectInvert:"Chọn Ngược Lại"},Modal:{okText:"OK",cancelText:"Huỷ",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Huỷ"},Transfer:{searchPlaceholder:"Tìm ở đây",itemUnit:"mục",itemsUnit:"mục"},Upload:{uploading:"Đang tải lên...",removeFile:"Gỡ bỏ tập tin",uploadError:"Lỗi tải lên",previewFile:"Xem thử tập tin",downloadFile:"Tải tập tin"},Empty:{description:"Trống"}};export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var l={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},a={lang:e({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}),timePickerLocale:e({},l)};a.lang.ok="确定";var r="${label}不是一个有效的${type}",t={locale:"zh-cn",Pagination:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"},DatePicker:a,TimePicker:l,Calendar:a,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
import{t as e}from"./objectSpread2-Cr8AaZiL.js";var l={placeholder:"請選擇時間"},a={lang:e({placeholder:"請選擇日期",yearPlaceholder:"請選擇年份",quarterPlaceholder:"請選擇季度",monthPlaceholder:"請選擇月份",weekPlaceholder:"請選擇周",rangePlaceholder:["開始日期","結束日期"],rangeYearPlaceholder:["開始年份","結束年份"],rangeMonthPlaceholder:["開始月份","結束月份"],rangeQuarterPlaceholder:["開始季度","結束季度"],rangeWeekPlaceholder:["開始周","結束周"]},{locale:"zh_TW",today:"今天",now:"此刻",backToToday:"返回今天",ok:"確定",timeSelect:"選擇時間",dateSelect:"選擇日期",weekSelect:"選擇周",clear:"清除",month:"月",year:"年",previousMonth:"上個月 (翻頁上鍵)",nextMonth:"下個月 (翻頁下鍵)",monthSelect:"選擇月份",yearSelect:"選擇年份",decadeSelect:"選擇年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"上一年 (Control鍵加左方向鍵)",nextYear:"下一年 (Control鍵加右方向鍵)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世紀",nextCentury:"下一世紀"}),timePickerLocale:e({},l)};a.lang.ok="確 定";var r="${label}不是一個有效的${type}",t={locale:"zh-tw",Pagination:{items_per_page:"條/頁",jump_to:"跳至",jump_to_confirm:"確定",page:"頁",prev_page:"上一頁",next_page:"下一頁",prev_5:"向前 5 頁",next_5:"向後 5 頁",prev_3:"向前 3 頁",next_3:"向後 3 頁"},DatePicker:a,TimePicker:l,Calendar:a,global:{placeholder:"請選擇"},Table:{filterTitle:"篩選器",filterConfirm:"確定",filterReset:"重置",filterEmptyText:"無篩選項",selectAll:"全部選取",selectInvert:"反向選取",selectNone:"清空所有",selectionAll:"全選所有",sortTitle:"排序",expand:"展開行",collapse:"關閉行",triggerDesc:"點擊降序",triggerAsc:"點擊升序",cancelSort:"取消排序"},Modal:{okText:"確定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{okText:"確定",cancelText:"取消"},Transfer:{searchPlaceholder:"搜尋資料",itemUnit:"項目",itemsUnit:"項目",remove:"删除",selectCurrent:"全選當頁",removeCurrent:"删除當頁",selectAll:"全選所有",removeAll:"删除全部",selectInvert:"反選當頁"},Upload:{uploading:"正在上傳...",removeFile:"刪除檔案",uploadError:"上傳失敗",previewFile:"檔案預覽",downloadFile:"下载文件"},Empty:{description:"無此資料"},Icon:{icon:"圖標"},Text:{edit:"編輯",copy:"複製",copied:"複製成功",expand:"展開"},PageHeader:{back:"返回"},Form:{optional:"(可選)",defaultValidateMessages:{default:"字段驗證錯誤${label}",required:"請輸入${label}",enum:"${label}必須是其中一個[${enum}]",whitespace:"${label}不能為空字符",date:{format:"${label}日期格式無效",parse:"${label}不能轉換為日期",invalid:"${label}是一個無效日期"},types:{string:r,method:r,array:r,object:r,number:r,date:r,boolean:r,integer:r,float:r,regexp:r,email:r,url:r,hex:r},string:{len:"${label}須為${len}個字符",min:"${label}最少${min}個字符",max:"${label}最多${max}個字符",range:"${label}須在${min}-${max}字符之間"},number:{len:"${label}必須等於${len}",min:"${label}最小值為${min}",max:"${label}最大值為${max}",range:"${label}須在${min}-${max}之間"},array:{len:"須為${len}個${label}",min:"最少${min}個${label}",max:"最多${max}個${label}",range:"${label}數量須在${min}-${max}之間"},pattern:{mismatch:"${label}與模式不匹配${pattern}"}}},Image:{preview:"預覽"}};export{t as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
value: {
|
|
3
|
-
type: StringConstructor;
|
|
3
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
color: {
|
|
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
17
|
};
|
|
18
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
19
|
value: {
|
|
20
|
-
type: StringConstructor;
|
|
20
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
color: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default from "./IconNext.vue_vue_type_script_setup_true_name_IconNext_lang.mjs";
|
|
3
|
-
import './IconNext.
|
|
3
|
+
import './IconNext.vue_vue_type_style_index_0_scoped_360a87c9_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/icon-next/src/IconNext.vue
|
|
5
|
-
var IconNext_default = /* @__PURE__ */ _plugin_vue_export_helper_default(IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var IconNext_default = /* @__PURE__ */ _plugin_vue_export_helper_default(IconNext_vue_vue_type_script_setup_true_name_IconNext_lang_default, [["__scopeId", "data-v-360a87c9"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { IconNext_default as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.icon-next[data-v-
|
|
1
|
+
.icon-next[data-v-360a87c9] {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
color: var(--color);
|
|
5
5
|
background-color: var(--bg-color);
|
|
6
6
|
transition: all 0.3s;
|
|
7
7
|
}
|
|
8
|
-
.icon-next > svg[data-v-
|
|
8
|
+
.icon-next > svg[data-v-360a87c9] {
|
|
9
9
|
transform: translateY(1px);
|
|
10
10
|
}
|
|
11
|
-
i.icon-next[data-v-
|
|
11
|
+
i.icon-next[data-v-360a87c9] {
|
|
12
12
|
height: var(--size);
|
|
13
13
|
width: var(--size);
|
|
14
14
|
background-image: var(--bg-image);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { computed, defineComponent, onMounted, onUnmounted, ref, unref } from "vue";
|
|
2
2
|
import { useNamespace } from "@gct-paas/core";
|
|
3
3
|
import { useDebounceFn } from "@vueuse/core";
|
|
4
|
-
import Cropper from "cropperjs";
|
|
5
|
-
import "cropperjs/dist/cropper.css";
|
|
6
4
|
//#region src/modules/Cropper/src/Cropper.vue?vue&type=script&lang.ts
|
|
7
5
|
var defaultOptions = {
|
|
8
6
|
aspectRatio: 1,
|
|
@@ -102,7 +100,8 @@ var Cropper_vue_vue_type_script_lang_default = defineComponent({
|
|
|
102
100
|
async function init() {
|
|
103
101
|
const imgEl = unref(imgElRef);
|
|
104
102
|
if (!imgEl) return;
|
|
105
|
-
|
|
103
|
+
const [{ default: CropperCtor }] = await Promise.all([import("cropperjs"), import("cropperjs/dist/cropper.css")]);
|
|
104
|
+
cropper.value = new CropperCtor(imgEl, {
|
|
106
105
|
...defaultOptions,
|
|
107
106
|
ready: () => {
|
|
108
107
|
isReady.value = true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValue } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import './gct-table-date.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-date/gct-table-date.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGctFormValueByText } from "../../../gct-form/hooks/use-gct-form-value/use-gct-form-value.mjs";
|
|
2
2
|
import "../../../gct-form/index.mjs";
|
|
3
|
-
import '
|
|
3
|
+
import '../gct-table-date/gct-table-date.css';/* empty css */
|
|
4
4
|
import { createVNode, defineComponent, mergeProps, resolveComponent } from "vue";
|
|
5
5
|
import { useNamespace } from "@gct-paas/core";
|
|
6
6
|
//#region src/modules/gct-table/editor/gct-table-text/gct-table-text.tsx
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var modalProps = {
|
|
1
|
+
var basicProps = Object.assign({}, {
|
|
3
2
|
visible: { type: Boolean },
|
|
4
3
|
scrollTop: {
|
|
5
4
|
type: Boolean,
|
|
@@ -22,8 +21,7 @@ var modalProps = {
|
|
|
22
21
|
default: "sys.okText"
|
|
23
22
|
},
|
|
24
23
|
closeFunc: Function
|
|
25
|
-
}
|
|
26
|
-
var basicProps = Object.assign({}, modalProps, {
|
|
24
|
+
}, {
|
|
27
25
|
defaultFullscreen: { type: Boolean },
|
|
28
26
|
canFullscreen: {
|
|
29
27
|
type: Boolean,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core-web",
|
|
3
|
-
"version": "0.1.4-dev.
|
|
3
|
+
"version": "0.1.4-dev.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台网页端核心包",
|
|
6
6
|
"loader": "dist/loader.esm.min.js",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@ant-design/icons-vue": "^6.1.0",
|
|
49
49
|
"@gct-paas/api": "^0.1.2-dev.1",
|
|
50
|
-
"@gct-paas/core": "0.1.4-dev.
|
|
50
|
+
"@gct-paas/core": "0.1.4-dev.18",
|
|
51
51
|
"@gct-paas/flow": "0.0.1-dev.0",
|
|
52
52
|
"@gct-paas/platform-icons": "^0.0.2",
|
|
53
|
-
"@gct-paas/scss": "0.1.4-dev.
|
|
53
|
+
"@gct-paas/scss": "0.1.4-dev.18",
|
|
54
54
|
"@icon-park/vue-next": "^1.4.2",
|
|
55
55
|
"@monaco-editor/loader": "^1.7.0",
|
|
56
56
|
"@vueuse/core": "^14.1.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"vant": ">=4",
|
|
79
79
|
"vue": ">=3"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d79e561695bc9a4ff14b7c1bc735a595a32ed3e9"
|
|
82
82
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,o,r as n,s as d,t as s}from"./NodeTooltips.vue-BuKpNXoA.js";import{t}from"./NodeTools.vue-CKtwcfn2.js";import"./enums-DefcbOFc.js";import{n as a,t as l}from"./node-popover.vue-CnA0OEQf.js";import{createElementBlock as i,createElementVNode as p,createVNode as r,defineComponent as m,normalizeClass as u,normalizeStyle as c,openBlock as v,toDisplayString as f,unref as _,withCtx as I}from"vue";var N=["title"],j=/* @__PURE__ */e(/* @__PURE__ */m({__name:"BpmnApproval",props:{node:{}},setup(e){const{onNodeClick:m,nodeSelectedId:j,nodeInstStatusMap:g,isInstMode:h}=n();return(n,k)=>(v(),i("div",{class:"gf__node",onClick:k[0]||(k[0]=o=>_(m)(e.node))},[r(t,{node:e.node},null,8,["node"]),r(s,{node:e.node},null,8,["node"]),r(a,{node:e.node},null,8,["node"]),r(l,{node:e.node},{default:I(()=>[p("div",{class:u(["gct-bpmn__approval",{selected:_(j)===e.node.id,"inst-mode":_(h),"is-pending":_(g)[e.node.id]?.status===_(o).PENDING}]),style:c({"--color":_(d)[_(g)[e.node.id]?.status]||"#3168ec"})},[k[1]||(k[1]=p("div",null,[p("i",{class:"iconfont icon-shenpi1 lh-[1em]"})],-1)),p("div",{title:e.node.data?.name,class:"flex-1 ell"},f(e.node.data?.name),9,N)],6)]),_:1},8,["node"])]))}}),[["__scopeId","data-v-aee493d9"]]);export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,r as o,t as n}from"./NodeTooltips.vue-BuKpNXoA.js";import{t as d}from"./NodeTools.vue-CKtwcfn2.js";import{createElementBlock as s,createElementVNode as l,createVNode as t,defineComponent as a,normalizeClass as i,openBlock as c,toDisplayString as m,unref as r}from"vue";var p=["title"],u=/* @__PURE__ */e(/* @__PURE__ */a({__name:"BpmnBusiness",props:{node:{}},setup(e){const{onNodeClick:a,nodeSelectedId:u}=o();return(o,v)=>(c(),s("div",{class:"gf__node",onClick:v[0]||(v[0]=o=>r(a)(e.node))},[t(d,{node:e.node},null,8,["node"]),t(n,{node:e.node},null,8,["node"]),l("div",{class:i(["gct-bpmn__message",{selected:r(u)===e.node.id}])},[v[1]||(v[1]=l("div",null,[l("i",{class:"iconfont icon-xiaoxitongzhi lh-[1em]"})],-1)),l("div",{title:e.node.data?.name,class:"flex-1 ell"},m(e.node.data?.name),9,p)],2)]))}}),[["__scopeId","data-v-176742d9"]]);export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,t as o}from"./NodeTooltips.vue-BuKpNXoA.js";import"./enums-DefcbOFc.js";import{t}from"./useGctBpmn-wMjCfvFc.js";import{createElementBlock as n,createElementVNode as d,createVNode as a,defineComponent as p,openBlock as r,toDisplayString as s,unref as m}from"vue";import{useI18n as l}from"vue-i18n";var i=["title"],u=/* @__PURE__ */p({__name:"BpmnEnd",props:{node:{}},setup(p){const{t:u}=l(),{onNodeClick:c}=e(),{getI18nName:x}=t();return(e,t)=>(r(),n("div",{class:"gf__node",onClick:t[0]||(t[0]=e=>m(c)(p.node))},[a(o,{node:p.node},null,8,["node"]),d("div",{title:m(u)(m(x)(p.node.data))||p.node.data?.name,class:"h-36px w-66px bg-[#666] rounded-18px color-white text-center lh-36px ell pl-10px pr-10px"},s(m(u)(m(x)(p.node.data))||p.node.data?.name),9,i)]))}});export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{y as e}from"./useMonacoEditor-no1c2RQN.js";import{n as s,o as n,r as l,s as i,t}from"./NodeTooltips.vue-BuKpNXoA.js";import{t as o}from"./NodeTools.vue-CKtwcfn2.js";import{a as d,i as a,n as c,o as r,r as u,t as h}from"./NodeFlow.vue-DsiKwCpI.js";import{n as p}from"./enums-DefcbOFc.js";import{n as f,t as v}from"./useGctBpmn-wMjCfvFc.js";import{Fragment as m,computed as g,createBlock as _,createCommentVNode as y,createElementBlock as w,createElementVNode as E,createTextVNode as k,createVNode as x,defineComponent as N,inject as C,normalizeClass as F,normalizeStyle as I,openBlock as b,renderList as M,resolveComponent as D,toDisplayString as P,unref as S,withModifiers as j}from"vue";import{useI18n as z}from"vue-i18n";var T=["width","height"],B=["id","d"],G=/* @__PURE__ */N({__name:"NodeBranchEntrySvg",props:{nodes:{},height:{},radius:{},size:{}},setup(e){const s=e,{nodeInstStatusMap:i}=l(C("uniqueFlowKey")),t=g(()=>{const e=c(s.nodes,{...s});return e.paths.forEach((e,l)=>{console.log("form index map 2",s.nodes[l].id);const t=[n.COMPLETED,n.RUNNING].includes(i.value[s.nodes[l].id]?.status);e.no=t?100:0,e.finished=t}),e.paths.sort((e,s)=>e.no-s.no),e});return(e,s)=>(b(),w("svg",{width:t.value.width,height:t.value.height},[(b(!0),w(m,null,M(t.value.paths,e=>(b(),w("path",{id:e.id,key:e.id,class:F(["gf__svg-line",{"inst-finished":e.finished}]),d:e.d},null,10,B))),128))],8,T))}}),L=["width","height"],O=["id","d"],R=/* @__PURE__ */N({__name:"NodeBranchExitSvg",props:{node:{},nodes:{},size:{}},setup(e){const s=e,{nodeInstStatusMap:n}=l(C("uniqueFlowKey")),i=g(()=>{const e=u(s.nodes,{...s});return e.paths.forEach((e,l)=>{const i=a(s.nodes[l],n.value);e.no=i?100:0,e.finished=i}),e.paths.sort((e,s)=>e.no-s.no),e});return(e,s)=>(b(),w("svg",{width:i.value.width,height:i.value.height},[(b(!0),w(m,null,M(i.value.paths,e=>(b(),w("path",{id:e.id,key:e.id,class:F(["gf__svg-line",{"inst-finished":e.finished}]),d:e.d},null,10,O))),128))],8,L))}}),q={class:"gf__node"},K=["title"],U={class:"gf__flows"},A=["onClick"],H={class:"gct-bpmn__case-card--description flex items-center"},J=["title"],Q={key:2,class:"case-tools"},V=["title","onClick"],W=["title","onClick"],X=/* @__PURE__ */N({__name:"BpmnExclusive",props:{prev:{},node:{}},setup(e){const s=e,{t:c}=z(),{onNodeClick:u,nodeSelectedId:N,setFlowSelected:C,isReadonly:T,isInstMode:B,nodeInstStatusMap:L}=l(),{getI18nName:O}=v(),X=g(()=>c(O(s?.node.data))||s?.node.data?.name),Y=g(()=>c("sys.add")),Z=g(()=>c("sys.delete")),$=g(()=>s.node.type===p.BpmnParallel);return(l,p)=>{const v=D("file-add-outlined");return b(),w("div",{class:"flex flex-col items-center",style:I({"--node-color":$.value?"#FF980E":"#088c49"})},[E("div",q,[x(o,{node:e.node},null,8,["node"]),x(t,{node:e.node},null,8,["node"]),E("div",{class:F(["gct-bpmn__exclusive",{selected:S(N)===e.node.id,"inst-mode":S(B),"is-pending":S(L)[e.node.id]?.status===S(n).PENDING}]),style:I({"--color":S(i)[S(L)[e.node.id]?.status]||($.value?"#FF980E":"#088c49")}),onClick:p[0]||(p[0]=s=>{return n=e.node,u(n),void C();var n})},[E("div",null,[E("i",{class:F(["iconfont lh-[1em]",[$.value?"icon-binghangfenzhi":"icon-fenzhi"]])},null,2)]),E("div",{title:X.value,class:"flex-1 ell"},P(S(c)(S(O)(e.node.data))||e.node.data?.name),9,K)],6)]),x(G,{nodes:e.node.children},null,8,["nodes"]),E("div",U,[(b(!0),w(m,null,M(e.node.children,(l,o)=>(b(),w("div",{key:l.id,class:"gf__flow"},[x(d,{class:F({"inst-finished":[S(n).RUNNING,S(n).COMPLETED].includes(S(L)[l.id]?.status)})},null,8,["class"]),E("div",{class:F(["gct-bpmn__case-card",{"inst-mode":S(B),"is-pending":S(L)[e.node.id]?.status===S(n).PENDING}]),style:I({"--case-color":S(i)[S(L)[l.id]?.status]||"#e8ebf0"}),onClick:s=>{return n=e.node,i=l.id,u(n),void(n.children.slice(-1)[0].id===i?C():C(i));var n,i}},[x(t,{node:l},null,8,["node"]),o+1===e.node.children.length?(b(),w(m,{key:0},[E("div",{class:F(["gct-bpmn__case-card--title",{"inst-mode":S(B)}]),style:I({"--color":S(B)?S(i)[S(L)[l.id]?.status]||"#666666":$.value?"#FF980E":"#088c49"})},P(S(c)("sys.process.else")),7),p[1]||(p[1]=E("div",{class:"gct-bpmn__case-card--description flex items-center"},[E("div",{class:"color-[#797A7D] ell w-full"},[k(" 当"),E("span",{class:"color-[#252525] ml-4px mr-4px"},"上述条件都不满足"),k("时 ")])],-1))],64)):(b(),w(m,{key:1},[E("div",{class:"gct-bpmn__case-card--title",style:I({"--color":S(B)?S(i)[S(L)[l.id]?.status]||"#666666":$.value?"#FF980E":"#088c49"})},P(S(c)("sys.process.condition"))+P(o+1),5),E("div",H,[E("div",{class:"color-[#252525] ell w-full",title:l.caseCfg?.name},P(S(c)(S(O)(l.caseCfg))||l.caseCfg?.name),9,J)])],64)),S(T)?y("",!0):(b(),w("div",Q,[o+1<e.node.children.length?(b(),w("div",{key:0,class:"case-tool__item primary",title:Y.value,onClick:j(e=>(e=>{const n=f(s.node.children.length);s.node.children.splice(e+1,0,n)})(o),["stop"])},[x(v,{class:"text-12px"})],8,V)):y("",!0),o+1<e.node.children.length&&e.node.children.length>2?(b(),w("div",{key:1,class:"case-tool__item error",title:Z.value,onClick:j(e=>(e=>{s.node.children.splice(e,1)})(o),["stop"])},[...p[2]||(p[2]=[E("i",{class:"iconfont icon-shanchu1 lh-1em important-text-12px"},null,-1)])],8,W)):y("",!0)]))],14,A),E("div",{class:F(["gf__line--with-actions",{"inst-finished":S(L)[l.id]?.status===S(n).COMPLETED}])},[S(T)?y("",!0):(b(),_(r,{key:0,list:l.children,"is-flow-start":!0,parent:e.node,flow:l},null,8,["list","parent","flow"]))],2),l.children.length?(b(),_(d,{key:0,class:F({"inst-finished":S(L)[l.id]?.status===S(n).COMPLETED})},null,8,["class"])):y("",!0),x(h,{node:e.node,flow:l,"flow-index":o,"flow-size":e.node.children.length,"parent-id":l.id},null,8,["node","flow","flow-index","flow-size","parent-id"]),E("div",{class:F(["gf__line-pad",{"inst-finished":S(a)(l,S(L))}])},null,2)]))),128))]),x(R,{node:e.node,nodes:e.node.children},null,8,["node","nodes"])],4)}}}),Y=/* @__PURE__ */e({default:()=>Z}),Z=/* @__PURE__ */s(X,[["__scopeId","data-v-3bd1f759"]]);export{Y as n,Z as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,r as o,t as n}from"./NodeTooltips.vue-BuKpNXoA.js";import{t as d}from"./NodeTools.vue-CKtwcfn2.js";import"./enums-DefcbOFc.js";import{t}from"./useGctBpmn-wMjCfvFc.js";import{computed as a,createElementBlock as s,createElementVNode as l,createVNode as i,defineComponent as m,normalizeClass as r,openBlock as c,toDisplayString as p,unref as u}from"vue";import{useI18n as f}from"vue-i18n";var v=["title"],_=/* @__PURE__ */e(/* @__PURE__ */m({__name:"BpmnForm",props:{node:{}},setup(e){const m=e,{t:_}=f(),g=a(()=>_(b(m?.node.data))||m?.node.data?.name),{onNodeClick:j,nodeSelectedId:N}=o(),{getI18nName:b}=t();return(o,t)=>(c(),s("div",{class:"gf__node",onClick:t[0]||(t[0]=o=>u(j)(e.node))},[i(d,{node:e.node},null,8,["node"]),i(n,{node:e.node},null,8,["node"]),l("div",{class:r(["gct-bpmn__message",{selected:u(N)===e.node.id}])},[t[1]||(t[1]=l("div",null,[l("i",{class:"iconfont icon-liuchengbiaodan lh-[1em]"})],-1)),l("div",{title:g.value,class:"flex-1 ell"},p(u(_)(u(b)(e.node.data))||e.node.data?.name),9,v)],2)]))}}),[["__scopeId","data-v-9b3ff993"]]);export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,o,r as n,s,t as d}from"./NodeTooltips.vue-BuKpNXoA.js";import{t}from"./NodeTools.vue-CKtwcfn2.js";import"./enums-DefcbOFc.js";import{t as a}from"./useGctBpmn-wMjCfvFc.js";import{computed as i,createElementBlock as l,createElementVNode as m,createVNode as c,defineComponent as r,normalizeClass as u,normalizeStyle as p,openBlock as f,toDisplayString as v,unref as _}from"vue";import{useI18n as j}from"vue-i18n";var I={class:"ks-row-center"},N=["title"],g=/* @__PURE__ */e(/* @__PURE__ */r({__name:"BpmnJoin",props:{node:{}},setup(e){const r=e,{t:g}=j(),h=i(()=>g(T(r?.node.data))||r?.node.data?.name),{onNodeClick:k,nodeSelectedId:C,isInstMode:E,nodeInstStatusMap:M}=n(),{getI18nName:T}=a();return(n,a)=>(f(),l("div",{class:"gf__node",onClick:a[0]||(a[0]=o=>_(k)(e.node))},[m("div",I,[m("div",{class:u(["gf__line",{"inst-finished":_(M)[e.node.id]?.status===_(o).COMPLETED}])},null,2)]),c(t,{node:e.node},null,8,["node"]),c(d,{node:e.node},null,8,["node"]),m("div",{class:u(["gct-bpmn__join",{selected:_(C)===e.node.id,"inst-mode":_(E),"is-pending":_(M)[e.node.id]?.status===_(o).PENDING}]),style:p({"--color":_(s)[_(M)[e.node.id]?.status]||"#ff980e"})},[a[1]||(a[1]=m("div",null,[m("i",{class:"iconfont icon-juhejiedian lh-[1em]"})],-1)),m("div",{title:h.value,class:"flex-1 ell"},v(_(g)(_(T)(e.node.data))||e.node.data?.name),9,N)],6)]))}}),[["__scopeId","data-v-ca589cf7"]]);export{g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,o,r as n,s as d,t as s}from"./NodeTooltips.vue-BuKpNXoA.js";import{t}from"./NodeTools.vue-CKtwcfn2.js";import"./enums-DefcbOFc.js";import{n as a,t as l}from"./node-popover.vue-CnA0OEQf.js";import{createElementBlock as i,createElementVNode as m,createVNode as p,defineComponent as r,normalizeClass as u,normalizeStyle as c,openBlock as f,toDisplayString as v,unref as _,withCtx as j}from"vue";var I=["title"],N=/* @__PURE__ */e(/* @__PURE__ */r({__name:"BpmnJs",props:{node:{}},setup(e){const{onNodeClick:r,nodeSelectedId:N,isInstMode:b,nodeInstStatusMap:g}=n();return(n,k)=>(f(),i("div",{class:"gf__node",onClick:k[0]||(k[0]=o=>_(r)(e.node))},[p(t,{node:e.node},null,8,["node"]),p(s,{node:e.node},null,8,["node"]),p(a,{node:e.node},null,8,["node"]),p(l,{node:e.node},{default:j(()=>[m("div",{class:u(["gct-bpmn__js",{selected:_(N)===e.node.id,"inst-mode":_(b),"is-pending":_(g)[e.node.id]?.status===_(o).PENDING}]),style:c({"--color":_(d)[_(g)[e.node.id]?.status]||"#1fb1ea"})},[k[1]||(k[1]=m("div",null,[m("i",{class:"iconfont icon-jiaobenjiedian lh-[1em]"})],-1)),m("div",{title:e.node.data?.name,class:"flex-1 ell"},v(e.node.data?.name),9,I)],6)]),_:1},8,["node"])]))}}),[["__scopeId","data-v-fe1a0f65"]]);export{N as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,o,r as n,s as d,t as s}from"./NodeTooltips.vue-BuKpNXoA.js";import{t}from"./NodeTools.vue-CKtwcfn2.js";import"./enums-DefcbOFc.js";import{n as a,t as i}from"./node-popover.vue-CnA0OEQf.js";import{createElementBlock as l,createElementVNode as m,createVNode as c,defineComponent as p,normalizeClass as r,normalizeStyle as u,openBlock as v,toDisplayString as f,unref as _,withCtx as g}from"vue";var I=["title"],N=/* @__PURE__ */e(/* @__PURE__ */p({__name:"BpmnMessage",props:{node:{}},setup(e){const{onNodeClick:p,nodeSelectedId:N,nodeInstStatusMap:j,isInstMode:x}=n();return(n,h)=>(v(),l("div",{class:"gf__node",onClick:h[0]||(h[0]=o=>_(p)(e.node))},[c(t,{node:e.node},null,8,["node"]),c(s,{node:e.node},null,8,["node"]),c(a,{node:e.node},null,8,["node"]),c(i,{node:e.node,width:306},{default:g(()=>[m("div",{class:r(["gct-bpmn__message",{selected:_(N)===e.node.id,"inst-mode":_(x),"is-pending":_(j)[e.node.id]?.status===_(o).PENDING}]),style:u({"--color":_(d)[_(j)[e.node.id]?.status]||"#6931ec"})},[h[1]||(h[1]=m("div",null,[m("i",{class:"iconfont icon-xiaoxitongzhi lh-[1em]"})],-1)),m("div",{title:e.node.data?.name,class:"flex-1 ell"},f(e.node.data?.name),9,I)],6)]),_:1},8,["node"])]))}}),[["__scopeId","data-v-2cf7c11b"]]);export{N as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./NodeTooltips.vue-BuKpNXoA.js";import"./NodeTools.vue-CKtwcfn2.js";import"./NodeFlow.vue-DsiKwCpI.js";import"./enums-DefcbOFc.js";import"./useGctBpmn-wMjCfvFc.js";import{t as e}from"./BpmnExclusive.vue-Cx276gAF.js";import{createBlock as o,defineComponent as p,openBlock as r}from"vue";var s=/* @__PURE__ */p({__name:"BpmnParallel",props:{pre:{},node:{}},setup:p=>(s,m)=>(r(),o(e,{pre:p.pre,node:p.node},null,8,["pre","node"]))});export{s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e,r as t,s as o,t as d}from"./NodeTooltips.vue-BuKpNXoA.js";import"./enums-DefcbOFc.js";import{t as n}from"./useGctBpmn-wMjCfvFc.js";import{createElementBlock as a,createElementVNode as s,createVNode as p,defineComponent as r,normalizeClass as l,normalizeStyle as m,openBlock as i,toDisplayString as c,unref as u}from"vue";import{useI18n as x}from"vue-i18n";var _=["title"],v=/* @__PURE__ */e(/* @__PURE__ */r({__name:"BpmnStart",props:{node:{}},setup(e){const{t:r}=x(),{onNodeClick:v,nodeSelectedId:f,nodeInstStatusMap:I}=t(),{getI18nName:g}=n();return(t,n)=>(i(),a("div",{class:"gf__node",onClick:n[0]||(n[0]=t=>u(v)(e.node))},[p(d,{node:e.node},null,8,["node"]),s("div",{title:u(r)(u(g)(e.node.data))||e.node.data?.name,class:l(["gct-bpmn__start h-36px w-66px rounded-18px color-white text-center lh-36px ell pl-10px pr-10px",{selected:u(f)===e.node.id}]),style:m({"--color":u(o)[u(I)[e.node.id]?.status]||"#3168ec"})},c(u(r)(u(g)(e.node.data))||e.node.data?.name),15,_)]))}}),[["__scopeId","data-v-48d0dd49"]]);export{v as default};
|