@baseplate-dev/plugin-auth 0.6.15 → 0.6.17
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/CHANGELOG.md +36 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -3
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +7 -2
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +18 -3
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +6 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +14 -3
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js} +24 -24
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js} +6 -5
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js} +2 -2
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js} +11120 -4828
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js} +4179 -2900
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js} +2 -3
- package/dist/web/assets/arduino-BXtgMpyb.js +21 -0
- package/dist/web/assets/auth-BxAE0rgh.js +1 -0
- package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
- package/dist/web/assets/basic-3mvohyEL.js +28 -0
- package/dist/web/assets/c-6gdx-Hqg.js +74 -0
- package/dist/web/assets/clike-Ds9lUsCq.js +41 -0
- package/dist/web/assets/{common-2qsch56z.js → common-ByxS61u8.js} +8 -6
- package/dist/web/assets/{common-D-CUPN3f.js → common-CKl_XlvH.js} +3 -3
- package/dist/web/assets/{common-BJslFOaI.js → common-TDf_PrjX.js} +3 -3
- package/dist/web/assets/{common-2sTWj7X2.js → common-UpVCKZeW.js} +8 -6
- package/dist/web/assets/{common-DtVPzGI9.js → common-crSwCD36.js} +3 -3
- package/dist/web/assets/{common-BY8yEk1M.js → common-iHaemino.js} +3 -3
- package/dist/web/assets/cpp-DRYAY5P6.js +82 -0
- package/dist/web/assets/csharp-RJBSoHJ6.js +301 -0
- package/dist/web/assets/css-D7TbgetL.js +70 -0
- package/dist/web/assets/diff-CtSa_15w.js +54 -0
- package/dist/web/assets/{dist-SBfmsOB2.js → dist-CrLSslv6.js} +2 -2
- package/dist/web/assets/{dist-DiQ4J8N0.js → dist-DY7ZXvq4.js} +1408 -916
- package/dist/web/assets/{get-auth-plugin-definition-gCzcUybB.js → get-auth-plugin-definition-kDCtXq_6.js} +2 -2
- package/dist/web/assets/go-D9nlw8GJ.js +36 -0
- package/dist/web/assets/{hostInit-BPDI3Q4j.js → hostInit-Cruek6c6.js} +2 -2
- package/dist/web/assets/ini-CU-wHLTy.js +51 -0
- package/dist/web/assets/java-Asfw0WtJ.js +116 -0
- package/dist/web/assets/javascript-fpnGEVws.js +124 -0
- package/dist/web/assets/json-DN8T4yFI.js +38 -0
- package/dist/web/assets/kotlin-zNWfDPVY.js +83 -0
- package/dist/web/assets/less-ZXX1tgaG.js +42 -0
- package/dist/web/assets/lua-D9bD4wrb.js +28 -0
- package/dist/web/assets/makefile-CKoRpler.js +40 -0
- package/dist/web/assets/markdown-ewV-vLcZ.js +278 -0
- package/dist/web/assets/markup-D2krQlDZ.js +176 -0
- package/dist/web/assets/markup-templating-c_XBo6vX.js +94 -0
- package/dist/web/assets/mf-entry-bootstrap-0-dfed0275.js +35 -0
- package/dist/web/assets/mf-entry-bootstrap-1-5275674a.js +35 -0
- package/dist/web/assets/{mf-entry-bootstrap-0-b337c957.js → mf-entry-bootstrap-2-39fb9255.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-3-49e64336.js +35 -0
- package/dist/web/assets/{model-utils-BoeoBppL.js → model-utils-C0WDb_Ec.js} +269 -26
- package/dist/web/assets/{models-Bb8Sa9xa.js → models-BZmCbizK.js} +3 -3
- package/dist/web/assets/{models-CExR9mVk.js → models-DSvs_3bA.js} +3 -3
- package/dist/web/assets/objectivec-PkUOhxeb.js +25 -0
- package/dist/web/assets/perl-Cul_ma_h.js +92 -0
- package/dist/web/assets/php-CfWLJZIj.js +298 -0
- package/dist/web/assets/{plugin-definition-BSgRuyCf.js → plugin-definition-CYj29S3q.js} +3 -3
- package/dist/web/assets/{plugin-definition-DoLu-enC.js → plugin-definition-DOMmPL2Z.js} +3 -3
- package/dist/web/assets/python-CURlmZ7M.js +73 -0
- package/dist/web/assets/r-8lr7pbGm.js +30 -0
- package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
- package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
- package/dist/web/assets/ruby-BlM93DKO.js +175 -0
- package/dist/web/assets/rust-CpZXpaj0.js +107 -0
- package/dist/web/assets/sass-DG0YAnL7.js +65 -0
- package/dist/web/assets/scss-BDRIqhak.js +70 -0
- package/dist/web/assets/sql-C-bL8_gT.js +40 -0
- package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
- package/dist/web/assets/{styles-DWNihayS.js → styles-yjbHBTlw.js} +8 -8
- package/dist/web/assets/swift-rQ52kfab.js +107 -0
- package/dist/web/assets/typescript-C5BVqltI.js +57 -0
- package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
- package/dist/web/assets/{virtualExposes-ZQ3-2Iup.js → virtualExposes-CbPBmicF.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js} +5 -5
- package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js} +15 -15
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js} +15 -15
- package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
- package/dist/web/assets/{web-pdVFZ-id.js → web-1eTcxMhf.js} +3 -3
- package/dist/web/assets/{web-sVeHdqQo.js → web-CDAKPPK9.js} +13 -13
- package/dist/web/assets/{web-CbftiK5A.js → web-CXAHKjIY.js} +19 -19
- package/dist/web/assets/{web-DUQ-iyMI.js → web-D0MSKfyv.js} +31 -30
- package/dist/web/assets/{web-BbZNg5Ko.js → web-DbeAaDTV.js} +16 -16
- package/dist/web/assets/{web-QvGnMr85.js → web-VqBA3jxZ.js} +13 -13
- package/dist/web/assets/{web-BWF6Fc7g.js → web-miDovYk_.js} +3 -3
- package/dist/web/assets/workerBundle-BjsY-uXx.js +10 -0
- package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
- package/dist/web/index.html +5 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +2 -2
- package/package.json +38 -41
- package/dist/web/assets/auth-BA-e6ORB.js +0 -1
- package/dist/web/assets/index-BocHdii2.js +0 -2
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/swift.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
swift.displayName = "swift";
|
|
6
|
+
swift.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function swift(Prism) {
|
|
9
|
+
Prism.languages.swift = {
|
|
10
|
+
comment: {
|
|
11
|
+
pattern: /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,
|
|
12
|
+
lookbehind: true,
|
|
13
|
+
greedy: true
|
|
14
|
+
},
|
|
15
|
+
"string-literal": [{
|
|
16
|
+
pattern: RegExp(/(^|[^"#])/.source + "(?:" + /"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source + "|" + /"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source + ")" + /(?!["#])/.source),
|
|
17
|
+
lookbehind: true,
|
|
18
|
+
greedy: true,
|
|
19
|
+
inside: {
|
|
20
|
+
interpolation: {
|
|
21
|
+
pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/,
|
|
22
|
+
lookbehind: true,
|
|
23
|
+
inside: null
|
|
24
|
+
},
|
|
25
|
+
"interpolation-punctuation": {
|
|
26
|
+
pattern: /^\)|\\\($/,
|
|
27
|
+
alias: "punctuation"
|
|
28
|
+
},
|
|
29
|
+
punctuation: /\\(?=[\r\n])/,
|
|
30
|
+
string: /[\s\S]+/
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
pattern: RegExp(/(^|[^"#])(#+)/.source + "(?:" + /"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source + "|" + /"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source + ")\\2"),
|
|
34
|
+
lookbehind: true,
|
|
35
|
+
greedy: true,
|
|
36
|
+
inside: {
|
|
37
|
+
interpolation: {
|
|
38
|
+
pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,
|
|
39
|
+
lookbehind: true,
|
|
40
|
+
inside: null
|
|
41
|
+
},
|
|
42
|
+
"interpolation-punctuation": {
|
|
43
|
+
pattern: /^\)|\\#+\($/,
|
|
44
|
+
alias: "punctuation"
|
|
45
|
+
},
|
|
46
|
+
string: /[\s\S]+/
|
|
47
|
+
}
|
|
48
|
+
}],
|
|
49
|
+
directive: {
|
|
50
|
+
pattern: RegExp(/#/.source + "(?:" + (/(?:elseif|if)\b/.source + "(?:[ ]*" + /(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source + ")+") + "|" + /(?:else|endif)\b/.source + ")"),
|
|
51
|
+
alias: "property",
|
|
52
|
+
inside: {
|
|
53
|
+
"directive-name": /^#\w+/,
|
|
54
|
+
boolean: /\b(?:false|true)\b/,
|
|
55
|
+
number: /\b\d+(?:\.\d+)*\b/,
|
|
56
|
+
operator: /!|&&|\|\||[<>]=?/,
|
|
57
|
+
punctuation: /[(),]/
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
literal: {
|
|
61
|
+
pattern: /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,
|
|
62
|
+
alias: "constant"
|
|
63
|
+
},
|
|
64
|
+
"other-directive": {
|
|
65
|
+
pattern: /#\w+\b/,
|
|
66
|
+
alias: "property"
|
|
67
|
+
},
|
|
68
|
+
attribute: {
|
|
69
|
+
pattern: /@\w+/,
|
|
70
|
+
alias: "atrule"
|
|
71
|
+
},
|
|
72
|
+
"function-definition": {
|
|
73
|
+
pattern: /(\bfunc\s+)\w+/,
|
|
74
|
+
lookbehind: true,
|
|
75
|
+
alias: "function"
|
|
76
|
+
},
|
|
77
|
+
label: {
|
|
78
|
+
pattern: /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,
|
|
79
|
+
lookbehind: true,
|
|
80
|
+
alias: "important"
|
|
81
|
+
},
|
|
82
|
+
keyword: /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,
|
|
83
|
+
boolean: /\b(?:false|true)\b/,
|
|
84
|
+
nil: {
|
|
85
|
+
pattern: /\bnil\b/,
|
|
86
|
+
alias: "constant"
|
|
87
|
+
},
|
|
88
|
+
"short-argument": /\$\d+\b/,
|
|
89
|
+
omit: {
|
|
90
|
+
pattern: /\b_\b/,
|
|
91
|
+
alias: "keyword"
|
|
92
|
+
},
|
|
93
|
+
number: /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,
|
|
94
|
+
"class-name": /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,
|
|
95
|
+
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
96
|
+
constant: /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,
|
|
97
|
+
operator: /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,
|
|
98
|
+
punctuation: /[{}[\]();,.:\\]/
|
|
99
|
+
};
|
|
100
|
+
Prism.languages.swift["string-literal"].forEach(function(rule) {
|
|
101
|
+
rule.inside["interpolation"].inside = Prism.languages.swift;
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
export { swift as default };
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=swift-rQ52kfab.js.map
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import javascript from "./javascript-fpnGEVws.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/typescript.js
|
|
3
|
+
/**
|
|
4
|
+
* @import {Refractor} from '../lib/core.js'
|
|
5
|
+
*/
|
|
6
|
+
typescript.displayName = "typescript";
|
|
7
|
+
typescript.aliases = ["ts"];
|
|
8
|
+
/** @param {Refractor} Prism */
|
|
9
|
+
function typescript(Prism) {
|
|
10
|
+
Prism.register(javascript);
|
|
11
|
+
(function(Prism) {
|
|
12
|
+
Prism.languages.typescript = Prism.languages.extend("javascript", {
|
|
13
|
+
"class-name": {
|
|
14
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
15
|
+
lookbehind: true,
|
|
16
|
+
greedy: true,
|
|
17
|
+
inside: null
|
|
18
|
+
},
|
|
19
|
+
builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
20
|
+
});
|
|
21
|
+
Prism.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/, /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, /\btype\b(?=\s*(?:[\{*]|$))/);
|
|
22
|
+
delete Prism.languages.typescript["parameter"];
|
|
23
|
+
delete Prism.languages.typescript["literal-property"];
|
|
24
|
+
var typeInside = Prism.languages.extend("typescript", {});
|
|
25
|
+
delete typeInside["class-name"];
|
|
26
|
+
Prism.languages.typescript["class-name"].inside = typeInside;
|
|
27
|
+
Prism.languages.insertBefore("typescript", "function", {
|
|
28
|
+
decorator: {
|
|
29
|
+
pattern: /@[$\w\xA0-\uFFFF]+/,
|
|
30
|
+
inside: {
|
|
31
|
+
at: {
|
|
32
|
+
pattern: /^@/,
|
|
33
|
+
alias: "operator"
|
|
34
|
+
},
|
|
35
|
+
function: /^[\s\S]+/
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"generic-function": {
|
|
39
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
40
|
+
greedy: true,
|
|
41
|
+
inside: {
|
|
42
|
+
function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
43
|
+
generic: {
|
|
44
|
+
pattern: /<[\s\S]+/,
|
|
45
|
+
alias: "class-name",
|
|
46
|
+
inside: typeInside
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
Prism.languages.ts = Prism.languages.typescript;
|
|
52
|
+
})(Prism);
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { typescript as default };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=typescript-C5BVqltI.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import basic from "./basic-3mvohyEL.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/vbnet.js
|
|
3
|
+
/**
|
|
4
|
+
* @import {Refractor} from '../lib/core.js'
|
|
5
|
+
*/
|
|
6
|
+
vbnet.displayName = "vbnet";
|
|
7
|
+
vbnet.aliases = [];
|
|
8
|
+
/** @param {Refractor} Prism */
|
|
9
|
+
function vbnet(Prism) {
|
|
10
|
+
Prism.register(basic);
|
|
11
|
+
Prism.languages.vbnet = Prism.languages.extend("basic", {
|
|
12
|
+
comment: [{
|
|
13
|
+
pattern: /(?:!|REM\b).+/i,
|
|
14
|
+
inside: { keyword: /^REM/i }
|
|
15
|
+
}, {
|
|
16
|
+
pattern: /(^|[^\\:])'.*/,
|
|
17
|
+
lookbehind: true,
|
|
18
|
+
greedy: true
|
|
19
|
+
}],
|
|
20
|
+
string: {
|
|
21
|
+
pattern: /(^|[^"])"(?:""|[^"])*"(?!")/,
|
|
22
|
+
lookbehind: true,
|
|
23
|
+
greedy: true
|
|
24
|
+
},
|
|
25
|
+
keyword: /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
|
|
26
|
+
punctuation: /[,;:(){}]/
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { vbnet as default };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=vbnet-_PL7-T9d.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js";
|
|
2
2
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __vitePreload } from "./vite-preload-helper-
|
|
2
|
-
import { t as init$1 } from "./dist-
|
|
1
|
+
import { t as __vitePreload } from "./vite-preload-helper-ARKYL6bp.js";
|
|
2
|
+
import { t as init$1 } from "./dist-CrLSslv6.js";
|
|
3
3
|
//#region virtual:mf-REMOTE_ENTRY_ID:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
4
|
if (typeof __VUE_HMR_RUNTIME__ === "undefined") globalThis.__VUE_HMR_RUNTIME__ = {
|
|
5
5
|
createRecord() {},
|
|
@@ -49,14 +49,14 @@ async function retrySharedInit(fn) {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
async function getLocalSharedImportMap() {
|
|
52
|
-
if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-
|
|
52
|
+
if (!localSharedImportMapPromise) localSharedImportMapPromise = retrySharedInit(() => __vitePreload(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js"), [], import.meta.url)).catch((e) => {
|
|
53
53
|
localSharedImportMapPromise = void 0;
|
|
54
54
|
throw e;
|
|
55
55
|
});
|
|
56
56
|
return localSharedImportMapPromise;
|
|
57
57
|
}
|
|
58
58
|
async function getExposesMap() {
|
|
59
|
-
if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-
|
|
59
|
+
if (!exposesMapPromise) exposesMapPromise = retrySharedInit(() => __vitePreload(() => import("./virtualExposes-CbPBmicF.js"), [], import.meta.url)).then((mod) => mod.default ?? mod).catch((e) => {
|
|
60
60
|
exposesMapPromise = void 0;
|
|
61
61
|
throw e;
|
|
62
62
|
});
|
|
@@ -256,4 +256,4 @@ async function getExposes(moduleName) {
|
|
|
256
256
|
//#endregion
|
|
257
257
|
export { init as n, getExposes as t };
|
|
258
258
|
|
|
259
|
-
//# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
259
|
+
//# sourceMappingURL=virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-
|
|
2
|
-
import { t as __vitePreload } from "./vite-preload-helper-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-DIj1cIPB.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { t as __vitePreload } from "./vite-preload-helper-ARKYL6bp.js";
|
|
3
3
|
//#region virtual:mf-exposes-ssr:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
4
|
var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
5
5
|
"./auth/core/web": async () => {
|
|
6
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
6
|
+
const importModule = await __vitePreload(() => import("./web-D0MSKfyv.js"), __vite__mapDeps([0]), import.meta.url);
|
|
7
7
|
const exportModule = {};
|
|
8
8
|
Object.assign(exportModule, importModule);
|
|
9
9
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -13,7 +13,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
13
13
|
return exportModule;
|
|
14
14
|
},
|
|
15
15
|
"./auth/core/common": async () => {
|
|
16
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
16
|
+
const importModule = await __vitePreload(() => import("./common-TDf_PrjX.js"), [], import.meta.url);
|
|
17
17
|
const exportModule = {};
|
|
18
18
|
Object.assign(exportModule, importModule);
|
|
19
19
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -23,7 +23,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
23
23
|
return exportModule;
|
|
24
24
|
},
|
|
25
25
|
"./better-auth/core/web": async () => {
|
|
26
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
26
|
+
const importModule = await __vitePreload(() => import("./web-VqBA3jxZ.js"), __vite__mapDeps([0]), import.meta.url);
|
|
27
27
|
const exportModule = {};
|
|
28
28
|
Object.assign(exportModule, importModule);
|
|
29
29
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -33,7 +33,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
33
33
|
return exportModule;
|
|
34
34
|
},
|
|
35
35
|
"./better-auth/core/common": async () => {
|
|
36
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
36
|
+
const importModule = await __vitePreload(() => import("./common-ByxS61u8.js"), [], import.meta.url);
|
|
37
37
|
const exportModule = {};
|
|
38
38
|
Object.assign(exportModule, importModule);
|
|
39
39
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -43,7 +43,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
43
43
|
return exportModule;
|
|
44
44
|
},
|
|
45
45
|
"./better-auth/admin/web": async () => {
|
|
46
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
46
|
+
const importModule = await __vitePreload(() => import("./web-1eTcxMhf.js"), [], import.meta.url);
|
|
47
47
|
const exportModule = {};
|
|
48
48
|
Object.assign(exportModule, importModule);
|
|
49
49
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -53,7 +53,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
53
53
|
return exportModule;
|
|
54
54
|
},
|
|
55
55
|
"./better-auth/admin/common": async () => {
|
|
56
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
56
|
+
const importModule = await __vitePreload(() => import("./common-crSwCD36.js"), [], import.meta.url);
|
|
57
57
|
const exportModule = {};
|
|
58
58
|
Object.assign(exportModule, importModule);
|
|
59
59
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -63,7 +63,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
63
63
|
return exportModule;
|
|
64
64
|
},
|
|
65
65
|
"./local-auth/core/web": async () => {
|
|
66
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
66
|
+
const importModule = await __vitePreload(() => import("./web-DbeAaDTV.js"), __vite__mapDeps([0]), import.meta.url);
|
|
67
67
|
const exportModule = {};
|
|
68
68
|
Object.assign(exportModule, importModule);
|
|
69
69
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -73,7 +73,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
73
73
|
return exportModule;
|
|
74
74
|
},
|
|
75
75
|
"./local-auth/core/common": async () => {
|
|
76
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
76
|
+
const importModule = await __vitePreload(() => import("./common-UpVCKZeW.js"), [], import.meta.url);
|
|
77
77
|
const exportModule = {};
|
|
78
78
|
Object.assign(exportModule, importModule);
|
|
79
79
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -83,7 +83,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
83
83
|
return exportModule;
|
|
84
84
|
},
|
|
85
85
|
"./local-auth/admin/web": async () => {
|
|
86
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
86
|
+
const importModule = await __vitePreload(() => import("./web-miDovYk_.js"), [], import.meta.url);
|
|
87
87
|
const exportModule = {};
|
|
88
88
|
Object.assign(exportModule, importModule);
|
|
89
89
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -93,7 +93,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
93
93
|
return exportModule;
|
|
94
94
|
},
|
|
95
95
|
"./local-auth/admin/common": async () => {
|
|
96
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
96
|
+
const importModule = await __vitePreload(() => import("./common-CKl_XlvH.js"), [], import.meta.url);
|
|
97
97
|
const exportModule = {};
|
|
98
98
|
Object.assign(exportModule, importModule);
|
|
99
99
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -103,7 +103,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
103
103
|
return exportModule;
|
|
104
104
|
},
|
|
105
105
|
"./placeholder-auth/core/web": async () => {
|
|
106
|
-
const importModule = await __vitePreload(() => import("./web-
|
|
106
|
+
const importModule = await __vitePreload(() => import("./web-CDAKPPK9.js"), __vite__mapDeps([0]), import.meta.url);
|
|
107
107
|
const exportModule = {};
|
|
108
108
|
Object.assign(exportModule, importModule);
|
|
109
109
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -113,7 +113,7 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
113
113
|
return exportModule;
|
|
114
114
|
},
|
|
115
115
|
"./placeholder-auth/core/common": async () => {
|
|
116
|
-
const importModule = await __vitePreload(() => import("./common-
|
|
116
|
+
const importModule = await __vitePreload(() => import("./common-iHaemino.js"), [], import.meta.url);
|
|
117
117
|
const exportModule = {};
|
|
118
118
|
Object.assign(exportModule, importModule);
|
|
119
119
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -126,4 +126,4 @@ var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default =
|
|
|
126
126
|
//#endregion
|
|
127
127
|
export { virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default as default };
|
|
128
128
|
|
|
129
|
-
//# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-
|
|
129
|
+
//# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-
|
|
2
|
-
import { t as __vitePreload } from "./vite-preload-helper-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-DIj1cIPB.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { t as __vitePreload } from "./vite-preload-helper-ARKYL6bp.js";
|
|
3
3
|
//#region virtual:mf-exposes:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
4
|
var cssAssetMap = {};
|
|
5
5
|
var injectedCssHrefs = /* @__PURE__ */ new Set();
|
|
@@ -31,7 +31,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
31
31
|
"./auth/core/web": async () => {
|
|
32
32
|
await injectCssAssets("./auth/core/web");
|
|
33
33
|
await Promise.all([]);
|
|
34
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
34
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-D0MSKfyv.js"), __vite__mapDeps([0]), import.meta.url));
|
|
35
35
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
36
36
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
37
37
|
const exportModule = {};
|
|
@@ -45,7 +45,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
45
45
|
"./auth/core/common": async () => {
|
|
46
46
|
await injectCssAssets("./auth/core/common");
|
|
47
47
|
await Promise.all([]);
|
|
48
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
48
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-TDf_PrjX.js"), [], import.meta.url));
|
|
49
49
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
50
50
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
51
51
|
const exportModule = {};
|
|
@@ -59,7 +59,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
59
59
|
"./better-auth/core/web": async () => {
|
|
60
60
|
await injectCssAssets("./better-auth/core/web");
|
|
61
61
|
await Promise.all([]);
|
|
62
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
62
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-VqBA3jxZ.js"), __vite__mapDeps([0]), import.meta.url));
|
|
63
63
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
64
64
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
65
65
|
const exportModule = {};
|
|
@@ -73,7 +73,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
73
73
|
"./better-auth/core/common": async () => {
|
|
74
74
|
await injectCssAssets("./better-auth/core/common");
|
|
75
75
|
await Promise.all([]);
|
|
76
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
76
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-ByxS61u8.js"), [], import.meta.url));
|
|
77
77
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
78
78
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
79
79
|
const exportModule = {};
|
|
@@ -87,7 +87,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
87
87
|
"./better-auth/admin/web": async () => {
|
|
88
88
|
await injectCssAssets("./better-auth/admin/web");
|
|
89
89
|
await Promise.all([]);
|
|
90
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
90
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-1eTcxMhf.js"), [], import.meta.url));
|
|
91
91
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
92
92
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
93
93
|
const exportModule = {};
|
|
@@ -101,7 +101,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
101
101
|
"./better-auth/admin/common": async () => {
|
|
102
102
|
await injectCssAssets("./better-auth/admin/common");
|
|
103
103
|
await Promise.all([]);
|
|
104
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
104
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-crSwCD36.js"), [], import.meta.url));
|
|
105
105
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
106
106
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
107
107
|
const exportModule = {};
|
|
@@ -115,7 +115,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
115
115
|
"./local-auth/core/web": async () => {
|
|
116
116
|
await injectCssAssets("./local-auth/core/web");
|
|
117
117
|
await Promise.all([]);
|
|
118
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
118
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DbeAaDTV.js"), __vite__mapDeps([0]), import.meta.url));
|
|
119
119
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
120
120
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
121
121
|
const exportModule = {};
|
|
@@ -129,7 +129,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
129
129
|
"./local-auth/core/common": async () => {
|
|
130
130
|
await injectCssAssets("./local-auth/core/common");
|
|
131
131
|
await Promise.all([]);
|
|
132
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
132
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-UpVCKZeW.js"), [], import.meta.url));
|
|
133
133
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
134
134
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
135
135
|
const exportModule = {};
|
|
@@ -143,7 +143,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
143
143
|
"./local-auth/admin/web": async () => {
|
|
144
144
|
await injectCssAssets("./local-auth/admin/web");
|
|
145
145
|
await Promise.all([]);
|
|
146
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
146
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-miDovYk_.js"), [], import.meta.url));
|
|
147
147
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
148
148
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
149
149
|
const exportModule = {};
|
|
@@ -157,7 +157,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
157
157
|
"./local-auth/admin/common": async () => {
|
|
158
158
|
await injectCssAssets("./local-auth/admin/common");
|
|
159
159
|
await Promise.all([]);
|
|
160
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
160
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CKl_XlvH.js"), [], import.meta.url));
|
|
161
161
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
162
162
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
163
163
|
const exportModule = {};
|
|
@@ -171,7 +171,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
171
171
|
"./placeholder-auth/core/web": async () => {
|
|
172
172
|
await injectCssAssets("./placeholder-auth/core/web");
|
|
173
173
|
await Promise.all([]);
|
|
174
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
174
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CDAKPPK9.js"), __vite__mapDeps([0]), import.meta.url));
|
|
175
175
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
176
176
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
177
177
|
const exportModule = {};
|
|
@@ -185,7 +185,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
185
185
|
"./placeholder-auth/core/common": async () => {
|
|
186
186
|
await injectCssAssets("./placeholder-auth/core/common");
|
|
187
187
|
await Promise.all([]);
|
|
188
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
188
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-iHaemino.js"), [], import.meta.url));
|
|
189
189
|
const dependencyPending = importModule && importModule.__mf_remote_dependency_pending;
|
|
190
190
|
if (dependencyPending && typeof dependencyPending.then === "function") await dependencyPending;
|
|
191
191
|
const exportModule = {};
|
|
@@ -200,4 +200,4 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
200
200
|
//#endregion
|
|
201
201
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as t };
|
|
202
202
|
|
|
203
|
-
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
203
|
+
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js.map
|
|
@@ -24,7 +24,11 @@ var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
24
24
|
}
|
|
25
25
|
function importMetaResolve(specifier) {
|
|
26
26
|
if (import.meta.resolve) return import.meta.resolve(specifier);
|
|
27
|
-
return new URL(
|
|
27
|
+
return new URL(
|
|
28
|
+
specifier,
|
|
29
|
+
/** #__KEEP__ */
|
|
30
|
+
import.meta.url
|
|
31
|
+
).href;
|
|
28
32
|
}
|
|
29
33
|
promise = allSettled(deps.map((dep) => {
|
|
30
34
|
dep = assetsURL(dep, importerUrl);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
2
|
-
import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
1
|
+
import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
2
|
+
import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
3
3
|
import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
|
|
4
4
|
//#region src/better-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_142({
|
|
@@ -43,4 +43,4 @@ var web_default = __mf_142({
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { web_default as default };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=web-
|
|
46
|
+
//# sourceMappingURL=web-1eTcxMhf.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as
|
|
3
|
-
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
5
|
-
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-
|
|
6
|
-
import "./auth-
|
|
7
|
-
import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-
|
|
1
|
+
import { $ as __mf_2, Q as __mf_1, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_34, m as __mf_177, p as __mf_176, r as __mf_116, v as __mf_181, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
|
|
2
|
+
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
3
|
+
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-yjbHBTlw.js";
|
|
5
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-kDCtXq_6.js";
|
|
6
|
+
import "./auth-BxAE0rgh.js";
|
|
7
|
+
import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-DOMmPL2Z.js";
|
|
8
8
|
//#region src/placeholder-auth/core/schema/models.ts
|
|
9
9
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
10
10
|
function createPlaceholderAuthPartialDefinition(authFeatureName) {
|
|
@@ -44,7 +44,7 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
|
|
|
44
44
|
const { definition, definitionContainer, saveDefinitionWithFeedback } = __mf_25();
|
|
45
45
|
const authDefinition = getAuthPluginDefinition(definition);
|
|
46
46
|
const authPluginDefinitionSchema = __mf_23(createPlaceholderAuthPluginDefinitionSchema);
|
|
47
|
-
const defaultValues =
|
|
47
|
+
const defaultValues = __mf_34(() => {
|
|
48
48
|
if (pluginMetadata?.config) return pluginMetadata.config;
|
|
49
49
|
return {};
|
|
50
50
|
}, [pluginMetadata?.config]);
|
|
@@ -55,8 +55,8 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
|
|
|
55
55
|
const { control, reset, handleSubmit } = form;
|
|
56
56
|
const authFeature = definition.features.find((f) => f.id === authDefinition.authFeatureRef);
|
|
57
57
|
if (!authFeature) throw new Error(`Auth feature not found for ref: ${authDefinition.authFeatureRef}`);
|
|
58
|
-
const partialDef =
|
|
59
|
-
const diff =
|
|
58
|
+
const partialDef = __mf_34(() => createPlaceholderAuthPartialDefinition(authFeature.name), [authFeature.name]);
|
|
59
|
+
const diff = __mf_34(() => __mf_167(definitionContainer.schema, definitionContainer.definition, partialDef), [definitionContainer, partialDef]);
|
|
60
60
|
const onSubmit = handleSubmit((data) => saveDefinitionWithFeedback((draftConfig) => {
|
|
61
61
|
const updatedData = { ...data };
|
|
62
62
|
__mf_55(definitionContainer, partialDef)(draftConfig);
|
|
@@ -82,7 +82,7 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
|
|
|
82
82
|
className: "auth:max-w-6xl auth:flex-1",
|
|
83
83
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
84
84
|
className: "auth:pb-16",
|
|
85
|
-
children: /* @__PURE__ */ __mf_1(
|
|
85
|
+
children: /* @__PURE__ */ __mf_1(__mf_176, { children: /* @__PURE__ */ __mf_2(__mf_177, { children: [/* @__PURE__ */ __mf_2(__mf_180, { children: [/* @__PURE__ */ __mf_1(__mf_181, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(__mf_179, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(__mf_178, {
|
|
86
86
|
className: "auth:space-y-6",
|
|
87
87
|
children: /* @__PURE__ */ __mf_1(__mf_0, {
|
|
88
88
|
diff,
|
|
@@ -103,7 +103,7 @@ var AUTH_FEATURE_NAME = "accounts/auth";
|
|
|
103
103
|
var web_default = __mf_142({
|
|
104
104
|
name: "web",
|
|
105
105
|
dependencies: {
|
|
106
|
-
webConfig:
|
|
106
|
+
webConfig: __mf_263,
|
|
107
107
|
pluginDefaults: __mf_233
|
|
108
108
|
},
|
|
109
109
|
initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
|
|
@@ -120,4 +120,4 @@ var web_default = __mf_142({
|
|
|
120
120
|
//#endregion
|
|
121
121
|
export { web_default as default };
|
|
122
122
|
|
|
123
|
-
//# sourceMappingURL=web-
|
|
123
|
+
//# sourceMappingURL=web-CDAKPPK9.js.map
|