@g1cloud/page-builder-editor 1.0.0-alpha.8 → 1.0.0-alpha.80

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 (119) hide show
  1. package/css/page-builder-editor.css +385 -0
  2. package/css/page-builder-viewer.css +195 -0
  3. package/dist/PageBuilderEditor.vue.d.ts +22 -11
  4. package/dist/PbHtmlEditorModal-C0MLYY66.js +193 -0
  5. package/dist/PbPropertyEditorBoolean-c5CNiTpt.js +38 -0
  6. package/dist/{PbPropertyEditorColor-BonGhf7Z.js → PbPropertyEditorColor-5SJkOBUx.js} +8 -9
  7. package/dist/{PbPropertyEditorText-BWOKvwD9.js → PbPropertyEditorCssLength-CNHbyz8V.js} +10 -9
  8. package/dist/PbPropertyEditorHtml-DdQPQqJb.js +62 -0
  9. package/dist/PbPropertyEditorImage-D0kxh68g.js +106 -0
  10. package/dist/{PbPropertyEditorMultilineText-bEBZmvFa.js → PbPropertyEditorMultilineText-BRLH4Ayi.js} +28 -27
  11. package/dist/PbPropertyEditorNumber-B76ArSb5.js +47 -0
  12. package/dist/{PbPropertyEditorReadonlyText-Dgp_AVOD.js → PbPropertyEditorReadonlyText-BJ5qx69O.js} +6 -6
  13. package/dist/{PbPropertyEditorSelect-CWedbXJI.js → PbPropertyEditorSelect-B5sfulvx.js} +5 -6
  14. package/dist/PbPropertyEditorText-DDtYWGlr.js +50 -0
  15. package/dist/PbPropertyEditorYoutube-BxrZ1nyk.js +40 -0
  16. package/dist/PbScreenSelectModal-57LXAzjs.js +69 -0
  17. package/dist/PbWidgetAddModal-uVBBeNVl.js +79 -0
  18. package/dist/PbYoutubeModal-CU8sClMD.js +73 -0
  19. package/dist/components/canvas/PbCanvas.vue.d.ts +1 -1
  20. package/dist/components/depart/PbLoginDepart.vue.d.ts +3 -3
  21. package/dist/components/menu/PbMenu.vue.d.ts +16 -1
  22. package/dist/components/menu/PbToolbar.vue.d.ts +16 -1
  23. package/dist/components/menu/PbToolbarButton.vue.d.ts +3 -3
  24. package/dist/components/menu/PbToolbarButtonGroup.vue.d.ts +3 -3
  25. package/dist/components/modal/PbHtmlEditorModal.vue.d.ts +28 -0
  26. package/dist/components/modal/PbPartAddModal.vue.d.ts +4 -4
  27. package/dist/components/modal/PbScreenSelectModal.vue.d.ts +6 -0
  28. package/dist/components/modal/PbWidgetAddModal.vue.d.ts +4 -4
  29. package/dist/components/modal/PbYoutubeModal.vue.d.ts +19 -0
  30. package/dist/components/navigator/PbNavigator.vue.d.ts +1 -1
  31. package/dist/components/part/PbAddWidgetButton.vue.d.ts +1 -1
  32. package/dist/components/part/PbBlock.vue.d.ts +7 -3
  33. package/dist/components/part/PbPage.vue.d.ts +5 -5
  34. package/dist/components/part/PbPageFrame.vue.d.ts +19 -0
  35. package/dist/components/part/PbSection.vue.d.ts +7 -3
  36. package/dist/components/part/PbWidget.vue.d.ts +5 -3
  37. package/dist/components/sidebar/PbSidebar.vue.d.ts +1 -1
  38. package/dist/components/sidebar/PbSidebarProperties.vue.d.ts +1 -1
  39. package/dist/components/sidebar/PbSidebarPropertyEditor.vue.d.ts +3 -3
  40. package/dist/components/sidebar/PbSidebarPropertyGroupEditor.vue.d.ts +3 -3
  41. package/dist/components/sidebar/property/{PbPropertyEditorProduct.vue.d.ts → PbPropertyEditorBoolean.vue.d.ts} +4 -4
  42. package/dist/components/sidebar/property/PbPropertyEditorColor.vue.d.ts +4 -4
  43. package/dist/components/sidebar/property/PbPropertyEditorCssLength.vue.d.ts +23 -0
  44. package/dist/components/sidebar/property/PbPropertyEditorHtml.vue.d.ts +4 -4
  45. package/dist/components/sidebar/property/PbPropertyEditorImage.vue.d.ts +5 -9
  46. package/dist/components/sidebar/property/PbPropertyEditorMultilineText.vue.d.ts +7 -6
  47. package/dist/components/sidebar/property/PbPropertyEditorNumber.vue.d.ts +23 -0
  48. package/dist/components/sidebar/property/PbPropertyEditorReadonlyText.vue.d.ts +3 -3
  49. package/dist/components/sidebar/property/PbPropertyEditorSelect.vue.d.ts +4 -4
  50. package/dist/components/sidebar/property/PbPropertyEditorText.vue.d.ts +9 -8
  51. package/dist/components/sidebar/property/{PbPropertyLocalMarketingPart.vue.d.ts → PbPropertyEditorYoutube.vue.d.ts} +9 -9
  52. package/dist/components/sidebar/property/PbPropertyGroupEditorBackground.vue.d.ts +3 -3
  53. package/dist/components/sidebar/property/PbPropertyGroupEditorBorder.vue.d.ts +3 -3
  54. package/dist/components/sidebar/property/PbPropertyGroupEditorMargin.vue.d.ts +3 -3
  55. package/dist/components/sidebar/property/PbPropertyGroupEditorMedia.vue.d.ts +20 -0
  56. package/dist/components/sidebar/property/PbPropertyGroupEditorPadding.vue.d.ts +3 -3
  57. package/dist/components/sidebar/property/PbPropertyGroupEditorPosition.vue.d.ts +3 -3
  58. package/dist/components/sidebar/property/PbPropertyGroupEditorSize.vue.d.ts +3 -3
  59. package/dist/components/ui/PbColorPicker.vue.d.ts +16 -7
  60. package/dist/directives/vPartHandler.d.ts +1 -0
  61. package/dist/{index-CFgXLaTI.js → index-BVTz0PeS.js} +4806 -2151
  62. package/dist/index.d.ts +6 -0
  63. package/dist/model/command.d.ts +47 -34
  64. package/dist/model/context.d.ts +19 -19
  65. package/dist/model/default-part-property-group.d.ts +4 -0
  66. package/dist/model/event.d.ts +0 -56
  67. package/dist/model/model.d.ts +6 -2
  68. package/dist/model/page-builder-editor.d.ts +39 -10
  69. package/dist/model/page-builder-util.d.ts +2 -0
  70. package/dist/model/part-definintion.d.ts +2 -2
  71. package/dist/model/part-manager.d.ts +2 -1
  72. package/dist/model/part-property.d.ts +4 -3
  73. package/dist/model/plugin.d.ts +23 -0
  74. package/dist/page-builder-editor.js +20 -17
  75. package/dist/page-builder-editor.umd.cjs +5503 -2460
  76. package/dist/style.css +377 -1
  77. package/dist/text/text.d.ts +1 -0
  78. package/dist/utils/common.d.ts +1 -0
  79. package/package.json +13 -8
  80. package/scss/canvas.scss +28 -0
  81. package/{css/canvas-block.scss → scss/page-block.scss} +15 -3
  82. package/scss/page-builder-editor.scss +326 -0
  83. package/scss/page-builder-viewer.scss +1 -0
  84. package/{css/canvas-page.scss → scss/page-page.scss} +25 -16
  85. package/{css/canvas-section.scss → scss/page-section.scss} +15 -4
  86. package/scss/page-widget.scss +66 -0
  87. package/scss/page.scss +73 -0
  88. package/{css/property-editor-image.scss → scss/property-editor-html.scss} +5 -4
  89. package/scss/property-editor-image.scss +17 -0
  90. package/{css → scss}/property-editor-product.scss +4 -3
  91. package/scss/property-editor-text.scss +10 -0
  92. package/{css/property-editor-html.scss → scss/property-editor-youtube.scss} +2 -2
  93. package/{css → scss}/property-group-editor-background.scss +4 -3
  94. package/scss/property-group-editor-media.scss +17 -0
  95. package/css/bluesea.scss +0 -8244
  96. package/css/canvas-widget.scss +0 -41
  97. package/css/canvas.scss +0 -147
  98. package/css/page-builder-editor.scss +0 -265
  99. package/css/page-builder-viewer.scss +0 -1
  100. package/css/variable.scss +0 -1
  101. package/dist/HtmlEditorModal-DDoVYM6n.js +0 -94
  102. package/dist/PbPartAddModal-DuLpnV4E.js +0 -50
  103. package/dist/PbPropertyEditorHtml-DfOWZr6S.js +0 -65
  104. package/dist/PbPropertyEditorImage-Du9R6CBU.js +0 -42
  105. package/dist/PbPropertyEditorProduct-gzGulWGg.js +0 -49
  106. package/dist/PbWidgetAddModal-CQvFYzfU.js +0 -55
  107. package/dist/components/canvas/PbCanvasFrame.vue.d.ts +0 -2
  108. package/dist/components/modal/HtmlEditorModal.vue.d.ts +0 -23
  109. /package/{css → scss}/property-editor-color.scss +0 -0
  110. /package/{css → scss}/property-editor-multiline-text.scss +0 -0
  111. /package/{css/property-editor-text.scss → scss/property-editor-number.scss} +0 -0
  112. /package/{css → scss}/property-editor-readonly-text.scss +0 -0
  113. /package/{css → scss}/property-editor-select.scss +0 -0
  114. /package/{css → scss}/property-group-editor-border.scss +0 -0
  115. /package/{css → scss}/property-group-editor-margin.scss +0 -0
  116. /package/{css → scss}/property-group-editor-padding.scss +0 -0
  117. /package/{css → scss}/property-group-editor-position.scss +0 -0
  118. /package/{css → scss}/property-group-editor-size.scss +0 -0
  119. /package/{css → scss}/property-localpart.scss +0 -0
@@ -1,13 +1,13 @@
1
1
  import { PartProperty } 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
  property: PartProperty;
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
  property: PartProperty;
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,15 +1,15 @@
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
  partsKey: string;
7
7
  selectedParts: IPart[];
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  group: PartPropertyGroup;
10
10
  partsKey: string;
11
11
  selectedParts: IPart[];
12
- }>>>, {}, {}>;
12
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
14
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
15
  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?: 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> = {
@@ -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,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;