@silexlabs/silex 3.5.1 → 3.6.0-canary.1
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/client/client/grapesjs/cms/index.d.ts +0 -1
- package/dist/client/client/grapesjs/cms/liquid.d.ts +16 -2
- package/dist/client/css/admin.css +4 -0
- package/dist/client/index.html +2 -2
- package/dist/client/js/main.js +876 -305
- package/package.json +4 -4
- package/src/css/dialog.scss +3 -0
- package/src/ts/client/grapesjs/cms/index.ts +38 -2
- package/src/ts/client/grapesjs/cms/liquid.ts +64 -13
- package/src/ts/client/grapesjs/cms/page-settings.ts +105 -8
- package/src/ts/client/grapesjs/cms/publication.ts +36 -3
- package/src/ts/client/grapesjs/cms/site-settings.ts +4 -2
- package/src/ts/client/grapesjs/css-props.ts +40 -28
- package/src/ts/client/grapesjs/img.ts +0 -1
|
@@ -23,7 +23,6 @@ export interface Silex11tyPluginWebsiteSettings extends WebsiteSettings {
|
|
|
23
23
|
eleventyPageData?: string;
|
|
24
24
|
eleventyPermalink?: string;
|
|
25
25
|
eleventyPageSize?: string;
|
|
26
|
-
eleventyPageReverse?: boolean;
|
|
27
26
|
silexLanguagesList?: string;
|
|
28
27
|
silexLanguagesDefault?: string;
|
|
29
28
|
eleventyNavigationKey?: string;
|
|
@@ -53,7 +53,21 @@ export declare function getNextVariableName(component: Component, numNextVar: nu
|
|
|
53
53
|
* - state can only be the first token
|
|
54
54
|
*
|
|
55
55
|
* Example of return value: `countries.continent.countries | first.name`
|
|
56
|
+
*
|
|
57
|
+
* Returns both the main statement and any prefix statements needed for nested filter options
|
|
56
58
|
*/
|
|
57
|
-
export declare function getLiquidStatement(expression: Expression, variableName: string, lastVariableName?: string):
|
|
59
|
+
export declare function getLiquidStatement(expression: Expression, variableName: string, lastVariableName?: string, component?: Component): {
|
|
60
|
+
statement: string;
|
|
61
|
+
prefixStatements: {
|
|
62
|
+
variableName: string;
|
|
63
|
+
liquid: string;
|
|
64
|
+
}[];
|
|
65
|
+
};
|
|
58
66
|
export declare function getLiquidStatementProperties(properties: (Property | State)[]): string;
|
|
59
|
-
export declare function getLiquidStatementFilters(filters: Filter[]):
|
|
67
|
+
export declare function getLiquidStatementFilters(filters: Filter[], component?: Component): {
|
|
68
|
+
filterStr: string;
|
|
69
|
+
prefixStatements: {
|
|
70
|
+
variableName: string;
|
|
71
|
+
liquid: string;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
package/dist/client/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?
|
|
1
|
+
<!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?275997"><style>body {
|
|
2
2
|
background-color: #444444;
|
|
3
3
|
font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
4
4
|
}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
transition: opacity 0.25s 0.25s ease-in-out;
|
|
8
8
|
}
|
|
9
9
|
</style></head><body class="silex-loading"><div class="silex-loader silex-dialog" role="status" aria-live="polite" aria-busy="true">Loading
|
|
10
|
-
</div><link rel="stylesheet" type="text/css" href="css/admin.css?
|
|
10
|
+
</div><link rel="stylesheet" type="text/css" href="css/admin.css?155766"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?155766"></script><script>silex.start()
|
|
11
11
|
// From here silex.config is available and Silex is getting started</script></body></html>
|