@ctonti/ask-golf-veneto 1.0.1 → 1.0.2
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/{app-0PjpnX92.d.mts → app-DRsYYNT9.d.mts} +1 -1
- package/dist/{app-DzCpb5z9.d.cts.map → app-DRsYYNT9.d.mts.map} +1 -1
- package/dist/browser.d.ts +5599 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +70787 -0
- package/dist/browser.js.map +1 -0
- package/dist/exports/client.d.mts +1 -1
- package/dist/index.d.mts +8 -3
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/app-0PjpnX92.d.mts.map +0 -1
- package/dist/app-Daoze0po.cjs +0 -189
- package/dist/app-DzCpb5z9.d.cts +0 -16
- package/dist/catalog-englM86y.cjs +0 -362
- package/dist/exports/browser.cjs +0 -3
- package/dist/exports/browser.d.cts +0 -2
- package/dist/exports/browser.d.mts +0 -2
- package/dist/exports/browser.mjs +0 -2
- package/dist/exports/catalog.cjs +0 -5
- package/dist/exports/catalog.d.cts +0 -676
- package/dist/exports/catalog.d.cts.map +0 -1
- package/dist/exports/client.cjs +0 -10
- package/dist/exports/client.d.cts +0 -48
- package/dist/exports/client.d.cts.map +0 -1
- package/dist/exports/registry.cjs +0 -6
- package/dist/exports/registry.d.cts +0 -12
- package/dist/exports/registry.d.cts.map +0 -1
- package/dist/index.cjs +0 -6
- package/dist/index.d.cts +0 -3
- package/dist/plugin-B0vGrWcM.d.cts +0 -7
- package/dist/plugin-B0vGrWcM.d.cts.map +0 -1
- package/dist/plugin-BdhObzU8.cjs +0 -14
- package/dist/plugin-DYfnXStA.mjs +0 -11
- package/dist/plugin-DYfnXStA.mjs.map +0 -1
- package/dist/plugin-X9b5Ujac.d.mts +0 -7
- package/dist/plugin-X9b5Ujac.d.mts.map +0 -1
- package/dist/registry-E8Of7gsT.cjs +0 -1261
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { n as AppProps, r as Chat, t as App } from "../app-DzCpb5z9.cjs";
|
|
2
|
-
import { Spec } from "@json-render/core";
|
|
3
|
-
import * as _$react from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/intro.d.ts
|
|
6
|
-
declare function Intro(): _$react.JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/main.d.ts
|
|
9
|
-
declare function Main(): _$react.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/components/preview.d.ts
|
|
12
|
-
declare function Preview({
|
|
13
|
-
spec
|
|
14
|
-
}: {
|
|
15
|
-
spec?: Spec | null;
|
|
16
|
-
}): _$react.JSX.Element;
|
|
17
|
-
declare function PreviewRenderer({
|
|
18
|
-
spec,
|
|
19
|
-
className
|
|
20
|
-
}: {
|
|
21
|
-
spec?: Spec | null;
|
|
22
|
-
className?: string;
|
|
23
|
-
}): _$react.JSX.Element;
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/components/renderer.d.ts
|
|
26
|
-
declare function Renderer({
|
|
27
|
-
spec,
|
|
28
|
-
isStreaming,
|
|
29
|
-
mounted
|
|
30
|
-
}: {
|
|
31
|
-
spec?: Spec | null;
|
|
32
|
-
isStreaming?: boolean;
|
|
33
|
-
mounted?: boolean;
|
|
34
|
-
}): _$react.JSX.Element | undefined;
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components.d.ts
|
|
37
|
-
declare const COMPONENTS: {
|
|
38
|
-
App: (props: AppProps) => _$react.JSX.Element;
|
|
39
|
-
Chat: typeof Chat;
|
|
40
|
-
Intro: typeof Intro;
|
|
41
|
-
Main: typeof Main;
|
|
42
|
-
Preview: typeof Preview;
|
|
43
|
-
Renderer: typeof Renderer;
|
|
44
|
-
};
|
|
45
|
-
type Components = typeof COMPONENTS;
|
|
46
|
-
//#endregion
|
|
47
|
-
export { App, AppProps, COMPONENTS, Chat, Components, Main, Preview, PreviewRenderer, Renderer };
|
|
48
|
-
//# sourceMappingURL=client.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.cts","names":[],"sources":["../../src/components/intro.tsx","../../src/components/main.tsx","../../src/components/preview.tsx","../../src/components/renderer.tsx","../../src/components.ts"],"mappings":";;;;;iBAKgB,KAAA,CAAA,GAAK,OAAA,CAAA,GAAA,CAAA,OAAA;;;iBCAL,IAAA,CAAA,GAAI,OAAA,CAAA,GAAA,CAAA,OAAA;;;iBCIJ,OAAA,CAAA;EAAU;AAAA;EAAU,IAAA,GAAO,IAAA;AAAA,IAAa,OAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBASxC,eAAA,CAAA;EACd,IAAA;EACA;AAAA;EAEA,IAAA,GAAO,IAAA;EACP,SAAA;AAAA,IACD,OAAA,CAAA,GAAA,CAAA,OAAA;;;iBCTe,QAAA,CAAA;EACd,IAAA;EACA,WAAA;EACA;AAAA;EAEA,IAAA,GAAO,IAAA;EACP,WAAA;EACA,OAAA;AAAA,IACD,OAAA,CAAA,GAAA,CAAA,OAAA;;;cCdY,UAAA;eAOZ,QAAA;;;;;;;KAEW,UAAA,UAAoB,UAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_registry = require("../registry-E8Of7gsT.cjs");
|
|
3
|
-
exports.executeAction = require_registry.executeAction;
|
|
4
|
-
exports.handlers = require_registry.handlers;
|
|
5
|
-
exports.registry = require_registry.registry;
|
|
6
|
-
exports.renderPreview = require_registry.renderPreview;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as _$_json_render_core0 from "@json-render/core";
|
|
2
|
-
import * as _$_json_render_react0 from "@json-render/react";
|
|
3
|
-
|
|
4
|
-
//#region src/registry.d.ts
|
|
5
|
-
declare const registry: _$_json_render_react0.ComponentRegistry, handlers: (getSetState: () => _$_json_render_react0.SetState | undefined, getState: () => _$_json_render_core0.StateModel) => Record<string, (params: Record<string, unknown>) => Promise<void>>, executeAction: (actionName: string, params: Record<string, unknown> | undefined, setState: _$_json_render_react0.SetState, state?: _$_json_render_core0.StateModel) => Promise<void>;
|
|
6
|
-
/**
|
|
7
|
-
* Render a single component to static HTML for layout builder previews.
|
|
8
|
-
*/
|
|
9
|
-
declare function renderPreview(componentName: string, props: Record<string, unknown>): string | null;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { executeAction, handlers, registry, renderPreview };
|
|
12
|
-
//# sourceMappingURL=registry.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.cts","names":[],"sources":["../../src/registry.ts"],"mappings":";;;;cA6Be,QAAA,EAAQ,qBAAA,CAAA,iBAAA,EAAA,QAAA,GAAU,WAAA,QAAV,qBAAA,CAAU,QAAA,cAAA,QAAA,QAAA,oBAAA,CAAA,UAAA,KAAA,MAAA,UAAA,MAAA,EAAA,MAAA,sBAAA,OAAA,SAAA,aAAA,GAAe,UAAA,UAAA,MAAA,EAAA,MAAA,+BAAA,QAAA,EAAA,qBAAA,CAAA,QAAA,EAAA,KAAA,GAAA,oBAAA,CAAA,UAAA,KAAA,OAAA;;;;iBAuChC,aAAA,CACd,aAAA,UACA,KAAA,EAAO,MAAA"}
|
package/dist/index.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_app = require("./app-Daoze0po.cjs");
|
|
3
|
-
const require_plugin = require("./plugin-BdhObzU8.cjs");
|
|
4
|
-
exports.App = require_app.App;
|
|
5
|
-
exports.Chat = require_app.Chat;
|
|
6
|
-
exports.askGolfVeneto = require_plugin.askGolfVeneto;
|
package/dist/index.d.cts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as _$_websolutespa_ask_plugin0 from "@websolutespa/ask-plugin";
|
|
2
|
-
|
|
3
|
-
//#region src/plugin.d.ts
|
|
4
|
-
declare const askGolfVeneto: (props: _$_websolutespa_ask_plugin0.PluginOptions) => _$_websolutespa_ask_plugin0.PluginInstance | undefined;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { askGolfVeneto as t };
|
|
7
|
-
//# sourceMappingURL=plugin-B0vGrWcM.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-B0vGrWcM.d.cts","names":[],"sources":["../src/plugin.tsx"],"mappings":";;;cAOa,aAAA,GAAa,KAAA,EAGxB,2BAAA,CAHwB,aAAA,KAAA,2BAAA,CAAA,cAAA"}
|
package/dist/plugin-BdhObzU8.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
require("./registry-E8Of7gsT.cjs");
|
|
2
|
-
const require_app = require("./app-Daoze0po.cjs");
|
|
3
|
-
//#region src/plugin.tsx
|
|
4
|
-
const askGolfVeneto = (0, require("@websolutespa/ask-plugin").initializeAskPlugin)({
|
|
5
|
-
globalName: "askGolfVeneto",
|
|
6
|
-
App: require_app.App
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
9
|
-
Object.defineProperty(exports, "askGolfVeneto", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function() {
|
|
12
|
-
return askGolfVeneto;
|
|
13
|
-
}
|
|
14
|
-
});
|
package/dist/plugin-DYfnXStA.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { t as App } from "./app-DWg095Qd.mjs";
|
|
2
|
-
import { initializeAskPlugin } from "@websolutespa/ask-plugin";
|
|
3
|
-
//#region src/plugin.tsx
|
|
4
|
-
const askGolfVeneto = initializeAskPlugin({
|
|
5
|
-
globalName: "askGolfVeneto",
|
|
6
|
-
App
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
9
|
-
export { askGolfVeneto as t };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=plugin-DYfnXStA.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-DYfnXStA.mjs","names":[],"sources":["../src/plugin.tsx"],"sourcesContent":["'use client';\n\nimport { initializeAskPlugin } from '@websolutespa/ask-plugin';\nimport { App } from './components/app';\n\n// The globalName MUST equal the unscoped package name in camelCase.\n// Package \"@ctonti/ask-golf-veneto\" -> globalName \"askGolfVeneto\", tag \"<ask-golf-veneto>\".\nexport const askGolfVeneto = initializeAskPlugin({\n globalName: 'askGolfVeneto',\n App,\n});\n"],"mappings":";;;AAOA,MAAa,gBAAgB,oBAAoB;CAC/C,YAAY;CACZ;CACD,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as _$_websolutespa_ask_plugin0 from "@websolutespa/ask-plugin";
|
|
2
|
-
|
|
3
|
-
//#region src/plugin.d.ts
|
|
4
|
-
declare const askGolfVeneto: (props: _$_websolutespa_ask_plugin0.PluginOptions) => _$_websolutespa_ask_plugin0.PluginInstance | undefined;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { askGolfVeneto as t };
|
|
7
|
-
//# sourceMappingURL=plugin-X9b5Ujac.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-X9b5Ujac.d.mts","names":[],"sources":["../src/plugin.tsx"],"mappings":";;;cAOa,aAAA,GAAa,KAAA,EAGxB,2BAAA,CAHwB,aAAA,KAAA,2BAAA,CAAA,cAAA"}
|