@brunoalz/smartgesti-site-editor 1.5.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor/LandingPageEditor.d.ts.map +1 -1
- package/dist/editor/LandingPageEditor.js +199 -185
- package/dist/editor/LandingPageEditor.js.map +1 -1
- package/dist/editor/PropertyEditor/VariationSelector.d.ts +1 -1
- package/dist/editor/PropertyEditor/VariationSelector.d.ts.map +1 -1
- package/dist/editor/PropertyEditor/VariationSelector.js +262 -93
- package/dist/editor/PropertyEditor/VariationSelector.js.map +1 -1
- package/dist/engine/export/exporters/layout/GridExporter.d.ts.map +1 -1
- package/dist/engine/export/exporters/layout/GridExporter.js +47 -31
- package/dist/engine/export/exporters/layout/GridExporter.js.map +1 -1
- package/dist/engine/export/exporters/layout/StackExporter.d.ts.map +1 -1
- package/dist/engine/export/exporters/layout/StackExporter.js +17 -16
- package/dist/engine/export/exporters/layout/StackExporter.js.map +1 -1
- package/dist/engine/export/exporters/sections/BlogPostExporters.d.ts.map +1 -1
- package/dist/engine/export/exporters/sections/BlogPostExporters.js +246 -186
- package/dist/engine/export/exporters/sections/BlogPostExporters.js.map +1 -1
- package/dist/engine/plugins/builtin/blog/manifest.d.ts.map +1 -1
- package/dist/engine/plugins/builtin/blog/manifest.js +65 -47
- package/dist/engine/plugins/builtin/blog/manifest.js.map +1 -1
- package/dist/engine/presets/blogVariations.d.ts +51 -0
- package/dist/engine/presets/blogVariations.d.ts.map +1 -0
- package/dist/engine/presets/blogVariations.js +267 -0
- package/dist/engine/presets/blogVariations.js.map +1 -0
- package/dist/engine/registry/blocks/layout/grid.d.ts.map +1 -1
- package/dist/engine/registry/blocks/layout/grid.js +84 -42
- package/dist/engine/registry/blocks/layout/grid.js.map +1 -1
- package/dist/engine/registry/blocks/layout/stack.d.ts.map +1 -1
- package/dist/engine/registry/blocks/layout/stack.js +14 -13
- package/dist/engine/registry/blocks/layout/stack.js.map +1 -1
- package/dist/engine/registry/blocks/sections/blogCategoryFilter.d.ts.map +1 -1
- package/dist/engine/registry/blocks/sections/blogCategoryFilter.js +62 -5
- package/dist/engine/registry/blocks/sections/blogCategoryFilter.js.map +1 -1
- package/dist/engine/registry/blocks/sections/blogPostDetail.d.ts.map +1 -1
- package/dist/engine/registry/blocks/sections/blogPostDetail.js +16 -4
- package/dist/engine/registry/blocks/sections/blogPostDetail.js.map +1 -1
- package/dist/engine/registry/blocks/sections/blogRecentPosts.d.ts.map +1 -1
- package/dist/engine/registry/blocks/sections/blogRecentPosts.js +62 -5
- package/dist/engine/registry/blocks/sections/blogRecentPosts.js.map +1 -1
- package/dist/engine/registry/blocks/sections/blogSearchBar.d.ts.map +1 -1
- package/dist/engine/registry/blocks/sections/blogSearchBar.js +23 -1
- package/dist/engine/registry/blocks/sections/blogSearchBar.js.map +1 -1
- package/dist/engine/registry/blocks/sections/blogTagCloud.d.ts.map +1 -1
- package/dist/engine/registry/blocks/sections/blogTagCloud.js +63 -6
- package/dist/engine/registry/blocks/sections/blogTagCloud.js.map +1 -1
- package/dist/engine/render/renderers/layout/GridRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/layout/GridRenderer.js +51 -18
- package/dist/engine/render/renderers/layout/GridRenderer.js.map +1 -1
- package/dist/engine/render/renderers/layout/StackRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/layout/StackRenderer.js +30 -25
- package/dist/engine/render/renderers/layout/StackRenderer.js.map +1 -1
- package/dist/engine/render/renderers/sections/BlogCategoryFilterRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/sections/BlogCategoryFilterRenderer.js +157 -132
- package/dist/engine/render/renderers/sections/BlogCategoryFilterRenderer.js.map +1 -1
- package/dist/engine/render/renderers/sections/BlogPostDetailRenderer.js +17 -17
- package/dist/engine/render/renderers/sections/BlogPostDetailRenderer.js.map +1 -1
- package/dist/engine/render/renderers/sections/BlogRecentPostsRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/sections/BlogRecentPostsRenderer.js +168 -136
- package/dist/engine/render/renderers/sections/BlogRecentPostsRenderer.js.map +1 -1
- package/dist/engine/render/renderers/sections/BlogSearchBarRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/sections/BlogSearchBarRenderer.js +59 -102
- package/dist/engine/render/renderers/sections/BlogSearchBarRenderer.js.map +1 -1
- package/dist/engine/render/renderers/sections/BlogTagCloudRenderer.d.ts.map +1 -1
- package/dist/engine/render/renderers/sections/BlogTagCloudRenderer.js +158 -122
- package/dist/engine/render/renderers/sections/BlogTagCloudRenderer.js.map +1 -1
- package/dist/engine/schema/siteDocument.d.ts +57 -1
- package/dist/engine/schema/siteDocument.d.ts.map +1 -1
- package/dist/engine/schema/siteDocument.js.map +1 -1
- package/dist/engine/shared/hoverEffects/colorUtils.d.ts +2 -1
- package/dist/engine/shared/hoverEffects/colorUtils.d.ts.map +1 -1
- package/dist/engine/shared/hoverEffects/colorUtils.js +16 -12
- package/dist/engine/shared/hoverEffects/colorUtils.js.map +1 -1
- package/dist/engine/shared/widgetStyles.d.ts +9 -0
- package/dist/engine/shared/widgetStyles.d.ts.map +1 -0
- package/dist/engine/shared/widgetStyles.js +13 -0
- package/dist/engine/shared/widgetStyles.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +84 -71
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,84 +6,126 @@ const a = {
|
|
|
6
6
|
category: "layout",
|
|
7
7
|
canHaveChildren: !0,
|
|
8
8
|
defaultProps: {
|
|
9
|
-
cols:
|
|
10
|
-
|
|
9
|
+
cols: 2,
|
|
10
|
+
colTemplate: "",
|
|
11
|
+
gap: "2.5rem"
|
|
11
12
|
},
|
|
12
13
|
inspectorMeta: {
|
|
13
|
-
|
|
14
|
-
label: "
|
|
15
|
-
description: "
|
|
16
|
-
inputType: "
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
colTemplate: {
|
|
15
|
+
label: "Layout",
|
|
16
|
+
description: "Distribuição das colunas",
|
|
17
|
+
inputType: "select",
|
|
18
|
+
options: [
|
|
19
|
+
{ label: "Iguais", value: "" },
|
|
20
|
+
{ label: "Conteúdo + Lateral", value: "1fr 320px" }
|
|
21
|
+
],
|
|
19
22
|
group: "Layout"
|
|
20
23
|
},
|
|
21
|
-
|
|
22
|
-
label: "
|
|
23
|
-
description: "CSS grid-template-columns. Se definido, sobrescreve 'Colunas'.",
|
|
24
|
+
cols: {
|
|
25
|
+
label: "Colunas",
|
|
24
26
|
inputType: "select",
|
|
25
27
|
options: [
|
|
26
|
-
{ label: "
|
|
27
|
-
{ label: "
|
|
28
|
-
{ label: "
|
|
29
|
-
{ label: "Conteúdo + Sidebar Larga (1fr 380px)", value: "1fr 380px" },
|
|
30
|
-
{ label: "Sidebar Larga + Conteúdo (380px 1fr)", value: "380px 1fr" },
|
|
31
|
-
{ label: "2/3 + 1/3", value: "2fr 1fr" },
|
|
32
|
-
{ label: "1/3 + 2/3", value: "1fr 2fr" },
|
|
33
|
-
{ label: "Metade + Metade", value: "1fr 1fr" }
|
|
28
|
+
{ label: "2 Colunas", value: 2 },
|
|
29
|
+
{ label: "3 Colunas", value: 3 },
|
|
30
|
+
{ label: "4 Colunas", value: 4 }
|
|
34
31
|
],
|
|
32
|
+
showWhen: { field: "colTemplate", truthy: !1 },
|
|
35
33
|
group: "Layout"
|
|
36
34
|
},
|
|
37
35
|
gap: {
|
|
38
|
-
label: "
|
|
36
|
+
label: "Espaçamento",
|
|
37
|
+
description: "Distância entre colunas",
|
|
39
38
|
inputType: "select",
|
|
40
39
|
options: [
|
|
41
|
-
{ label: "Compacto", value: "
|
|
42
|
-
{ label: "Padrão", value: "
|
|
43
|
-
{ label: "Espaçoso", value: "
|
|
44
|
-
{ label: "Largo", value: "2.5rem" },
|
|
45
|
-
{ label: "X. Largo", value: "3rem" }
|
|
40
|
+
{ label: "Compacto", value: "1.5rem" },
|
|
41
|
+
{ label: "Padrão", value: "2.5rem" },
|
|
42
|
+
{ label: "Espaçoso", value: "4rem" }
|
|
46
43
|
],
|
|
47
44
|
group: "Layout"
|
|
48
45
|
},
|
|
49
46
|
maxWidth: {
|
|
50
|
-
label: "Largura
|
|
51
|
-
description: "Largura máxima do container
|
|
47
|
+
label: "Largura",
|
|
48
|
+
description: "Largura máxima do container",
|
|
52
49
|
inputType: "select",
|
|
53
50
|
options: [
|
|
54
|
-
{ label: "
|
|
55
|
-
{ label: "
|
|
56
|
-
{ label: "
|
|
57
|
-
{ label: "
|
|
58
|
-
{ label: "Máxima (1600px)", value: "1600px" }
|
|
51
|
+
{ label: "Pequeno", value: "1200px" },
|
|
52
|
+
{ label: "Padrão", value: "1400px" },
|
|
53
|
+
{ label: "Grande", value: "1600px" },
|
|
54
|
+
{ label: "Tela Cheia", value: "" }
|
|
59
55
|
],
|
|
60
56
|
group: "Espaçamento"
|
|
61
57
|
},
|
|
62
58
|
padding: {
|
|
63
59
|
label: "Padding Lateral",
|
|
64
|
-
description: "Espaçamento horizontal interno",
|
|
65
60
|
inputType: "select",
|
|
66
61
|
options: [
|
|
67
62
|
{ label: "Nenhum", value: "" },
|
|
68
|
-
{ label: "
|
|
69
|
-
{ label: "
|
|
70
|
-
{ label: "Grande (3rem)", value: "3rem" },
|
|
71
|
-
{ label: "Extra Grande (4rem)", value: "4rem" }
|
|
63
|
+
{ label: "Padrão", value: "2rem" },
|
|
64
|
+
{ label: "Grande", value: "4rem" }
|
|
72
65
|
],
|
|
73
66
|
group: "Espaçamento"
|
|
74
67
|
},
|
|
75
68
|
paddingTop: {
|
|
76
69
|
label: "Espaço do Topo",
|
|
77
|
-
description: "
|
|
70
|
+
description: "Compensação para navbar fixa",
|
|
78
71
|
inputType: "select",
|
|
79
72
|
options: [
|
|
80
73
|
{ label: "Nenhum", value: "" },
|
|
81
|
-
{ label: "
|
|
82
|
-
{ label: "
|
|
83
|
-
{ label: "Navbar + Respiro (6rem)", value: "6rem" },
|
|
84
|
-
{ label: "Grande (8rem)", value: "8rem" }
|
|
74
|
+
{ label: "Navbar", value: "5rem" },
|
|
75
|
+
{ label: "Grande", value: "8rem" }
|
|
85
76
|
],
|
|
86
77
|
group: "Espaçamento"
|
|
78
|
+
},
|
|
79
|
+
paddingBottom: {
|
|
80
|
+
label: "Espaço Inferior",
|
|
81
|
+
inputType: "select",
|
|
82
|
+
options: [
|
|
83
|
+
{ label: "Nenhum", value: "" },
|
|
84
|
+
{ label: "Padrão", value: "3rem" },
|
|
85
|
+
{ label: "Grande", value: "6rem" }
|
|
86
|
+
],
|
|
87
|
+
group: "Espaçamento"
|
|
88
|
+
},
|
|
89
|
+
contentPosition: {
|
|
90
|
+
label: "Posição",
|
|
91
|
+
description: "Posição do container quando menor que a tela",
|
|
92
|
+
inputType: "select",
|
|
93
|
+
options: [
|
|
94
|
+
{ label: "Esquerda", value: "left" },
|
|
95
|
+
{ label: "Centro", value: "center" },
|
|
96
|
+
{ label: "Direita", value: "right" }
|
|
97
|
+
],
|
|
98
|
+
showWhen: { field: "maxWidth", truthy: !0 },
|
|
99
|
+
group: "Espaçamento"
|
|
100
|
+
},
|
|
101
|
+
bg: {
|
|
102
|
+
label: "Cor de Fundo",
|
|
103
|
+
description: "Cor de fundo do layout (preenche toda a largura)",
|
|
104
|
+
inputType: "color",
|
|
105
|
+
group: "Fundo"
|
|
106
|
+
},
|
|
107
|
+
bgImage: {
|
|
108
|
+
label: "Imagem de Fundo",
|
|
109
|
+
inputType: "image-upload",
|
|
110
|
+
group: "Fundo"
|
|
111
|
+
},
|
|
112
|
+
bgOverlay: {
|
|
113
|
+
label: "Overlay Escuro",
|
|
114
|
+
inputType: "checkbox",
|
|
115
|
+
showWhen: { field: "bgImage", truthy: !0 },
|
|
116
|
+
group: "Fundo"
|
|
117
|
+
},
|
|
118
|
+
bgOverlayColor: {
|
|
119
|
+
label: "Cor do Overlay",
|
|
120
|
+
inputType: "color",
|
|
121
|
+
showWhen: { field: "bgOverlay", equals: !0 },
|
|
122
|
+
group: "Fundo"
|
|
123
|
+
},
|
|
124
|
+
bgGradient: {
|
|
125
|
+
label: "Gradiente",
|
|
126
|
+
description: "Ex: linear-gradient(135deg, #667eea, #764ba2)",
|
|
127
|
+
inputType: "text",
|
|
128
|
+
group: "Fundo"
|
|
87
129
|
}
|
|
88
130
|
}
|
|
89
131
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.js","sources":["../../../../../src/engine/registry/blocks/layout/grid.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const gridBlock: BlockDefinition = {\n type: \"grid\",\n name: \"Grid\",\n description: \"Layout em grid responsivo\",\n category: \"layout\",\n canHaveChildren: true,\n defaultProps: {\n cols:
|
|
1
|
+
{"version":3,"file":"grid.js","sources":["../../../../../src/engine/registry/blocks/layout/grid.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const gridBlock: BlockDefinition = {\n type: \"grid\",\n name: \"Grid\",\n description: \"Layout em grid responsivo\",\n category: \"layout\",\n canHaveChildren: true,\n defaultProps: {\n cols: 2,\n colTemplate: \"\",\n gap: \"2.5rem\",\n },\n inspectorMeta: {\n colTemplate: {\n label: \"Layout\",\n description: \"Distribuição das colunas\",\n inputType: \"select\",\n options: [\n { label: \"Iguais\", value: \"\" },\n { label: \"Conteúdo + Lateral\", value: \"1fr 320px\" },\n ],\n group: \"Layout\",\n },\n cols: {\n label: \"Colunas\",\n inputType: \"select\",\n options: [\n { label: \"2 Colunas\", value: 2 },\n { label: \"3 Colunas\", value: 3 },\n { label: \"4 Colunas\", value: 4 },\n ],\n showWhen: { field: \"colTemplate\", truthy: false },\n group: \"Layout\",\n },\n gap: {\n label: \"Espaçamento\",\n description: \"Distância entre colunas\",\n inputType: \"select\",\n options: [\n { label: \"Compacto\", value: \"1.5rem\" },\n { label: \"Padrão\", value: \"2.5rem\" },\n { label: \"Espaçoso\", value: \"4rem\" },\n ],\n group: \"Layout\",\n },\n maxWidth: {\n label: \"Largura\",\n description: \"Largura máxima do container\",\n inputType: \"select\",\n options: [\n { label: \"Pequeno\", value: \"1200px\" },\n { label: \"Padrão\", value: \"1400px\" },\n { label: \"Grande\", value: \"1600px\" },\n { label: \"Tela Cheia\", value: \"\" },\n ],\n group: \"Espaçamento\",\n },\n padding: {\n label: \"Padding Lateral\",\n inputType: \"select\",\n options: [\n { label: \"Nenhum\", value: \"\" },\n { label: \"Padrão\", value: \"2rem\" },\n { label: \"Grande\", value: \"4rem\" },\n ],\n group: \"Espaçamento\",\n },\n paddingTop: {\n label: \"Espaço do Topo\",\n description: \"Compensação para navbar fixa\",\n inputType: \"select\",\n options: [\n { label: \"Nenhum\", value: \"\" },\n { label: \"Navbar\", value: \"5rem\" },\n { label: \"Grande\", value: \"8rem\" },\n ],\n group: \"Espaçamento\",\n },\n paddingBottom: {\n label: \"Espaço Inferior\",\n inputType: \"select\",\n options: [\n { label: \"Nenhum\", value: \"\" },\n { label: \"Padrão\", value: \"3rem\" },\n { label: \"Grande\", value: \"6rem\" },\n ],\n group: \"Espaçamento\",\n },\n contentPosition: {\n label: \"Posição\",\n description: \"Posição do container quando menor que a tela\",\n inputType: \"select\",\n options: [\n { label: \"Esquerda\", value: \"left\" },\n { label: \"Centro\", value: \"center\" },\n { label: \"Direita\", value: \"right\" },\n ],\n showWhen: { field: \"maxWidth\", truthy: true },\n group: \"Espaçamento\",\n },\n bg: {\n label: \"Cor de Fundo\",\n description: \"Cor de fundo do layout (preenche toda a largura)\",\n inputType: \"color\",\n group: \"Fundo\",\n },\n bgImage: {\n label: \"Imagem de Fundo\",\n inputType: \"image-upload\",\n group: \"Fundo\",\n },\n bgOverlay: {\n label: \"Overlay Escuro\",\n inputType: \"checkbox\",\n showWhen: { field: \"bgImage\", truthy: true },\n group: \"Fundo\",\n },\n bgOverlayColor: {\n label: \"Cor do Overlay\",\n inputType: \"color\",\n showWhen: { field: \"bgOverlay\", equals: true },\n group: \"Fundo\",\n },\n bgGradient: {\n label: \"Gradiente\",\n description: \"Ex: linear-gradient(135deg, #667eea, #764ba2)\",\n inputType: \"text\",\n group: \"Fundo\",\n },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(gridBlock);\n"],"names":["gridBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAA6B;AAAA,EACxC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,aAAa;AAAA,IACb,KAAK;AAAA,EAAA;AAAA,EAEP,eAAe;AAAA,IACb,aAAa;AAAA,MACX,OAAO;AAAA,MACP,aAAa;AAAA,MACb,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,UAAU,OAAO,GAAA;AAAA,QAC1B,EAAE,OAAO,sBAAsB,OAAO,YAAA;AAAA,MAAY;AAAA,MAEpD,OAAO;AAAA,IAAA;AAAA,IAET,MAAM;AAAA,MACJ,OAAO;AAAA,MACP,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,aAAa,OAAO,EAAA;AAAA,QAC7B,EAAE,OAAO,aAAa,OAAO,EAAA;AAAA,QAC7B,EAAE,OAAO,aAAa,OAAO,EAAA;AAAA,MAAE;AAAA,MAEjC,UAAU,EAAE,OAAO,eAAe,QAAQ,GAAA;AAAA,MAC1C,OAAO;AAAA,IAAA;AAAA,IAET,KAAK;AAAA,MACH,OAAO;AAAA,MACP,aAAa;AAAA,MACb,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,YAAY,OAAO,SAAA;AAAA,QAC5B,EAAE,OAAO,UAAU,OAAO,SAAA;AAAA,QAC1B,EAAE,OAAO,YAAY,OAAO,OAAA;AAAA,MAAO;AAAA,MAErC,OAAO;AAAA,IAAA;AAAA,IAET,UAAU;AAAA,MACR,OAAO;AAAA,MACP,aAAa;AAAA,MACb,WAAW;AAAA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A;AAAA,MACvC,OAAO;AAAA,IAAA;AAAA,IAET,IAAI;AAAA,MACF,OAAO;AAAA,MACP,aAAa;AAAA,MACb,WAAW;AAAA,MACX,OAAO;AAAA,IAAA;AAAA,IAET,SAAS;AAAA,MACP,OAAO;AAAA,MACP,WAAW;AAAA,MACX,OAAO;AAAA,IAAA;AAAA,IAET,WAAW;AAAA,MACT,OAAO;AAAA,MACP,WAAW;AAAA,MACX,UAAU,EAAE,OAAO,WAAW,QAAQ,GAAA;AAAA,MACtC,OAAO;AAAA,IAAA;AAAA,IAET,gBAAgB;AAAA,MACd,OAAO;AAAA,MACP,WAAW;AAAA,MACX,UAAU,EAAE,OAAO,aAAa,QAAQ,GAAA;AAAA,MACxC,OAAO;AAAA,IAAA;AAAA,IAET,YAAY;AAAA,MACV,OAAO;AAAA,MACP,aAAa;AAAA,MACb,WAAW;AAAA,MACX,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ;AAGAC,EAAkB,SAASD,CAAS;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/layout/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/layout/stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,UAAU,EAAE,eAkFxB,CAAC"}
|
|
@@ -25,14 +25,12 @@ const a = {
|
|
|
25
25
|
group: "Layout"
|
|
26
26
|
},
|
|
27
27
|
gap: {
|
|
28
|
-
label: "
|
|
28
|
+
label: "Espaçamento",
|
|
29
29
|
inputType: "select",
|
|
30
30
|
options: [
|
|
31
31
|
{ label: "Compacto", value: "0.5rem" },
|
|
32
|
-
{ label: "Pequeno", value: "1rem" },
|
|
33
32
|
{ label: "Padrão", value: "1.5rem" },
|
|
34
|
-
{ label: "Espaçoso", value: "
|
|
35
|
-
{ label: "Largo", value: "3rem" }
|
|
33
|
+
{ label: "Espaçoso", value: "3rem" }
|
|
36
34
|
],
|
|
37
35
|
group: "Layout"
|
|
38
36
|
},
|
|
@@ -42,7 +40,6 @@ const a = {
|
|
|
42
40
|
options: [
|
|
43
41
|
{ label: "Início", value: "start" },
|
|
44
42
|
{ label: "Centro", value: "center" },
|
|
45
|
-
{ label: "Fim", value: "end" },
|
|
46
43
|
{ label: "Esticar", value: "stretch" }
|
|
47
44
|
],
|
|
48
45
|
group: "Layout"
|
|
@@ -53,12 +50,17 @@ const a = {
|
|
|
53
50
|
options: [
|
|
54
51
|
{ label: "Início", value: "start" },
|
|
55
52
|
{ label: "Centro", value: "center" },
|
|
56
|
-
{ label: "
|
|
57
|
-
{ label: "Space Between", value: "space-between" },
|
|
58
|
-
{ label: "Space Around", value: "space-around" }
|
|
53
|
+
{ label: "Espaçar", value: "space-between" }
|
|
59
54
|
],
|
|
60
55
|
group: "Layout"
|
|
61
56
|
},
|
|
57
|
+
wrap: {
|
|
58
|
+
label: "Quebrar Linha",
|
|
59
|
+
description: "Permite que itens quebrem para próxima linha",
|
|
60
|
+
inputType: "checkbox",
|
|
61
|
+
showWhen: { field: "direction", equals: "row" },
|
|
62
|
+
group: "Layout"
|
|
63
|
+
},
|
|
62
64
|
sticky: {
|
|
63
65
|
label: "Fixo ao Rolar",
|
|
64
66
|
description: "Mantém o bloco visível enquanto rola (desativado em mobile)",
|
|
@@ -70,11 +72,10 @@ const a = {
|
|
|
70
72
|
description: "Espaço do topo quando fixo",
|
|
71
73
|
inputType: "select",
|
|
72
74
|
options: [
|
|
73
|
-
{ label: "Rente
|
|
74
|
-
{ label: "
|
|
75
|
-
{ label: "Navbar
|
|
76
|
-
{ label: "
|
|
77
|
-
{ label: "Grande (120px)", value: "120px" }
|
|
75
|
+
{ label: "Rente", value: "0px" },
|
|
76
|
+
{ label: "Navbar", value: "80px" },
|
|
77
|
+
{ label: "Navbar + Espaço", value: "100px" },
|
|
78
|
+
{ label: "Grande", value: "140px" }
|
|
78
79
|
],
|
|
79
80
|
showWhen: { field: "sticky", equals: !0 },
|
|
80
81
|
group: "Comportamento"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.js","sources":["../../../../../src/engine/registry/blocks/layout/stack.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const stackBlock: BlockDefinition = {\n type: \"stack\",\n name: \"Stack\",\n description: \"Layout flex (linha ou coluna)\",\n category: \"layout\",\n canHaveChildren: true,\n defaultProps: {\n direction: \"col\",\n gap: \"1rem\",\n align: \"stretch\",\n justify: \"start\",\n wrap: false,\n sticky: false,\n stickyOffset: \"80px\",\n },\n inspectorMeta: {\n direction: {\n label: \"Direção\",\n inputType: \"select\",\n options: [\n { label: \"Coluna\", value: \"col\" },\n { label: \"Linha\", value: \"row\" },\n ],\n group: \"Layout\",\n },\n gap: {\n label: \"
|
|
1
|
+
{"version":3,"file":"stack.js","sources":["../../../../../src/engine/registry/blocks/layout/stack.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const stackBlock: BlockDefinition = {\n type: \"stack\",\n name: \"Stack\",\n description: \"Layout flex (linha ou coluna)\",\n category: \"layout\",\n canHaveChildren: true,\n defaultProps: {\n direction: \"col\",\n gap: \"1rem\",\n align: \"stretch\",\n justify: \"start\",\n wrap: false,\n sticky: false,\n stickyOffset: \"80px\",\n },\n inspectorMeta: {\n direction: {\n label: \"Direção\",\n inputType: \"select\",\n options: [\n { label: \"Coluna\", value: \"col\" },\n { label: \"Linha\", value: \"row\" },\n ],\n group: \"Layout\",\n },\n gap: {\n label: \"Espaçamento\",\n inputType: \"select\",\n options: [\n { label: \"Compacto\", value: \"0.5rem\" },\n { label: \"Padrão\", value: \"1.5rem\" },\n { label: \"Espaçoso\", value: \"3rem\" },\n ],\n group: \"Layout\",\n },\n align: {\n label: \"Alinhamento\",\n inputType: \"select\",\n options: [\n { label: \"Início\", value: \"start\" },\n { label: \"Centro\", value: \"center\" },\n { label: \"Esticar\", value: \"stretch\" },\n ],\n group: \"Layout\",\n },\n justify: {\n label: \"Justificar\",\n inputType: \"select\",\n options: [\n { label: \"Início\", value: \"start\" },\n { label: \"Centro\", value: \"center\" },\n { label: \"Espaçar\", value: \"space-between\" },\n ],\n group: \"Layout\",\n },\n wrap: {\n label: \"Quebrar Linha\",\n description: \"Permite que itens quebrem para próxima linha\",\n inputType: \"checkbox\",\n showWhen: { field: \"direction\", equals: \"row\" },\n group: \"Layout\",\n },\n sticky: {\n label: \"Fixo ao Rolar\",\n description: \"Mantém o bloco visível enquanto rola (desativado em mobile)\",\n inputType: \"checkbox\",\n group: \"Comportamento\",\n },\n stickyOffset: {\n label: \"Distância do Topo\",\n description: \"Espaço do topo quando fixo\",\n inputType: \"select\",\n options: [\n { label: \"Rente\", value: \"0px\" },\n { label: \"Navbar\", value: \"80px\" },\n { label: \"Navbar + Espaço\", value: \"100px\" },\n { label: \"Grande\", value: \"140px\" },\n ],\n showWhen: { field: \"sticky\", equals: true },\n group: \"Comportamento\",\n },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(stackBlock);\n"],"names":["stackBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAA8B;AAAA,EACzC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,cAAc;AAAA,IACZ,WAAW;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,cAAc;AAAA,EAAA;AAAA,EAEhB,eAAe;AAAA,IACb,WAAW;AAAA,MACT,OAAO;AAAA,MACP,WAAW;AAAA,MACX,SAAS;AAAA,QACP,E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OAAO,OAAA;AAAA,QAC1B,EAAE,OAAO,mBAAmB,OAAO,QAAA;AAAA,QACnC,EAAE,OAAO,UAAU,OAAO,QAAA;AAAA,MAAQ;AAAA,MAEpC,UAAU,EAAE,OAAO,UAAU,QAAQ,GAAA;AAAA,MACrC,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ;AAGAC,EAAkB,SAASD,CAAU;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogCategoryFilter.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogCategoryFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"blogCategoryFilter.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogCategoryFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,oBAAoB,CAuGzE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { componentRegistry as e } from "../../registry.js";
|
|
2
|
-
const
|
|
2
|
+
const l = {
|
|
3
3
|
type: "blogCategoryFilter",
|
|
4
4
|
name: "Blog Category Filter",
|
|
5
5
|
description: "Filtro de categorias para listagem do blog (plugin Blog)",
|
|
@@ -19,7 +19,13 @@ const t = {
|
|
|
19
19
|
showCount: !0,
|
|
20
20
|
showAll: !0,
|
|
21
21
|
allLabel: "Todas",
|
|
22
|
-
filterUrl: "/site/p/blog"
|
|
22
|
+
filterUrl: "/site/p/blog",
|
|
23
|
+
linkColor: "#374151",
|
|
24
|
+
linkHoverColor: "#2563eb",
|
|
25
|
+
linkHoverEffect: "background",
|
|
26
|
+
linkHoverIntensity: 50,
|
|
27
|
+
borderRadius: "0.75rem",
|
|
28
|
+
shadow: "none"
|
|
23
29
|
},
|
|
24
30
|
inspectorMeta: {
|
|
25
31
|
title: { label: "Título", inputType: "text", group: "Conteúdo" },
|
|
@@ -43,11 +49,62 @@ const t = {
|
|
|
43
49
|
showWhen: { field: "showAll", equals: !0 }
|
|
44
50
|
},
|
|
45
51
|
activeCategory: { label: "Categoria Ativa", inputType: "text", group: "Comportamento" },
|
|
46
|
-
filterUrl: { label: "URL Base do Filtro", inputType: "text", group: "Comportamento" }
|
|
52
|
+
filterUrl: { label: "URL Base do Filtro", inputType: "text", group: "Comportamento" },
|
|
53
|
+
linkColor: {
|
|
54
|
+
label: "Cor do Texto",
|
|
55
|
+
inputType: "color-advanced",
|
|
56
|
+
group: "Links"
|
|
57
|
+
},
|
|
58
|
+
linkHoverColor: {
|
|
59
|
+
label: "Cor (Hover)",
|
|
60
|
+
inputType: "color-advanced",
|
|
61
|
+
group: "Links"
|
|
62
|
+
},
|
|
63
|
+
linkHoverEffect: {
|
|
64
|
+
label: "Efeito Hover",
|
|
65
|
+
inputType: "select",
|
|
66
|
+
options: [
|
|
67
|
+
{ label: "Fundo", value: "background" },
|
|
68
|
+
{ label: "Sublinhado", value: "underline" },
|
|
69
|
+
{ label: "Sublinhado Centro", value: "underline-center" },
|
|
70
|
+
{ label: "Fundo Subindo", value: "slide-bg" },
|
|
71
|
+
{ label: "Escala", value: "scale" },
|
|
72
|
+
{ label: "Brilho Neon", value: "glow" }
|
|
73
|
+
],
|
|
74
|
+
group: "Links"
|
|
75
|
+
},
|
|
76
|
+
linkHoverIntensity: {
|
|
77
|
+
label: "Intensidade",
|
|
78
|
+
inputType: "slider",
|
|
79
|
+
min: 10,
|
|
80
|
+
max: 100,
|
|
81
|
+
step: 10,
|
|
82
|
+
group: "Links"
|
|
83
|
+
},
|
|
84
|
+
borderRadius: {
|
|
85
|
+
label: "Arredondamento",
|
|
86
|
+
inputType: "select",
|
|
87
|
+
options: [
|
|
88
|
+
{ label: "Nenhum", value: "0" },
|
|
89
|
+
{ label: "Padrão", value: "0.75rem" },
|
|
90
|
+
{ label: "Grande", value: "1.25rem" }
|
|
91
|
+
],
|
|
92
|
+
group: "Aparência"
|
|
93
|
+
},
|
|
94
|
+
shadow: {
|
|
95
|
+
label: "Sombra",
|
|
96
|
+
inputType: "select",
|
|
97
|
+
options: [
|
|
98
|
+
{ label: "Nenhuma", value: "none" },
|
|
99
|
+
{ label: "Suave", value: "sm" },
|
|
100
|
+
{ label: "Média", value: "md" }
|
|
101
|
+
],
|
|
102
|
+
group: "Aparência"
|
|
103
|
+
}
|
|
47
104
|
}
|
|
48
105
|
};
|
|
49
|
-
e.register(
|
|
106
|
+
e.register(l);
|
|
50
107
|
export {
|
|
51
|
-
|
|
108
|
+
l as blogCategoryFilterBlock
|
|
52
109
|
};
|
|
53
110
|
//# sourceMappingURL=blogCategoryFilter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogCategoryFilter.js","sources":["../../../../../src/engine/registry/blocks/sections/blogCategoryFilter.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogCategoryFilterBlock: BlockDefinition<\"blogCategoryFilter\"> = {\n type: \"blogCategoryFilter\",\n name: \"Blog Category Filter\",\n description: \"Filtro de categorias para listagem do blog (plugin Blog)\",\n category: \"sections\",\n pluginId: \"blog\",\n canHaveChildren: false,\n defaultProps: {\n title: \"Categorias\",\n categories: [\n { name: \"Novidades\", slug: \"novidades\", count: 5 },\n { name: \"Educação\", slug: \"educacao\", count: 8 },\n { name: \"Eventos\", slug: \"eventos\", count: 3 },\n { name: \"Institucional\", slug: \"institucional\", count: 4 },\n { name: \"Dicas\", slug: \"dicas\", count: 6 },\n ],\n variant: \"chips\",\n showCount: true,\n showAll: true,\n allLabel: \"Todas\",\n filterUrl: \"/site/p/blog\",\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n categories: { label: \"Categorias\", inputType: \"text\", group: \"Conteúdo\", readOnly: true },\n variant: {\n label: \"Variante\",\n inputType: \"select\",\n group: \"Aparência\",\n options: [\n { value: \"chips\", label: \"Chips (pills)\" },\n { value: \"buttons\", label: \"Botões\" },\n { value: \"list\", label: \"Lista vertical\" },\n ],\n },\n showCount: { label: \"Mostrar Contagem\", inputType: \"checkbox\", group: \"Aparência\" },\n showAll: { label: \"Mostrar 'Todas'\", inputType: \"checkbox\", group: \"Comportamento\" },\n allLabel: {\n label: \"Label 'Todas'\",\n inputType: \"text\",\n group: \"Comportamento\",\n showWhen: { field: \"showAll\", equals: true },\n },\n activeCategory: { label: \"Categoria Ativa\", inputType: \"text\", group: \"Comportamento\" },\n filterUrl: { label: \"URL Base do Filtro\", inputType: \"text\", group: \"Comportamento\" },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(blogCategoryFilterBlock);\n"],"names":["blogCategoryFilterBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAAiE;AAAA,EAC5E,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,YAAY;AAAA,MACV,EAAE,MAAM,aAAa,MAAM,aAAa,OAAO,EAAA;AAAA,MAC/C,EAAE,MAAM,YAAY,MAAM,YAAY,OAAO,EAAA;AAAA,MAC7C,EAAE,MAAM,WAAW,MAAM,WAAW,OAAO,EAAA;AAAA,MAC3C,EAAE,MAAM,iBAAiB,MAAM,iBAAiB,OAAO,EAAA;AAAA,MACvD,EAAE,MAAM,SAAS,MAAM,SAAS,OAAO,EAAA;AAAA,IAAE;AAAA,IAE3C,SAAS;AAAA,IACT,WAAW;AAAA,IACX,SAAS;AAAA,IACT,UAAU;AAAA,IACV,WAAW;AAAA,EAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"blogCategoryFilter.js","sources":["../../../../../src/engine/registry/blocks/sections/blogCategoryFilter.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogCategoryFilterBlock: BlockDefinition<\"blogCategoryFilter\"> = {\n type: \"blogCategoryFilter\",\n name: \"Blog Category Filter\",\n description: \"Filtro de categorias para listagem do blog (plugin Blog)\",\n category: \"sections\",\n pluginId: \"blog\",\n canHaveChildren: false,\n defaultProps: {\n title: \"Categorias\",\n categories: [\n { name: \"Novidades\", slug: \"novidades\", count: 5 },\n { name: \"Educação\", slug: \"educacao\", count: 8 },\n { name: \"Eventos\", slug: \"eventos\", count: 3 },\n { name: \"Institucional\", slug: \"institucional\", count: 4 },\n { name: \"Dicas\", slug: \"dicas\", count: 6 },\n ],\n variant: \"chips\",\n showCount: true,\n showAll: true,\n allLabel: \"Todas\",\n filterUrl: \"/site/p/blog\",\n linkColor: \"#374151\",\n linkHoverColor: \"#2563eb\",\n linkHoverEffect: \"background\",\n linkHoverIntensity: 50,\n borderRadius: \"0.75rem\",\n shadow: \"none\",\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n categories: { label: \"Categorias\", inputType: \"text\", group: \"Conteúdo\", readOnly: true },\n variant: {\n label: \"Variante\",\n inputType: \"select\",\n group: \"Aparência\",\n options: [\n { value: \"chips\", label: \"Chips (pills)\" },\n { value: \"buttons\", label: \"Botões\" },\n { value: \"list\", label: \"Lista vertical\" },\n ],\n },\n showCount: { label: \"Mostrar Contagem\", inputType: \"checkbox\", group: \"Aparência\" },\n showAll: { label: \"Mostrar 'Todas'\", inputType: \"checkbox\", group: \"Comportamento\" },\n allLabel: {\n label: \"Label 'Todas'\",\n inputType: \"text\",\n group: \"Comportamento\",\n showWhen: { field: \"showAll\", equals: true },\n },\n activeCategory: { label: \"Categoria Ativa\", inputType: \"text\", group: \"Comportamento\" },\n filterUrl: { label: \"URL Base do Filtro\", inputType: \"text\", group: \"Comportamento\" },\n linkColor: {\n label: \"Cor do Texto\",\n inputType: \"color-advanced\",\n group: \"Links\",\n },\n linkHoverColor: {\n label: \"Cor (Hover)\",\n inputType: \"color-advanced\",\n group: \"Links\",\n },\n linkHoverEffect: {\n label: \"Efeito Hover\",\n inputType: \"select\",\n options: [\n { label: \"Fundo\", value: \"background\" },\n { label: \"Sublinhado\", value: \"underline\" },\n { label: \"Sublinhado Centro\", value: \"underline-center\" },\n { label: \"Fundo Subindo\", value: \"slide-bg\" },\n { label: \"Escala\", value: \"scale\" },\n { label: \"Brilho Neon\", value: \"glow\" },\n ],\n group: \"Links\",\n },\n linkHoverIntensity: {\n label: \"Intensidade\",\n inputType: \"slider\",\n min: 10,\n max: 100,\n step: 10,\n group: \"Links\",\n },\n borderRadius: {\n label: \"Arredondamento\",\n inputType: \"select\",\n options: [\n { label: \"Nenhum\", value: \"0\" },\n { label: \"Padrão\", value: \"0.75rem\" },\n { label: \"Grande\", value: \"1.25rem\" },\n ],\n group: \"Aparência\",\n },\n shadow: {\n label: \"Sombra\",\n inputType: \"select\",\n options: [\n { label: \"Nenhuma\", value: \"none\" },\n { label: \"Suave\", value: \"sm\" },\n { label: \"Média\", value: \"md\" },\n ],\n group: \"Aparência\",\n },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(blogCategoryFilterBlock);\n"],"names":["blogCategoryFilterBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAAiE;AAAA,EAC5E,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,YAAY;AAAA,MACV,EAAE,MAAM,aAAa,MAAM,aAAa,OAAO,EAAA;AAAA,MAC/C,EAAE,MAAM,YAAY,MAAM,YAAY,OAAO,EAAA;AAAA,MAC7C,EAAE,MAAM,WAAW,MAAM,WAAW,OAAO,EAAA;AAAA,MAC3C,EAAE,MAAM,iBAAiB,MAAM,iBAAiB,OAAO,EAAA;AAAA,MACvD,EAAE,MAAM,SA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AAAA,MACP,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,SAAS,OAAO,aAAA;AAAA,QACzB,EAAE,OAAO,cAAc,OAAO,YAAA;AAAA,QAC9B,EAAE,OAAO,qBAAqB,OAAO,mBAAA;AAAA,QACrC,EAAE,OAAO,iBAAiB,OAAO,WAAA;AAAA,QACjC,EAAE,OAAO,UAAU,OAAO,QAAA;AAAA,QAC1B,EAAE,OAAO,eAAe,OAAO,OAAA;AAAA,MAAO;AAAA,MAExC,OAAO;AAAA,IAAA;AAAA,IAET,oBAAoB;AAAA,MAClB,OAAO;AAAA,MACP,WAAW;AAAA,MACX,KAAK;AAAA,MACL,KAAK;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,IAET,cAAc;AAAA,MACZ,OAAO;AAAA,MACP,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,UAAU,OAAO,IAAA;AAAA,QAC1B,EAAE,OAAO,UAAU,OAAO,UAAA;AAAA,QAC1B,EAAE,OAAO,UAAU,OAAO,UAAA;AAAA,MAAU;AAAA,MAEtC,OAAO;AAAA,IAAA;AAAA,IAET,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,WAAW;AAAA,MACX,SAAS;AAAA,QACP,EAAE,OAAO,WAAW,OAAO,OAAA;AAAA,QAC3B,EAAE,OAAO,SAAS,OAAO,KAAA;AAAA,QACzB,EAAE,OAAO,SAAS,OAAO,KAAA;AAAA,MAAK;AAAA,MAEhC,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ;AAGAC,EAAkB,SAASD,CAAuB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogPostDetail.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogPostDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"blogPostDetail.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogPostDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,gBAAgB,CAyDjE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { componentRegistry as e } from "../../registry.js";
|
|
2
|
-
const
|
|
2
|
+
const a = {
|
|
3
3
|
type: "blogPostDetail",
|
|
4
4
|
name: "Blog Post Detail",
|
|
5
5
|
description: "Conteúdo completo de um post do blog (plugin Blog)",
|
|
@@ -39,14 +39,26 @@ const t = {
|
|
|
39
39
|
showDate: { label: "Mostrar Data", inputType: "checkbox", group: "Visibilidade" },
|
|
40
40
|
showTags: { label: "Mostrar Tags", inputType: "checkbox", group: "Visibilidade" },
|
|
41
41
|
showReadingTime: { label: "Mostrar Tempo de Leitura", inputType: "checkbox", group: "Visibilidade" },
|
|
42
|
-
contentMaxWidth: {
|
|
42
|
+
contentMaxWidth: {
|
|
43
|
+
label: "Largura do Texto",
|
|
44
|
+
description: "Largura máxima da área de texto (a imagem sempre preenche a coluna)",
|
|
45
|
+
inputType: "select",
|
|
46
|
+
options: [
|
|
47
|
+
{ label: "Compacto", value: "680px" },
|
|
48
|
+
{ label: "Padrão", value: "720px" },
|
|
49
|
+
{ label: "Largo", value: "800px" },
|
|
50
|
+
{ label: "Extra Largo", value: "960px" },
|
|
51
|
+
{ label: "Preencher", value: "100%" }
|
|
52
|
+
],
|
|
53
|
+
group: "Layout"
|
|
54
|
+
},
|
|
43
55
|
metaTitle: { label: "Meta Title (SEO)", inputType: "text", group: "SEO", readOnly: !0 },
|
|
44
56
|
metaDescription: { label: "Meta Description (SEO)", inputType: "textarea", group: "SEO", readOnly: !0 },
|
|
45
57
|
ogImage: { label: "Open Graph Image", inputType: "image-upload", group: "SEO", readOnly: !0 }
|
|
46
58
|
}
|
|
47
59
|
};
|
|
48
|
-
e.register(
|
|
60
|
+
e.register(a);
|
|
49
61
|
export {
|
|
50
|
-
|
|
62
|
+
a as blogPostDetailBlock
|
|
51
63
|
};
|
|
52
64
|
//# sourceMappingURL=blogPostDetail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogPostDetail.js","sources":["../../../../../src/engine/registry/blocks/sections/blogPostDetail.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogPostDetailBlock: BlockDefinition<\"blogPostDetail\"> = {\n type: \"blogPostDetail\",\n name: \"Blog Post Detail\",\n description: \"Conteúdo completo de um post do blog (plugin Blog)\",\n category: \"sections\",\n pluginId: \"blog\",\n canHaveChildren: false,\n defaultProps: {\n title: \"Título do Post\",\n content: \"<p>Conteúdo do post...</p>\",\n showFeaturedImage: true,\n showAuthor: true,\n authorVariant: \"inline\",\n showDate: true,\n showTags: true,\n showReadingTime: true,\n contentMaxWidth: \"720px\",\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n content: { label: \"Conteúdo\", inputType: \"textarea\", group: \"Conteúdo\" },\n featuredImage: { label: \"Imagem Destacada\", inputType: \"image-upload\", group: \"Mídia\" },\n date: { label: \"Data\", inputType: \"text\", group: \"Metadata\" },\n category: { label: \"Categoria\", inputType: \"text\", group: \"Metadata\" },\n readingTime: { label: \"Tempo de Leitura\", inputType: \"text\", group: \"Metadata\" },\n showFeaturedImage: { label: \"Mostrar Imagem Destacada\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showAuthor: { label: \"Mostrar Autor\", inputType: \"checkbox\", group: \"Autor\" },\n authorVariant: {\n label: \"Variante do Autor\",\n inputType: \"select\",\n group: \"Autor\",\n options: [\n { value: \"inline\", label: \"Inline — Avatar + nome\" },\n { value: \"card\", label: \"Card — Avatar, nome e bio\" },\n { value: \"minimal\", label: \"Minimal — Apenas nome\" },\n ],\n },\n showDate: { label: \"Mostrar Data\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showTags: { label: \"Mostrar Tags\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showReadingTime: { label: \"Mostrar Tempo de Leitura\", inputType: \"checkbox\", group: \"Visibilidade\" },\n contentMaxWidth: {
|
|
1
|
+
{"version":3,"file":"blogPostDetail.js","sources":["../../../../../src/engine/registry/blocks/sections/blogPostDetail.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogPostDetailBlock: BlockDefinition<\"blogPostDetail\"> = {\n type: \"blogPostDetail\",\n name: \"Blog Post Detail\",\n description: \"Conteúdo completo de um post do blog (plugin Blog)\",\n category: \"sections\",\n pluginId: \"blog\",\n canHaveChildren: false,\n defaultProps: {\n title: \"Título do Post\",\n content: \"<p>Conteúdo do post...</p>\",\n showFeaturedImage: true,\n showAuthor: true,\n authorVariant: \"inline\",\n showDate: true,\n showTags: true,\n showReadingTime: true,\n contentMaxWidth: \"720px\",\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n content: { label: \"Conteúdo\", inputType: \"textarea\", group: \"Conteúdo\" },\n featuredImage: { label: \"Imagem Destacada\", inputType: \"image-upload\", group: \"Mídia\" },\n date: { label: \"Data\", inputType: \"text\", group: \"Metadata\" },\n category: { label: \"Categoria\", inputType: \"text\", group: \"Metadata\" },\n readingTime: { label: \"Tempo de Leitura\", inputType: \"text\", group: \"Metadata\" },\n showFeaturedImage: { label: \"Mostrar Imagem Destacada\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showAuthor: { label: \"Mostrar Autor\", inputType: \"checkbox\", group: \"Autor\" },\n authorVariant: {\n label: \"Variante do Autor\",\n inputType: \"select\",\n group: \"Autor\",\n options: [\n { value: \"inline\", label: \"Inline — Avatar + nome\" },\n { value: \"card\", label: \"Card — Avatar, nome e bio\" },\n { value: \"minimal\", label: \"Minimal — Apenas nome\" },\n ],\n },\n showDate: { label: \"Mostrar Data\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showTags: { label: \"Mostrar Tags\", inputType: \"checkbox\", group: \"Visibilidade\" },\n showReadingTime: { label: \"Mostrar Tempo de Leitura\", inputType: \"checkbox\", group: \"Visibilidade\" },\n contentMaxWidth: {\n label: \"Largura do Texto\",\n description: \"Largura máxima da área de texto (a imagem sempre preenche a coluna)\",\n inputType: \"select\",\n options: [\n { label: \"Compacto\", value: \"680px\" },\n { label: \"Padrão\", value: \"720px\" },\n { label: \"Largo\", value: \"800px\" },\n { label: \"Extra Largo\", value: \"960px\" },\n { label: \"Preencher\", value: \"100%\" },\n ],\n group: \"Layout\",\n },\n metaTitle: { label: \"Meta Title (SEO)\", inputType: \"text\", group: \"SEO\", readOnly: true },\n metaDescription: { label: \"Meta Description (SEO)\", inputType: \"textarea\", group: \"SEO\", readOnly: true },\n ogImage: { label: \"Open Graph Image\", inputType: \"image-upload\", group: \"SEO\", readOnly: true },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(blogPostDetailBlock);\n"],"names":["blogPostDetailBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAAyD;AAAA,EACpE,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,SAAS;AAAA,IACT,mBAAmB;AAAA,IACnB,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,UAAU;AAAA,IACV,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,EAAA;AAAA,EAEnB,eAAe;AAAA,IACb,OAAO,EAAE,OAAO,UAAU,WAAW,QAAQ,OAAO,WAAA;AAAA,IACpD,SAAS,EAAE,OAAO,YAAY,WAAW,YAAY,OAAO,WAAA;AAAA,IAC5D,eAAe,EAAE,OAAO,oBAAoB,WAAW,gBAAgB,OAAO,QAAA;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,UAAU,GAAA;AAAA,IACnG,SAAS,EAAE,OAAO,oBAAoB,WAAW,gBAAgB,OAAO,OAAO,UAAU,GAAA;AAAA,EAAK;AAElG;AAGAC,EAAkB,SAASD,CAAmB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogRecentPosts.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogRecentPosts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"blogRecentPosts.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogRecentPosts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,oBAAoB,EAAE,eA+ElC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { componentRegistry as e } from "../../registry.js";
|
|
2
|
-
const
|
|
2
|
+
const o = {
|
|
3
3
|
type: "blogRecentPosts",
|
|
4
4
|
name: "Posts Recentes",
|
|
5
5
|
description: "Widget com os posts mais recentes do blog",
|
|
@@ -11,7 +11,13 @@ const t = {
|
|
|
11
11
|
showThumbnail: !0,
|
|
12
12
|
showDate: !0,
|
|
13
13
|
showCategory: !1,
|
|
14
|
-
posts: []
|
|
14
|
+
posts: [],
|
|
15
|
+
linkColor: "#374151",
|
|
16
|
+
linkHoverColor: "#2563eb",
|
|
17
|
+
linkHoverEffect: "background",
|
|
18
|
+
linkHoverIntensity: 50,
|
|
19
|
+
borderRadius: "0.75rem",
|
|
20
|
+
shadow: "none"
|
|
15
21
|
},
|
|
16
22
|
inspectorMeta: {
|
|
17
23
|
title: { label: "Título", inputType: "text", group: "Conteúdo" },
|
|
@@ -19,11 +25,62 @@ const t = {
|
|
|
19
25
|
showThumbnail: { label: "Mostrar Miniatura", inputType: "checkbox", group: "Exibição" },
|
|
20
26
|
showDate: { label: "Mostrar Data", inputType: "checkbox", group: "Exibição" },
|
|
21
27
|
showCategory: { label: "Mostrar Categoria", inputType: "checkbox", group: "Exibição" },
|
|
22
|
-
posts: { label: "Posts", inputType: "text", readOnly: !0, group: "Dados" }
|
|
28
|
+
posts: { label: "Posts", inputType: "text", readOnly: !0, group: "Dados" },
|
|
29
|
+
linkColor: {
|
|
30
|
+
label: "Cor do Texto",
|
|
31
|
+
inputType: "color-advanced",
|
|
32
|
+
group: "Links"
|
|
33
|
+
},
|
|
34
|
+
linkHoverColor: {
|
|
35
|
+
label: "Cor (Hover)",
|
|
36
|
+
inputType: "color-advanced",
|
|
37
|
+
group: "Links"
|
|
38
|
+
},
|
|
39
|
+
linkHoverEffect: {
|
|
40
|
+
label: "Efeito Hover",
|
|
41
|
+
inputType: "select",
|
|
42
|
+
options: [
|
|
43
|
+
{ label: "Fundo", value: "background" },
|
|
44
|
+
{ label: "Sublinhado", value: "underline" },
|
|
45
|
+
{ label: "Sublinhado Centro", value: "underline-center" },
|
|
46
|
+
{ label: "Fundo Subindo", value: "slide-bg" },
|
|
47
|
+
{ label: "Escala", value: "scale" },
|
|
48
|
+
{ label: "Brilho Neon", value: "glow" }
|
|
49
|
+
],
|
|
50
|
+
group: "Links"
|
|
51
|
+
},
|
|
52
|
+
linkHoverIntensity: {
|
|
53
|
+
label: "Intensidade",
|
|
54
|
+
inputType: "slider",
|
|
55
|
+
min: 10,
|
|
56
|
+
max: 100,
|
|
57
|
+
step: 10,
|
|
58
|
+
group: "Links"
|
|
59
|
+
},
|
|
60
|
+
borderRadius: {
|
|
61
|
+
label: "Arredondamento",
|
|
62
|
+
inputType: "select",
|
|
63
|
+
options: [
|
|
64
|
+
{ label: "Nenhum", value: "0" },
|
|
65
|
+
{ label: "Padrão", value: "0.75rem" },
|
|
66
|
+
{ label: "Grande", value: "1.25rem" }
|
|
67
|
+
],
|
|
68
|
+
group: "Aparência"
|
|
69
|
+
},
|
|
70
|
+
shadow: {
|
|
71
|
+
label: "Sombra",
|
|
72
|
+
inputType: "select",
|
|
73
|
+
options: [
|
|
74
|
+
{ label: "Nenhuma", value: "none" },
|
|
75
|
+
{ label: "Suave", value: "sm" },
|
|
76
|
+
{ label: "Média", value: "md" }
|
|
77
|
+
],
|
|
78
|
+
group: "Aparência"
|
|
79
|
+
}
|
|
23
80
|
}
|
|
24
81
|
};
|
|
25
|
-
e.register(
|
|
82
|
+
e.register(o);
|
|
26
83
|
export {
|
|
27
|
-
|
|
84
|
+
o as blogRecentPostsBlock
|
|
28
85
|
};
|
|
29
86
|
//# sourceMappingURL=blogRecentPosts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogRecentPosts.js","sources":["../../../../../src/engine/registry/blocks/sections/blogRecentPosts.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogRecentPostsBlock: BlockDefinition = {\n type: \"blogRecentPosts\",\n name: \"Posts Recentes\",\n description: \"Widget com os posts mais recentes do blog\",\n category: \"sections\",\n pluginId: \"blog\",\n defaultProps: {\n title: \"Posts Recentes\",\n count: 5,\n showThumbnail: true,\n showDate: true,\n showCategory: false,\n posts: [],\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n count: { label: \"Quantidade\", inputType: \"number\", min: 1, max: 10, group: \"Conteúdo\" },\n showThumbnail: { label: \"Mostrar Miniatura\", inputType: \"checkbox\", group: \"Exibição\" },\n showDate: { label: \"Mostrar Data\", inputType: \"checkbox\", group: \"Exibição\" },\n showCategory: { label: \"Mostrar Categoria\", inputType: \"checkbox\", group: \"Exibição\" },\n posts: { label: \"Posts\", inputType: \"text\", readOnly: true, group: \"Dados\" },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(blogRecentPostsBlock);\n"],"names":["blogRecentPostsBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAAwC;AAAA,EACnD,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,OAAO;AAAA,IACP,eAAe;AAAA,IACf,UAAU;AAAA,IACV,cAAc;AAAA,IACd,OAAO,CAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"blogRecentPosts.js","sources":["../../../../../src/engine/registry/blocks/sections/blogRecentPosts.ts"],"sourcesContent":["import { BlockDefinition } from \"../../types\";\nimport { componentRegistry } from \"../../registry\";\n\nexport const blogRecentPostsBlock: BlockDefinition = {\n type: \"blogRecentPosts\",\n name: \"Posts Recentes\",\n description: \"Widget com os posts mais recentes do blog\",\n category: \"sections\",\n pluginId: \"blog\",\n defaultProps: {\n title: \"Posts Recentes\",\n count: 5,\n showThumbnail: true,\n showDate: true,\n showCategory: false,\n posts: [],\n linkColor: \"#374151\",\n linkHoverColor: \"#2563eb\",\n linkHoverEffect: \"background\",\n linkHoverIntensity: 50,\n borderRadius: \"0.75rem\",\n shadow: \"none\",\n },\n inspectorMeta: {\n title: { label: \"Título\", inputType: \"text\", group: \"Conteúdo\" },\n count: { label: \"Quantidade\", inputType: \"number\", min: 1, max: 10, group: \"Conteúdo\" },\n showThumbnail: { label: \"Mostrar Miniatura\", inputType: \"checkbox\", group: \"Exibição\" },\n showDate: { label: \"Mostrar Data\", inputType: \"checkbox\", group: \"Exibição\" },\n showCategory: { label: \"Mostrar Categoria\", inputType: \"checkbox\", group: \"Exibição\" },\n posts: { label: \"Posts\", inputType: \"text\", readOnly: true, group: \"Dados\" },\n linkColor: {\n label: \"Cor do Texto\",\n inputType: \"color-advanced\",\n group: \"Links\",\n },\n linkHoverColor: {\n label: \"Cor (Hover)\",\n inputType: \"color-advanced\",\n group: \"Links\",\n },\n linkHoverEffect: {\n label: \"Efeito Hover\",\n inputType: \"select\",\n options: [\n { label: \"Fundo\", value: \"background\" },\n { label: \"Sublinhado\", value: \"underline\" },\n { label: \"Sublinhado Centro\", value: \"underline-center\" },\n { label: \"Fundo Subindo\", value: \"slide-bg\" },\n { label: \"Escala\", value: \"scale\" },\n { label: \"Brilho Neon\", value: \"glow\" },\n ],\n group: \"Links\",\n },\n linkHoverIntensity: {\n label: \"Intensidade\",\n inputType: \"slider\",\n min: 10,\n max: 100,\n step: 10,\n group: \"Links\",\n },\n borderRadius: {\n label: \"Arredondamento\",\n inputType: \"select\",\n options: [\n { label: \"Nenhum\", value: \"0\" },\n { label: \"Padrão\", value: \"0.75rem\" },\n { label: \"Grande\", value: \"1.25rem\" },\n ],\n group: \"Aparência\",\n },\n shadow: {\n label: \"Sombra\",\n inputType: \"select\",\n options: [\n { label: \"Nenhuma\", value: \"none\" },\n { label: \"Suave\", value: \"sm\" },\n { label: \"Média\", value: \"md\" },\n ],\n group: \"Aparência\",\n },\n },\n};\n\n// Auto-registro\ncomponentRegistry.register(blogRecentPostsBlock);\n"],"names":["blogRecentPostsBlock","componentRegistry"],"mappings":";AAGO,MAAMA,IAAwC;AAAA,EACnD,MAAM;AAAA,EACN,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,OAAO;AAAA,IACP,eAAe;AAAA,IACf,UAAU;AAAA,IACV,cAAc;AAAA,IACd,OAAO,CAAA;AAAA,IACP,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,oBAAoB;AAAA,IACpB,cAAc;AAAA,IACd,QAAQ;AAAA,EAAA;AAAA,EAEV,eAAe;AAAA,IACb,OAAO,EAAE,OAAO,UAAU,WAAW,QAAQ,OAAO,WAAA;AAAA,IACpD,OAAO,EAAE,OAAO,cAAc,WAAW,UAAU,KAAK,GAAG,KAAK,IAAI,OAAO,WAAA;AAAA,IAC3E,eAAe,EAAE,OAAO,qBAAqB,WAAW,YAAY,OAAO,WAAA;AAAA,IAC3E,UAAU,EAAE,OAAO,gBAAgB,WAAW,YAAY,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,SAAS,OAAO,KAAA;AAAA,MAAK;AAAA,MAEhC,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ;AAGAC,EAAkB,SAASD,CAAoB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blogSearchBar.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogSearchBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"blogSearchBar.d.ts","sourceRoot":"","sources":["../../../../../src/engine/registry/blocks/sections/blogSearchBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,CAuE/D,CAAC"}
|