@gct-paas/core-web 6.0.0-dev.3 → 6.0.0-dev.30
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/{JsBarcode-DqoOVx5W.js → JsBarcode-2U2Z4haQ.js} +2 -2
- package/dist/{chunk-D2n-9BZk.js → chunk-B4sNHT5D.js} +1 -1
- package/dist/{cropper--CDF4CJY.js → cropper-BBHBrI_h.js} +2 -2
- package/dist/{de_DE-tTkNK5e7.js → de_DE-x01WiIhd.js} +2 -2
- package/dist/{defineProperty-DMOETmJM.js → defineProperty-CopTuYhi.js} +1 -1
- package/dist/{diagram-config-item-mndWQae3.js → diagram-config-item-BvObN_vw.js} +2 -2
- package/dist/{diagram-config-item-reverse-mskyYRga.js → diagram-config-item-reverse-CQJq3PDO.js} +2 -2
- package/dist/{diagram-config-item-virtual-T6qwgNor.js → diagram-config-item-virtual-DwuDahJ9.js} +2 -2
- package/dist/{en_US-DVTEDKKo.js → en_US-WWKbeaNL.js} +2 -2
- package/dist/{es_ES-CKmshGZU.js → es_ES-DyApwepP.js} +2 -2
- package/dist/{fr_FR-B_wzLXho.js → fr_FR-C4f4fznV.js} +2 -2
- package/dist/{hooks-C4gJQ71u.js → hooks-BR7oI71F.js} +2 -2
- package/dist/{icon-next-picker-BDrB0gle.js → icon-next-picker-DTSdYwss.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/{ja_JP-BhFvFNyi.js → ja_JP-IiyTbw0B.js} +2 -2
- package/dist/loader.esm.min.js +2 -2
- package/dist/{monaco-editor-uMly0cUi.js → monaco-editor-C61rBTvf.js} +2 -2
- package/dist/{objectSpread2-D5mozHKL.js → objectSpread2-mHSeESyF.js} +1 -1
- package/dist/{overlayscrollbars-vue-DEtjvwTU.js → overlayscrollbars-vue-BObi2xDv.js} +1 -1
- package/dist/{pt_PT-DGqoMn-T.js → pt_PT-CLJysuaz.js} +2 -2
- package/dist/{relationship-diagram-config-NsABsOI0.js → relationship-diagram-config-4w2rBCFH.js} +2 -2
- package/dist/{rich-editor-DxLsJZVB.js → rich-editor-btRZ5hRO.js} +2 -2
- package/dist/{ru_RU-v9RYGEGE.js → ru_RU-BzwSpCJm.js} +2 -2
- package/dist/{tr_TR-BGeNq-Ym.js → tr_TR-BgO0xAOD.js} +2 -2
- package/dist/useMonacoEditor-dnsGXjlE.js +2 -0
- package/dist/{vi_VN-DbFVsUF0.js → vi_VN-DgZ8xVl3.js} +2 -2
- package/dist/{zh_CN-D0r9NbRu.js → zh_CN-Ce0AcfhU.js} +2 -2
- package/dist/{zh_TW-D5ZBS7AR.js → zh_TW-wOkCj62d.js} +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs +2 -3
- package/es/components/I18nSelect/src/{i18n-select-btn.vue_vue_type_style_index_0_scoped_efd9b5f6_lang.css → i18n-select-btn.vue_vue_type_style_index_0_scoped_c5259775_lang.css} +14 -14
- package/es/components/I18nSelect/src/i18n-select-container.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_script_setup_true_name_i18n-select-container_lang.mjs +2 -1
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_b87a5157_lang.css +6 -0
- package/es/components/I18nSelect/src/i18n-select-textarea.vue.mjs +2 -2
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_57c162b0_lang.css +26 -0
- package/es/components/app-modal/app-modal-component.mjs +9 -4
- package/es/components/app-modal/drag-placeholder.vue.d.ts +11 -0
- package/es/components/app-modal/drag-placeholder.vue.mjs +7 -0
- package/es/components/app-modal/drag-placeholder.vue_vue_type_script_setup_true_name_drag-placeholder_lang.mjs +92 -0
- package/es/components/app-modal/drag-placeholder.vue_vue_type_style_index_0_scoped_5127e637_lang.css +3 -0
- package/es/components/field-cascader/src/hooks.d.ts +2 -0
- package/es/components/open-select-user-modal/component/org.vue.mjs +1 -1
- package/es/components/open-select-user-modal/component/role.vue.mjs +1 -1
- package/es/components/open-select-user-modal/component/user-group.vue.mjs +1 -1
- package/es/components/open-select-user-modal/component/user.vue.mjs +1 -1
- package/es/locale/sys/app.d.ts +1 -0
- package/es/locale/sys/app.mjs +4 -1
- package/es/locale/sys.d.ts +1 -0
- package/es/locale/sys.mjs +2 -1
- 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/relationship-diagram-config/components/diagram-config-item/diagram-config-item.d.ts +4 -0
- package/es/setup-app.mjs +6 -0
- package/package.json +12 -12
- package/dist/useMonacoEditor-BMwjBjXb.js +0 -2
- package/es/components/I18nSelect/src/i18n-select-container.vue_vue_type_style_index_0_scoped_53df3982_lang.css +0 -6
- package/es/components/I18nSelect/src/i18n-select-textarea.vue_vue_type_style_index_0_scoped_cd95c416_lang.css +0 -17
- /package/es/components/open-select-user-modal/component/{org.vue_vue_type_style_index_0_lang.css → role.vue_vue_type_style_index_0_lang.css} +0 -0
- /package/es/modules/gct-table/editor/{gct-table-date/gct-table-date.css → gct-table-text/gct-table-text.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @gct-paas/core-web v6.0.0-dev.
|
|
2
|
-
import{t as e}from"./objectSpread2-
|
|
1
|
+
/*! @gct-paas/core-web v6.0.0-dev.29 */
|
|
2
|
+
import{t as e}from"./objectSpread2-mHSeESyF.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,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import i18n_select_btn_vue_vue_type_script_setup_true_name_i18n_select_btn_lang_default from "./i18n-select-btn.vue_vue_type_script_setup_true_name_i18n-select-btn_lang.mjs";
|
|
3
|
-
import './i18n-select-btn.
|
|
3
|
+
import './i18n-select-btn.vue_vue_type_style_index_0_scoped_c5259775_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/I18nSelect/src/i18n-select-btn.vue
|
|
5
|
-
var i18n_select_btn_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_btn_vue_vue_type_script_setup_true_name_i18n_select_btn_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var i18n_select_btn_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_btn_vue_vue_type_script_setup_true_name_i18n_select_btn_lang_default, [["__scopeId", "data-v-c5259775"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { i18n_select_btn_default as default };
|
|
@@ -54,13 +54,12 @@ var i18n_select_btn_vue_vue_type_script_setup_true_name_i18n_select_btn_lang_def
|
|
|
54
54
|
});
|
|
55
55
|
};
|
|
56
56
|
return (_ctx, _cache) => {
|
|
57
|
-
const _component_icon_next = resolveComponent("icon-next");
|
|
58
57
|
const _component_a_button = resolveComponent("a-button");
|
|
59
58
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
60
|
-
return __props.simpleBtn ? (openBlock(), createBlock(
|
|
59
|
+
return __props.simpleBtn ? (openBlock(), createBlock(unref(AssetsSvgIcon), {
|
|
61
60
|
key: 0,
|
|
62
61
|
class: normalizeClass(["i18n-icon simple-btn", { "is-highlight": isHighlight.value }]),
|
|
63
|
-
|
|
62
|
+
src: "/extras-assets/svg/language.svg",
|
|
64
63
|
onClick: handleOpenI18nSelectModal
|
|
65
64
|
}, null, 8, ["class"])) : isHighlight.value ? (openBlock(), createBlock(_component_a_tooltip, {
|
|
66
65
|
key: 1,
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
.ant-btn[data-v-
|
|
1
|
+
.ant-btn[data-v-c5259775] {
|
|
2
2
|
background-color: #fff !important;
|
|
3
3
|
}
|
|
4
|
-
.ant-btn.ant-btn-icon-only[data-v-
|
|
4
|
+
.ant-btn.ant-btn-icon-only[data-v-c5259775] {
|
|
5
5
|
width: var(--btn-width, 32px);
|
|
6
6
|
height: var(--btn-height, 32px);
|
|
7
7
|
}
|
|
8
|
-
.ant-btn.ant-btn-icon-only.ant-btn-sm[data-v-
|
|
8
|
+
.ant-btn.ant-btn-icon-only.ant-btn-sm[data-v-c5259775] {
|
|
9
9
|
width: 28px;
|
|
10
10
|
height: 28px;
|
|
11
11
|
padding: 0 6px;
|
|
12
12
|
}
|
|
13
|
-
.ant-btn:hover .i18n-icon[data-v-
|
|
13
|
+
.ant-btn:hover .i18n-icon[data-v-c5259775] {
|
|
14
14
|
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
15
15
|
color: var(--ant-primary-color);
|
|
16
16
|
}
|
|
17
|
-
.ant-btn.is-highlight[data-v-
|
|
17
|
+
.ant-btn.is-highlight[data-v-c5259775] {
|
|
18
18
|
color: var(--ant-primary-color);
|
|
19
19
|
border-color: var(--ant-primary-color);
|
|
20
20
|
}
|
|
21
|
-
.ant-btn.is-highlight .i18n-icon[data-v-
|
|
21
|
+
.ant-btn.is-highlight .i18n-icon[data-v-c5259775] {
|
|
22
22
|
color: var(--ant-primary-color);
|
|
23
23
|
}
|
|
24
|
-
.i18n-select-btn__a-btn[data-v-
|
|
24
|
+
.i18n-select-btn__a-btn[data-v-c5259775] {
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
align-items: center;
|
|
28
28
|
}
|
|
29
|
-
.i18n-icon[data-v-
|
|
29
|
+
.i18n-icon[data-v-c5259775] {
|
|
30
30
|
color: #7f8695;
|
|
31
31
|
display: flex !important;
|
|
32
32
|
}
|
|
33
|
-
.simple-btn[data-v-
|
|
33
|
+
.simple-btn[data-v-c5259775]:hover {
|
|
34
34
|
color: var(--ant-primary-color);
|
|
35
35
|
}
|
|
36
|
-
.simple-btn.is-highlight[data-v-
|
|
36
|
+
.simple-btn.is-highlight[data-v-c5259775] {
|
|
37
37
|
color: var(--ant-primary-color);
|
|
38
38
|
}
|
|
39
|
-
.i18n-tooltip-title[data-v-
|
|
39
|
+
.i18n-tooltip-title[data-v-c5259775] {
|
|
40
40
|
color: #303133;
|
|
41
41
|
font-size: 16px;
|
|
42
42
|
line-height: 1;
|
|
43
43
|
margin-bottom: 12px;
|
|
44
44
|
}
|
|
45
|
-
.i18n-tooltip-item[data-v-
|
|
45
|
+
.i18n-tooltip-item[data-v-c5259775] {
|
|
46
46
|
color: #606266;
|
|
47
47
|
font-size: 14px;
|
|
48
48
|
}
|
|
49
|
-
.custom-i18n-btn[data-v-
|
|
49
|
+
.custom-i18n-btn[data-v-c5259775] {
|
|
50
50
|
vertical-align: middle;
|
|
51
51
|
background: #fff;
|
|
52
52
|
color: #303133;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
align-items: center;
|
|
58
58
|
padding: 0;
|
|
59
59
|
}
|
|
60
|
-
.custom-i18n-btn.reg-i18n[data-v-
|
|
60
|
+
.custom-i18n-btn.reg-i18n[data-v-c5259775] {
|
|
61
61
|
position: absolute;
|
|
62
62
|
right: -32px;
|
|
63
63
|
bottom: 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import i18n_select_container_vue_vue_type_script_setup_true_name_i18n_select_container_lang_default from "./i18n-select-container.vue_vue_type_script_setup_true_name_i18n-select-container_lang.mjs";
|
|
3
|
-
import './i18n-select-container.
|
|
3
|
+
import './i18n-select-container.vue_vue_type_style_index_0_scoped_b87a5157_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/I18nSelect/src/i18n-select-container.vue
|
|
5
|
-
var i18n_select_container_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_container_vue_vue_type_script_setup_true_name_i18n_select_container_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var i18n_select_container_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_container_vue_vue_type_script_setup_true_name_i18n_select_container_lang_default, [["__scopeId", "data-v-b87a5157"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { i18n_select_container_default as default };
|
|
@@ -63,6 +63,7 @@ var i18n_select_container_vue_vue_type_script_setup_true_name_i18n_select_contai
|
|
|
63
63
|
...Object.fromEntries(infos.map((i) => [i.locale, i.info]))
|
|
64
64
|
};
|
|
65
65
|
});
|
|
66
|
+
pagination.current = result.pageNo;
|
|
66
67
|
pagination.total = result.totalCount;
|
|
67
68
|
tableData.value = rows;
|
|
68
69
|
}
|
|
@@ -78,7 +79,7 @@ var i18n_select_container_vue_vue_type_script_setup_true_name_i18n_select_contai
|
|
|
78
79
|
pagination.current = current;
|
|
79
80
|
pagination.total = total;
|
|
80
81
|
pagination.pageSize = pageSize;
|
|
81
|
-
getTableData();
|
|
82
|
+
getTableData(formState.keywords);
|
|
82
83
|
};
|
|
83
84
|
const handleAddI18n = () => {
|
|
84
85
|
openModal();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import i18n_select_textarea_vue_vue_type_script_setup_true_name_i18n_select_input_lang_default from "./i18n-select-textarea.vue_vue_type_script_setup_true_name_i18n-select-input_lang.mjs";
|
|
3
|
-
import './i18n-select-textarea.
|
|
3
|
+
import './i18n-select-textarea.vue_vue_type_style_index_0_scoped_57c162b0_lang.css';/* empty css */
|
|
4
4
|
//#region src/components/I18nSelect/src/i18n-select-textarea.vue
|
|
5
|
-
var i18n_select_textarea_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_textarea_vue_vue_type_script_setup_true_name_i18n_select_input_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var i18n_select_textarea_default = /* @__PURE__ */ _plugin_vue_export_helper_default(i18n_select_textarea_vue_vue_type_script_setup_true_name_i18n_select_input_lang_default, [["__scopeId", "data-v-57c162b0"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { i18n_select_textarea_default as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[data-v-57c162b0] .i18n-icon {
|
|
2
|
+
position: absolute;
|
|
3
|
+
right: 16px;
|
|
4
|
+
bottom: 12px;
|
|
5
|
+
color: #212528;
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
[data-v-57c162b0] .i18n-icon.simple-btn {
|
|
10
|
+
color: #7f8695;
|
|
11
|
+
}
|
|
12
|
+
[data-v-57c162b0] .i18n-icon.simple-btn:hover {
|
|
13
|
+
color: var(--ant-primary-color);
|
|
14
|
+
}
|
|
15
|
+
[data-v-57c162b0] .i18n-icon.simple-btn.is-highlight {
|
|
16
|
+
color: var(--ant-primary-color);
|
|
17
|
+
}
|
|
18
|
+
[data-v-57c162b0]
|
|
19
|
+
div.ant-input-textarea.ant-input-textarea-show-count.ant-input-textarea-show-count::after
|
|
20
|
+
{
|
|
21
|
+
right: 33px;
|
|
22
|
+
}
|
|
23
|
+
[data-v-57c162b0] .ant-input {
|
|
24
|
+
border: 2px dashed #dbdbdb;
|
|
25
|
+
background: transparent;
|
|
26
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import './app-modal-component.css';/* empty css */
|
|
2
2
|
import { useLocale } from "../../hooks/useLocale.mjs";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
|
+
import drag_placeholder_default from "./drag-placeholder.vue.mjs";
|
|
4
5
|
import { createVNode, defineComponent, h, isVNode, provide, ref, resolveComponent } from "vue";
|
|
5
6
|
import { Modal, OverlayContainer, useNamespace } from "@gct-paas/core";
|
|
6
7
|
import { ConfigProvider } from "ant-design-vue";
|
|
@@ -87,10 +88,14 @@ var AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
|
87
88
|
okText: "确认",
|
|
88
89
|
okButtonProps: { disabled: modal.state.okDisabled },
|
|
89
90
|
...options.value
|
|
90
|
-
}, [
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
91
|
+
}, [
|
|
92
|
+
createVNode(drag_placeholder_default, { "draggable": options.value.draggable }, null),
|
|
93
|
+
options.value.canFullscreen !== false ? createVNode("div", {
|
|
94
|
+
"class": ns.e("full-screen"),
|
|
95
|
+
"onClick": onFullScreen
|
|
96
|
+
}, [createVNode("i", { "class": `iconfont ${isFullScreen.value ? "icon-tuichuquanping" : "icon-quanping"}` }, null)]) : null,
|
|
97
|
+
slot
|
|
98
|
+
])) ? _slot : { default: () => [_slot] })] });
|
|
94
99
|
};
|
|
95
100
|
}
|
|
96
101
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
draggable?: boolean;
|
|
3
|
+
wrapperClass?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
draggable: boolean;
|
|
7
|
+
wrapperClass: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
domRef: HTMLDivElement;
|
|
10
|
+
}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import drag_placeholder_vue_vue_type_script_setup_true_name_drag_placeholder_lang_default from "./drag-placeholder.vue_vue_type_script_setup_true_name_drag-placeholder_lang.mjs";
|
|
3
|
+
import './drag-placeholder.vue_vue_type_style_index_0_scoped_5127e637_lang.css';/* empty css */
|
|
4
|
+
//#region src/components/app-modal/drag-placeholder.vue
|
|
5
|
+
var drag_placeholder_default = /* @__PURE__ */ _plugin_vue_export_helper_default(drag_placeholder_vue_vue_type_script_setup_true_name_drag_placeholder_lang_default, [["__scopeId", "data-v-5127e637"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { drag_placeholder_default as default };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { createElementBlock, defineComponent, openBlock, ref, watch } from "vue";
|
|
2
|
+
//#region src/components/app-modal/drag-placeholder.vue?vue&type=script&setup=true&name=drag-placeholder&lang.ts
|
|
3
|
+
var drag_placeholder_vue_vue_type_script_setup_true_name_drag_placeholder_lang_default = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "drag-placeholder",
|
|
5
|
+
props: {
|
|
6
|
+
draggable: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: false
|
|
9
|
+
},
|
|
10
|
+
wrapperClass: { default: "ant-modal-wrap" }
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const domRef = ref();
|
|
15
|
+
function findParent(el, className) {
|
|
16
|
+
let parent = el.parentElement;
|
|
17
|
+
while (parent) {
|
|
18
|
+
if (parent.classList.contains(className)) return parent;
|
|
19
|
+
parent = parent.parentElement;
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
const drag = (wrap) => {
|
|
24
|
+
if (!wrap) return;
|
|
25
|
+
const dialogHeaderEl = wrap.querySelector(".ant-modal-header");
|
|
26
|
+
const dragDom = wrap.querySelector(".ant-modal");
|
|
27
|
+
if (!dialogHeaderEl || !dragDom) return;
|
|
28
|
+
dialogHeaderEl.style.cursor = "move";
|
|
29
|
+
const getStyle = (dom, attr) => {
|
|
30
|
+
return getComputedStyle(dom)[attr];
|
|
31
|
+
};
|
|
32
|
+
dialogHeaderEl.onmousedown = (e) => {
|
|
33
|
+
if (!e) return;
|
|
34
|
+
const disX = e.clientX;
|
|
35
|
+
const disY = e.clientY;
|
|
36
|
+
const screenWidth = document.body.clientWidth;
|
|
37
|
+
const screenHeight = document.documentElement.clientHeight;
|
|
38
|
+
const dragDomWidth = dragDom.offsetWidth;
|
|
39
|
+
const dragDomheight = dragDom.offsetHeight;
|
|
40
|
+
const minDragDomLeft = dragDom.offsetLeft;
|
|
41
|
+
const maxDragDomLeft = screenWidth - dragDom.offsetLeft - dragDomWidth;
|
|
42
|
+
const minDragDomTop = dragDom.offsetTop;
|
|
43
|
+
const maxDragDomTop = screenHeight - dragDom.offsetTop - dragDomheight;
|
|
44
|
+
const domLeft = getStyle(dragDom, "left");
|
|
45
|
+
const domTop = getStyle(dragDom, "top");
|
|
46
|
+
let styL = +domLeft;
|
|
47
|
+
let styT = +domTop;
|
|
48
|
+
if (domLeft.includes("%")) {
|
|
49
|
+
styL = +document.body.clientWidth * (+domLeft.replace(/%/g, "") / 100);
|
|
50
|
+
styT = +document.body.clientHeight * (+domTop.replace(/%/g, "") / 100);
|
|
51
|
+
} else {
|
|
52
|
+
styL = +domLeft.replace(/px/g, "");
|
|
53
|
+
styT = +domTop.replace(/px/g, "");
|
|
54
|
+
}
|
|
55
|
+
document.onmousemove = function(e) {
|
|
56
|
+
let left = e.clientX - disX;
|
|
57
|
+
let top = e.clientY - disY;
|
|
58
|
+
if (-left > minDragDomLeft) left = -minDragDomLeft;
|
|
59
|
+
else if (left > maxDragDomLeft) left = maxDragDomLeft;
|
|
60
|
+
if (-top > minDragDomTop) top = -minDragDomTop;
|
|
61
|
+
else if (top > maxDragDomTop) top = maxDragDomTop;
|
|
62
|
+
dragDom.style.cssText += `;left:${left + styL}px;top:${top + styT}px;`;
|
|
63
|
+
};
|
|
64
|
+
document.onmouseup = () => {
|
|
65
|
+
document.onmousemove = null;
|
|
66
|
+
document.onmouseup = null;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
const init = (el) => {
|
|
71
|
+
if (!props.draggable) return;
|
|
72
|
+
const wrapDom = findParent(el, props.wrapperClass);
|
|
73
|
+
if (!wrapDom) {
|
|
74
|
+
console.warn("未找到父元素");
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
drag(wrapDom);
|
|
78
|
+
};
|
|
79
|
+
watch(domRef, (el) => {
|
|
80
|
+
if (el) init(el);
|
|
81
|
+
});
|
|
82
|
+
return (_ctx, _cache) => {
|
|
83
|
+
return openBlock(), createElementBlock("div", {
|
|
84
|
+
ref_key: "domRef",
|
|
85
|
+
ref: domRef,
|
|
86
|
+
class: "drag-placeholder"
|
|
87
|
+
}, null, 512);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
//#endregion
|
|
92
|
+
export { drag_placeholder_vue_vue_type_script_setup_true_name_drag_placeholder_lang_default as default };
|
|
@@ -9,6 +9,7 @@ export declare function useFieldCascader(props: comPropsType, { onFieldClick }:
|
|
|
9
9
|
isLeaf?: boolean | undefined;
|
|
10
10
|
__props: {
|
|
11
11
|
backendOnly?: number | undefined;
|
|
12
|
+
belongingField?: string | undefined;
|
|
12
13
|
belongingObject?: string | undefined;
|
|
13
14
|
bindFieldKey?: string | undefined;
|
|
14
15
|
bindInfo?: string | undefined;
|
|
@@ -91,6 +92,7 @@ export declare function useFieldCascader(props: comPropsType, { onFieldClick }:
|
|
|
91
92
|
source?: string | undefined;
|
|
92
93
|
specificConfig?: IObject | undefined;
|
|
93
94
|
sysBuiltin?: number | undefined;
|
|
95
|
+
traceEnabled?: number | undefined;
|
|
94
96
|
type?: string | undefined;
|
|
95
97
|
uniqueConstraint?: {
|
|
96
98
|
checkStrategy?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import org_vue_vue_type_script_setup_true_name_waiting_area_org_lang_default from "./org.vue_vue_type_script_setup_true_name_waiting-area-org_lang.mjs";
|
|
2
|
-
import './
|
|
2
|
+
import './role.vue_vue_type_style_index_0_lang.css';/* empty css */
|
|
3
3
|
//#region src/components/open-select-user-modal/component/org.vue
|
|
4
4
|
var org_default = org_vue_vue_type_script_setup_true_name_waiting_area_org_lang_default;
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import role_vue_vue_type_script_setup_true_name_waiting_area_role_lang_default from "./role.vue_vue_type_script_setup_true_name_waiting-area-role_lang.mjs";
|
|
2
|
-
import './
|
|
2
|
+
import './role.vue_vue_type_style_index_0_lang.css';/* empty css */
|
|
3
3
|
//#region src/components/open-select-user-modal/component/role.vue
|
|
4
4
|
var role_default = role_vue_vue_type_script_setup_true_name_waiting_area_role_lang_default;
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import user_group_vue_vue_type_script_setup_true_name_waiting_area_user_group_lang_default from "./user-group.vue_vue_type_script_setup_true_name_waiting-area-user-group_lang.mjs";
|
|
2
|
-
import './
|
|
2
|
+
import './role.vue_vue_type_style_index_0_lang.css';/* empty css */
|
|
3
3
|
//#region src/components/open-select-user-modal/component/user-group.vue
|
|
4
4
|
var user_group_default = user_group_vue_vue_type_script_setup_true_name_waiting_area_user_group_lang_default;
|
|
5
5
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import user_vue_vue_type_script_setup_true_name_waiting_area_user_lang_default from "./user.vue_vue_type_script_setup_true_name_waiting-area-user_lang.mjs";
|
|
3
|
-
import './user.vue_vue_type_style_index_1_scoped_c546c256_lang.css';import './
|
|
3
|
+
import './user.vue_vue_type_style_index_1_scoped_c546c256_lang.css';import './role.vue_vue_type_style_index_0_lang.css';/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/open-select-user-modal/component/user.vue
|
|
6
6
|
var user_default = /* @__PURE__ */ _plugin_vue_export_helper_default(user_vue_vue_type_script_setup_true_name_waiting_area_user_lang_default, [["__scopeId", "data-v-c546c256"]]);
|
package/es/locale/sys/app.d.ts
CHANGED
package/es/locale/sys/app.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { __exportAll } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
//#region src/locale/sys/app.ts
|
|
3
3
|
var app_exports = /* @__PURE__ */ __exportAll({ default: () => app_default });
|
|
4
|
-
var app_default = {
|
|
4
|
+
var app_default = {
|
|
5
|
+
continueEdit: "继续编辑",
|
|
6
|
+
maintainLoginStatus: "保持登录状态"
|
|
7
|
+
};
|
|
5
8
|
//#endregion
|
|
6
9
|
export { app_exports };
|
package/es/locale/sys.d.ts
CHANGED
package/es/locale/sys.mjs
CHANGED
|
@@ -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-text/gct-table-text.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-text.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
|
|
@@ -82,6 +82,7 @@ export declare const DiagramConfigItem: import('vue').DefineComponent<import('vu
|
|
|
82
82
|
displayField?: string | undefined;
|
|
83
83
|
fieldMetaList?: {
|
|
84
84
|
backendOnly?: number | undefined;
|
|
85
|
+
belongingField?: string | undefined;
|
|
85
86
|
belongingObject?: string | undefined;
|
|
86
87
|
bindFieldKey?: string | undefined;
|
|
87
88
|
bindInfo?: string | undefined;
|
|
@@ -164,6 +165,7 @@ export declare const DiagramConfigItem: import('vue').DefineComponent<import('vu
|
|
|
164
165
|
source?: string | undefined;
|
|
165
166
|
specificConfig?: IObject | undefined;
|
|
166
167
|
sysBuiltin?: number | undefined;
|
|
168
|
+
traceEnabled?: number | undefined;
|
|
167
169
|
type?: string | undefined;
|
|
168
170
|
uniqueConstraint?: {
|
|
169
171
|
checkStrategy?: string | undefined;
|
|
@@ -251,6 +253,7 @@ export declare const DiagramConfigItem: import('vue').DefineComponent<import('vu
|
|
|
251
253
|
displayField?: string | undefined;
|
|
252
254
|
fieldMetaList?: {
|
|
253
255
|
backendOnly?: number | undefined;
|
|
256
|
+
belongingField?: string | undefined;
|
|
254
257
|
belongingObject?: string | undefined;
|
|
255
258
|
bindFieldKey?: string | undefined;
|
|
256
259
|
bindInfo?: string | undefined;
|
|
@@ -333,6 +336,7 @@ export declare const DiagramConfigItem: import('vue').DefineComponent<import('vu
|
|
|
333
336
|
source?: string | undefined;
|
|
334
337
|
specificConfig?: IObject | undefined;
|
|
335
338
|
sysBuiltin?: number | undefined;
|
|
339
|
+
traceEnabled?: number | undefined;
|
|
336
340
|
type?: string | undefined;
|
|
337
341
|
uniqueConstraint?: {
|
|
338
342
|
checkStrategy?: string | undefined;
|
package/es/setup-app.mjs
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { registerCoreWebLocale } from "./locale/auto-register.mjs";
|
|
2
2
|
//#region src/setup-app.ts
|
|
3
|
+
var coreWebSetupAppKey = Symbol.for("@gct-paas/core-web/setupApp");
|
|
3
4
|
async function coreWebSetupApp(_app) {
|
|
5
|
+
if (Reflect.get(window, coreWebSetupAppKey)) {
|
|
6
|
+
console.error("@gct-paas/core-web coreWebSetupApp 已执行,请勿重复调用。");
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
Reflect.set(window, coreWebSetupAppKey, true);
|
|
4
10
|
registerCoreWebLocale();
|
|
5
11
|
}
|
|
6
12
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core-web",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台网页端核心包",
|
|
6
6
|
"loader": "dist/loader.esm.min.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons-vue": "^6.1.0",
|
|
35
35
|
"@floating-ui/dom": "^1.7.6",
|
|
36
|
-
"@gct-paas/api": "^6.0.0-dev.
|
|
37
|
-
"@gct-paas/platform-icons": "^0.0.
|
|
36
|
+
"@gct-paas/api": "^6.0.0-dev.11",
|
|
37
|
+
"@gct-paas/platform-icons": "^0.0.3",
|
|
38
38
|
"@icon-park/vue-next": "^1.4.2",
|
|
39
39
|
"@jsplumb/browser-ui": "^6.2.10",
|
|
40
40
|
"@monaco-editor/loader": "^1.7.0",
|
|
@@ -65,20 +65,20 @@
|
|
|
65
65
|
"vxe-table": "npm:@gct-paas/vxe-table@4.6.19",
|
|
66
66
|
"wujie": "^1.0.29",
|
|
67
67
|
"wujie-vue3": "^1.0.29",
|
|
68
|
-
"@gct-paas/core
|
|
69
|
-
"@gct-paas/
|
|
70
|
-
"@gct-paas/scss": "6.0.0-dev.
|
|
71
|
-
"@gct-paas/
|
|
68
|
+
"@gct-paas/core": "6.0.0-dev.30",
|
|
69
|
+
"@gct-paas/v-ben": "6.0.0-dev.30",
|
|
70
|
+
"@gct-paas/scss": "6.0.0-dev.30",
|
|
71
|
+
"@gct-paas/core-components": "6.0.0-dev.30"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@gct-paas/api": "^6.0.0-dev.
|
|
74
|
+
"@gct-paas/api": "^6.0.0-dev.11",
|
|
75
75
|
"@types/sortablejs": "^1.15.1",
|
|
76
76
|
"vant": ">=4",
|
|
77
77
|
"vue": ">=3",
|
|
78
|
-
"@gct-paas/core": "6.0.0-dev.
|
|
79
|
-
"@gct-paas/
|
|
80
|
-
"@gct-paas/
|
|
81
|
-
"@gct-paas/
|
|
78
|
+
"@gct-paas/core": "6.0.0-dev.30",
|
|
79
|
+
"@gct-paas/v-ben": "6.0.0-dev.30",
|
|
80
|
+
"@gct-paas/core-components": "6.0.0-dev.30",
|
|
81
|
+
"@gct-paas/scss": "6.0.0-dev.30"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/bwip-js": "^3.2.3",
|