@makeswift/runtime 0.0.0-a0e5297 → 0.0.0-a49c3c6
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/Page.cjs.js +215 -0
- package/dist/Page.cjs.js.map +1 -0
- package/dist/Page.es.js +209 -0
- package/dist/Page.es.js.map +1 -0
- package/dist/actions.cjs.js +5 -0
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +5 -1
- package/dist/actions.es.js.map +1 -1
- package/dist/components.cjs.js +16 -1
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +7 -2
- package/dist/components.es.js.map +1 -1
- package/dist/constants.cjs.js +77 -1
- package/dist/constants.cjs.js.map +1 -1
- package/dist/constants.es.js +77 -1
- package/dist/constants.es.js.map +1 -1
- package/dist/control-serialization.cjs.js +61 -5
- package/dist/control-serialization.cjs.js.map +1 -1
- package/dist/control-serialization.es.js +61 -5
- package/dist/control-serialization.es.js.map +1 -1
- package/dist/descriptors.cjs.js +8 -0
- package/dist/descriptors.cjs.js.map +1 -1
- package/dist/descriptors.es.js +6 -1
- package/dist/descriptors.es.js.map +1 -1
- package/dist/instances.cjs.js +17 -0
- package/dist/instances.cjs.js.map +1 -1
- package/dist/instances.es.js +17 -1
- package/dist/instances.es.js.map +1 -1
- package/dist/main.cjs.js +1 -0
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +1 -1
- package/dist/next.cjs.js +37 -17
- package/dist/next.cjs.js.map +1 -1
- package/dist/next.es.js +38 -18
- package/dist/next.es.js.map +1 -1
- package/dist/prop-controllers.cjs.js +1 -0
- package/dist/prop-controllers.cjs.js.map +1 -1
- package/dist/prop-controllers.es.js +1 -1
- package/dist/react-builder-preview.cjs.js +3 -0
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +4 -1
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react-page.cjs.js +1 -1
- package/dist/react-page.cjs.js.map +1 -1
- package/dist/react-page.es.js +2 -2
- package/dist/react-page.es.js.map +1 -1
- package/dist/react.cjs.js +6 -1
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +2371 -319
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +6 -2
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +2369 -327
- package/dist/react.es2.js.map +1 -1
- package/dist/types/api/constants.d.ts.map +1 -1
- package/dist/types/api/generated/graphql.d.ts +53 -0
- package/dist/types/api/generated/graphql.d.ts.map +1 -1
- package/dist/types/api/react.d.ts +25 -4
- package/dist/types/api/react.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +2 -2
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/builder/serialization/control-serialization.d.ts +55 -7
- package/dist/types/builder/serialization/control-serialization.d.ts.map +1 -1
- package/dist/types/components/builtin/Form/Form.d.ts +41 -0
- package/dist/types/components/builtin/Form/Form.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts +14 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts +16 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +10 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +17 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts +24 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts +13 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts +9 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts +32 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/index.d.ts +2 -0
- package/dist/types/components/builtin/Form/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Image/Image.d.ts.map +1 -1
- package/dist/types/components/builtin/Video/Video.d.ts +15 -0
- package/dist/types/components/builtin/Video/Video.d.ts.map +1 -0
- package/dist/types/components/builtin/Video/index.d.ts +2 -0
- package/dist/types/components/builtin/Video/index.d.ts.map +1 -0
- package/dist/types/components/builtin/index.d.ts +1 -0
- package/dist/types/components/builtin/index.d.ts.map +1 -1
- package/dist/types/components/hooks/index.d.ts +1 -0
- package/dist/types/components/hooks/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useTable.d.ts +66 -0
- package/dist/types/components/hooks/useTable.d.ts.map +1 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.d.ts +8 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/page/BodySnippet.d.ts +7 -0
- package/dist/types/components/page/BodySnippet.d.ts.map +1 -0
- package/dist/types/components/page/Page.d.ts +45 -0
- package/dist/types/components/page/Page.d.ts.map +1 -0
- package/dist/types/components/page/index.d.ts +2 -0
- package/dist/types/components/page/index.d.ts.map +1 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -1
- package/dist/types/components/shared/FallbackComponent/FallbackComponent.d.ts +7 -0
- package/dist/types/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -0
- package/dist/types/components/shared/FallbackComponent/index.d.ts +2 -0
- package/dist/types/components/shared/FallbackComponent/index.d.ts.map +1 -0
- package/dist/types/components/utils/placeholders.d.ts +7 -0
- package/dist/types/components/utils/placeholders.d.ts.map +1 -1
- package/dist/types/components/utils/queries.d.ts +1 -0
- package/dist/types/components/utils/queries.d.ts.map +1 -1
- package/dist/types/components/utils/types.d.ts +1 -2
- package/dist/types/components/utils/types.d.ts.map +1 -1
- package/dist/types/controls.d.ts +4 -0
- package/dist/types/controls.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/next.d.ts +5 -4
- package/dist/types/next.d.ts.map +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts +24 -6
- package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
- package/dist/types/prop-controllers/index.d.ts +3 -3
- package/dist/types/prop-controllers/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/instances.d.ts +36 -4
- package/dist/types/prop-controllers/instances.d.ts.map +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/react.d.ts.map +1 -1
- package/dist/types/runtimes/react.d.ts +3 -3
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/actions.d.ts +9 -1
- package/dist/types/state/actions.d.ts.map +1 -1
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/package.json +3 -1
- package/dist/graphql.cjs.js +0 -162
- package/dist/graphql.cjs.js.map +0 -1
- package/dist/graphql.es.js +0 -157
- package/dist/graphql.es.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { Value } from '../../../../context/FormContext';
|
|
3
|
+
declare const Base: import("styled-components").StyledComponent<"textarea", any, Value & {
|
|
4
|
+
error?: boolean | undefined;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare type BaseProps = {
|
|
7
|
+
error?: boolean;
|
|
8
|
+
form?: unknown;
|
|
9
|
+
};
|
|
10
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Base>, keyof BaseProps>;
|
|
11
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/TextArea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAI5D,OAAO,EAAE,KAAK,EAAkB,MAAM,iCAAiC,CAAA;AAEvE,QAAA,MAAM,IAAI;;SAGT,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAErF,wBAkBE"}
|
package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/components/URLTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TableColumn } from '../../../../hooks';
|
|
3
|
+
declare type TableFormField = {
|
|
4
|
+
id: string;
|
|
5
|
+
tableColumnId: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
hidden?: boolean;
|
|
10
|
+
type?: 'select' | 'radio';
|
|
11
|
+
hideLabel?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare type Props = {
|
|
14
|
+
tableColumn: TableColumn | null | undefined;
|
|
15
|
+
tableFormField: TableFormField;
|
|
16
|
+
};
|
|
17
|
+
export default function Field({ tableColumn, tableFormField: { id, label, placeholder, required, hidden, type, hideLabel, }, }: Props): JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Field/index.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AA0D/C,aAAK,cAAc,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAA;IAC3C,cAAc,EAAE,cAAc,CAAA;CAC/B,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,WAAW,EACX,cAAc,EAAE,EACd,EAAE,EACF,KAAU,EACV,WAAW,EACX,QAAgB,EAChB,MAAc,EACd,IAAc,EACd,SAAiB,GAClB,GACF,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAoDrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Size, Shape, Contrast, Value } from '../../../context/FormContext';
|
|
2
|
+
export declare function getSizeHeight(size: Size): number;
|
|
3
|
+
export declare function getSizeHorizontalPadding(size: Size): number;
|
|
4
|
+
export declare function getShapeBorderRadius(shape: Shape): number;
|
|
5
|
+
export declare function getContrastBorderColor(contrast: Contrast, error?: boolean): string;
|
|
6
|
+
export declare function getContrastBackgroundColor(contrast: Contrast): string;
|
|
7
|
+
export declare function getContrastColor(contrast: Contrast): string;
|
|
8
|
+
export default function cssField(): import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<Pick<Value, "size" | "shape" | "contrast" | "brandColor"> & {
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
}, any>>;
|
|
11
|
+
//# sourceMappingURL=cssField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cssField.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Field/services/cssField.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EAIR,KAAK,EACN,MAAM,8BAA8B,CAAA;AAErC,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAc3D;AAkBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAczD;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAWlF;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAWrE;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAW3D;AAeD,MAAM,CAAC,OAAO,UAAU,QAAQ;;SAkC/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MarginValue, WidthValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
width?: WidthValue;
|
|
5
|
+
margin?: MarginValue;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAA;AAyCrF,aAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAED,wBAmBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Form/components/Spinner/index.tsx"],"names":[],"mappings":";AAmBA,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,GAAG,CAAC,OAAO,CAE7C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveValue, ResponsiveColorValue, TextStyleValue } from '../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ColorValue } from '../../../utils/types';
|
|
4
|
+
export declare const Shapes: Readonly<{
|
|
5
|
+
readonly SQUARE: "square";
|
|
6
|
+
readonly ROUNDED: "rounded";
|
|
7
|
+
readonly PILL: "pill";
|
|
8
|
+
}>;
|
|
9
|
+
export declare type Shape = typeof Shapes[keyof typeof Shapes];
|
|
10
|
+
export declare const Sizes: Readonly<{
|
|
11
|
+
readonly SMALL: "small";
|
|
12
|
+
readonly MEDIUM: "medium";
|
|
13
|
+
readonly LARGE: "large";
|
|
14
|
+
}>;
|
|
15
|
+
export declare type Size = typeof Sizes[keyof typeof Sizes];
|
|
16
|
+
export declare const Contrasts: Readonly<{
|
|
17
|
+
readonly LIGHT: "light";
|
|
18
|
+
readonly DARK: "dark";
|
|
19
|
+
}>;
|
|
20
|
+
export declare type Contrast = typeof Contrasts[keyof typeof Contrasts];
|
|
21
|
+
export declare type Value = {
|
|
22
|
+
shape: ResponsiveValue<Shape> | null | undefined;
|
|
23
|
+
size: ResponsiveValue<Size> | null | undefined;
|
|
24
|
+
contrast: ResponsiveValue<Contrast> | null | undefined;
|
|
25
|
+
brandColor: ResponsiveValue<ColorValue> | null | undefined;
|
|
26
|
+
labelTextStyle?: TextStyleValue;
|
|
27
|
+
labelTextColor?: ResponsiveColorValue;
|
|
28
|
+
};
|
|
29
|
+
export declare function useFormContext(): Value;
|
|
30
|
+
declare const Provider: import("react").Provider<Value>;
|
|
31
|
+
export { Provider };
|
|
32
|
+
//# sourceMappingURL=FormContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/context/FormContext.ts"],"names":[],"mappings":";AAEA,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,cAAc,EACf,MAAM,0CAA0C,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,eAAO,MAAM,MAAM;;;;EAIR,CAAA;AAEX,oBAAY,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA;AAEtD,eAAO,MAAM,KAAK;;;;EAIP,CAAA;AAEX,oBAAY,IAAI,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAA;AAEnD,eAAO,MAAM,SAAS;;;EAGX,CAAA;AAEX,oBAAY,QAAQ,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA;AAE/D,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAChD,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC9C,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IACtD,UAAU,EAAE,eAAe,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC1D,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,oBAAoB,CAAA;CACtC,CAAA;AAID,wBAAgB,cAAc,IAAI,KAAK,CAEtC;AAED,QAAA,MAAQ,QAAQ,iCAAY,CAAA;AAE5B,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAmB9C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAmB9C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAGjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAkED,QAAA,MAAM,cAAc,oGAiFlB,CAAA;AAEF,eAAe,cAAc,CAAA;AAE7B,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAkBtD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BorderRadiusValue, ElementIDValue, MarginValue, VideoValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
video?: VideoValue;
|
|
8
|
+
width?: WidthValue;
|
|
9
|
+
margin?: MarginValue;
|
|
10
|
+
borderRadius?: BorderRadiusValue;
|
|
11
|
+
};
|
|
12
|
+
declare const Video: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default Video;
|
|
14
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
15
|
+
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/Video.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;CACjC,CAAA;AAiBD,QAAA,MAAM,KAAK,kGA+BT,CAAA;AAEF,eAAe,KAAK,CAAA;AAEpB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAatD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Video/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -5,6 +5,7 @@ export { default as Carousel } from './Carousel';
|
|
|
5
5
|
export { default as Countdown } from './Countdown';
|
|
6
6
|
export { default as Divider } from './Divider';
|
|
7
7
|
export { default as Embed } from './Embed';
|
|
8
|
+
export { default as Form } from './Form';
|
|
8
9
|
export { default as Image } from './Image';
|
|
9
10
|
export { default as Navigation } from './Navigation';
|
|
10
11
|
export { default as Root } from './Root';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builtin/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builtin/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAe1C,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,YAAY,cA+B9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare type SingleLineTextTableColumn = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
__typename: 'SingleLineTextTableColumn';
|
|
5
|
+
};
|
|
6
|
+
export declare type LongTextTableColumn = {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
__typename: 'LongTextTableColumn';
|
|
10
|
+
};
|
|
11
|
+
export declare type CheckboxTableColumn = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
__typename: 'CheckboxTableColumn';
|
|
15
|
+
};
|
|
16
|
+
export declare type MultipleSelectTableColumnOption = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
export declare type MultipleSelectTableColumn = {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
options: Array<MultipleSelectTableColumnOption>;
|
|
24
|
+
__typename: 'MultipleSelectTableColumn';
|
|
25
|
+
};
|
|
26
|
+
export declare type SingleSelectTableColumnOption = {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type SingleSelectTableColumn = {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
options: Array<SingleSelectTableColumnOption>;
|
|
34
|
+
__typename: 'SingleSelectTableColumn';
|
|
35
|
+
};
|
|
36
|
+
export declare type PhoneNumberTableColumn = {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
__typename: 'PhoneNumberTableColumn';
|
|
40
|
+
};
|
|
41
|
+
export declare type EmailTableColumn = {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
__typename: 'EmailTableColumn';
|
|
45
|
+
};
|
|
46
|
+
export declare type URLTableColumn = {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
__typename: 'URLTableColumn';
|
|
50
|
+
};
|
|
51
|
+
export declare type NumberTableColumn = {
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
__typename: 'NumberTableColumn';
|
|
55
|
+
};
|
|
56
|
+
export declare type TableColumn = SingleLineTextTableColumn | LongTextTableColumn | CheckboxTableColumn | MultipleSelectTableColumn | SingleSelectTableColumn | PhoneNumberTableColumn | EmailTableColumn | URLTableColumn | NumberTableColumn;
|
|
57
|
+
declare type Table = {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
columns: Array<TableColumn>;
|
|
61
|
+
};
|
|
62
|
+
export declare function useTable(tableId: string | null | undefined): import("@apollo/client").QueryResult<{
|
|
63
|
+
table: Table | null;
|
|
64
|
+
}, import("@apollo/client").OperationVariables>;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=useTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTable.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useTable.ts"],"names":[],"mappings":"AAGA,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,2BAA2B,CAAA;CACxC,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,qBAAqB,CAAA;CAClC,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,qBAAqB,CAAA;CAClC,CAAA;AAED,oBAAY,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAA;IAC/C,UAAU,EAAE,2BAA2B,CAAA;CACxC,CAAA;AAED,oBAAY,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAA;IAC7C,UAAU,EAAE,yBAAyB,CAAA;CACtC,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,wBAAwB,CAAA;CACrC,CAAA;AAED,oBAAY,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,kBAAkB,CAAA;CAC/B,CAAA;AAED,oBAAY,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,gBAAgB,CAAA;CAC7B,CAAA;AAED,oBAAY,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,mBAAmB,CAAA;CAChC,CAAA;AAED,oBAAY,WAAW,GACnB,yBAAyB,GACzB,mBAAmB,GACnB,mBAAmB,GACnB,yBAAyB,GACzB,uBAAuB,GACvB,sBAAsB,GACtB,gBAAgB,GAChB,cAAc,GACd,iBAAiB,CAAA;AAErB,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CAC5B,CAAA;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;WAChC,KAAK,GAAG,IAAI;gDAItC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TableFormFieldsPropController } from '../../prop-controllers/instances';
|
|
2
|
+
export declare function useTableFormFieldRefs(propController: TableFormFieldsPropController | null | undefined, { fieldsCount }: {
|
|
3
|
+
fieldsCount: number;
|
|
4
|
+
}): {
|
|
5
|
+
container: (arg0: HTMLElement | null | undefined) => void;
|
|
6
|
+
items: Array<(arg0: HTMLElement | null | undefined) => void>;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useTableFormFieldRefs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableFormFieldRefs.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useTableFormFieldRefs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAA;AAGhF,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,6BAA6B,GAAG,IAAI,GAAG,SAAS,EAChE,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,GACvC;IACD,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAA;IACzD,KAAK,EAAE,KAAK,CAAC,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC,CAAA;CAC7D,CA2CA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BodySnippet.d.ts","sourceRoot":"","sources":["../../../../src/components/page/BodySnippet.tsx"],"names":[],"mappings":"AAIA,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACnC,CAAA;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,GAAG,IAAI,CA8C1D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare enum SnippetLocation {
|
|
3
|
+
Body = "BODY",
|
|
4
|
+
Head = "HEAD"
|
|
5
|
+
}
|
|
6
|
+
declare type Snippet = {
|
|
7
|
+
builderEnabled: boolean;
|
|
8
|
+
cleanup?: string | null;
|
|
9
|
+
code: string;
|
|
10
|
+
id: string;
|
|
11
|
+
liveEnabled: boolean;
|
|
12
|
+
location: SnippetLocation;
|
|
13
|
+
name: string;
|
|
14
|
+
shouldAddToNewPages: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare type PageData = {
|
|
17
|
+
id: string;
|
|
18
|
+
meta: {
|
|
19
|
+
title?: string | null | undefined;
|
|
20
|
+
description?: string | null | undefined;
|
|
21
|
+
keywords?: string | null | undefined;
|
|
22
|
+
socialImage?: {
|
|
23
|
+
id: string;
|
|
24
|
+
publicUrl: any;
|
|
25
|
+
mimetype: any;
|
|
26
|
+
} | null | undefined;
|
|
27
|
+
favicon?: {
|
|
28
|
+
id: string;
|
|
29
|
+
publicUrl: any;
|
|
30
|
+
mimetype: any;
|
|
31
|
+
} | null | undefined;
|
|
32
|
+
};
|
|
33
|
+
snippets: Snippet[];
|
|
34
|
+
fonts: Array<{
|
|
35
|
+
family: string;
|
|
36
|
+
variants: string[];
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
declare type Props = {
|
|
40
|
+
page: PageData;
|
|
41
|
+
preview?: boolean;
|
|
42
|
+
};
|
|
43
|
+
export declare function Page({ page, preview }: Props): JSX.Element;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=Page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../src/components/page/Page.tsx"],"names":[],"mappings":";AAQA,aAAK,eAAe;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,aAAK,OAAO,GAAG;IACb,cAAc,EAAE,OAAO,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,eAAe,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,mBAAmB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;QACjC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;QACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;QACpC,WAAW,CAAC,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,GAAG,CAAC;YAAC,QAAQ,EAAE,GAAG,CAAA;SAAE,GAAG,IAAI,GAAG,SAAS,CAAA;QAC9E,OAAO,CAAC,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,GAAG,CAAC;YAAC,QAAQ,EAAE,GAAG,CAAA;SAAE,GAAG,IAAI,GAAG,SAAS,CAAA;KAC3E,CAAA;IACD,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,KAAK,CAAC;QACX,MAAM,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,EAAE,CAAA;KACnB,CAAC,CAAA;CACH,CAAA;AAkCD,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,OAAe,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAkHlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/page/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/BackgroundsContainer/components/Backgrounds/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/BackgroundsContainer/components/Backgrounds/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AA2DjE,aAAK,KAAK,GAAG;IAAE,WAAW,EAAE,6BAA6B,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,CAAA;AAE9E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAuHvE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Props = {
|
|
3
|
+
text: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const FallbackComponent: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=FallbackComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FallbackComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/FallbackComponent/FallbackComponent.tsx"],"names":[],"mappings":";AAmBA,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,iBAAiB,kGAU5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/FallbackComponent/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CASxB,CAAA"}
|
|
@@ -4,4 +4,5 @@ export declare const FILES_BY_ID: import("@apollo/client").DocumentNode;
|
|
|
4
4
|
export declare const PAGE_PATHNAMES_BY_ID: import("@apollo/client").DocumentNode;
|
|
5
5
|
export declare const TYPOGRAPHY_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
6
6
|
export declare const TYPOGRAPHIES_BY_ID: import("@apollo/client").DocumentNode;
|
|
7
|
+
export declare const TABLE_BY_ID: import("@apollo/client").DocumentNode;
|
|
7
8
|
//# sourceMappingURL=queries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,uCAS1B,CAAA;AAED,eAAO,MAAM,UAAU,uCAatB,CAAA;AAED,eAAO,MAAM,WAAW,uCAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAOhC,CAAA;AAED,eAAO,MAAM,mBAAmB,uCA2B/B,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAQ9B,CAAA"}
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,uCAS1B,CAAA;AAED,eAAO,MAAM,UAAU,uCAatB,CAAA;AAED,eAAO,MAAM,WAAW,uCAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAOhC,CAAA;AAED,eAAO,MAAM,mBAAmB,uCA2B/B,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAQ9B,CAAA;AAED,eAAO,MAAM,WAAW,uCAuBvB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type SwatchValue = {
|
|
1
|
+
export declare type SwatchValue = {
|
|
2
2
|
hue: number;
|
|
3
3
|
saturation: number;
|
|
4
4
|
lightness: number;
|
|
@@ -7,5 +7,4 @@ export declare type ColorValue = {
|
|
|
7
7
|
swatch?: SwatchValue;
|
|
8
8
|
alpha: number;
|
|
9
9
|
};
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,oBAAY,UAAU,GAAG;IAAE,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../src/controls.ts"],"names":[],"mappings":"AAAA,aAAK,YAAY,GACb,SAAS,GACT,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,YAAY,EAAE,GACd;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAAE,GAC/B,CAAC,CAAC,GAAG,IAAI,EAAE,YAAY,EAAE,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { Action } from './state/actions';
|
|
2
|
-
export { ActionTypes, changeDocument, changeDocumentElementScrollTop, cleanUp, init, messageHostPropController, changeApiResource, evictApiResource, registerDocument, unregisterDocument, } from './state/actions';
|
|
2
|
+
export { ActionTypes, changeDocument, changeDocumentElementScrollTop, cleanUp, init, messageHostPropController, changeApiResource, evictApiResource, registerDocument, scrollDocumentElement, unregisterDocument, } from './state/actions';
|
|
3
3
|
export type { Operation } from './state/modules/read-write-documents';
|
|
4
4
|
export type { ComponentMeta } from './state/modules/components-meta';
|
|
5
5
|
export type { PropControllerDescriptor, PropControllerDescriptorValueType, } from './prop-controllers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EACL,WAAW,EACX,cAAc,EACd,8BAA8B,EAC9B,OAAO,EACP,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,iBAAiB,CAAA;AACxB,YAAY,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AACpE,YAAY,EACV,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EACL,WAAW,EACX,cAAc,EACd,8BAA8B,EAC9B,OAAO,EACP,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,iBAAiB,CAAA;AACxB,YAAY,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AACpE,YAAY,EACV,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/types/next.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { NormalizedCacheObject } from '@apollo/client';
|
|
2
3
|
import { GetServerSidePropsContext, GetServerSidePropsResult, GetStaticPathsResult, GetStaticPropsContext, GetStaticPropsResult } from 'next';
|
|
3
4
|
import NextDocument, { DocumentContext, DocumentInitialProps } from 'next/document';
|
|
4
|
-
import { ReactRuntime } from './runtimes/react';
|
|
5
5
|
import { Element } from './state/react-page';
|
|
6
|
+
import { PageData } from './components';
|
|
6
7
|
export declare class Document extends NextDocument {
|
|
7
8
|
static getInitialProps(ctx: DocumentContext): Promise<DocumentInitialProps>;
|
|
8
9
|
}
|
|
9
10
|
export declare type PageProps = {
|
|
10
|
-
|
|
11
|
+
page: PageData;
|
|
11
12
|
rootElement: Element;
|
|
12
13
|
makeswiftApiEndpoint: string;
|
|
13
|
-
|
|
14
|
+
cacheData: NormalizedCacheObject;
|
|
14
15
|
};
|
|
15
16
|
export declare function getServerSideProps({ query: { pageId }, }: GetServerSidePropsContext): Promise<GetServerSidePropsResult<PageProps>>;
|
|
16
17
|
export declare function getStaticProps({ params, }: GetStaticPropsContext<{
|
|
17
18
|
path: string[];
|
|
18
19
|
}>): Promise<GetStaticPropsResult<PageProps>>;
|
|
19
20
|
export declare function getStaticPaths(): Promise<GetStaticPathsResult>;
|
|
20
|
-
export declare function Page({
|
|
21
|
+
export declare function Page({ page, rootElement, makeswiftApiEndpoint, cacheData }: PageProps): JSX.Element;
|
|
21
22
|
//# sourceMappingURL=next.d.ts.map
|
package/dist/types/next.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../src/next.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,MAAM,CAAA;AACb,OAAO,YAAY,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../src/next.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,MAAM,CAAA;AACb,OAAO,YAAY,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAKnF,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAE5C,OAAO,EAAoB,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEzD,qBAAa,QAAS,SAAQ,YAAY;WAC3B,eAAe,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAyBlF;AAID,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,QAAQ,CAAA;IACd,WAAW,EAAE,OAAO,CAAA;IACpB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,SAAS,EAAE,qBAAqB,CAAA;CACjC,CAAA;AAMD,wBAAsB,kBAAkB,CAAC,EACvC,KAAK,EAAE,EAAE,MAAM,EAAE,GAClB,EAAE,yBAAyB,GAAG,OAAO,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CA4B1E;AAED,wBAAsB,cAAc,CAAC,EACnC,MAAM,GACP,EAAE,qBAAqB,CAAC;IAAE,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAgCtF;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,oBAAoB,CAAC,CAEpE;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,EAAE,SAAS,eAQrF"}
|
|
@@ -105,6 +105,7 @@ export declare const Types: {
|
|
|
105
105
|
readonly SocialLinks: "SocialLinks";
|
|
106
106
|
readonly Table: "Table";
|
|
107
107
|
readonly TableFormFields: "TableFormFields";
|
|
108
|
+
readonly Typeahead: "Typeahead";
|
|
108
109
|
readonly TextArea: "TextArea";
|
|
109
110
|
readonly TextInput: "TextInput";
|
|
110
111
|
readonly TextStyle: "TextStyle";
|
|
@@ -554,17 +555,17 @@ declare type ShadowsDescriptor<_T = ShadowsValue> = {
|
|
|
554
555
|
};
|
|
555
556
|
export declare function Shadows(options?: ShadowsOptions): ShadowsDescriptor;
|
|
556
557
|
export declare type ShapeValue<T extends Data = Data> = Record<string, T>;
|
|
557
|
-
declare type ShapeOptions<T extends Record<string,
|
|
558
|
+
declare type ShapeOptions<T extends Record<string, PanelDescriptor>> = {
|
|
558
559
|
type: T;
|
|
559
560
|
preset?: {
|
|
560
561
|
[K in keyof T]?: DescriptorValueType<T[K]>;
|
|
561
562
|
};
|
|
562
563
|
};
|
|
563
|
-
declare type ShapeDescriptor<_T extends Record<string, Data>, U extends Record<string,
|
|
564
|
+
export declare type ShapeDescriptor<_T extends Record<string, Data>, U extends Record<string, PanelDescriptor>> = {
|
|
564
565
|
type: typeof Types.Shape;
|
|
565
566
|
options: ShapeOptions<U>;
|
|
566
567
|
};
|
|
567
|
-
export declare function Shape<T extends Record<string,
|
|
568
|
+
export declare function Shape<T extends Record<string, PanelDescriptor>>(options: ShapeOptions<T>): ShapeDescriptor<{
|
|
568
569
|
[K in keyof T]?: DescriptorValueType<T[K]>;
|
|
569
570
|
}, T>;
|
|
570
571
|
declare type SocialLinkType = 'angellist' | 'codepen' | 'dribbble' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'medium' | 'pinterest' | 'reddit' | 'rss' | 'snapchat' | 'soundcloud' | 'spotify' | 'telegram' | 'tumblr' | 'twitch' | 'twitter' | 'vimeo' | 'whatsapp' | 'yelp' | 'youtube';
|
|
@@ -620,11 +621,27 @@ export declare type TableFormFieldsValue = {
|
|
|
620
621
|
declare type TableFormFieldsOptions = Options<{
|
|
621
622
|
preset?: TableFormFieldsValue;
|
|
622
623
|
}>;
|
|
623
|
-
declare type TableFormFieldsDescriptor<_T = TableFormFieldsValue> = {
|
|
624
|
+
export declare type TableFormFieldsDescriptor<_T = TableFormFieldsValue> = {
|
|
624
625
|
type: typeof Types.TableFormFields;
|
|
625
626
|
options: TableFormFieldsOptions;
|
|
626
627
|
};
|
|
627
628
|
export declare function TableFormFields(options?: TableFormFieldsOptions): TableFormFieldsDescriptor;
|
|
629
|
+
export declare type TypeaheadValue<T extends Data = Data> = {
|
|
630
|
+
id: string;
|
|
631
|
+
label: string;
|
|
632
|
+
value: T;
|
|
633
|
+
};
|
|
634
|
+
export declare type TypeaheadOptions<T extends Data> = {
|
|
635
|
+
getItems: (query: string) => Promise<TypeaheadValue<T>[]>;
|
|
636
|
+
label?: string;
|
|
637
|
+
preset?: TypeaheadValue<T>;
|
|
638
|
+
defaultValue?: TypeaheadValue<T>;
|
|
639
|
+
};
|
|
640
|
+
export declare type TypeaheadDescriptor<T extends TypeaheadValue = TypeaheadValue> = {
|
|
641
|
+
type: typeof Types.Typeahead;
|
|
642
|
+
options: TypeaheadOptions<T extends TypeaheadValue<infer U> ? U : never>;
|
|
643
|
+
};
|
|
644
|
+
export declare function Typeahead<T extends Data>(options: TypeaheadOptions<T>): TypeaheadDescriptor<TypeaheadValue<T>>;
|
|
628
645
|
export declare type TextAreaValue = string;
|
|
629
646
|
declare type TextAreaOptions = Options<{
|
|
630
647
|
preset?: TextAreaValue;
|
|
@@ -684,10 +701,11 @@ declare type WidthDescriptor<_T = WidthValue> = {
|
|
|
684
701
|
options: WidthOptions;
|
|
685
702
|
};
|
|
686
703
|
export declare function Width(options?: WidthOptions): WidthDescriptor;
|
|
687
|
-
export declare type Descriptor<T extends Data = Data> = BackgroundsDescriptor<T> | BorderDescriptor<T> | BorderRadiusDescriptor<T> | CheckboxDescriptor<T> | DateDescriptor<T> | ElementIDDescriptor<T> | FontDescriptor<T> | GapXDescriptor<T> | GapYDescriptor<T> | GridDescriptor<T> | ImageDescriptor<T> | ImagesDescriptor<T> | LinkDescriptor<T> | ListDescriptor<T extends ListValue ? T : ListValue> | MarginDescriptor<T> | NavigationLinksDescriptor<T> | NumberDescriptor<T> | PaddingDescriptor<T> | ResponsiveColorDescriptor<T> | ResponsiveIconRadioGroupDescriptor<T extends ResponsiveIconRadioGroupValue<string> ? T : ResponsiveIconRadioGroupValue<string>> | ResponsiveLengthDescriptor<T> | ResponsiveNumberDescriptor<T> | ResponsiveOpacityDescriptor<T> | ResponsiveSelectDescriptor<T extends ResponsiveSelectValue<string> ? T : ResponsiveSelectValue<string>> | RichTextDescriptor<T> | ShadowsDescriptor<T> | ShapeDescriptor<T extends ShapeValue ? T : ShapeValue, any> | SocialLinksDescriptor<T> | TableDescriptor<T> | TableFormFieldsDescriptor<T> | TextAreaDescriptor<T> | TextInputDescriptor<T> | TextStyleDescriptor<T> | VideoDescriptor<T> | WidthDescriptor<T>;
|
|
688
|
-
declare type PanelDescriptorType = typeof Types.Backgrounds | typeof Types.ResponsiveIconRadioGroup | typeof Types.Margin | typeof Types.Padding | typeof Types.Border | typeof Types.Shadows | typeof Types.GapY | typeof Types.GapX | typeof Types.BorderRadius | typeof Types.Checkbox | typeof Types.TextInput | typeof Types.Link | typeof Types.List | typeof Types.Shape | typeof Types.ResponsiveSelect | typeof Types.ResponsiveColor | typeof Types.TextStyle | typeof Types.Images | typeof Types.ResponsiveNumber | typeof Types.Number | typeof Types.Date | typeof Types.Font | typeof Types.TextArea | typeof Types.Table | typeof Types.RichText | typeof Types.Image | typeof Types.ResponsiveOpacity | typeof Types.SocialLinks | typeof Types.Video | typeof Types.NavigationLinks;
|
|
704
|
+
export declare type Descriptor<T extends Data = Data> = BackgroundsDescriptor<T> | BorderDescriptor<T> | BorderRadiusDescriptor<T> | CheckboxDescriptor<T> | DateDescriptor<T> | ElementIDDescriptor<T> | FontDescriptor<T> | GapXDescriptor<T> | GapYDescriptor<T> | GridDescriptor<T> | ImageDescriptor<T> | ImagesDescriptor<T> | LinkDescriptor<T> | ListDescriptor<T extends ListValue ? T : ListValue> | MarginDescriptor<T> | NavigationLinksDescriptor<T> | NumberDescriptor<T> | PaddingDescriptor<T> | ResponsiveColorDescriptor<T> | ResponsiveIconRadioGroupDescriptor<T extends ResponsiveIconRadioGroupValue<string> ? T : ResponsiveIconRadioGroupValue<string>> | ResponsiveLengthDescriptor<T> | ResponsiveNumberDescriptor<T> | ResponsiveOpacityDescriptor<T> | ResponsiveSelectDescriptor<T extends ResponsiveSelectValue<string> ? T : ResponsiveSelectValue<string>> | RichTextDescriptor<T> | ShadowsDescriptor<T> | ShapeDescriptor<T extends ShapeValue ? T : ShapeValue, any> | SocialLinksDescriptor<T> | TableDescriptor<T> | TableFormFieldsDescriptor<T> | TypeaheadDescriptor<T extends TypeaheadValue ? T : TypeaheadValue> | TextAreaDescriptor<T> | TextInputDescriptor<T> | TextStyleDescriptor<T> | VideoDescriptor<T> | WidthDescriptor<T>;
|
|
705
|
+
export declare type PanelDescriptorType = typeof Types.Backgrounds | typeof Types.ResponsiveIconRadioGroup | typeof Types.Margin | typeof Types.Padding | typeof Types.Border | typeof Types.Shadows | typeof Types.GapY | typeof Types.GapX | typeof Types.BorderRadius | typeof Types.Checkbox | typeof Types.TextInput | typeof Types.Link | typeof Types.List | typeof Types.Shape | typeof Types.ResponsiveSelect | typeof Types.ResponsiveColor | typeof Types.TextStyle | typeof Types.Images | typeof Types.ResponsiveNumber | typeof Types.Number | typeof Types.Date | typeof Types.Font | typeof Types.TextArea | typeof Types.Table | typeof Types.Typeahead | typeof Types.RichText | typeof Types.Image | typeof Types.ResponsiveOpacity | typeof Types.SocialLinks | typeof Types.Video | typeof Types.NavigationLinks;
|
|
689
706
|
export declare type PanelDescriptor<T extends Data = Data> = Extract<Descriptor<T>, {
|
|
690
707
|
type: PanelDescriptorType;
|
|
691
708
|
}>;
|
|
692
709
|
export declare type DescriptorValueType<T extends Descriptor> = T extends Descriptor<infer U> ? U : never;
|
|
710
|
+
export declare type PanelDescriptorValueType<T extends PanelDescriptor> = T extends PanelDescriptor<infer U> ? U : never;
|
|
693
711
|
//# sourceMappingURL=descriptors.d.ts.map
|