halo-pc 1.0.10 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DW8xmG7G.js → Article-X51Oz1hI.js} +2 -2
- package/dist/{ArticleFooter-rZDYiw3e.js → ArticleFooter-BbDi3-MM.js} +2 -2
- package/dist/{Autocomplete-C82HyuP-.js → Autocomplete-Ci1CXGQE.js} +2 -2
- package/dist/{Autocomplete-BxqveRGV.js → Autocomplete-Co_6LMOR.js} +2 -2
- package/dist/{Autocomplete-DWcCXaNn.js → Autocomplete-KcemMig-.js} +1 -1
- package/dist/{CSharp-D8ezQEtX.js → CSharp-Re2Hef51.js} +1 -1
- package/dist/{Calender-B_k72iyA.js → Calender-BdLz8uVu.js} +1 -1
- package/dist/{Callback-C67JLhPy.js → Callback-DwiifiR-.js} +2 -2
- package/dist/{Cascader-BKw0lpjA.js → Cascader-BrjhyzSI.js} +2 -2
- package/dist/{Cascader-lyEPSNPd.js → Cascader-DuG1TFF-.js} +2 -2
- package/dist/{Checkbox-DJHaBoD6.js → Checkbox-C4vv9clz.js} +1 -1
- package/dist/{Checkbox-CU7e7xai.js → Checkbox-DAsy2Gtb.js} +2 -2
- package/dist/Code-CNioVNv0.js +4 -0
- package/dist/{Code-C08nadw6.js → Code-CQQJJ5Jx.js} +2 -2
- package/dist/{Code-DGfpK3-r.js → Code-DAMTIprA.js} +2 -2
- package/dist/{Code-BEIgB_tN.js → Code-oAwc2PqM.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-jlu06Tm1.js → Code.vue_vue_type_style_index_0_lang-G1i4uKJp.js} +3 -3
- package/dist/{Column-30OUakBK.js → Column-DMN_0BnR.js} +4 -3
- package/dist/{Comment-FfW-VCIl.js → Comment-D4gvdlOG.js} +2 -2
- package/dist/{Compare-9wMHcb3J.js → Compare-B9ms7AkH.js} +2 -2
- package/dist/{Compare-iArf3a53.js → Compare-OHWeHehJ.js} +2 -2
- package/dist/{Copy-CEP2A6Ak.js → Copy-B6pQ--3T.js} +2 -2
- package/dist/Custom-Dt_-KfRY.js +58 -0
- package/dist/{DataExport-B9ptb9if.js → DataExport-Bfcwgxhl.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BppwAGES.js → DataExport.vue_vue_type_script_setup_true_lang-DxEJA5Ee.js} +2 -2
- package/dist/{DataImport-qpPXdMVu.js → DataImport-BPx3VvYv.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-a85kfspl.js → DataImport.vue_vue_type_script_setup_true_lang-5gkTElFL.js} +8 -8
- package/dist/{Date-B8lAsZ8-.js → Date-DAud0Tf9.js} +2 -2
- package/dist/{Date-Tb5glksl.js → Date-FuMiaUxd.js} +1 -1
- package/dist/{DateRange-ByObxHWr.js → DateRange-ClHpJNRt.js} +2 -2
- package/dist/{DateTime-BbN93UMx.js → DateTime-BO1c3xG2.js} +2 -2
- package/dist/{DateTime-Dgn-LEf5.js → DateTime-CyCcFf_l.js} +1 -1
- package/dist/{DateTimeRange-CfTu6qfQ.js → DateTimeRange-Db9BDn2x.js} +2 -2
- package/dist/{Daterange--45M8p70.js → Daterange-BlMa4jnq.js} +2 -2
- package/dist/{Decimal-CQyZDQj1.js → Decimal-F1-H75HK.js} +1 -1
- package/dist/{Delete-CE8it9pf.js → Delete-BVH0G9h3.js} +14 -13
- package/dist/{Detail-CCI5cvG0.js → Detail-AhGw1lSI.js} +2 -2
- package/dist/{Dictionary-BJDdH2_l.js → Dictionary-DwcOV9xl.js} +1 -1
- package/dist/{Email-DZOL1E9K.js → Email-BljE8jDr.js} +2 -2
- package/dist/{File-DIlderH6.js → File-1ATMHoXy.js} +3 -3
- package/dist/{Image-CMFoU_37.js → Image-Bv2Ducoj.js} +1 -1
- package/dist/Index-BFuHqDAs.js +4 -0
- package/dist/{Index-CzAZbNEn.js → Index-Bk0v21aV.js} +1 -1
- package/dist/{Index-COw9DWML.js → Index-BlsoOd-w.js} +1 -1
- package/dist/{Index-qIlNyJzW.js → Index-CXbpni6W.js} +1 -1
- package/dist/{Index-Bc53p_JO.js → Index-CY3JroZR.js} +1 -1
- package/dist/Index-D-TyDnGW.js +4 -0
- package/dist/Index-D2H5yTHn.js +4 -0
- package/dist/{Index-D4PrMUMh.js → Index-YG1SBeIv.js} +3 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bwczfu3R.js → Index.vue_vue_type_script_setup_true_lang-C5HbpsSj.js} +2 -2
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D-18RRZW.js → Index.vue_vue_type_script_setup_true_lang-DqLF_iyM.js} +2 -2
- package/dist/{Index.vue_vue_type_style_index_0_lang-CVdVS4kL.js → Index.vue_vue_type_style_index_0_lang-fOkzw7J1.js} +3 -3
- package/dist/{Install-GZLwIm-L.js → Install-DWNrbMRl.js} +2 -2
- package/dist/{Int-Cd4aeG9h.js → Int-E-wewJ2r.js} +2 -2
- package/dist/{Int-BxMlKc5S.js → Int-g8pM8ZyY.js} +2 -2
- package/dist/{List-jf7l4cRX.js → List-ow09enu_.js} +8 -7
- package/dist/{Maintaince-Cu47JcoS.js → Maintaince-Ctz2-ztL.js} +4 -4
- package/dist/{Markdown-BsqO5jOE.js → Markdown-DBvQ_Q4I.js} +1 -1
- package/dist/{Month-C0Ox3gpJ.js → Month-BMgXtQVp.js} +1 -1
- package/dist/{Month-D9fXZDRB.js → Month-CPMc1YrA.js} +2 -2
- package/dist/{Month-CM5JIj7m.js → Month-bDRWnCLy.js} +2 -2
- package/dist/{Normal-CMn0BChi.js → Normal-TE2XNiGu.js} +2 -2
- package/dist/{Paging-DlTJQnwX.js → Paging-668tf97P.js} +15 -14
- package/dist/{PagingHeader-B9x-WwXu.js → PagingHeader-DHI1x6n2.js} +2 -2
- package/dist/{PagingRow-CXS8Wi-G.js → PagingRow-CdXpvFNC.js} +2 -2
- package/dist/{QueryApi-ByGbsbiP.js → QueryApi-UJNYVuJd.js} +2 -2
- package/dist/{Racebar-xbbkT_4q.js → Racebar-CZVxC7hF.js} +2 -2
- package/dist/{Radio-BIXKco1J.js → Radio-BdXipXA2.js} +1 -1
- package/dist/{Register-IToXmg3F.js → Register-t3oEydyQ.js} +2 -2
- package/dist/{RichText-wJVmSjrB.js → RichText-BDRC1veI.js} +2 -2
- package/dist/{SearchFooter-DBpTFZSt.js → SearchFooter-BpJrsqZV.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DkleuxZO.js → SearchFooter.vue_vue_type_style_index_0_lang-XXawph5O.js} +1 -1
- package/dist/{SearchForm-DbSPpcQn.js → SearchForm-CwRcTMlw.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Bf6geAOD.js → SearchForm.vue_vue_type_style_index_0_lang-DU69JJ1z.js} +2 -2
- package/dist/{Select-BE4N7MYF.js → Select-DGGUWJY4.js} +2 -2
- package/dist/{Select-iFf-G5il.js → Select-RlOWoUwz.js} +2 -2
- package/dist/{Select-BlkhOHpW.js → Select-UUymDTLU.js} +1 -1
- package/dist/{Single-BI8xJRtY.js → Single-C7v2P3LF.js} +6 -5
- package/dist/{Statistic-CKw4ViCN.js → Statistic-C6J7v2xF.js} +2 -2
- package/dist/{Stock-5ZRpMQS7.js → Stock-Ct-HKlln.js} +1 -1
- package/dist/{Stock-Bu1m4p9F.js → Stock-DSnE1Bzv.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Z-3SgPLd.js → Stock.vue_vue_type_style_index_0_lang-DtH6bO8x.js} +1 -1
- package/dist/{Switch-BbUNeOC2.js → Switch-Bi8hhG_X.js} +1 -1
- package/dist/{Table-CAROsa1z.js → Table-D0P60c_b.js} +7 -7
- package/dist/{Table-BcRlmQ2m.js → Table-SSfqvIzl.js} +2 -2
- package/dist/{Text-B6PstiXr.js → Text-McD2Rcic.js} +2 -2
- package/dist/Text-Stj6-whX.js +4 -0
- package/dist/{Text-82BwYbAn.js → Text-V0WQUxoe.js} +2 -2
- package/dist/{Text.vue_vue_type_style_index_0_lang-VAeTYPEf.js → Text.vue_vue_type_style_index_0_lang-BuHdoSkB.js} +2 -2
- package/dist/{TextLink-DZfRceBS.js → TextLink-DmRFUHgF.js} +2 -2
- package/dist/{Textarea-CC4hXIZk.js → Textarea-CzUa7wZ2.js} +1 -1
- package/dist/{Time-B9wex8w1.js → Time-CgOW3aic.js} +2 -2
- package/dist/{Timeline-BT4ZPpNS.js → Timeline-BV-wfL2F.js} +2 -2
- package/dist/{Tree-CZ1fiWdm.js → Tree-6sdSDjF7.js} +1 -1
- package/dist/{Tree-BYI4GjfQ.js → Tree-r6FMB9WN.js} +1 -1
- package/dist/{TreeNode-DzgaTe70.js → TreeNode-Y4ktCxAQ.js} +2 -2
- package/dist/{Update-08r-FKsq.js → Update-Bgn_-Tk7.js} +2 -2
- package/dist/{UpdateChild-1p8CJHyB.js → UpdateChild-BOHAM_TM.js} +2 -2
- package/dist/{Upload-gBSGjrw5.js → Upload-BGYLdPIM.js} +6 -6
- package/dist/{Upload-CuiXps92.js → Upload-Df16iaP1.js} +9 -9
- package/dist/{UploadApi-TPHxniCc.js → UploadApi-CnAUAXVp.js} +2 -2
- package/dist/{Year-BVvjywAG.js → Year-BbZI6olW.js} +1 -1
- package/dist/{Year-CHdL2Jrm.js → Year-OqMhzqjx.js} +2 -2
- package/dist/{main-B0cM0pYd.js → main-RpQODrQa.js} +2971 -2865
- package/dist/main.js +98 -97
- package/dist/style.css +1 -1
- package/esm/coms/commons/Table.vue.d.ts +11 -2
- package/esm/coms/commons/types/TableProps.d.ts +0 -8
- package/esm/coms/pages/Custom.vue.d.ts +1 -0
- package/esm/coms/pages/types/ColumnPageProps.d.ts +2 -5
- package/esm/coms/pages/types/CustomPageProps.d.ts +2 -5
- package/esm/coms/pages/types/PageProps.d.ts +4 -0
- package/esm/drivers/index.d.ts +4 -0
- package/esm/drivers/messengers/PcMessenger.d.ts +35 -0
- package/esm/drivers/messengers/index.d.ts +2 -0
- package/esm/main.d.ts +2 -1
- package/esm/svcs/ComponentSvc.d.ts +2 -2
- package/esm/types/CreatePcOptions.d.ts +15 -0
- package/esm/types/index.d.ts +2 -0
- package/package.json +6 -6
- package/dist/Code-Uvb-MceU.js +0 -4
- package/dist/Custom-DPTHxx2H.js +0 -54
- package/dist/Index-C2t-7E3k.js +0 -4
- package/dist/Index-CoPy-O1d.js +0 -4
- package/dist/Index-DkbNMJNW.js +0 -4
- package/dist/Text-C5orxjf_.js +0 -4
@@ -1,25 +1,34 @@
|
|
1
1
|
import { TableProps } from "./types";
|
2
|
+
declare let __VLS_typeProps: TableProps;
|
3
|
+
type __VLS_PublicProps = {
|
4
|
+
'page'?: number;
|
5
|
+
'size'?: number;
|
6
|
+
} & typeof __VLS_typeProps;
|
2
7
|
declare function __VLS_template(): {
|
3
8
|
default?(_: {
|
4
9
|
sortOrders: string[];
|
5
10
|
}): any;
|
6
11
|
};
|
7
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
8
13
|
selectRow: (row: any) => void;
|
9
14
|
resize: (event: ResizeObserverEntry) => void;
|
10
15
|
update: () => void;
|
11
16
|
start: () => void;
|
12
17
|
stop: () => void;
|
13
18
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
19
|
+
"update:page": (page: number) => void;
|
20
|
+
"update:size": (size: number) => void;
|
14
21
|
"page-change": (...args: any[]) => void;
|
15
22
|
"size-change": (...args: any[]) => void;
|
16
23
|
"row-click": (...args: any[]) => void;
|
17
24
|
"sort-change": (...args: any[]) => void;
|
18
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
19
26
|
"onPage-change"?: (...args: any[]) => any;
|
20
27
|
"onSize-change"?: (...args: any[]) => any;
|
21
28
|
"onRow-click"?: (...args: any[]) => any;
|
22
29
|
"onSort-change"?: (...args: any[]) => any;
|
30
|
+
"onUpdate:page"?: (page: number) => any;
|
31
|
+
"onUpdate:size"?: (size: number) => any;
|
23
32
|
}, {}, {}>;
|
24
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
25
34
|
export default _default;
|
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Cu
|
|
6
6
|
beforeClose: (event: BeforeUnloadEvent) => void;
|
7
7
|
keyboard: (type: string, event: KeyboardEvent) => boolean;
|
8
8
|
resize: (event: ResizeObserverEntry) => void;
|
9
|
+
handler: (progress: any) => void;
|
9
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
11
|
navigate: (...args: any[]) => void;
|
11
12
|
loaded: (...args: any[]) => void;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { Messenger } from "halo-fe";
|
2
|
+
/**
|
3
|
+
* 消息服务
|
4
|
+
*/
|
5
|
+
declare class PcMessenger extends Messenger {
|
6
|
+
/**
|
7
|
+
* 显示全局成功消息
|
8
|
+
*/
|
9
|
+
success: (message: string) => void;
|
10
|
+
/**
|
11
|
+
* 显示全局警告消息
|
12
|
+
*/
|
13
|
+
warning: (message: string) => void;
|
14
|
+
/**
|
15
|
+
* 显示全局信息消息
|
16
|
+
*/
|
17
|
+
info: (message: string) => void;
|
18
|
+
/**
|
19
|
+
* 显示全局错误消息
|
20
|
+
*/
|
21
|
+
error: (message: string) => void;
|
22
|
+
/**
|
23
|
+
* 显示全局错误消息
|
24
|
+
*/
|
25
|
+
confirm: (title: string, message: string, options?: any) => Promise<any>;
|
26
|
+
/**
|
27
|
+
* 显示警告框
|
28
|
+
*/
|
29
|
+
alert: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
|
30
|
+
/**
|
31
|
+
* 通知
|
32
|
+
*/
|
33
|
+
notify: (title: string, message: string, type: string) => import("element-plus").NotificationHandle;
|
34
|
+
}
|
35
|
+
export default PcMessenger;
|
package/esm/main.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { App } from "vue";
|
2
|
-
import { CreatePcOptions } from "
|
2
|
+
import { CreatePcOptions } from "./types";
|
3
3
|
/**
|
4
4
|
* 初始化PC框架
|
5
5
|
* 创建前端基础框架,配置前端环境变量
|
@@ -9,4 +9,5 @@ export * from "halo-fe";
|
|
9
9
|
export * from "./coms";
|
10
10
|
export * from "./svcs";
|
11
11
|
export * from "./repos";
|
12
|
+
export * from "./types";
|
12
13
|
export { createPc };
|
@@ -9,7 +9,7 @@ declare class ComponentSvc {
|
|
9
9
|
/**
|
10
10
|
* 目前系统中注册的所有组件
|
11
11
|
*/
|
12
|
-
comps:
|
12
|
+
comps: string[];
|
13
13
|
/**
|
14
14
|
* 初始化&注册全局组件
|
15
15
|
*/
|
@@ -22,7 +22,7 @@ declare class ComponentSvc {
|
|
22
22
|
/**
|
23
23
|
* 根据路由获取组件
|
24
24
|
*/
|
25
|
-
getComponent(url: string, prefix: string, _default?: string):
|
25
|
+
getComponent(url: string, prefix: string, _default?: string): string;
|
26
26
|
/**
|
27
27
|
* 添加页面
|
28
28
|
*/
|
package/package.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "halo-pc",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.12",
|
4
4
|
"description": "Halo pc framework",
|
5
5
|
"scripts": {
|
6
6
|
"halo-pc:tsc": "vue-tsc",
|
7
7
|
"halo-pc:build": "vite build",
|
8
8
|
"halo-pc:build:debug": "vite build --debug",
|
9
|
-
"halo-pc:build:watch": "
|
10
|
-
"halo-pc:build:publish": "vue-tsc &
|
9
|
+
"halo-pc:build:watch": "vite build --watch",
|
10
|
+
"halo-pc:build:publish": "vue-tsc & vite build & npm publish",
|
11
11
|
"halo-pc:install": "pnpm install",
|
12
12
|
"halo-pc:outdated": "pnpm outdated",
|
13
13
|
"halo-pc:link": "pnpm link ../halo-fe",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"halo-pc:publish": "npm publish"
|
16
16
|
},
|
17
17
|
"type": "module",
|
18
|
-
"module": "./
|
18
|
+
"module": "./dist/main.ts",
|
19
19
|
"types": "./esm/main.d.ts",
|
20
20
|
"files": [
|
21
21
|
"dist",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"clipboard": "2.0.11",
|
41
41
|
"echarts": "5.5.1",
|
42
42
|
"intro.js": "8.0.0-beta.1",
|
43
|
-
"halo-fe": "1.0.
|
43
|
+
"halo-fe": "1.0.13",
|
44
44
|
"sortablejs": "1.15.2",
|
45
45
|
"vue-canvas-nest": "2.0.0",
|
46
46
|
"vue-router": "4.4.3"
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"@vitejs/plugin-vue-jsx": "4.0.1",
|
53
53
|
"sass": "1.77.8",
|
54
54
|
"typescript": "5.5.4",
|
55
|
-
"vite": "5.4.
|
55
|
+
"vite": "5.4.1",
|
56
56
|
"vue-tsc": "2.0.29"
|
57
57
|
}
|
58
58
|
}
|
package/dist/Code-Uvb-MceU.js
DELETED
package/dist/Custom-DPTHxx2H.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as C, toRefs as x, ref as U, openBlock as i, createBlock as n, KeepAlive as w, resolveDynamicComponent as z, unref as l } from "vue";
|
2
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
3
|
-
import { U as L, m as R, t as B } from "./main-B0cM0pYd.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
-
const q = /* @__PURE__ */ C({
|
11
|
-
__name: "Custom",
|
12
|
-
props: {
|
13
|
-
url: {},
|
14
|
-
view: {}
|
15
|
-
},
|
16
|
-
emits: ["loaded", "navigate"],
|
17
|
-
setup(s, { expose: u, emit: m }) {
|
18
|
-
let a = m, f = s, { url: p, view: d } = x(f), t = U(), v = (e, r) => {
|
19
|
-
if (!t.value || !t.value.keyboard)
|
20
|
-
return !1;
|
21
|
-
t.value.keyboard(e, r);
|
22
|
-
}, c = (e) => !0, h = (e) => !0, g = () => {
|
23
|
-
var r;
|
24
|
-
let e = (r = t.value) == null ? void 0 : r.refresh;
|
25
|
-
if (!e) {
|
26
|
-
let o = L.getPath(p.value);
|
27
|
-
R.notify(B("common.tips"), `要实现自定义刷新功能,请在组件 ${o} 内部定义并暴露refresh方法即可`, "warning");
|
28
|
-
return;
|
29
|
-
}
|
30
|
-
e();
|
31
|
-
}, _ = (e) => {
|
32
|
-
var o;
|
33
|
-
let r = (o = t.value) == null ? void 0 : o.beforeClose;
|
34
|
-
r && r(e);
|
35
|
-
}, b = (e) => {
|
36
|
-
t.value && t.value.resize && t.value.resize(e);
|
37
|
-
}, k = (e) => {
|
38
|
-
a("loaded", e);
|
39
|
-
}, y = (e) => {
|
40
|
-
a("navigate", e);
|
41
|
-
};
|
42
|
-
return u({ shouldLoad: c, shouldSpin: h, refresh: g, beforeClose: _, keyboard: v, resize: b }), (e, r) => (i(), n(w, null, [
|
43
|
-
(i(), n(z(l(d)), {
|
44
|
-
ref_key: "customRef",
|
45
|
-
ref: t,
|
46
|
-
onLoaded: l(k),
|
47
|
-
onNavigate: l(y)
|
48
|
-
}, null, 40, ["onLoaded", "onNavigate"]))
|
49
|
-
], 1024));
|
50
|
-
}
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
q as default
|
54
|
-
};
|
package/dist/Index-C2t-7E3k.js
DELETED
package/dist/Index-CoPy-O1d.js
DELETED
package/dist/Index-DkbNMJNW.js
DELETED
package/dist/Text-C5orxjf_.js
DELETED