@fayz-ai/plugin-forms 0.14.7 → 0.15.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/{FormBuilder-EI7ILXQW.js → FormBuilder-Q2Q42HAT.js} +44 -35
- package/dist/FormBuilder-Q2Q42HAT.js.map +1 -0
- package/dist/{chunk-ANOY2YYX.js → chunk-JRR7A5HN.js} +59 -42
- package/dist/chunk-JRR7A5HN.js.map +1 -0
- package/dist/components/BuilderCanvas.d.ts +1 -1
- package/dist/components/BuilderCanvas.d.ts.map +1 -1
- package/dist/components/BuilderField.d.ts +1 -1
- package/dist/components/BuilderField.d.ts.map +1 -1
- package/dist/components/DocumentFormDialog.d.ts +6 -5
- package/dist/components/DocumentFormDialog.d.ts.map +1 -1
- package/dist/components/DocumentList.d.ts +5 -5
- package/dist/components/DocumentList.d.ts.map +1 -1
- package/dist/components/DocumentPreview.d.ts +3 -3
- package/dist/components/DocumentPreview.d.ts.map +1 -1
- package/dist/components/FieldConfigDialog.d.ts +1 -1
- package/dist/components/FieldConfigDialog.d.ts.map +1 -1
- package/dist/components/FieldPalette.d.ts +1 -1
- package/dist/components/FieldPalette.d.ts.map +1 -1
- package/dist/components/FormBuilder.d.ts +4 -4
- package/dist/components/FormBuilder.d.ts.map +1 -1
- package/dist/components/FormFillDialog.d.ts +9 -32
- package/dist/components/FormFillDialog.d.ts.map +1 -1
- package/dist/components/FormRenderer.d.ts +1 -1
- package/dist/components/FormRenderer.d.ts.map +1 -1
- package/dist/components/FormViewer.d.ts +3 -3
- package/dist/components/FormViewer.d.ts.map +1 -1
- package/dist/components/PersonAnswerAlerts.d.ts +2 -2
- package/dist/components/PersonAnswerAlerts.d.ts.map +1 -1
- package/dist/components/PersonDocumentsWidget.d.ts +4 -4
- package/dist/components/PersonDocumentsWidget.d.ts.map +1 -1
- package/dist/components/PersonFormsAlert.d.ts +7 -41
- package/dist/components/PersonFormsAlert.d.ts.map +1 -1
- package/dist/components/TemplateSelector.d.ts +3 -3
- package/dist/components/TemplateSelector.d.ts.map +1 -1
- package/dist/components/fields/FieldTypeSettings.d.ts +1 -1
- package/dist/components/fields/FieldTypeSettings.d.ts.map +1 -1
- package/dist/components/fields/StencilCamera.d.ts.map +1 -1
- package/dist/components/fields/fields.d.ts +3 -7
- package/dist/components/fields/fields.d.ts.map +1 -1
- package/dist/components/fields/media.d.ts +1 -1
- package/dist/components/fields/media.d.ts.map +1 -1
- package/dist/components/formsZoneWidgets.d.ts +5 -0
- package/dist/components/formsZoneWidgets.d.ts.map +1 -0
- package/dist/config.d.ts +2 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/context.d.ts +4 -4
- package/dist/context.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +382 -1099
- package/dist/index.js.map +1 -1
- package/dist/lib/attendance-contracts.d.ts.map +1 -1
- package/dist/lib/categories.d.ts +2 -2
- package/dist/lib/categories.d.ts.map +1 -1
- package/dist/lib/contract-render.d.ts.map +1 -1
- package/dist/lib/person-fields.d.ts +1 -1
- package/dist/lib/person-fields.d.ts.map +1 -1
- package/dist/lib/print.d.ts +2 -1
- package/dist/lib/print.d.ts.map +1 -1
- package/dist/settings/v1-settings.d.ts +2 -0
- package/dist/settings/v1-settings.d.ts.map +1 -0
- package/dist/views/CustomFormsSettingsTab.d.ts +4 -4
- package/dist/views/CustomFormsSettingsTab.d.ts.map +1 -1
- package/dist/views/TemplateListView.d.ts +3 -3
- package/dist/views/TemplateListView.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/FormBuilder-EI7ILXQW.js.map +0 -1
- package/dist/chunk-ANOY2YYX.js.map +0 -1
- package/dist/data/index.d.ts +0 -4
- package/dist/data/index.d.ts.map +0 -1
- package/dist/data/mock.d.ts +0 -3
- package/dist/data/mock.d.ts.map +0 -1
- package/dist/data/supabase.d.ts +0 -3
- package/dist/data/supabase.d.ts.map +0 -1
- package/dist/data/tables.d.ts +0 -7
- package/dist/data/tables.d.ts.map +0 -1
- package/dist/data/types.d.ts +0 -57
- package/dist/data/types.d.ts.map +0 -1
- package/dist/lib/person-requirements.d.ts +0 -32
- package/dist/lib/person-requirements.d.ts.map +0 -1
- package/dist/lib/tenant.d.ts +0 -3
- package/dist/lib/tenant.d.ts.map +0 -1
- package/dist/store.d.ts +0 -40
- package/dist/store.d.ts.map +0 -1
- package/dist/types.d.ts +0 -248
- package/dist/types.d.ts.map +0 -1
|
@@ -1,37 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type { FormTemplate, RecommendationLine } from '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
onSaved?: (saved: FormFillResult) => void | Promise<void>;
|
|
10
|
-
/** What the answer hangs on (the attendance ruler passes the appointment). */
|
|
11
|
-
subject?: {
|
|
12
|
-
type: string;
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
15
|
-
/** The service a service-scoped form refers to. */
|
|
16
|
-
productId?: string | null;
|
|
17
|
-
professionalId?: string | null;
|
|
18
|
-
recommendationShortcuts?: RecommendationShortcut[];
|
|
19
|
-
onClose: () => void;
|
|
20
|
-
/**
|
|
21
|
-
* Onde o formulário mora. `inline` entrega só o miolo, para o anfitrião
|
|
22
|
-
* (agendamento, check-in, régua) desenhá-lo DENTRO da própria moldura em vez
|
|
23
|
-
* de abrir uma segunda janela por cima da primeira.
|
|
24
|
-
*/
|
|
25
|
-
frame?: 'modal' | 'inline';
|
|
26
|
-
}
|
|
27
|
-
export interface FormFillResult {
|
|
28
|
-
documentId: string;
|
|
29
|
-
template: FormTemplate;
|
|
30
|
-
data: Record<string, unknown>;
|
|
31
|
-
/** Every `recommendation` field's lines, merged — what the host turns into indications. */
|
|
32
|
-
recommendations: RecommendationLine[];
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
|
+
import type { FormTemplate, RecommendationLine } from '@fayz-ai/forms/domain/template';
|
|
4
|
+
import type { FormFillResult, FormFillSlotProps } from '@fayz-ai/forms/views/zones';
|
|
5
|
+
export type { FormFillResult };
|
|
6
|
+
export interface FormFillDialogProps extends FormFillSlotProps {
|
|
7
|
+
/** Defaults to Supabase, else the in-memory mock; the plugin passes its own. */
|
|
8
|
+
provider?: FormsDataProvider;
|
|
33
9
|
}
|
|
34
10
|
/** All `recommendation` lines in an answer, one line per service (quantities of repeats add up). */
|
|
35
11
|
export declare function recommendationsOf(template: FormTemplate, data: Record<string, unknown>): RecommendationLine[];
|
|
36
|
-
|
|
12
|
+
/** Fills one form for a person outside the forms page, with its own store. */
|
|
13
|
+
export declare function FormFillDialog({ templateId, personId, personName, onSaved, onClose, frame, subject, productId, professionalId, recommendationShortcuts, provider: given, }: FormFillDialogProps): React.JSX.Element;
|
|
37
14
|
//# sourceMappingURL=FormFillDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFillDialog.d.ts","sourceRoot":"","sources":["../../src/components/FormFillDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"FormFillDialog.d.ts","sourceRoot":"","sources":["../../src/components/FormFillDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAEtF,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAKnF,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,gFAAgF;IAChF,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC7B;AAED,oGAAoG;AACpG,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,kBAAkB,EAAE,CAU7G;AAED,8EAA8E;AAC9E,wBAAgB,cAAc,CAAC,EAC7B,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,KAAe,EACnE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,uBAAuB,EAAE,QAAQ,EAAE,KAAK,GAC7E,EAAE,mBAAmB,qBA+HrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FormFieldDef, FormSchema } from '
|
|
2
|
+
import type { FormFieldDef, FormSchema } from '@fayz-ai/forms/domain/template';
|
|
3
3
|
import { type RecommendationShortcut } from './fields/fields';
|
|
4
4
|
interface FormRendererProps {
|
|
5
5
|
schema: FormSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormRenderer.d.ts","sourceRoot":"","sources":["../../src/components/FormRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAY1C,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAkC,MAAM,
|
|
1
|
+
{"version":3,"file":"FormRenderer.d.ts","sourceRoot":"","sources":["../../src/components/FormRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAY1C,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAkC,MAAM,gCAAgC,CAAA;AAE9G,OAAO,EAGL,KAAK,sBAAsB,EAC5B,MAAM,iBAAiB,CAAA;AAsBxB,UAAU,iBAAiB;IACzB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mFAAmF;IACnF,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7B,kGAAkG;IAClG,uBAAuB,CAAC,EAAE,sBAAsB,EAAE,CAAA;CACnD;AAED,mFAAmF;AACnF,wBAAgB,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAMzE;AAkZD,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE,iBAAiB,qBAoErH"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type { FormDocument } from '
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
|
+
import type { FormDocument } from '@fayz-ai/forms/domain/document';
|
|
4
4
|
interface FormViewerProps {
|
|
5
5
|
document: FormDocument;
|
|
6
|
-
provider:
|
|
6
|
+
provider: FormsDataProvider;
|
|
7
7
|
onBack: () => void;
|
|
8
8
|
onEdit?: (doc: FormDocument) => void;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormViewer.d.ts","sourceRoot":"","sources":["../../src/components/FormViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"FormViewer.d.ts","sourceRoot":"","sources":["../../src/components/FormViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAMlE,UAAU,eAAe;IACvB,QAAQ,EAAE,YAAY,CAAA;IACtB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,YAAY,KAAK,IAAI,CAAA;CACrC;AASD,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,eAAe,qBA0EtF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
3
|
/**
|
|
4
4
|
* V1 ClientAnamnesisAlerts: answers the clinic flagged (pregnant, anticoagulants, keloids…) stay
|
|
5
5
|
* on the client's record from the latest answer of each form. Starts collapsed — the header is
|
|
@@ -7,6 +7,6 @@ import type { CustomFormsDataProvider } from '../data/types';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function PersonAnswerAlerts({ personId, provider }: {
|
|
9
9
|
personId?: string;
|
|
10
|
-
provider:
|
|
10
|
+
provider: FormsDataProvider;
|
|
11
11
|
}): React.JSX.Element | null;
|
|
12
12
|
//# sourceMappingURL=PersonAnswerAlerts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonAnswerAlerts.d.ts","sourceRoot":"","sources":["../../src/components/PersonAnswerAlerts.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PersonAnswerAlerts.d.ts","sourceRoot":"","sources":["../../src/components/PersonAnswerAlerts.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAmBrE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,iBAAiB,CAAA;CAAE,4BAqE5G"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CustomFormsConfig } from '../config';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
4
|
+
import type { FormsStore } from '@fayz-ai/forms/store';
|
|
5
5
|
/**
|
|
6
6
|
* Qual das duas abas da ficha este widget está desenhando.
|
|
7
7
|
*
|
|
@@ -19,8 +19,8 @@ interface PersonDocumentsWidgetProps {
|
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
};
|
|
21
21
|
config: CustomFormsConfig;
|
|
22
|
-
provider:
|
|
23
|
-
store:
|
|
22
|
+
provider: FormsDataProvider;
|
|
23
|
+
store: FormsStore;
|
|
24
24
|
/** Padrão `records`: quem não declara superfície pediu o prontuário. */
|
|
25
25
|
surface?: DocumentSurface;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonDocumentsWidget.d.ts","sourceRoot":"","sources":["../../src/components/PersonDocumentsWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PersonDocumentsWidget.d.ts","sourceRoot":"","sources":["../../src/components/PersonDocumentsWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAK5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAStD;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,CAAA;AAOjD,UAAU,0BAA0B;IAClC,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IACvD,MAAM,EAAE,iBAAiB,CAAA;IACzB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,UAAU,CAAA;IACjB,wEAAwE;IACxE,OAAO,CAAC,EAAE,eAAe,CAAA;CAC1B;AAQD,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAmB,EAAE,EAAE,0BAA0B,qBA2KvH"}
|
|
@@ -1,44 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
detail?: string;
|
|
9
|
-
/** O verbo da linha, quando há o que fazer. */
|
|
10
|
-
action?: {
|
|
11
|
-
label: string;
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
};
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
|
+
import type { PersonChecklistItem, PersonChecklistSlotProps } from '@fayz-ai/forms/views/zones';
|
|
4
|
+
export type { PersonChecklistItem };
|
|
5
|
+
export interface PersonFormsAlertProps extends PersonChecklistSlotProps {
|
|
6
|
+
/** Defaults to Supabase, else the in-memory mock; the plugin passes its own. */
|
|
7
|
+
provider?: FormsDataProvider;
|
|
14
8
|
}
|
|
15
|
-
export
|
|
16
|
-
personId: string | null | undefined;
|
|
17
|
-
/** Abrir o formulário para preencher agora. Sem isto a faixa só informa. */
|
|
18
|
-
onFill?: (templateId: string) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Sobe quando algo foi gravado: a lista relê. Sem isto ela continua dizendo
|
|
21
|
-
* "pendente" sobre o formulário que a pessoa ACABOU de preencher.
|
|
22
|
-
*/
|
|
23
|
-
version?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Itens de fora dos formulários — o que mais a casa quer conferir com este
|
|
26
|
-
* paciente antes de atender. Entram na mesma lista, com o mesmo desenho:
|
|
27
|
-
* uma checagem é uma checagem, venha de onde vier.
|
|
28
|
-
*/
|
|
29
|
-
extras?: PersonChecklistItem[];
|
|
30
|
-
/**
|
|
31
|
-
* O que ainda falta, para quem hospeda a lista decidir o que fazer com isso
|
|
32
|
-
* — travar o botão de concluir, por exemplo. Vem com os rótulos, porque um
|
|
33
|
-
* botão travado sem dizer o motivo é pior do que um botão solto.
|
|
34
|
-
*/
|
|
35
|
-
onPending?: (labels: string[]) => void;
|
|
36
|
-
/**
|
|
37
|
-
* The QR / WhatsApp link for the patient to fill the forms at home. Opt-in per host; `'soon'`
|
|
38
|
-
* shows the entry point disabled until the public link exists (FAY-1613).
|
|
39
|
-
*/
|
|
40
|
-
sendLink?: 'soon' | (() => void);
|
|
41
|
-
className?: string;
|
|
42
|
-
}
|
|
43
|
-
export declare function PersonFormsAlert({ personId, onFill, version, extras, onPending, sendLink, className }: PersonFormsAlertProps): React.JSX.Element | null;
|
|
9
|
+
export declare function PersonFormsAlert({ personId, onFill, version, extras, onPending, sendLink, className, provider: given }: PersonFormsAlertProps): React.JSX.Element | null;
|
|
44
10
|
//# sourceMappingURL=PersonFormsAlert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonFormsAlert.d.ts","sourceRoot":"","sources":["../../src/components/PersonFormsAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"PersonFormsAlert.d.ts","sourceRoot":"","sources":["../../src/components/PersonFormsAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAGrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAE/F,YAAY,EAAE,mBAAmB,EAAE,CAAA;AAInC,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,gFAAgF;IAChF,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC7B;AA2BD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAW,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,qBAAqB,4BAkGjJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type { FormTemplate } from '
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
|
+
import type { FormTemplate } from '@fayz-ai/forms/domain/template';
|
|
4
4
|
interface TemplateSelectorProps {
|
|
5
|
-
provider:
|
|
5
|
+
provider: FormsDataProvider;
|
|
6
6
|
onSelect: (template: FormTemplate) => void;
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateSelector.d.ts","sourceRoot":"","sources":["../../src/components/TemplateSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TemplateSelector.d.ts","sourceRoot":"","sources":["../../src/components/TemplateSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAElE,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,qBA4EtF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FormFieldDef } from '
|
|
2
|
+
import type { FormFieldDef } from '@fayz-ai/forms/domain/template';
|
|
3
3
|
type Config = Record<string, unknown>;
|
|
4
4
|
/** Per-type properties of the V1 FieldPropertiesPanel: stencil, gallery and answer alert. */
|
|
5
5
|
export declare function FieldTypeSettings({ field, config, onChange }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldTypeSettings.d.ts","sourceRoot":"","sources":["../../../src/components/fields/FieldTypeSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAqB,YAAY,EAAgC,MAAM,
|
|
1
|
+
{"version":3,"file":"FieldTypeSettings.d.ts","sourceRoot":"","sources":["../../../src/components/fields/FieldTypeSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAqB,YAAY,EAAgC,MAAM,gCAAgC,CAAA;AAKnH,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAsBrC,6FAA6F;AAC7F,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;IAC7D,KAAK,EAAE,YAAY,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B,4BA8FA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StencilCamera.d.ts","sourceRoot":"","sources":["../../../src/components/fields/StencilCamera.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,M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EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,GACpF,EAAE,kBAAkB,qBA4LpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AnswerAlertConfig, FormFieldDef, GalleryConfig, MediaValue, RecommendationLine, StencilConfig } from '
|
|
2
|
+
import type { AnswerAlertConfig, FormFieldDef, GalleryConfig, MediaValue, RecommendationLine, StencilConfig } from '@fayz-ai/forms/domain/template';
|
|
3
3
|
export declare const stencilOf: (f: FormFieldDef) => StencilConfig;
|
|
4
4
|
export declare const galleryOf: (f: FormFieldDef) => GalleryConfig;
|
|
5
5
|
export declare const alertOf: (f: FormFieldDef) => AnswerAlertConfig | null;
|
|
@@ -37,12 +37,8 @@ export declare function GalleryField({ field, value, onChange }: {
|
|
|
37
37
|
onChange: (v: unknown) => void;
|
|
38
38
|
}): React.JSX.Element;
|
|
39
39
|
/** A one-tap shortcut above the recommendation list — V1 shows the client's prepaid services here. */
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
name: string;
|
|
43
|
-
unitPrice: number;
|
|
44
|
-
hint?: string;
|
|
45
|
-
}
|
|
40
|
+
export type { RecommendationShortcut } from '@fayz-ai/forms/views/zones';
|
|
41
|
+
import type { RecommendationShortcut } from '@fayz-ai/forms/views/zones';
|
|
46
42
|
export declare function RecommendationField({ value, onChange, shortcuts }: {
|
|
47
43
|
value: unknown;
|
|
48
44
|
onChange: (v: RecommendationLine[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/components/fields/fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/components/fields/fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAE,iBAAiB,EAA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|
|
2
|
+
import type { MediaValue } from '@fayz-ai/forms/domain/template';
|
|
3
3
|
/** Paths in the private bucket need a signed URL; data/blob URLs (unsaved, mock) show as-is. */
|
|
4
4
|
export declare function useMediaUrl(path: string | null | undefined): string | null;
|
|
5
5
|
export declare function useMediaUpload(): ((blob: Blob, folder: string, name: string) => Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/components/fields/media.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/components/fields/media.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAEhE,gGAAgG;AAChG,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAa1E;AAED,wBAAgB,cAAc,YAIjB,IAAI,UAAU,MAAM,QAAQ,MAAM;;WAE9C;AAED,gGAAgG;AAChG,wBAAsB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,SAAO,EAAE,OAAO,SAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAe7F;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAOnD;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,UAAU,CAEnD;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IAC3D,KAAK,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAC7C,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B,qBAKA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PluginWidgetDefinition } from '@fayz-ai/core';
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
|
+
/** The forms screens other plugins open in place, bound to this plugin's provider. */
|
|
4
|
+
export declare function formsZoneWidgets(provider: FormsDataProvider): PluginWidgetDefinition[];
|
|
5
|
+
//# sourceMappingURL=formsZoneWidgets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formsZoneWidgets.d.ts","sourceRoot":"","sources":["../../src/components/formsZoneWidgets.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAKrE,sFAAsF;AACtF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,sBAAsB,EAAE,CAetF"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PluginRegistryDef, PluginScope, VerticalId } from '@fayz-ai/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
3
3
|
export interface CustomFormsPluginOptions {
|
|
4
4
|
scope?: PluginScope;
|
|
5
5
|
verticalId?: VerticalId;
|
|
6
|
-
dataProvider?:
|
|
6
|
+
dataProvider?: FormsDataProvider;
|
|
7
7
|
navSection?: 'main' | 'secondary' | 'settings';
|
|
8
8
|
navPosition?: number;
|
|
9
9
|
labels?: Partial<CustomFormsLabels>;
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAA;IACnC,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAA;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,iBAAiB,CAAA;CAC1B;AAaD,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,wBAAwB,GAAG,iBAAiB,CAInF"}
|
package/dist/context.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CustomFormsConfig } from './config';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { FormsDataProvider } from '@fayz-ai/forms/data/provider';
|
|
4
|
+
import type { FormsStore } from '@fayz-ai/forms/store';
|
|
5
5
|
export interface CustomFormsContextValue {
|
|
6
6
|
config: CustomFormsConfig;
|
|
7
|
-
provider:
|
|
8
|
-
store:
|
|
7
|
+
provider: FormsDataProvider;
|
|
8
|
+
store: FormsStore;
|
|
9
9
|
}
|
|
10
10
|
export declare function CustomFormsProvider({ value, children, }: {
|
|
11
11
|
value: CustomFormsContextValue;
|
package/dist/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAA;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAA;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,iBAAiB,CAAA;IACzB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,UAAU,CAAA;CAClB;AAID,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,uBAAuB,CAAA;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,uFAEA;AAED,wBAAgB,qBAAqB,IAAI,uBAAuB,CAI/D;AAED,gGAAgG;AAChG,wBAAgB,6BAA6B,IAAI,uBAAuB,GAAG,IAAI,CAE9E"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ export { FormFillDialog, recommendationsOf, type FormFillDialogProps, type FormF
|
|
|
7
7
|
export type { RecommendationShortcut } from './components/fields/fields';
|
|
8
8
|
export { ContractSignPane, type ContractSignPaneProps } from './components/ContractSignPane';
|
|
9
9
|
export { ensureAttendanceContracts, listAttendanceContracts, type AttendanceContract, type ContractService, type EnsureContractsInput, } from './lib/attendance-contracts';
|
|
10
|
-
export type { RecommendationLine, MediaValue, StencilConfig, GalleryConfig, AnswerAlertConfig } from '
|
|
11
|
-
export {
|
|
10
|
+
export type { RecommendationLine, MediaValue, StencilConfig, GalleryConfig, AnswerAlertConfig } from '@fayz-ai/forms/domain/template';
|
|
11
|
+
export { isOutstanding, type PersonFormRequirement, type RequirementState } from '@fayz-ai/forms/domain/requirement';
|
|
12
|
+
export { getPersonFormRequirements } from '@fayz-ai/forms/data/supabase';
|
|
12
13
|
export declare function createCustomFormsPlugin(options?: CustomFormsPluginOptions): PluginManifest;
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAWnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAyDxD,YAAY,EAAE,wBAAwB,EAAE,CAAA;AACxC,OAAO,EAAE,4BAA4B,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AACvH,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAC5F,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,KAAK,mBAAmB,EAAE,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC9H,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAExE,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAC5F,OAAO,EACL,yBAAyB,EAAE,uBAAuB,EAClD,KAAK,kBAAkB,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,GACzE,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAErI,OAAO,EAAE,aAAa,EAAE,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAA;AACpH,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAA;AAGxE,wBAAgB,uBAAuB,CAAC,OAAO,CAAC,EAAE,wBAAwB,GAAG,cAAc,CA0R1F"}
|