@pontive/pontkit-vue 1.0.1 → 1.1.0
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/elements.generated.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PontProvider, PreviewComponent, PontKitLayout, PontSignIn, PontSignUp, PontAccountSettings, PontMemberManagement,
|
|
1
|
+
import { PontProvider, PreviewComponent, PontKitLayout, PontSignIn, PontSignUp, PontAccountSettings, PontMemberManagement, PontAccountMenu, PontAccountInfo, PontLocationInfo, PontUrlsInfo, PontPersonalInfo } from '@pontive/pontkit-core';
|
|
2
2
|
declare module "vue" {
|
|
3
3
|
interface GlobalComponents {
|
|
4
4
|
"pont-provider": typeof PontProvider;
|
|
@@ -8,7 +8,7 @@ declare module "vue" {
|
|
|
8
8
|
"pont-signup": typeof PontSignUp;
|
|
9
9
|
"pont-account-settings": typeof PontAccountSettings;
|
|
10
10
|
"pont-member-management": typeof PontMemberManagement;
|
|
11
|
-
"pont-
|
|
11
|
+
"pont-account-menu": typeof PontAccountMenu;
|
|
12
12
|
"pont-account-info": typeof PontAccountInfo;
|
|
13
13
|
"pont-location-info": typeof PontLocationInfo;
|
|
14
14
|
"pont-urls-info": typeof PontUrlsInfo;
|
|
@@ -16,5 +16,5 @@ declare module "vue" {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
/** Tags Vue must leave alone rather than resolve as components. */
|
|
19
|
-
export declare const PONT_ELEMENTS: readonly ["pont-provider", "pont-preview", "pont-layout", "pont-signin", "pont-signup", "pont-account-settings", "pont-member-management", "pont-
|
|
19
|
+
export declare const PONT_ELEMENTS: readonly ["pont-provider", "pont-preview", "pont-layout", "pont-signin", "pont-signup", "pont-account-settings", "pont-member-management", "pont-account-menu", "pont-account-info", "pont-location-info", "pont-urls-info", "pont-personal-info"];
|
|
20
20
|
export {};
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@pontive/pontkit-loader"),t=["pont-provider","pont-preview","pont-layout","pont-signin","pont-signup","pont-account-settings","pont-member-management","pont-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@pontive/pontkit-loader"),t=["pont-provider","pont-preview","pont-layout","pont-signin","pont-signup","pont-account-settings","pont-member-management","pont-account-menu","pont-account-info","pont-location-info","pont-urls-info","pont-personal-info"];function i(n){return t.includes(n)}const o={install(n){e.loadWebComponents()}};exports.PONT_ELEMENTS=t;exports.PontKit=o;exports.default=o;exports.isPontElement=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
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.
|
|
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.4 custom-elements.json.\nimport type {\n PontProvider,\n PreviewComponent,\n PontKitLayout,\n PontSignIn,\n PontSignUp,\n PontAccountSettings,\n PontMemberManagement,\n PontAccountMenu,\n PontAccountInfo,\n PontLocationInfo,\n PontUrlsInfo,\n PontPersonalInfo,\n} from \"@pontive/pontkit-core\";\n\ndeclare module \"vue\" {\n export interface GlobalComponents {\n \"pont-provider\": typeof PontProvider;\n \"pont-preview\": typeof PreviewComponent;\n \"pont-layout\": typeof PontKitLayout;\n \"pont-signin\": typeof PontSignIn;\n \"pont-signup\": typeof PontSignUp;\n \"pont-account-settings\": typeof PontAccountSettings;\n \"pont-member-management\": typeof PontMemberManagement;\n \"pont-account-menu\": typeof PontAccountMenu;\n \"pont-account-info\": typeof PontAccountInfo;\n \"pont-location-info\": typeof PontLocationInfo;\n \"pont-urls-info\": typeof PontUrlsInfo;\n \"pont-personal-info\": typeof PontPersonalInfo;\n }\n}\n\n/** Tags Vue must leave alone rather than resolve as components. */\nexport const PONT_ELEMENTS = [\n \"pont-provider\",\n \"pont-preview\",\n \"pont-layout\",\n \"pont-signin\",\n \"pont-signup\",\n \"pont-account-settings\",\n \"pont-member-management\",\n \"pont-account-menu\",\n \"pont-account-info\",\n \"pont-location-info\",\n \"pont-urls-info\",\n \"pont-personal-info\",\n] as const;\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 the\n * plugin that starts the CDN load, and the generated types that make\n * `<pont-signin>` resolve in a .vue file.\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\";\n\nexport { PONT_ELEMENTS } from \"./elements.generated\";\nimport { PONT_ELEMENTS } from \"./elements.generated\";\n\n/** True for the tags Vue must leave to the browser. */\nexport function isPontElement(tag: string): boolean {\n return (PONT_ELEMENTS as readonly string[]).includes(tag);\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","isPontElement","tag","PontKit","_app","loadWebComponents"],"mappings":"uJAoCaA,EAAgB,CAC3B,gBACA,eACA,cACA,cACA,cACA,wBACA,yBACA,oBACA,oBACA,qBACA,iBACA,oBACF,EC7BO,SAASC,EAAcC,EAAsB,CAClD,OAAQF,EAAoC,SAASE,CAAG,CAC1D,CAEO,MAAMC,EAAkB,CAC7B,QAAQC,EAAW,CAGZC,oBAAA,CACP,CACF"}
|
package/dist/index.js
CHANGED
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.
|
|
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.4 custom-elements.json.\nimport type {\n PontProvider,\n PreviewComponent,\n PontKitLayout,\n PontSignIn,\n PontSignUp,\n PontAccountSettings,\n PontMemberManagement,\n PontAccountMenu,\n PontAccountInfo,\n PontLocationInfo,\n PontUrlsInfo,\n PontPersonalInfo,\n} from \"@pontive/pontkit-core\";\n\ndeclare module \"vue\" {\n export interface GlobalComponents {\n \"pont-provider\": typeof PontProvider;\n \"pont-preview\": typeof PreviewComponent;\n \"pont-layout\": typeof PontKitLayout;\n \"pont-signin\": typeof PontSignIn;\n \"pont-signup\": typeof PontSignUp;\n \"pont-account-settings\": typeof PontAccountSettings;\n \"pont-member-management\": typeof PontMemberManagement;\n \"pont-account-menu\": typeof PontAccountMenu;\n \"pont-account-info\": typeof PontAccountInfo;\n \"pont-location-info\": typeof PontLocationInfo;\n \"pont-urls-info\": typeof PontUrlsInfo;\n \"pont-personal-info\": typeof PontPersonalInfo;\n }\n}\n\n/** Tags Vue must leave alone rather than resolve as components. */\nexport const PONT_ELEMENTS = [\n \"pont-provider\",\n \"pont-preview\",\n \"pont-layout\",\n \"pont-signin\",\n \"pont-signup\",\n \"pont-account-settings\",\n \"pont-member-management\",\n \"pont-account-menu\",\n \"pont-account-info\",\n \"pont-location-info\",\n \"pont-urls-info\",\n \"pont-personal-info\",\n] as const;\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 the\n * plugin that starts the CDN load, and the generated types that make\n * `<pont-signin>` resolve in a .vue file.\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\";\n\nexport { PONT_ELEMENTS } from \"./elements.generated\";\nimport { PONT_ELEMENTS } from \"./elements.generated\";\n\n/** True for the tags Vue must leave to the browser. */\nexport function isPontElement(tag: string): boolean {\n return (PONT_ELEMENTS as readonly string[]).includes(tag);\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","isPontElement","tag","PontKit","_app","loadWebComponents"],"mappings":";AAoCO,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;AACF;AC7BO,SAASC,EAAcC,GAAsB;AAClD,SAAQF,EAAoC,SAASE,CAAG;AAC1D;AAEO,MAAMC,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.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue bindings for PontKit: the loader plugin and the element types.",
|
|
6
6
|
"type": "module",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"vue": "^3.4"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@pontive/pontkit-loader": "^1.0
|
|
29
|
+
"@pontive/pontkit-loader": "^1.1.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@pontive/pontkit-core": "1.1.
|
|
32
|
+
"@pontive/pontkit-core": "1.1.4",
|
|
33
33
|
"vue": "^3.5.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|