@syntrologie/adapt-feedback 2.8.0-canary.239

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.
@@ -0,0 +1,47 @@
1
+ import { LitElement } from 'lit';
2
+ import './rendering/ChoiceInput.js';
3
+ import './rendering/EndScreen.js';
4
+ import './rendering/NpsInput.js';
5
+ import './rendering/RatingInput.js';
6
+ import './rendering/TextInput.js';
7
+ import './rendering/ThumbsInput.js';
8
+ import type { FeedbackConfig, FeedbackWidgetRuntime } from './types.js';
9
+ export declare class SyntroFeedbackElement extends LitElement {
10
+ static properties: {
11
+ config: {
12
+ attribute: boolean;
13
+ };
14
+ runtime: {
15
+ attribute: boolean;
16
+ };
17
+ tileId: {
18
+ type: StringConstructor;
19
+ };
20
+ _engine: {
21
+ state: boolean;
22
+ };
23
+ _direction: {
24
+ state: boolean;
25
+ };
26
+ };
27
+ static styles: import("lit").CSSResult;
28
+ config: FeedbackConfig | undefined;
29
+ runtime: FeedbackWidgetRuntime | undefined;
30
+ tileId: string;
31
+ private _engine;
32
+ private _direction;
33
+ willUpdate(changed: Map<string, unknown>): void;
34
+ private _onAnswer;
35
+ private _goBack;
36
+ private _renderStepInput;
37
+ render(): import("lit-html").TemplateResult<1>;
38
+ }
39
+ export interface FeedbackMountConfig {
40
+ config: FeedbackConfig;
41
+ runtime?: FeedbackWidgetRuntime;
42
+ tileId?: string;
43
+ }
44
+ export declare const FeedbackWidgetLitMountable: {
45
+ mount(container: HTMLElement, mountConfig?: Record<string, unknown>): () => void;
46
+ };
47
+ //# sourceMappingURL=FeedbackWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackWidget.d.ts","sourceRoot":"","sources":["../src/FeedbackWidget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,MAAM,KAAK,CAAC;AAGrD,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,OAAO,yBAAyB,CAAC;AACjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAc,MAAM,YAAY,CAAC;AAEpF,qBAAa,qBAAsB,SAAQ,UAAU;IACnD,OAAgB,UAAU;;;;;;;;;;;;;;;;MAMxB;IAEF,OAAgB,MAAM,0BAwFpB;IAEF,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IACnC,OAAO,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAqB;IAEnC,OAAO,CAAC,OAAO,CAAyB;IACxC,OAAO,CAAC,UAAU,CAAiC;IAE1C,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAUjD,OAAO,CAAC,SAAS,CA4Bf;IAEF,OAAO,CAAC,OAAO,CAQb;IAEF,OAAO,CAAC,gBAAgB;IAgDf,MAAM;CAuDhB;AAID,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,0BAA0B;qBACpB,WAAW,gBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAqDpE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import {
2
+ FeedbackWidgetLitMountable,
3
+ SyntroFeedbackElement
4
+ } from "./chunk-3TUS6XVJ.js";
5
+ export {
6
+ FeedbackWidgetLitMountable,
7
+ SyntroFeedbackElement
8
+ };
9
+ //# sourceMappingURL=FeedbackWidget.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/dist/cdn.d.ts ADDED
@@ -0,0 +1,43 @@
1
+ import { FeedbackEditorLit } from './editor-lit.js';
2
+ export declare const manifest: {
3
+ id: string;
4
+ version: string;
5
+ name: string;
6
+ description: string;
7
+ runtime: {
8
+ actions: never[];
9
+ widgets: {
10
+ id: string;
11
+ component: {
12
+ mount(container: HTMLElement, mountConfig?: Record<string, unknown>): () => void;
13
+ };
14
+ metadata: {
15
+ name: string;
16
+ description: string;
17
+ icon: string;
18
+ };
19
+ }[];
20
+ };
21
+ editor: {
22
+ component: typeof FeedbackEditorLit;
23
+ panel: {
24
+ title: string;
25
+ icon: string;
26
+ description: string;
27
+ };
28
+ };
29
+ metadata: {
30
+ isBuiltIn: boolean;
31
+ };
32
+ };
33
+ declare global {
34
+ interface Window {
35
+ SynOS?: {
36
+ appRegistry?: {
37
+ register?: (m: unknown) => void;
38
+ };
39
+ };
40
+ }
41
+ }
42
+ export default manifest;
43
+ //# sourceMappingURL=cdn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBpB,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,KAAK,CAAC,EAAE;YACN,WAAW,CAAC,EAAE;gBACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;aACjC,CAAC;SACH,CAAC;KACH;CACF;AASD,eAAe,QAAQ,CAAC"}