@pontive/pontkit-vue 1.15.2 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/elements.generated.ts","../src/index.ts"],"sourcesContent":["// GENERATED by tools/gen-wrappers — do not edit.\n//\n// Source: @pontive/pontkit-core@1.
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/elements.generated.ts","../src/index.ts"],"sourcesContent":["// GENERATED by tools/gen-wrappers — do not edit.\n//\n// Source: @pontive/pontkit-core@1.75.0 custom-elements.json.\nimport type {\n Provider as PontProviderElement,\n SignedIn as PontSignedInElement,\n SignedOut as PontSignedOutElement,\n SignIn as PontSigninElement,\n SignUp as PontSignupElement,\n Invitation as PontInvitationElement,\n Consent as PontConsentElement,\n AccountMenu as PontAccountMenuElement,\n OrganizationSwitcher as PontOrganizationSwitcherElement,\n AccountSettings as PontAccountSettingsElement,\n MemberManagement as PontMemberManagementElement,\n Checkout as PontCheckoutElement,\n BillingPortal as PontBillingPortalElement,\n} from \"@pontive/pontkit-core\";\n\ndeclare module \"vue\" {\n export interface GlobalComponents {\n \"pont-provider\": typeof PontProviderElement;\n \"pont-signed-in\": typeof PontSignedInElement;\n \"pont-signed-out\": typeof PontSignedOutElement;\n \"pont-signin\": typeof PontSigninElement;\n \"pont-signup\": typeof PontSignupElement;\n \"pont-invitation\": typeof PontInvitationElement;\n \"pont-consent\": typeof PontConsentElement;\n \"pont-account-menu\": typeof PontAccountMenuElement;\n \"pont-organization-switcher\": typeof PontOrganizationSwitcherElement;\n \"pont-account-settings\": typeof PontAccountSettingsElement;\n \"pont-member-management\": typeof PontMemberManagementElement;\n \"pont-checkout\": typeof PontCheckoutElement;\n \"pont-billing-portal\": typeof PontBillingPortalElement;\n }\n}\n\n/** The app-facing tags. Vue leaves every `pont-*` tag alone, not only these. */\nexport const PONT_ELEMENTS = [\n \"pont-provider\",\n \"pont-signed-in\",\n \"pont-signed-out\",\n \"pont-signin\",\n \"pont-signup\",\n \"pont-invitation\",\n \"pont-consent\",\n \"pont-account-menu\",\n \"pont-organization-switcher\",\n \"pont-account-settings\",\n \"pont-member-management\",\n \"pont-checkout\",\n \"pont-billing-portal\",\n] as const;\n\n/** The tag prefix every PontKit element carries. */\nexport const PONT_PREFIX = \"pont-\";\n\nexport {};\n","/**\n * Vue bindings for PontKit.\n *\n * There are no wrapper components here, and that is the point: `pont-*` are\n * custom elements, so a Vue template mounts them directly once the compiler is\n * told not to resolve them as Vue components. What this package supplies is\n * the plugin that starts the CDN load, and the generated types that make\n * `<pont-signin>` resolve in a .vue file. The one thing a Vue app does that the\n * React binding does for it is inject the SDK into the provider:\n * `providerEl.sdk = Auth`, from `@pontive/oidc-client` (pontkit-core\n * docs/kit/provider.md).\n *\n * The React package needs wrappers because React's DOM handling does not: it\n * passes non-primitive props as attributes and does not listen for custom\n * events. Vue does both natively.\n */\nimport type { App, Plugin } from \"vue\";\nimport { loadWebComponents } from \"@pontive/pontkit-loader\";\nimport { PONT_PREFIX } from \"./elements.generated\";\n\nexport { PONT_ELEMENTS, PONT_PREFIX } from \"./elements.generated\";\n\n/**\n * True for every PontKit tag (`pont-*`): the app-facing ones in PONT_ELEMENTS,\n * and the primitives and render-spec elements they contain.\n *\n * A prefix rather than a list, because a template may hold any of them (a\n * render spec, `pont-signed-in`) and a tag Vue tries to resolve as a component\n * only warns at runtime.\n *\n * app.config.compilerOptions.isCustomElement = isPontElement;\n */\nexport function isPontElement(tag: string): boolean {\n return tag.startsWith(PONT_PREFIX);\n}\n\nexport const PontKit: Plugin = {\n install(_app: App) {\n // Fire-and-forget, like the React entry. A server render has no CDN to\n // reach and loadWebComponents() returns null there rather than rejecting.\n void loadWebComponents();\n },\n};\n\nexport default PontKit;\n"],"names":["PONT_ELEMENTS","PONT_PREFIX","isPontElement","tag","PontKit","_app","loadWebComponents"],"mappings":"uJAsCaA,EAAgB,CAC3B,gBACA,iBACA,kBACA,cACA,cACA,kBACA,eACA,oBACA,6BACA,wBACA,yBACA,gBACA,qBACF,EAGaC,EAAc,QCvBpB,SAASC,EAAcC,EAAsB,CAClD,OAAOA,EAAI,WAAWF,CAAW,CACnC,CAEO,MAAMG,EAAkB,CAC7B,QAAQC,EAAW,CAGZC,oBAAA,CACP,CACF"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/elements.generated.ts","../src/index.ts"],"sourcesContent":["// GENERATED by tools/gen-wrappers — do not edit.\n//\n// Source: @pontive/pontkit-core@1.
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/elements.generated.ts","../src/index.ts"],"sourcesContent":["// GENERATED by tools/gen-wrappers — do not edit.\n//\n// Source: @pontive/pontkit-core@1.75.0 custom-elements.json.\nimport type {\n Provider as PontProviderElement,\n SignedIn as PontSignedInElement,\n SignedOut as PontSignedOutElement,\n SignIn as PontSigninElement,\n SignUp as PontSignupElement,\n Invitation as PontInvitationElement,\n Consent as PontConsentElement,\n AccountMenu as PontAccountMenuElement,\n OrganizationSwitcher as PontOrganizationSwitcherElement,\n AccountSettings as PontAccountSettingsElement,\n MemberManagement as PontMemberManagementElement,\n Checkout as PontCheckoutElement,\n BillingPortal as PontBillingPortalElement,\n} from \"@pontive/pontkit-core\";\n\ndeclare module \"vue\" {\n export interface GlobalComponents {\n \"pont-provider\": typeof PontProviderElement;\n \"pont-signed-in\": typeof PontSignedInElement;\n \"pont-signed-out\": typeof PontSignedOutElement;\n \"pont-signin\": typeof PontSigninElement;\n \"pont-signup\": typeof PontSignupElement;\n \"pont-invitation\": typeof PontInvitationElement;\n \"pont-consent\": typeof PontConsentElement;\n \"pont-account-menu\": typeof PontAccountMenuElement;\n \"pont-organization-switcher\": typeof PontOrganizationSwitcherElement;\n \"pont-account-settings\": typeof PontAccountSettingsElement;\n \"pont-member-management\": typeof PontMemberManagementElement;\n \"pont-checkout\": typeof PontCheckoutElement;\n \"pont-billing-portal\": typeof PontBillingPortalElement;\n }\n}\n\n/** The app-facing tags. Vue leaves every `pont-*` tag alone, not only these. */\nexport const PONT_ELEMENTS = [\n \"pont-provider\",\n \"pont-signed-in\",\n \"pont-signed-out\",\n \"pont-signin\",\n \"pont-signup\",\n \"pont-invitation\",\n \"pont-consent\",\n \"pont-account-menu\",\n \"pont-organization-switcher\",\n \"pont-account-settings\",\n \"pont-member-management\",\n \"pont-checkout\",\n \"pont-billing-portal\",\n] as const;\n\n/** The tag prefix every PontKit element carries. */\nexport const PONT_PREFIX = \"pont-\";\n\nexport {};\n","/**\n * Vue bindings for PontKit.\n *\n * There are no wrapper components here, and that is the point: `pont-*` are\n * custom elements, so a Vue template mounts them directly once the compiler is\n * told not to resolve them as Vue components. What this package supplies is\n * the plugin that starts the CDN load, and the generated types that make\n * `<pont-signin>` resolve in a .vue file. The one thing a Vue app does that the\n * React binding does for it is inject the SDK into the provider:\n * `providerEl.sdk = Auth`, from `@pontive/oidc-client` (pontkit-core\n * docs/kit/provider.md).\n *\n * The React package needs wrappers because React's DOM handling does not: it\n * passes non-primitive props as attributes and does not listen for custom\n * events. Vue does both natively.\n */\nimport type { App, Plugin } from \"vue\";\nimport { loadWebComponents } from \"@pontive/pontkit-loader\";\nimport { PONT_PREFIX } from \"./elements.generated\";\n\nexport { PONT_ELEMENTS, PONT_PREFIX } from \"./elements.generated\";\n\n/**\n * True for every PontKit tag (`pont-*`): the app-facing ones in PONT_ELEMENTS,\n * and the primitives and render-spec elements they contain.\n *\n * A prefix rather than a list, because a template may hold any of them (a\n * render spec, `pont-signed-in`) and a tag Vue tries to resolve as a component\n * only warns at runtime.\n *\n * app.config.compilerOptions.isCustomElement = isPontElement;\n */\nexport function isPontElement(tag: string): boolean {\n return tag.startsWith(PONT_PREFIX);\n}\n\nexport const PontKit: Plugin = {\n install(_app: App) {\n // Fire-and-forget, like the React entry. A server render has no CDN to\n // reach and loadWebComponents() returns null there rather than rejecting.\n void loadWebComponents();\n },\n};\n\nexport default PontKit;\n"],"names":["PONT_ELEMENTS","PONT_PREFIX","isPontElement","tag","PontKit","_app","loadWebComponents"],"mappings":";AAsCO,MAAMA,IAAgB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAGaC,IAAc;ACvBpB,SAASC,EAAcC,GAAsB;AAClD,SAAOA,EAAI,WAAWF,CAAW;AACnC;AAEO,MAAMG,IAAkB;AAAA,EAC7B,QAAQC,GAAW;AAGjB,IAAKC,EAAA;AAAA,EACP;AACF;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pontive/pontkit-vue",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue bindings for PontKit: the loader plugin and the element types.",
|
|
6
6
|
"type": "module",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"vue": "^3.4"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pontive/pontkit-loader": "^1.15.
|
|
30
|
+
"@pontive/pontkit-loader": "^1.15.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@pontive/pontkit-core": "1.
|
|
33
|
+
"@pontive/pontkit-core": "1.75.0",
|
|
34
34
|
"vue": "^3.5.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|