halo-pc 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-7pMF1N-k.js +192 -0
- package/dist/ArticleFooter-BAf1rKUX.js +78 -0
- package/dist/Autocomplete-CEjjKXwo.js +27 -0
- package/dist/Autocomplete-DqKo5NiJ.js +49 -0
- package/dist/Autocomplete-K5ipzchR.js +48 -0
- package/dist/CSharp-DatSqpip.js +27 -0
- package/dist/Calender-B1HoFiQg.js +10 -0
- package/dist/Callback-PyCjejiv.js +20 -0
- package/dist/Cascader-B9lLRKjA.js +80 -0
- package/dist/Cascader-BNvlqc5t.js +41 -0
- package/dist/Checkbox-B6IkMrWB.js +27 -0
- package/dist/Checkbox-CYpA0Abh.js +69 -0
- package/dist/Code-BdK547kD.js +4 -0
- package/dist/Code-DfFF-84i.js +36 -0
- package/dist/Code-LFQVJotC.js +54 -0
- package/dist/Code-SZuIImtp.js +28 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
- package/dist/Color-CfXtJFUo.js +22 -0
- package/dist/Color-Da69pnQg.js +34 -0
- package/dist/Column-DVjYrrr7.js +67 -0
- package/dist/Comment-Do7Mjpjr.js +98 -0
- package/dist/Compare-C_iDn27Q.js +56 -0
- package/dist/Compare-CrX3yfD4.js +26 -0
- package/dist/Copy-_sbdQvHJ.js +43 -0
- package/dist/Custom-DarpQFG8.js +49 -0
- package/dist/DataExport-I9iG4oEo.js +4 -0
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js +108 -0
- package/dist/DataImport-2KtOy-of.js +4 -0
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
- package/dist/Date-BeHsQ2Ow.js +36 -0
- package/dist/Date-PERpDDy_.js +27 -0
- package/dist/DateRange-BaxHMjcx.js +57 -0
- package/dist/DateRange-DrYK_l0Y.js +19 -0
- package/dist/DateTime-B7gHENiu.js +27 -0
- package/dist/DateTime-BfNjKDfI.js +37 -0
- package/dist/DateTimeRange-yI9Y2qgC.js +61 -0
- package/dist/Daterange-DqvBvK-B.js +57 -0
- package/dist/Decimal-AXwMeqBW.js +27 -0
- package/dist/Decimal-C38-N54B.js +36 -0
- package/dist/Delete-BY3vAVWa.js +55 -0
- package/dist/Detail-aWACqVnM.js +68 -0
- package/dist/Dictionary-DpQuFYQ5.js +55 -0
- package/dist/Email-BKW9GRcH.js +19 -0
- package/dist/Email-ME_MU94C.js +47 -0
- package/dist/File--NsXL6XX.js +155 -0
- package/dist/Image-CuwfJLKW.js +9 -0
- package/dist/Index-BNOFdDjW.js +70 -0
- package/dist/Index-B_a_HzsB.js +4 -0
- package/dist/Index-CQ9S2R9b.js +4 -0
- package/dist/Index-C_HCipwv.js +4 -0
- package/dist/Index-Cewv4-Ik.js +168 -0
- package/dist/Index-Cj79dCuO.js +4 -0
- package/dist/Index-Cx2J_P37.js +4 -0
- package/dist/Index-DA2wAurY.js +4 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +36 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js +65 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js +77 -0
- package/dist/Index.vue_vue_type_style_index_0_lang-DApNHvNX.js +109 -0
- package/dist/Install-BWdNbtVx.js +128 -0
- package/dist/Int-B-t8edhd.js +19 -0
- package/dist/Int-C-0RMDmy.js +37 -0
- package/dist/Int-nmVkFRqG.js +41 -0
- package/dist/List-BjdY1rMk.js +72 -0
- package/dist/Maintaince-DzYzyrAc.js +15 -0
- package/dist/Markdown-BzMP3m7o.js +37 -0
- package/dist/Markdown-DD6ufwhM.js +27 -0
- package/dist/Month-B_SzKf02.js +36 -0
- package/dist/Month-BqbTFGgo.js +27 -0
- package/dist/Month-DfemgHac.js +37 -0
- package/dist/Normal-f4HN1ciI.js +252 -0
- package/dist/Paging-BMPtLi8P.js +90 -0
- package/dist/PagingHeader-CBXHiUXR.js +140 -0
- package/dist/PagingRow-tny-wHwu.js +66 -0
- package/dist/Password-DuyYEgzR.js +55 -0
- package/dist/Password-yHtlY-Qa.js +24 -0
- package/dist/Progress-C3D821AQ.js +34 -0
- package/dist/Progress-CKVzMO-W.js +25 -0
- package/dist/QueryApi-CbP5cCyH.js +13 -0
- package/dist/Racebar-Bou-XNCm.js +162 -0
- package/dist/Radio-BmikzeCv.js +27 -0
- package/dist/Radio-DkcBKBvX.js +47 -0
- package/dist/Rate-B7jKTFKT.js +34 -0
- package/dist/Rate-BmC4gw_0.js +34 -0
- package/dist/Register-CgbRZH9W.js +196 -0
- package/dist/RichText-BeK3zZam.js +101 -0
- package/dist/RichText-Bk0Msyhl.js +22 -0
- package/dist/SearchFooter-C4PeAkaR.js +4 -0
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js +55 -0
- package/dist/SearchForm-C7fZiQaW.js +4 -0
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js +145 -0
- package/dist/Select-C1-NVZdG.js +80 -0
- package/dist/Select-DR5fQH0d.js +111 -0
- package/dist/Select-DlbQvxQu.js +27 -0
- package/dist/Single-BLRyJKB-.js +319 -0
- package/dist/Statistic-BOtmYiRA.js +157 -0
- package/dist/Statistic-CTxHNeof.js +76 -0
- package/dist/Stock-BqQ6lM5B.js +28 -0
- package/dist/Stock-Dnwof0R1.js +4 -0
- package/dist/Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js +298 -0
- package/dist/Switch-DhFaku5L.js +50 -0
- package/dist/Switch-DuMBV0AX.js +27 -0
- package/dist/Table-Be-rPXr_.js +316 -0
- package/dist/Table-RMVT0hlE.js +236 -0
- package/dist/Text-BRRmmXYV.js +52 -0
- package/dist/Text-DKpPIUcY.js +51 -0
- package/dist/Text-DSXRKFPa.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
- package/dist/TextLink-BZW-y_FS.js +62 -0
- package/dist/Textarea-3ypOGE1S.js +28 -0
- package/dist/Textarea-D9TgF9ig.js +37 -0
- package/dist/Time-BcQzBDX-.js +36 -0
- package/dist/Timeline-CLezCcgQ.js +53 -0
- package/dist/Tree-B6RBRT1y.js +293 -0
- package/dist/Tree-CLpCeirT.js +117 -0
- package/dist/TreeNode-C16N8jqm.js +34 -0
- package/dist/Tree_Old-h__WmqFA.js +11 -0
- package/dist/Update-Dc3Tdkn0.js +63 -0
- package/dist/UpdateChild-B2A3hP6m.js +85 -0
- package/dist/Upload-DvWyjK3a.js +143 -0
- package/dist/Upload-SEu1V1yX.js +67 -0
- package/dist/UploadApi-Bs507D0w.js +13 -0
- package/dist/Year-1ug2_a1g.js +40 -0
- package/dist/Year-DKxOQNyS.js +27 -0
- package/dist/main-QtNG6p7a.js +16673 -0
- package/dist/main.js +116 -0
- package/dist/style.css +1 -0
- package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
- package/dist/vendor-@vue-aVYGocXp.js +93 -0
- package/dist/vendor-clipboard-DjQPoCBJ.js +501 -0
- package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
- package/dist/vendor-intro.js-DwWqhM1v.js +1695 -0
- package/dist/vendor-pinia-yrN6kSxh.js +861 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
- package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
- package/esm/coms/business/HaCondition.vue.d.ts +18 -0
- package/esm/coms/business/HaCrud.vue.d.ts +29 -0
- package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
- package/esm/coms/business/HaDriver.vue.d.ts +52 -0
- package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
- package/esm/coms/business/HaForm.vue.d.ts +23 -0
- package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
- package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
- package/esm/coms/business/index.d.ts +124 -0
- package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
- package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
- package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
- package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
- package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
- package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/coms/commons/HaTable.vue.d.ts +34 -0
- package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/coms/commons/index.d.ts +32 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/controls/Cascader.vue.d.ts +24 -0
- package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
- package/esm/coms/controls/Code.vue.d.ts +24 -0
- package/esm/coms/controls/Color.vue.d.ts +24 -0
- package/esm/coms/controls/Compare.vue.d.ts +24 -0
- package/esm/coms/controls/Date.vue.d.ts +24 -0
- package/esm/coms/controls/DateRange.vue.d.ts +24 -0
- package/esm/coms/controls/DateTime.vue.d.ts +24 -0
- package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/coms/controls/Decimal.vue.d.ts +24 -0
- package/esm/coms/controls/Email.vue.d.ts +24 -0
- package/esm/coms/controls/Image.vue.d.ts +2 -0
- package/esm/coms/controls/Index.vue.d.ts +22 -0
- package/esm/coms/controls/Int.vue.d.ts +24 -0
- package/esm/coms/controls/Markdown.vue.d.ts +24 -0
- package/esm/coms/controls/Month.vue.d.ts +24 -0
- package/esm/coms/controls/Password.vue.d.ts +24 -0
- package/esm/coms/controls/Progress.vue.d.ts +24 -0
- package/esm/coms/controls/Radio.vue.d.ts +24 -0
- package/esm/coms/controls/Rate.vue.d.ts +24 -0
- package/esm/coms/controls/RichText.vue.d.ts +22 -0
- package/esm/coms/controls/Select.vue.d.ts +24 -0
- package/esm/coms/controls/Switch.vue.d.ts +24 -0
- package/esm/coms/controls/Text.vue.d.ts +26 -0
- package/esm/coms/controls/Textarea.vue.d.ts +24 -0
- package/esm/coms/controls/Time.vue.d.ts +24 -0
- package/esm/coms/controls/Upload.vue.d.ts +24 -0
- package/esm/coms/controls/Year.vue.d.ts +24 -0
- package/esm/coms/controls/index.d.ts +26 -0
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
- package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
- package/esm/coms/globals/index.d.ts +70 -0
- package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/coms/headers/Debugger.vue.d.ts +2 -0
- package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
- package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/coms/headers/Index.vue.d.ts +6 -0
- package/esm/coms/headers/Log.vue.d.ts +2 -0
- package/esm/coms/headers/Logo.vue.d.ts +6 -0
- package/esm/coms/headers/Refresh.vue.d.ts +6 -0
- package/esm/coms/headers/Setting.vue.d.ts +8 -0
- package/esm/coms/headers/index.d.ts +3 -0
- package/esm/coms/index.d.ts +11 -0
- package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
- package/esm/coms/layouts/Index.vue.d.ts +2 -0
- package/esm/coms/layouts/Side.vue.d.ts +2 -0
- package/esm/coms/layouts/Top.vue.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +7 -0
- package/esm/coms/lists/Calender.vue.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +18 -0
- package/esm/coms/lists/Statistic.vue.d.ts +18 -0
- package/esm/coms/lists/Stock.vue.d.ts +12 -0
- package/esm/coms/lists/Timeline.vue.d.ts +12 -0
- package/esm/coms/lists/Tree.vue.d.ts +26 -0
- package/esm/coms/lists/index.d.ts +15 -0
- package/esm/coms/pages/Column.vue.d.ts +22 -0
- package/esm/coms/pages/Custom.vue.d.ts +25 -0
- package/esm/coms/pages/Delete.vue.d.ts +20 -0
- package/esm/coms/pages/Index.vue.d.ts +2 -0
- package/esm/coms/pages/List.vue.d.ts +24 -0
- package/esm/coms/pages/Paging.vue.d.ts +24 -0
- package/esm/coms/pages/Single.vue.d.ts +28 -0
- package/esm/coms/pages/index.d.ts +146 -0
- package/esm/coms/pagings/Article.vue.d.ts +27 -0
- package/esm/coms/pagings/Code.vue.d.ts +12 -0
- package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
- package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
- package/esm/coms/pagings/File.vue.d.ts +12 -0
- package/esm/coms/pagings/Index.vue.d.ts +33 -0
- package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/coms/pagings/Table.vue.d.ts +31 -0
- package/esm/coms/pagings/index.d.ts +11 -0
- package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
- package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
- package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
- package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
- package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
- package/esm/coms/panels/index.d.ts +13 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/coms/partials/Detail.vue.d.ts +20 -0
- package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
- package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
- package/esm/coms/partials/Update.vue.d.ts +20 -0
- package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/coms/partials/index.d.ts +135 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/searches/Daterange.vue.d.ts +22 -0
- package/esm/coms/searches/Index.vue.d.ts +18 -0
- package/esm/coms/searches/Int.vue.d.ts +24 -0
- package/esm/coms/searches/Month.vue.d.ts +24 -0
- package/esm/coms/searches/Select.vue.d.ts +24 -0
- package/esm/coms/searches/Text.vue.d.ts +24 -0
- package/esm/coms/searches/index.d.ts +7 -0
- package/esm/coms/singles/Code.vue.d.ts +18 -0
- package/esm/coms/singles/Comment.vue.d.ts +12 -0
- package/esm/coms/singles/Index.vue.d.ts +25 -0
- package/esm/coms/singles/Normal.vue.d.ts +21 -0
- package/esm/coms/singles/Statistic.vue.d.ts +12 -0
- package/esm/coms/singles/Stock.vue.d.ts +12 -0
- package/esm/coms/singles/Table.vue.d.ts +22 -0
- package/esm/coms/singles/Tree.vue.d.ts +14 -0
- package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/coms/singles/index.d.ts +15 -0
- package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/coms/texts/CSharp.vue.d.ts +16 -0
- package/esm/coms/texts/Cascader.vue.d.ts +22 -0
- package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
- package/esm/coms/texts/Code.vue.d.ts +16 -0
- package/esm/coms/texts/Color.vue.d.ts +16 -0
- package/esm/coms/texts/Compare.vue.d.ts +16 -0
- package/esm/coms/texts/Copy.vue.d.ts +24 -0
- package/esm/coms/texts/Date.vue.d.ts +16 -0
- package/esm/coms/texts/DateRange.vue.d.ts +16 -0
- package/esm/coms/texts/DateTime.vue.d.ts +16 -0
- package/esm/coms/texts/Decimal.vue.d.ts +16 -0
- package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
- package/esm/coms/texts/Email.vue.d.ts +16 -0
- package/esm/coms/texts/Index.vue.d.ts +22 -0
- package/esm/coms/texts/Int.vue.d.ts +16 -0
- package/esm/coms/texts/Markdown.vue.d.ts +16 -0
- package/esm/coms/texts/Month.vue.d.ts +16 -0
- package/esm/coms/texts/Password.vue.d.ts +16 -0
- package/esm/coms/texts/Progress.vue.d.ts +16 -0
- package/esm/coms/texts/Radio.vue.d.ts +16 -0
- package/esm/coms/texts/Rate.vue.d.ts +24 -0
- package/esm/coms/texts/RichText.vue.d.ts +16 -0
- package/esm/coms/texts/Select.vue.d.ts +16 -0
- package/esm/coms/texts/Switch.vue.d.ts +16 -0
- package/esm/coms/texts/Text.vue.d.ts +16 -0
- package/esm/coms/texts/TextLink.vue.d.ts +29 -0
- package/esm/coms/texts/Textarea.vue.d.ts +16 -0
- package/esm/coms/texts/Upload.vue.d.ts +16 -0
- package/esm/coms/texts/Year.vue.d.ts +16 -0
- package/esm/main.d.ts +6 -2
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -0
- package/esm/services/index.d.ts +1 -2
- package/esm/stores/index.d.ts +2 -1
- package/package.json +2 -1
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as g, toRefs as x, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as c, toDisplayString as t, createVNode as r, unref as a, withCtx as i, createTextVNode as d } from "vue";
|
2
|
+
import { A as S, j as V, m as E } from "./main-QtNG6p7a.js";
|
3
|
+
const R = { class: "delete" }, j = { class: "delete-title" }, q = { class: "delete-buttons" }, U = /* @__PURE__ */ g({
|
4
|
+
__name: "Delete",
|
5
|
+
props: {
|
6
|
+
base: {},
|
7
|
+
route: {},
|
8
|
+
url: {}
|
9
|
+
},
|
10
|
+
emits: ["navigate", "succeed", "close"],
|
11
|
+
setup(m, { emit: u }) {
|
12
|
+
let o = u, p = m, { base: _, route: f } = x(p), v = S(), l = y(), k = (e) => {
|
13
|
+
l.value = e.next;
|
14
|
+
};
|
15
|
+
(() => {
|
16
|
+
k(_.value.data);
|
17
|
+
})();
|
18
|
+
let C = () => {
|
19
|
+
let e = [f.value.query.id];
|
20
|
+
V.post(l.value.delete.route, e).then((n) => {
|
21
|
+
E.success(n.message), b();
|
22
|
+
});
|
23
|
+
}, b = () => {
|
24
|
+
v.toBackUrl(), o("succeed", "delete");
|
25
|
+
}, h = () => {
|
26
|
+
o("close");
|
27
|
+
};
|
28
|
+
return (e, n) => {
|
29
|
+
const s = B("el-button");
|
30
|
+
return D(), N("div", R, [
|
31
|
+
c("div", j, t(e.t("common.confirm_delete")), 1),
|
32
|
+
c("div", q, [
|
33
|
+
r(s, {
|
34
|
+
type: "danger",
|
35
|
+
onClick: a(C)
|
36
|
+
}, {
|
37
|
+
default: i(() => [
|
38
|
+
d(t(e.t("common.confirm")), 1)
|
39
|
+
]),
|
40
|
+
_: 1
|
41
|
+
}, 8, ["onClick"]),
|
42
|
+
r(s, { onClick: a(h) }, {
|
43
|
+
default: i(() => [
|
44
|
+
d(t(e.t("common.cancel")), 1)
|
45
|
+
]),
|
46
|
+
_: 1
|
47
|
+
}, 8, ["onClick"])
|
48
|
+
])
|
49
|
+
]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
U as default
|
55
|
+
};
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { defineComponent as k, toRefs as C, resolveComponent as h, openBlock as v, createBlock as b, unref as o, withCtx as t, createVNode as a, createTextVNode as c, toDisplayString as i, createElementVNode as s } from "vue";
|
2
|
+
import { p as x } from "./main-QtNG6p7a.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const N = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), g = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), $ = /* @__PURE__ */ k({
|
6
|
+
__name: "Detail",
|
7
|
+
props: {
|
8
|
+
route: {},
|
9
|
+
table: {},
|
10
|
+
next: {},
|
11
|
+
set: {}
|
12
|
+
},
|
13
|
+
emits: ["copy", "edit", "close"],
|
14
|
+
setup(r, { emit: f }) {
|
15
|
+
let l = f, u = r, { route: B, table: m, set: p, next: D } = C(u), d = (e) => {
|
16
|
+
l("copy", p.value[m.value.name][0], e);
|
17
|
+
}, _ = (e) => {
|
18
|
+
l("edit", p.value[m.value.name][0], e);
|
19
|
+
}, y = () => {
|
20
|
+
l("close");
|
21
|
+
};
|
22
|
+
return (e, w) => {
|
23
|
+
const n = h("el-button");
|
24
|
+
return v(), b(o(x), { padding: 5 }, {
|
25
|
+
default: t(() => [
|
26
|
+
a(n, {
|
27
|
+
type: "primary",
|
28
|
+
onClick: o(_)
|
29
|
+
}, {
|
30
|
+
icon: t(() => [
|
31
|
+
N
|
32
|
+
]),
|
33
|
+
default: t(() => [
|
34
|
+
c(" " + i(e.t("common.modify")), 1)
|
35
|
+
]),
|
36
|
+
_: 1
|
37
|
+
}, 8, ["onClick"]),
|
38
|
+
a(n, {
|
39
|
+
type: "primary",
|
40
|
+
plain: "",
|
41
|
+
onClick: o(d)
|
42
|
+
}, {
|
43
|
+
icon: t(() => [
|
44
|
+
V
|
45
|
+
]),
|
46
|
+
default: t(() => [
|
47
|
+
c(" " + i(e.t("common.copy")), 1)
|
48
|
+
]),
|
49
|
+
_: 1
|
50
|
+
}, 8, ["onClick"]),
|
51
|
+
a(n, { onClick: o(y) }, {
|
52
|
+
icon: t(() => [
|
53
|
+
g
|
54
|
+
]),
|
55
|
+
default: t(() => [
|
56
|
+
c(" " + i(e.t("common.back")), 1)
|
57
|
+
]),
|
58
|
+
_: 1
|
59
|
+
}, 8, ["onClick"])
|
60
|
+
]),
|
61
|
+
_: 1
|
62
|
+
});
|
63
|
+
};
|
64
|
+
}
|
65
|
+
});
|
66
|
+
export {
|
67
|
+
$ as default
|
68
|
+
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as x, toRefs as g, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as k, unref as B, createBlock as b, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as n, createCommentVNode as w } from "vue";
|
2
|
+
import { k as s, B as D, r as E } from "./main-QtNG6p7a.js";
|
3
|
+
const z = { class: "text-dictionary" }, F = {
|
4
|
+
key: 0,
|
5
|
+
class: "suffix"
|
6
|
+
}, A = /* @__PURE__ */ x({
|
7
|
+
__name: "Dictionary",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: { type: [String, Number, Boolean] }
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(i, { emit: c }) {
|
18
|
+
let u = c, m = i, { table: L, field: d, set: R, modelValue: f } = g(m), t = o({
|
19
|
+
get() {
|
20
|
+
return f.value;
|
21
|
+
},
|
22
|
+
set(e) {
|
23
|
+
u("update:modelValue", e), u("change", e);
|
24
|
+
}
|
25
|
+
}), p = o(() => {
|
26
|
+
if (t.value == null)
|
27
|
+
return [];
|
28
|
+
if (s.isNumber(t.value))
|
29
|
+
return [t.value];
|
30
|
+
if (s.isBoolean(t.value))
|
31
|
+
return [t.value];
|
32
|
+
let e = t.value.toString();
|
33
|
+
return D.isEmpty(e) ? [] : e.split(",");
|
34
|
+
}), _ = o(() => E.fromValues(p.value, d.value.control.data.data, "value", "text"));
|
35
|
+
return (e, T) => {
|
36
|
+
const v = h("el-tag");
|
37
|
+
return r(), a("div", z, [
|
38
|
+
(r(!0), a(V, null, k(B(_), (l, y) => (r(), b(v, {
|
39
|
+
type: "info",
|
40
|
+
style: C({ color: l.color }),
|
41
|
+
key: y
|
42
|
+
}, {
|
43
|
+
default: N(() => [
|
44
|
+
S(n(l.text) + " ", 1),
|
45
|
+
l.suffix ? (r(), a("span", F, "(" + n(l.suffix) + ")", 1)) : w("", !0)
|
46
|
+
]),
|
47
|
+
_: 2
|
48
|
+
}, 1032, ["style"]))), 128))
|
49
|
+
]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
A as default
|
55
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { defineComponent as l, toRefs as a, openBlock as s, createElementBlock as n, toDisplayString as r, unref as c } from "vue";
|
2
|
+
const m = { class: "text-email" }, x = /* @__PURE__ */ l({
|
3
|
+
__name: "Email",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(e) {
|
13
|
+
let t = e, { table: p, field: i, set: f, row: _, modelValue: o } = a(t);
|
14
|
+
return (d, u) => (s(), n("span", m, r(c(o)), 1));
|
15
|
+
}
|
16
|
+
});
|
17
|
+
export {
|
18
|
+
x as default
|
19
|
+
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
|
2
|
+
const R = /* @__PURE__ */ f({
|
3
|
+
__name: "Email",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(m, { emit: i }) {
|
14
|
+
let a = i, u = m, { table: p, field: t, set: K, modelValue: s } = _(u), r = () => {
|
15
|
+
a("submit");
|
16
|
+
}, l = V({
|
17
|
+
get() {
|
18
|
+
return s.value;
|
19
|
+
},
|
20
|
+
set(o) {
|
21
|
+
a("update:modelValue", o), a("change", o);
|
22
|
+
}
|
23
|
+
});
|
24
|
+
return (o, n) => {
|
25
|
+
const c = b("el-input");
|
26
|
+
return h(), y(c, {
|
27
|
+
type: "email",
|
28
|
+
disabled: e(t).control.readonly,
|
29
|
+
placeholder: o.t_field_placeholder(e(p).name, e(t).name),
|
30
|
+
onKeyup: x(e(r), ["enter", "native"]),
|
31
|
+
modelValue: e(l),
|
32
|
+
"onUpdate:modelValue": n[0] || (n[0] = (d) => g(l) ? l.value = d : l = d)
|
33
|
+
}, k({ _: 2 }, [
|
34
|
+
e(t).suffix ? {
|
35
|
+
name: "append",
|
36
|
+
fn: v(() => [
|
37
|
+
w(C(e(t).suffix), 1)
|
38
|
+
]),
|
39
|
+
key: "0"
|
40
|
+
} : void 0
|
41
|
+
]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
|
42
|
+
};
|
43
|
+
}
|
44
|
+
});
|
45
|
+
export {
|
46
|
+
R as default
|
47
|
+
};
|
@@ -0,0 +1,155 @@
|
|
1
|
+
import { defineComponent as J, toRefs as O, ref as P, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as L, Fragment as q, renderList as w, createBlock as h, toDisplayString as _, createTextVNode as x, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as T, useRouter as A } from "vue-router";
|
3
|
+
import { H as N, g as G, j as I, v as K } from "./main-QtNG6p7a.js";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js";
|
6
|
+
const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ n("i", { class: "fa fa-list" }, null, -1), X = [
|
7
|
+
W
|
8
|
+
], Y = /* @__PURE__ */ n("i", { class: "fa fa-image" }, null, -1), Z = [
|
9
|
+
Y
|
10
|
+
], ee = {
|
11
|
+
key: 0,
|
12
|
+
class: "files-image"
|
13
|
+
}, te = { class: "file-image" }, oe = ["src"], ae = { class: "file-title" }, le = { class: "file-name" }, ne = ["src", "alt"], se = { class: "file-title" }, re = {
|
14
|
+
key: 2,
|
15
|
+
class: "not-support"
|
16
|
+
}, de = /* @__PURE__ */ J({
|
17
|
+
__name: "File",
|
18
|
+
props: {
|
19
|
+
searchData: {},
|
20
|
+
module: {},
|
21
|
+
schema: {},
|
22
|
+
table: {},
|
23
|
+
layout: {},
|
24
|
+
next: {},
|
25
|
+
set: {}
|
26
|
+
},
|
27
|
+
setup(z) {
|
28
|
+
let B = z, { schema: F, table: s, layout: i, next: d, set: b, searchData: ie } = O(B), c = N(), f = T(), v = A(), k = P(), C = (t) => {
|
29
|
+
let a = { type: "fileLayout", value: t };
|
30
|
+
I.post("/user/config", a).then((y) => {
|
31
|
+
N.fileLayout = t;
|
32
|
+
});
|
33
|
+
}, V = (t) => {
|
34
|
+
let a = { ...f.query };
|
35
|
+
a.page = t, v.push({ path: d.value.paging.route, query: a });
|
36
|
+
}, D = () => {
|
37
|
+
let t = { ...f.query };
|
38
|
+
t.page = "1", t.condition = K.getEncoder().getBase64().encode(JSON.stringify(k.value));
|
39
|
+
let a = { path: d.value.paging.route, query: t };
|
40
|
+
v.push(a);
|
41
|
+
};
|
42
|
+
return (t, a) => {
|
43
|
+
const y = p("router-link"), E = p("el-table-column"), R = p("el-table"), j = p("el-button"), H = p("el-pagination");
|
44
|
+
return l(), u("div", Q, [
|
45
|
+
g(e(G), {
|
46
|
+
title: t.t_module(t.module.type, t.module.name)
|
47
|
+
}, {
|
48
|
+
operation: r(() => [
|
49
|
+
n("div", U, [
|
50
|
+
n("a", {
|
51
|
+
class: L({ active: e(c).fileLayout == "list" }),
|
52
|
+
onClick: a[0] || (a[0] = (o) => e(C)("list"))
|
53
|
+
}, X, 2),
|
54
|
+
n("a", {
|
55
|
+
class: L({ active: e(c).fileLayout == "image" }),
|
56
|
+
onClick: a[1] || (a[1] = (o) => e(C)("image"))
|
57
|
+
}, Z, 2)
|
58
|
+
])
|
59
|
+
]),
|
60
|
+
append: r(() => [
|
61
|
+
e(c).fileLayout == "image" ? (l(), u("div", ee, [
|
62
|
+
(l(!0), u(q, null, w(e(b)[e(s).name], (o, $) => (l(), h(y, {
|
63
|
+
class: "file",
|
64
|
+
to: { path: e(d).detail.route, query: { id: o[e(s).key.name], m: e(f).query.m } },
|
65
|
+
key: $
|
66
|
+
}, {
|
67
|
+
default: r(() => [
|
68
|
+
n("div", te, [
|
69
|
+
n("img", {
|
70
|
+
src: o[e(i).url],
|
71
|
+
alt: ""
|
72
|
+
}, null, 8, oe)
|
73
|
+
]),
|
74
|
+
n("div", ae, _(o[e(i).name]), 1)
|
75
|
+
]),
|
76
|
+
_: 2
|
77
|
+
}, 1032, ["to"]))), 128))
|
78
|
+
])) : e(c).fileLayout == "list" ? (l(), h(R, {
|
79
|
+
key: 1,
|
80
|
+
class: "files-list",
|
81
|
+
border: "",
|
82
|
+
data: e(b)[e(s).name]
|
83
|
+
}, {
|
84
|
+
empty: r(() => [
|
85
|
+
x(_(t.t("common.no_data")), 1)
|
86
|
+
]),
|
87
|
+
default: r(() => [
|
88
|
+
(l(!0), u(q, null, w(e(s).show, (o, $) => (l(), h(E, {
|
89
|
+
"show-overflow-tooltip": "",
|
90
|
+
sortable: e(s) ? "custom" : !1,
|
91
|
+
"min-width": "180",
|
92
|
+
"sort-orders": ["descending", "ascending"],
|
93
|
+
prop: o.name,
|
94
|
+
label: `${o.label}${o.prefix || o.suffix ? "(" + (o.prefix || o.suffix) + ")" : ""}`,
|
95
|
+
key: `${e(s).name}.${o.name}`
|
96
|
+
}, {
|
97
|
+
default: r((m) => [
|
98
|
+
n("div", le, [
|
99
|
+
m.column.property == e(i).name ? (l(), u("img", {
|
100
|
+
key: 0,
|
101
|
+
class: "file-image",
|
102
|
+
src: m.row[e(i).url],
|
103
|
+
alt: m.row[e(i).name]
|
104
|
+
}, null, 8, ne)) : S("", !0),
|
105
|
+
n("div", se, _(m.row[m.column.property]), 1)
|
106
|
+
])
|
107
|
+
]),
|
108
|
+
_: 2
|
109
|
+
}, 1032, ["sortable", "prop", "label"]))), 128))
|
110
|
+
]),
|
111
|
+
_: 1
|
112
|
+
}, 8, ["data"])) : (l(), u("div", re, "未支持的文件布局:" + _(e(c).fileLayout), 1))
|
113
|
+
]),
|
114
|
+
default: r(() => [
|
115
|
+
e(s).search.length > 0 ? (l(), h(M, {
|
116
|
+
key: 0,
|
117
|
+
schema: e(F),
|
118
|
+
table: e(s),
|
119
|
+
search: e(k),
|
120
|
+
onSubmit: e(D)
|
121
|
+
}, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
|
122
|
+
]),
|
123
|
+
_: 1
|
124
|
+
}, 8, ["title"]),
|
125
|
+
g(j, {
|
126
|
+
type: "primary",
|
127
|
+
icon: "el-icon-plus"
|
128
|
+
}, {
|
129
|
+
default: r(() => [
|
130
|
+
g(y, {
|
131
|
+
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
132
|
+
}, {
|
133
|
+
default: r(() => [
|
134
|
+
x("添加新" + _(e(s).title), 1)
|
135
|
+
]),
|
136
|
+
_: 1
|
137
|
+
}, 8, ["to"])
|
138
|
+
]),
|
139
|
+
_: 1
|
140
|
+
}),
|
141
|
+
g(H, {
|
142
|
+
background: "",
|
143
|
+
layout: "total, prev, pager, next, jumper",
|
144
|
+
"current-page": e(i).page,
|
145
|
+
"page-size": e(i).pageSize,
|
146
|
+
total: e(i).count,
|
147
|
+
onCurrentChange: e(V)
|
148
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
149
|
+
]);
|
150
|
+
};
|
151
|
+
}
|
152
|
+
});
|
153
|
+
export {
|
154
|
+
de as default
|
155
|
+
};
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { defineComponent as x, defineAsyncComponent as C, toRefs as B, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
|
2
|
+
import { B as D } from "./main-QtNG6p7a.js";
|
3
|
+
const U = /* @__PURE__ */ x({
|
4
|
+
__name: "Index",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
config: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change"],
|
14
|
+
setup(V, { emit: N }) {
|
15
|
+
let g = C(() => import("./TextLink-BZW-y_FS.js")), k = V, { schema: u, table: s, field: o, set: d, row: a, config: m } = B(k), i = p(() => {
|
16
|
+
let l = o.value.control.type;
|
17
|
+
return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
|
18
|
+
}), y = p(() => `text-${D.getDashName(i.value)}`), t = p({
|
19
|
+
get() {
|
20
|
+
return a.value[o.value.name];
|
21
|
+
},
|
22
|
+
set(l) {
|
23
|
+
a.value[o.value.name] = l;
|
24
|
+
}
|
25
|
+
});
|
26
|
+
return (l, n) => e(o).link ? (c(), f(e(g), {
|
27
|
+
key: 0,
|
28
|
+
schema: e(u),
|
29
|
+
table: e(s),
|
30
|
+
field: e(o),
|
31
|
+
set: e(d),
|
32
|
+
row: e(a)
|
33
|
+
}, {
|
34
|
+
default: v(() => [
|
35
|
+
(c(), f(b(e(y)), {
|
36
|
+
schema: e(u),
|
37
|
+
table: e(s),
|
38
|
+
field: e(o),
|
39
|
+
set: e(d),
|
40
|
+
row: e(a),
|
41
|
+
modelValue: e(t),
|
42
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => w(t) ? t.value = r : t = r)
|
43
|
+
}, {
|
44
|
+
default: v(() => [
|
45
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(i))), 1)
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
49
|
+
]),
|
50
|
+
_: 1
|
51
|
+
}, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(b(e(y)), {
|
52
|
+
key: 1,
|
53
|
+
schema: e(u),
|
54
|
+
table: e(s),
|
55
|
+
field: e(o),
|
56
|
+
set: e(d),
|
57
|
+
row: e(a),
|
58
|
+
modelValue: e(t),
|
59
|
+
"onUpdate:modelValue": n[1] || (n[1] = (r) => w(t) ? t.value = r : t = r)
|
60
|
+
}, {
|
61
|
+
default: v(() => [
|
62
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(i))), 1)
|
63
|
+
]),
|
64
|
+
_: 1
|
65
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
66
|
+
}
|
67
|
+
});
|
68
|
+
export {
|
69
|
+
U as default
|
70
|
+
};
|
@@ -0,0 +1,168 @@
|
|
1
|
+
import { defineComponent as P, ref as u, onMounted as Q, computed as j, watch as D, resolveComponent as f, openBlock as d, createElementBlock as b, createVNode as g, unref as t, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as h, isRef as T, withKeys as $, normalizeClass as Z, withModifiers as G, createTextVNode as F, Fragment as J, renderList as W, nextTick as I } from "vue";
|
2
|
+
import { useRoute as X } from "vue-router";
|
3
|
+
import { b as Y, u as ee, A as te, v as oe, o as le, B as re, I as se, y as ne } from "./main-QtNG6p7a.js";
|
4
|
+
const ae = { class: "login-container" }, ie = { class: "title-container" }, ue = { class: "title" }, de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
5
|
+
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
6
|
+
], -1), ce = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
|
+
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
8
|
+
], -1), fe = { class: "btn-others" }, pe = ["href"], me = ["innerHTML"], ve = /* @__PURE__ */ P({
|
9
|
+
__name: "Index",
|
10
|
+
setup(_e) {
|
11
|
+
let a = u({ id: "", secret: "" }), c = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), V = Y(), { t: i, t_sys: K } = ee(), B = te(), U = X(), x = oe.getSso(), A = {
|
12
|
+
id: [{
|
13
|
+
required: !0,
|
14
|
+
trigger: "blur",
|
15
|
+
validator: (o, e, r) => {
|
16
|
+
e ? e.indexOf("@") > -1 ? re.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
17
|
+
}
|
18
|
+
}]
|
19
|
+
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
20
|
+
}, M = (o) => {
|
21
|
+
o.key && o.key.length == 1 && (o.shiftKey && o.key >= "a" && o.key <= "z" || !o.shiftKey && o.key >= "A" && o.key <= "Z" ? s.value = !0 : s.value = !1), o.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
22
|
+
}, E = () => {
|
23
|
+
c.value == "password" ? c.value = "" : c.value = "password", I(() => {
|
24
|
+
w.value.focus();
|
25
|
+
});
|
26
|
+
}, L = async (o) => {
|
27
|
+
_.value = !0, C.value.validate(async (e) => {
|
28
|
+
if (!e)
|
29
|
+
return _.value = !1, !1;
|
30
|
+
(await x.create(o)).login(a.value).then(({ data: m }) => {
|
31
|
+
se.getBackUrl() ? B.toBackUrl() : B.to("/");
|
32
|
+
}).finally(() => {
|
33
|
+
I(() => {
|
34
|
+
_.value = !1;
|
35
|
+
});
|
36
|
+
});
|
37
|
+
});
|
38
|
+
}, N = async (o) => {
|
39
|
+
let e = await x.create(o), r = U.query.return_url, m = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
|
40
|
+
return e.loginUrl(ne.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
41
|
+
}, O = (o) => Object.keys(o).reduce((e, r) => (e[r] = o[r], e), {});
|
42
|
+
Q(() => {
|
43
|
+
le.setI18nTitle("common.login"), y.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
|
44
|
+
});
|
45
|
+
let y = j(() => V.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
46
|
+
return D(() => U, (o) => {
|
47
|
+
debugger;
|
48
|
+
const e = o.query;
|
49
|
+
e && (otherQuery = O(e));
|
50
|
+
}), (o, e) => {
|
51
|
+
const r = f("el-input"), m = f("el-form-item"), S = f("el-tooltip"), q = f("el-button"), z = f("router-link"), H = f("el-form");
|
52
|
+
return d(), b("div", ae, [
|
53
|
+
g(H, {
|
54
|
+
ref_key: "loginFormRef",
|
55
|
+
ref: C,
|
56
|
+
autocomplete: "on",
|
57
|
+
"label-position": "left",
|
58
|
+
model: t(a),
|
59
|
+
rules: t(A)
|
60
|
+
}, {
|
61
|
+
default: p(() => [
|
62
|
+
n("div", ie, [
|
63
|
+
n("h3", ue, k(t(K)("title")), 1)
|
64
|
+
]),
|
65
|
+
t(y) ? (d(), v(m, {
|
66
|
+
key: 0,
|
67
|
+
prop: "id"
|
68
|
+
}, {
|
69
|
+
default: p(() => [
|
70
|
+
de,
|
71
|
+
g(r, {
|
72
|
+
ref_key: "idRef",
|
73
|
+
ref: R,
|
74
|
+
placeholder: t(i)("common.username_or_email"),
|
75
|
+
name: "id",
|
76
|
+
type: "text",
|
77
|
+
tabindex: "1",
|
78
|
+
autocomplete: "on",
|
79
|
+
modelValue: t(a).id,
|
80
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => t(a).id = l)
|
81
|
+
}, null, 8, ["placeholder", "modelValue"])
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
})) : h("", !0),
|
85
|
+
t(y) ? (d(), v(S, {
|
86
|
+
key: 1,
|
87
|
+
content: "Caps lock is On",
|
88
|
+
placement: "right",
|
89
|
+
manual: "",
|
90
|
+
modelValue: t(s),
|
91
|
+
"onUpdate:modelValue": e[5] || (e[5] = (l) => T(s) ? s.value = l : s = l)
|
92
|
+
}, {
|
93
|
+
default: p(() => [
|
94
|
+
g(m, { prop: "secret" }, {
|
95
|
+
default: p(() => [
|
96
|
+
ce,
|
97
|
+
(d(), v(r, {
|
98
|
+
ref_key: "secretRef",
|
99
|
+
ref: w,
|
100
|
+
key: t(c),
|
101
|
+
type: t(c),
|
102
|
+
placeholder: t(i)("common.password"),
|
103
|
+
name: "secret",
|
104
|
+
tabindex: "2",
|
105
|
+
autocomplete: "on",
|
106
|
+
onKeyup: [
|
107
|
+
$(t(M), ["native"]),
|
108
|
+
e[2] || (e[2] = $((l) => t(L)("Bearer"), ["enter", "native"]))
|
109
|
+
],
|
110
|
+
onBlur: e[1] || (e[1] = (l) => T(s) ? s.value = !1 : s = !1),
|
111
|
+
modelValue: t(a).secret,
|
112
|
+
"onUpdate:modelValue": e[3] || (e[3] = (l) => t(a).secret = l)
|
113
|
+
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
114
|
+
n("span", {
|
115
|
+
class: "btn-pwd",
|
116
|
+
onClick: e[4] || (e[4] = //@ts-ignore
|
117
|
+
(...l) => t(E) && t(E)(...l))
|
118
|
+
}, [
|
119
|
+
n("i", {
|
120
|
+
class: Z(t(c) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
121
|
+
}, null, 2)
|
122
|
+
])
|
123
|
+
]),
|
124
|
+
_: 1
|
125
|
+
})
|
126
|
+
]),
|
127
|
+
_: 1
|
128
|
+
}, 8, ["modelValue"])) : h("", !0),
|
129
|
+
t(y) ? (d(), v(q, {
|
130
|
+
key: 2,
|
131
|
+
type: "primary",
|
132
|
+
class: "btn-login",
|
133
|
+
loading: t(_),
|
134
|
+
onClick: e[6] || (e[6] = G((l) => t(L)("Bearer"), ["prevent"]))
|
135
|
+
}, {
|
136
|
+
default: p(() => [
|
137
|
+
F(k(t(i)("common.login")), 1)
|
138
|
+
]),
|
139
|
+
_: 1
|
140
|
+
}, 8, ["loading"])) : h("", !0),
|
141
|
+
n("div", fe, [
|
142
|
+
(d(!0), b(J, null, W(t(V).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), b("a", {
|
143
|
+
href: t(N)(l.type)
|
144
|
+
}, k(t(i)(l.text)), 9, pe))), 256)),
|
145
|
+
g(z, {
|
146
|
+
class: "btn-register",
|
147
|
+
to: "/register"
|
148
|
+
}, {
|
149
|
+
default: p(() => [
|
150
|
+
F(k(t(i)("common.register")), 1)
|
151
|
+
]),
|
152
|
+
_: 1
|
153
|
+
})
|
154
|
+
])
|
155
|
+
]),
|
156
|
+
_: 1
|
157
|
+
}, 8, ["model", "rules"]),
|
158
|
+
n("div", {
|
159
|
+
class: "powered-by",
|
160
|
+
innerHTML: t(i)("sys.powered_by")
|
161
|
+
}, null, 8, me)
|
162
|
+
]);
|
163
|
+
};
|
164
|
+
}
|
165
|
+
});
|
166
|
+
export {
|
167
|
+
ve as default
|
168
|
+
};
|