@silexlabs/silex 3.0.0-alpha.47 → 3.0.0-alpha.49
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/.env.default +1 -1
- package/dist/client/client/api.d.ts +1 -1
- package/dist/client/client/config.d.ts +2 -0
- package/dist/client/css/admin.css +15 -0
- package/dist/client/js/main.js +3 -3
- package/dist/client/types.d.ts +1 -1
- package/dist/plugins/client/plugins/client/website-info.d.ts +1 -0
- package/dist/plugins/client/plugins/client/website-info.js +55 -0
- package/dist/plugins/client/plugins/client/website-info.js.map +1 -0
- package/dist/plugins/client/types.d.ts +1 -1
- package/dist/plugins/server/plugins/server/GitlabConnector.d.ts +11 -0
- package/dist/plugins/server/plugins/server/GitlabConnector.js +143 -33
- package/dist/plugins/server/plugins/server/GitlabConnector.js.map +1 -1
- package/dist/plugins/server/plugins/server/SslPlugin.js +5 -5
- package/dist/plugins/server/plugins/server/SslPlugin.js.map +1 -1
- package/dist/plugins/server/plugins/server/StaticPlugin.js +4 -0
- package/dist/plugins/server/plugins/server/StaticPlugin.js.map +1 -1
- package/dist/plugins/server/server/config.js +4 -5
- package/dist/plugins/server/server/config.js.map +1 -1
- package/dist/plugins/server/server/connectors/FsStorage.js +1 -1
- package/dist/plugins/server/server/connectors/FsStorage.js.map +1 -1
- package/dist/plugins/server/types.d.ts +1 -1
- package/dist/server/server/config.js +4 -5
- package/dist/server/server/connectors/FsStorage.js +1 -1
- package/dist/server/server/express.js +2 -2
- package/package.json +1 -1
- package/public/silex.js +5 -0
- package/src/css/grapesjs.scss +1 -0
- package/src/css/index.scss +1 -0
- package/src/css/website-info.scss +13 -0
- package/src/ts/client/api.ts +2 -2
- package/src/ts/client/config.ts +3 -0
- package/src/ts/client/grapesjs/LoginDialog.ts +0 -1
- package/src/ts/client/grapesjs/settings.ts +1 -1
- package/src/ts/client/grapesjs/storage.ts +0 -1
- package/src/ts/client/index.ts +1 -3
- package/src/ts/plugins/client/website-info.ts +63 -0
- package/src/ts/plugins/server/GitlabConnector.ts +154 -34
- package/src/ts/plugins/server/SslPlugin.ts +5 -5
- package/src/ts/plugins/server/StaticPlugin.ts +4 -0
- package/src/ts/server/config.ts +4 -5
- package/src/ts/server/connectors/FsStorage.ts +1 -1
- package/src/ts/server/express.ts +2 -2
- package/src/ts/types.ts +1 -1
package/.env.default
CHANGED
|
@@ -65,7 +65,7 @@ export declare function websiteMetaWrite({ websiteId, data, connectorId }: {
|
|
|
65
65
|
export declare function websiteMetaRead({ websiteId, connectorId }: {
|
|
66
66
|
websiteId: WebsiteId;
|
|
67
67
|
connectorId?: ConnectorId;
|
|
68
|
-
}): Promise<
|
|
68
|
+
}): Promise<WebsiteMeta>;
|
|
69
69
|
export declare function websiteAssetsLoad({ path, websiteId, connectorId }: {
|
|
70
70
|
path: string;
|
|
71
71
|
websiteId: WebsiteId;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Config } from '@silexlabs/silex-plugins';
|
|
2
2
|
import { ConnectorId, WebsiteId } from '../types';
|
|
3
3
|
import { EditorConfig } from 'grapesjs';
|
|
4
|
+
import * as api from './api';
|
|
4
5
|
/**
|
|
5
6
|
* @fileoverview Silex client side config
|
|
6
7
|
*/
|
|
7
8
|
export declare class ClientConfig extends Config {
|
|
9
|
+
api: typeof api;
|
|
8
10
|
/**
|
|
9
11
|
* The website to load
|
|
10
12
|
* This is the id of the website in the storage connector
|
|
@@ -4124,6 +4124,9 @@ form.silex-form .silex-form__group.col2 {
|
|
|
4124
4124
|
width: calc(85% - 35px);
|
|
4125
4125
|
}
|
|
4126
4126
|
|
|
4127
|
+
.gjs-pn-devices-c {
|
|
4128
|
+
display: flex;
|
|
4129
|
+
}
|
|
4127
4130
|
.gjs-pn-devices-c .gjs-device-label {
|
|
4128
4131
|
display: none;
|
|
4129
4132
|
}
|
|
@@ -4365,6 +4368,18 @@ iframe.enable-squeeze.silex-squeeze-left {
|
|
|
4365
4368
|
.page-panel-container .gjs-pn-buttons {
|
|
4366
4369
|
flex-direction: column;
|
|
4367
4370
|
}
|
|
4371
|
+
.gjs-website-meta {
|
|
4372
|
+
display: flex;
|
|
4373
|
+
align-items: center;
|
|
4374
|
+
justify-content: center;
|
|
4375
|
+
margin-left: 10px;
|
|
4376
|
+
margin-right: 10px;
|
|
4377
|
+
line-height: 2;
|
|
4378
|
+
min-width: 100px;
|
|
4379
|
+
border: 1px solid #575757;
|
|
4380
|
+
background-color: #363636;
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4368
4383
|
/* Normalize css */
|
|
4369
4384
|
/* Silex styles imports */
|
|
4370
4385
|
.container-png::before {
|