@g1cloud/page-builder-editor 1.0.0-alpha.7 → 1.0.0-alpha.70

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.
Files changed (93) hide show
  1. package/css/canvas.scss +16 -137
  2. package/css/{canvas-block.scss → page-block.scss} +15 -3
  3. package/css/page-builder-editor.scss +43 -15
  4. package/css/{canvas-page.scss → page-page.scss} +24 -16
  5. package/css/{canvas-section.scss → page-section.scss} +17 -3
  6. package/css/{canvas-widget.scss → page-widget.scss} +28 -3
  7. package/css/page.scss +74 -0
  8. package/css/property-editor-image.scss +2 -2
  9. package/css/property-editor-number.scss +10 -0
  10. package/css/property-editor-youtube.scss +16 -0
  11. package/css/property-group-editor-background.scss +1 -1
  12. package/css/property-group-editor-media.scss +16 -0
  13. package/dist/PageBuilderEditor.vue.d.ts +22 -11
  14. package/dist/PbHtmlEditorModal-C0MLYY66.js +193 -0
  15. package/dist/PbPropertyEditorBoolean-c5CNiTpt.js +38 -0
  16. package/dist/{PbPropertyEditorColor-y7y6ZUQs.js → PbPropertyEditorColor-BNKJfa-T.js} +8 -9
  17. package/dist/PbPropertyEditorHtml-CQaImN-U.js +62 -0
  18. package/dist/PbPropertyEditorImage-3icZAidw.js +106 -0
  19. package/dist/{PbPropertyEditorMultilineText-sb-oS_gz.js → PbPropertyEditorMultilineText-B9-aaBcF.js} +28 -27
  20. package/dist/PbPropertyEditorNumber-B76ArSb5.js +47 -0
  21. package/dist/{PbPropertyEditorReadonlyText-Dgp_AVOD.js → PbPropertyEditorReadonlyText-BJ5qx69O.js} +6 -6
  22. package/dist/{PbPropertyEditorSelect-CWedbXJI.js → PbPropertyEditorSelect-B5sfulvx.js} +5 -6
  23. package/dist/{PbPropertyEditorText-BWOKvwD9.js → PbPropertyEditorText-BgQ4kpmo.js} +17 -8
  24. package/dist/PbPropertyEditorYoutube-DoRAsJTL.js +40 -0
  25. package/dist/PbScreenSelectModal-57LXAzjs.js +69 -0
  26. package/dist/PbWidgetAddModal-ChIMw44P.js +79 -0
  27. package/dist/PbYoutubeModal-CU8sClMD.js +73 -0
  28. package/dist/components/canvas/PbCanvas.vue.d.ts +1 -1
  29. package/dist/components/depart/PbLoginDepart.vue.d.ts +3 -3
  30. package/dist/components/menu/PbMenu.vue.d.ts +16 -1
  31. package/dist/components/menu/PbToolbar.vue.d.ts +16 -1
  32. package/dist/components/menu/PbToolbarButton.vue.d.ts +3 -3
  33. package/dist/components/menu/PbToolbarButtonGroup.vue.d.ts +3 -3
  34. package/dist/components/modal/PbHtmlEditorModal.vue.d.ts +28 -0
  35. package/dist/components/modal/PbPartAddModal.vue.d.ts +4 -4
  36. package/dist/components/modal/PbScreenSelectModal.vue.d.ts +6 -0
  37. package/dist/components/modal/PbWidgetAddModal.vue.d.ts +4 -4
  38. package/dist/components/modal/PbYoutubeModal.vue.d.ts +19 -0
  39. package/dist/components/navigator/PbNavigator.vue.d.ts +1 -1
  40. package/dist/components/part/PbAddWidgetButton.vue.d.ts +1 -1
  41. package/dist/components/part/PbBlock.vue.d.ts +7 -3
  42. package/dist/components/part/PbPage.vue.d.ts +5 -5
  43. package/dist/components/part/PbPageFrame.vue.d.ts +19 -0
  44. package/dist/components/part/PbSection.vue.d.ts +7 -3
  45. package/dist/components/part/PbWidget.vue.d.ts +5 -3
  46. package/dist/components/sidebar/PbSidebar.vue.d.ts +1 -1
  47. package/dist/components/sidebar/PbSidebarProperties.vue.d.ts +1 -1
  48. package/dist/components/sidebar/PbSidebarPropertyEditor.vue.d.ts +3 -3
  49. package/dist/components/sidebar/PbSidebarPropertyGroupEditor.vue.d.ts +3 -3
  50. package/dist/components/sidebar/property/{PbPropertyEditorProduct.vue.d.ts → PbPropertyEditorBoolean.vue.d.ts} +4 -4
  51. package/dist/components/sidebar/property/PbPropertyEditorColor.vue.d.ts +4 -4
  52. package/dist/components/sidebar/property/PbPropertyEditorHtml.vue.d.ts +4 -4
  53. package/dist/components/sidebar/property/PbPropertyEditorImage.vue.d.ts +5 -9
  54. package/dist/components/sidebar/property/PbPropertyEditorMultilineText.vue.d.ts +7 -6
  55. package/dist/components/sidebar/property/PbPropertyEditorNumber.vue.d.ts +23 -0
  56. package/dist/components/sidebar/property/PbPropertyEditorReadonlyText.vue.d.ts +3 -3
  57. package/dist/components/sidebar/property/PbPropertyEditorSelect.vue.d.ts +4 -4
  58. package/dist/components/sidebar/property/PbPropertyEditorText.vue.d.ts +9 -8
  59. package/dist/components/sidebar/property/{PbPropertyLocalMarketingPart.vue.d.ts → PbPropertyEditorYoutube.vue.d.ts} +9 -9
  60. package/dist/components/sidebar/property/PbPropertyGroupEditorBackground.vue.d.ts +3 -3
  61. package/dist/components/sidebar/property/PbPropertyGroupEditorBorder.vue.d.ts +3 -3
  62. package/dist/components/sidebar/property/PbPropertyGroupEditorMargin.vue.d.ts +3 -3
  63. package/dist/components/sidebar/property/PbPropertyGroupEditorMedia.vue.d.ts +20 -0
  64. package/dist/components/sidebar/property/PbPropertyGroupEditorPadding.vue.d.ts +3 -3
  65. package/dist/components/sidebar/property/PbPropertyGroupEditorPosition.vue.d.ts +3 -3
  66. package/dist/components/sidebar/property/PbPropertyGroupEditorSize.vue.d.ts +3 -3
  67. package/dist/components/ui/PbColorPicker.vue.d.ts +16 -7
  68. package/dist/directives/vPartHandler.d.ts +1 -0
  69. package/dist/{index-BTlwA7HP.js → index-BPFPSrrb.js} +4215 -2078
  70. package/dist/index.d.ts +6 -0
  71. package/dist/model/command.d.ts +47 -34
  72. package/dist/model/context.d.ts +19 -19
  73. package/dist/model/default-part-property-group.d.ts +4 -0
  74. package/dist/model/event.d.ts +0 -56
  75. package/dist/model/model.d.ts +8 -4
  76. package/dist/model/page-builder-editor.d.ts +39 -10
  77. package/dist/model/page-builder-util.d.ts +2 -0
  78. package/dist/model/part-definintion.d.ts +2 -2
  79. package/dist/model/part-manager.d.ts +2 -1
  80. package/dist/model/part-property.d.ts +4 -3
  81. package/dist/model/plugin.d.ts +23 -0
  82. package/dist/page-builder-editor.js +20 -17
  83. package/dist/page-builder-editor.umd.cjs +4941 -2453
  84. package/dist/text/text.d.ts +1 -0
  85. package/package.json +8 -6
  86. package/dist/HtmlEditorModal-BV5E6G70.js +0 -90
  87. package/dist/PbPartAddModal-DuLpnV4E.js +0 -50
  88. package/dist/PbPropertyEditorHtml-CbQR_BzH.js +0 -67
  89. package/dist/PbPropertyEditorImage-BXEXm2Px.js +0 -42
  90. package/dist/PbPropertyEditorProduct-p0zOCA9R.js +0 -49
  91. package/dist/PbWidgetAddModal-CQvFYzfU.js +0 -55
  92. package/dist/components/canvas/PbCanvasFrame.vue.d.ts +0 -2
  93. package/dist/components/modal/HtmlEditorModal.vue.d.ts +0 -23
@@ -1,16 +1,16 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
5
  value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update-property-value": (properties: Record<string, string>) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  property: PartProperty;
10
10
  value?: string | undefined;
11
- }>>> & {
11
+ }>>> & Readonly<{
12
12
  "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,16 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
5
  value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update-property-value": (properties: Record<string, string>) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  property: PartProperty;
10
10
  value?: string | undefined;
11
- }>>> & {
11
+ }>>> & Readonly<{
12
12
  "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,16 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
5
  value?: unknown;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update-property-value": (properties: Record<string, unknown>) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  property: PartProperty;
10
10
  value?: unknown;
11
- }>>> & {
11
+ }>>> & Readonly<{
12
12
  "onUpdate-property-value"?: ((properties: Record<string, unknown>) => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,12 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
- value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- "update-property-value": (properties: Record<string, string>) => void;
8
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ value?: unknown;
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
7
  property: PartProperty;
10
- value?: string | undefined;
11
- }>>> & {
12
- "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
13
- }, {}, {}>;
8
+ value?: unknown;
9
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
10
  export default _default;
15
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,17 +1,18 @@
1
1
  import { MultiLangText } from '@g1cloud/page-builder-viewer';
2
2
  import { PartProperty } from '../../../model/part-property.ts';
3
+ import { MultiLangString } from '@g1cloud/bluesea';
3
4
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
6
  property: PartProperty;
6
- value?: MultiLangText | undefined;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ value?: MultiLangString | undefined;
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
9
  "update-property-value": (properties: Record<string, MultiLangText>) => void;
9
10
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
11
  property: PartProperty;
11
- value?: MultiLangText | undefined;
12
- }>>> & {
12
+ value?: MultiLangString | undefined;
13
+ }>>> & Readonly<{
13
14
  "onUpdate-property-value"?: ((properties: Record<string, MultiLangText>) => any) | undefined;
14
- }, {}, {}>;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
16
  export default _default;
16
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
18
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,23 @@
1
+ import { PartProperty } from '../../../model/part-property.ts';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ property: PartProperty;
5
+ value?: string | undefined;
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update-property-value": (properties: Record<string, unknown>) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ property: PartProperty;
10
+ value?: string | undefined;
11
+ }>>> & Readonly<{
12
+ "onUpdate-property-value"?: ((properties: Record<string, unknown>) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -1,12 +1,12 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
5
  value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  property: PartProperty;
8
8
  value?: string | undefined;
9
- }>>>, {}, {}>;
9
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
11
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,16 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  property: PartProperty;
5
5
  value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update-property-value": (properties: Record<string, string>) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  property: PartProperty;
10
10
  value?: string | undefined;
11
- }>>> & {
11
+ }>>> & Readonly<{
12
12
  "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,17 @@
1
1
  import { PartProperty } from '../../../model/part-property.ts';
2
+ import { MultiLangString } from '@g1cloud/bluesea';
2
3
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
5
  property: PartProperty;
5
- value?: string | undefined;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- "update-property-value": (properties: Record<string, string>) => void;
6
+ value?: string | MultiLangString | undefined;
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update-property-value": (properties: Record<string, unknown>) => void;
8
9
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
10
  property: PartProperty;
10
- value?: string | undefined;
11
- }>>> & {
12
- "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
13
- }, {}, {}>;
11
+ value?: string | MultiLangString | undefined;
12
+ }>>> & Readonly<{
13
+ "onUpdate-property-value"?: ((properties: Record<string, unknown>) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
15
  export default _default;
15
16
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
17
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,16 @@
1
- import { IPart } from '@g1cloud/page-builder-viewer';
1
+ import { PartProperty } from '../../../model/part-property.ts';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
- selectedPart: IPart;
5
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- "select-schedule": () => void;
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ property: PartProperty;
5
+ value?: string | undefined;
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update-property-value": (properties: Record<string, string>) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- selectedPart: IPart;
10
- }>>> & {
9
+ property: PartProperty;
10
+ value?: string | undefined;
11
+ }>>> & Readonly<{
11
12
  "onUpdate-property-value"?: ((properties: Record<string, string>) => any) | undefined;
12
- "onSelect-schedule"?: (() => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,20 @@
1
+ import { IPart } from '@g1cloud/page-builder-viewer';
2
+ import { PartPropertyGroup } from '../../../model/part-property.ts';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ group: PartPropertyGroup;
6
+ selectedParts: IPart[];
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ group: PartPropertyGroup;
9
+ selectedParts: IPart[];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,13 @@
1
1
  import { PartPropertyGroup } from '../../../model/part-property.ts';
2
2
  import { IPart } from '@g1cloud/page-builder-viewer';
3
3
 
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  group: PartPropertyGroup;
6
6
  selectedParts: IPart[];
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  group: PartPropertyGroup;
9
9
  selectedParts: IPart[];
10
- }>>>, {}, {}>;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,24 +1,33 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ /// <reference types="@ckpack/vue-color" />
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
3
  hideDelete: BooleanConstructor;
3
4
  value: {
4
5
  type: StringConstructor;
5
6
  default: string;
6
7
  };
7
- }, {
8
+ }>, {
8
9
  appliedColor: import('vue').ComputedRef<any>;
9
- isShowColorPicker: import('vue').Ref<boolean>;
10
+ isShowColorPicker: import('vue').Ref<boolean, boolean>;
10
11
  toggle: (value?: boolean) => void;
11
- color: import('vue').Ref<any>;
12
+ color: import('vue').Ref<any, any>;
12
13
  emptyColor: () => void;
13
14
  colorHistory: string[] | undefined;
14
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
16
  hideDelete: BooleanConstructor;
16
17
  value: {
17
18
  type: StringConstructor;
18
19
  default: string;
19
20
  };
20
- }>>, {
21
+ }>> & Readonly<{}>, {
21
22
  hideDelete: boolean;
22
23
  value: string;
23
- }, {}>;
24
+ }, {}, {
25
+ Sketch: import('vue').DefineComponent<import('@ckpack/vue-color').Props & {
26
+ presetColors?: import('@ctrl/tinycolor').ColorInput[] | undefined;
27
+ disableAlpha?: boolean | undefined;
28
+ disableFields?: boolean | undefined;
29
+ }, import('@ckpack/vue-color').Context>;
30
+ }, {
31
+ ClickOutside: import('vue').ObjectDirective<any, any, string, string>;
32
+ }, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
33
  export default _default;
@@ -23,4 +23,5 @@ export declare const locateTop: (style: CSSStyleDeclaration, left?: string, widt
23
23
  export declare const locateBottom: (style: CSSStyleDeclaration, left?: string, width?: string) => void;
24
24
  export declare const locateLeft: (style: CSSStyleDeclaration, top?: string, height?: string) => void;
25
25
  export declare const locateRight: (style: CSSStyleDeclaration, top?: string, height?: string) => void;
26
+ export declare const getLayoutDirection: (isMobilePage: boolean, properties?: Record<string, unknown>) => string;
26
27
  export default vPartHandler;