@concretecms/bedrock 1.0.0 → 1.1.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/assets/account/js/frontend/components/Avatar/Cropper.js +12 -4
- package/assets/calendar/js/backend/duration.js +1 -1
- package/assets/ckeditor/js/concrete/link.js +5 -4
- package/assets/ckeditor/js/concrete/styles.js +2 -2
- package/assets/cms/components/BoardInstanceRule.vue +16 -3
- package/assets/cms/components/BoardInstanceRuleList.vue +24 -7
- package/assets/cms/components/CompletedProcessList.vue +28 -9
- package/assets/cms/components/Icon.vue +16 -1
- package/assets/cms/components/Pagination.vue +45 -8
- package/assets/cms/components/customizer/ColorPageCustomizerWidget.vue +7 -0
- package/assets/cms/components/customizer/FontWeightPageCustomizerWidget.vue +7 -1
- package/assets/cms/components/customizer/ImagePageCustomizerWidget.vue +13 -3
- package/assets/cms/components/customizer/TextTransformPageCustomizerWidget.vue +7 -1
- package/assets/cms/components/customizer/ThemeCustomizer.vue +36 -15
- package/assets/cms/components/customizer/ThemeCustomizerPreview.vue +11 -1
- package/assets/cms/components/customizer/TypePageCustomizerWidget.vue +21 -6
- package/assets/cms/components/express/Selector.vue +21 -6
- package/assets/cms/components/file-manager/Chooser/ExternalFileProvider.vue +13 -2
- package/assets/cms/components/file-manager/Chooser/FileSets.vue +13 -2
- package/assets/cms/components/file-manager/Chooser/Files.vue +19 -5
- package/assets/cms/components/file-manager/Chooser/SavedSearch.vue +13 -2
- package/assets/cms/components/file-manager/Chooser/Search.vue +13 -2
- package/assets/cms/components/file-manager/Chooser.vue +64 -8
- package/assets/cms/components/form/ConcreteFileDirectoryInput.vue +17 -4
- package/assets/cms/components/gallery/GalleryEdit.vue +20 -5
- package/assets/cms/components/gallery/ImageDetail.vue +22 -5
- package/assets/cms/components/groups/Chooser.vue +17 -4
- package/assets/cms/components/page/Chooser/ChooserSearch.vue +15 -2
- package/assets/cms/components/page/PageList.vue +15 -3
- package/assets/cms/components/user/Chooser/Search.vue +15 -2
- package/assets/cms/components/user/Chooser/Users.vue +19 -5
- package/assets/cms/components/user/Chooser.vue +15 -2
- package/assets/cms/js/edit-mode/style-customizer/color.js +10 -3
- package/assets/cms/js/edit-mode/style-customizer/custom.js +1 -1
- package/assets/cms/js/edit-mode/style-customizer/inline-toolbar.js +27 -27
- package/assets/cms/js/edit-mode/style-customizer/typography.js +8 -1
- package/assets/cms/scss/_inline-toolbar.scss +9 -180
- package/assets/cms/scss/panels/_shared.scss +1 -1
- package/assets/desktop/js/frontend/draft-list.js +0 -17
- package/package.json +2 -2
- package/.idea/bedrock.iml +0 -8
- package/.idea/codeStyles/Project.xml +0 -15
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/dataSources.local.xml +0 -4
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -313
|
@@ -46,12 +46,19 @@ function ConcreteTypographySelector($element, options) {
|
|
|
46
46
|
})
|
|
47
47
|
|
|
48
48
|
my.$colorpicker = my.$widget.find('input[data-style-customizer-field=color]')
|
|
49
|
+
const i18n = window.ccmi18n_styleCustomizer || null
|
|
49
50
|
my.$colorpicker.spectrum({
|
|
50
51
|
preferredFormat: 'rgb',
|
|
51
52
|
showAlpha: true,
|
|
52
53
|
className: 'ccm-widget-colorpicker',
|
|
53
54
|
showInitial: true,
|
|
54
|
-
showInput: true
|
|
55
|
+
showInput: true,
|
|
56
|
+
cancelText: i18n && i18n.cancel ? i18n.cancel : 'Cancel',
|
|
57
|
+
chooseText: i18n && i18n.choose ? i18n.choose : 'Choose',
|
|
58
|
+
clearText: i18n && i18n.clearColorSelection ? i18n.clearColorSelection : 'Clear Color Selection',
|
|
59
|
+
noColorSelectedText: i18n && i18n.noColorSelected ? i18n.noColorSelected : 'No Color Selected',
|
|
60
|
+
togglePaletteMoreText: i18n && i18n.togglePaletteMore ? i18n.togglePaletteMore : 'More',
|
|
61
|
+
togglePaletteLessText: i18n && i18n.togglePaletteLess ? i18n.togglePaletteLess : 'Less'
|
|
55
62
|
})
|
|
56
63
|
|
|
57
64
|
my.$fontMenu.on('change', function() {
|
|
@@ -1,182 +1,7 @@
|
|
|
1
|
-
.ccm-inline-toolbar {
|
|
2
|
-
border-radius: 3px;
|
|
3
|
-
box-shadow: 0 0 6px rgba(200, 200, 200, 0.5);
|
|
4
|
-
display: table;
|
|
5
|
-
font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
|
|
6
|
-
height: 31px;
|
|
7
|
-
line-height: 0;
|
|
8
|
-
list-style: none;
|
|
9
|
-
margin: 0 !important;
|
|
10
|
-
opacity: 0;
|
|
11
|
-
padding: 0 !important;
|
|
12
|
-
position: relative;
|
|
13
|
-
z-index: $index-level-inline-toolbar;
|
|
14
|
-
|
|
15
|
-
/* stylelint-disable selector-class-pattern */
|
|
16
|
-
&.redactor_toolbar {
|
|
17
|
-
background: transparent;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* stylelint-enable selector-class-pattern */
|
|
21
|
-
|
|
22
|
-
> li {
|
|
23
|
-
background: #fff;
|
|
24
|
-
border-bottom: 1px solid #c4c4c4;
|
|
25
|
-
border-right: 1px solid #e1e1e1;
|
|
26
|
-
border-top: 1px solid #c4c4c4;
|
|
27
|
-
display: table-cell;
|
|
28
|
-
font-size: $font-size-base !important;
|
|
29
|
-
list-style: none;
|
|
30
|
-
outline: none;
|
|
31
|
-
padding: 3px 8px;
|
|
32
|
-
vertical-align: middle;
|
|
33
|
-
|
|
34
|
-
label {
|
|
35
|
-
display: inline;
|
|
36
|
-
font-size: $font-size-sm;
|
|
37
|
-
margin: 0 0 8px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.ccm-inline-toolbar-inverse-cell {
|
|
41
|
-
background-color: #555;
|
|
42
|
-
|
|
43
|
-
a {
|
|
44
|
-
color: #fff;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> li:first-child {
|
|
52
|
-
border-bottom-left-radius: 3px;
|
|
53
|
-
border-left: 1px solid #c4c4c4;
|
|
54
|
-
border-top-left-radius: 3px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
> li:last-child {
|
|
58
|
-
border-bottom-right-radius: 3px;
|
|
59
|
-
border-right: 0;
|
|
60
|
-
border-top-right-radius: 3px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
> li.ccm-inline-toolbar-icon-cell {
|
|
64
|
-
@include gradient-y(#fff, #f1f1f1);
|
|
65
|
-
padding: 0;
|
|
66
|
-
position: relative;
|
|
67
|
-
text-align: center;
|
|
68
|
-
width: 30px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
> li.ccm-inline-toolbar-icon-cell > a {
|
|
72
|
-
color: #333;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
display: block;
|
|
75
|
-
height: 100%;
|
|
76
|
-
opacity: 0.7;
|
|
77
|
-
text-decoration: none;
|
|
78
|
-
|
|
79
|
-
i {
|
|
80
|
-
display: inline-block;
|
|
81
|
-
font-size: $font-size-sm;
|
|
82
|
-
line-height: 33px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
> li.ccm-inline-toolbar-icon-cell.ccm-inline-toolbar-icon-selected {
|
|
87
|
-
@include gradient-y(#e1e1e1, #cbcbcb);
|
|
88
|
-
border-right: 1px solid #c5c5c5;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
> li.ccm-inline-toolbar-icon-cell.ccm-inline-toolbar-icon-selected > a {
|
|
92
|
-
opacity: 1;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
> li.ccm-inline-toolbar-icon-cell > a:hover {
|
|
96
|
-
opacity: 1;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
> li.ccm-inline-toolbar-button {
|
|
100
|
-
background: transparent;
|
|
101
|
-
|
|
102
|
-
padding: 0;
|
|
103
|
-
|
|
104
|
-
button {
|
|
105
|
-
background: #f3f3f3;
|
|
106
|
-
border: 0;
|
|
107
|
-
border-radius: 0;
|
|
108
|
-
color: #333;
|
|
109
|
-
display: inline-block;
|
|
110
|
-
font-size: $font-size-sm;
|
|
111
|
-
height: 33px;
|
|
112
|
-
padding: 0 20px;
|
|
113
|
-
text-align: center;
|
|
114
|
-
width: 100%;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
> li.ccm-inline-toolbar-select {
|
|
119
|
-
select {
|
|
120
|
-
background-position: right 5px top 5px;
|
|
121
|
-
border: 0;
|
|
122
|
-
height: 27px;
|
|
123
|
-
padding: 2px 28px 2px 2px;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
> li.ccm-inline-toolbar-button-cancel button {
|
|
128
|
-
@include gradient-y(#f3f3f3, #eaeaea);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
> li.ccm-inline-toolbar-button-cancel button:hover {
|
|
132
|
-
background-color: #fff;
|
|
133
|
-
background-image: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
> li.ccm-inline-toolbar-button-save {
|
|
137
|
-
border: 1px solid #007cce !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
> li.ccm-inline-toolbar-button-save button {
|
|
141
|
-
@include gradient-y(#09f, #0094f6);
|
|
142
|
-
background: #09f;
|
|
143
|
-
color: #fff;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
> li.ccm-inline-toolbar-button-save button:hover {
|
|
147
|
-
background-color: #007cce;
|
|
148
|
-
background-image: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
li.ccm-inline-toolbar-icon-cell > div.ccm-dropdown-menu {
|
|
152
|
-
display: none;
|
|
153
|
-
|
|
154
|
-
&::before {
|
|
155
|
-
border-color: transparent transparent #000;
|
|
156
|
-
border-style: solid;
|
|
157
|
-
border-width: 0 5px 5px;
|
|
158
|
-
content: ' ';
|
|
159
|
-
height: 0;
|
|
160
|
-
left: 11px;
|
|
161
|
-
position: absolute;
|
|
162
|
-
top: -5px;
|
|
163
|
-
width: 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&.active {
|
|
167
|
-
box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.43);
|
|
168
|
-
display: block;
|
|
169
|
-
margin-top: 1px;
|
|
170
|
-
position: absolute;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
1
|
#ccm-inline-toolbar-container {
|
|
176
2
|
box-sizing: border-box;
|
|
177
3
|
left: 0;
|
|
178
4
|
opacity: 0;
|
|
179
|
-
padding: 10px 20px 0;
|
|
180
5
|
position: absolute;
|
|
181
6
|
top: 0;
|
|
182
7
|
transition: opacity 0.3s ease-in;
|
|
@@ -186,10 +11,15 @@
|
|
|
186
11
|
|
|
187
12
|
#ccm-inline-toolbar-container.ccm-inline-toolbar-affixed {
|
|
188
13
|
background-color: rgba(0, 0, 0, 0.4);
|
|
14
|
+
padding: 10px 0;
|
|
189
15
|
position: fixed;
|
|
190
16
|
top: 0 !important;
|
|
191
17
|
}
|
|
192
18
|
|
|
19
|
+
/*
|
|
20
|
+
old customizer. delete.
|
|
21
|
+
*/
|
|
22
|
+
/*
|
|
193
23
|
.ccm-panel-left {
|
|
194
24
|
.sp-container {
|
|
195
25
|
background-color: rgba(0, 0, 0, 0.95);
|
|
@@ -310,6 +140,7 @@
|
|
|
310
140
|
}
|
|
311
141
|
|
|
312
142
|
}
|
|
143
|
+
*/
|
|
313
144
|
|
|
314
145
|
.ccm-ui {
|
|
315
146
|
div.dropdown-menu.ccm-inline-design-dropdown-menu,
|
|
@@ -471,16 +302,13 @@
|
|
|
471
302
|
}
|
|
472
303
|
|
|
473
304
|
/* new styles for new the area and block style customizer toolbar */
|
|
474
|
-
.ccm-
|
|
475
|
-
border-radius:
|
|
476
|
-
box-shadow: 0 0 6px rgba(200, 200, 200, 0.5);
|
|
305
|
+
.ccm-inline-toolbar {
|
|
306
|
+
border-radius: 2px;
|
|
477
307
|
display: table;
|
|
478
|
-
font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
|
|
479
308
|
height: 31px;
|
|
480
309
|
line-height: 0;
|
|
481
310
|
list-style: none;
|
|
482
311
|
margin: 0 !important;
|
|
483
|
-
min-width: 600px;
|
|
484
312
|
padding: 0 !important;
|
|
485
313
|
position: relative;
|
|
486
314
|
z-index: $index-level-inline-toolbar;
|
|
@@ -582,6 +410,7 @@
|
|
|
582
410
|
display: table-cell;
|
|
583
411
|
font-size: $font-size-base !important;
|
|
584
412
|
list-style: none;
|
|
413
|
+
margin: 0;
|
|
585
414
|
outline: none;
|
|
586
415
|
padding: 3px 8px;
|
|
587
416
|
vertical-align: middle;
|
|
@@ -14,12 +14,12 @@ html.ccm-panel-detail-open {
|
|
|
14
14
|
div.ccm-panel {
|
|
15
15
|
background-color: $panel-background-color;
|
|
16
16
|
height: 100%;
|
|
17
|
-
/* overflow: hidden; */ /* This causes problems with floating palettes inside the panels. So let's only apply this during transitions */
|
|
18
17
|
position: fixed;
|
|
19
18
|
top: 0;
|
|
20
19
|
user-select: none;
|
|
21
20
|
width: 320px;
|
|
22
21
|
z-index: $index-level-panel; // has to come above the detail actions wrapper
|
|
22
|
+
/* overflow: hidden; */ /* This causes problems with floating palettes inside the panels. So let's only apply this during transitions */
|
|
23
23
|
div.ccm-panel-close {
|
|
24
24
|
position: absolute;
|
|
25
25
|
right: 17px;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* eslint-disable no-new, no-unused-vars, camelcase */
|
|
2
|
-
/* global ConcreteEvent */
|
|
3
2
|
|
|
4
3
|
;(function(global, $) {
|
|
5
4
|
'use strict'
|
|
@@ -11,22 +10,6 @@
|
|
|
11
10
|
my.$element = $element
|
|
12
11
|
my.options = options
|
|
13
12
|
|
|
14
|
-
ConcreteEvent.unsubscribe('SitemapDeleteRequestComplete')
|
|
15
|
-
ConcreteEvent.subscribe('SitemapDeleteRequestComplete', function (e) {
|
|
16
|
-
my.hideLoader()
|
|
17
|
-
$.concreteAjax({
|
|
18
|
-
dataType: 'html',
|
|
19
|
-
url: my.options.reloadUrl,
|
|
20
|
-
method: 'get',
|
|
21
|
-
success: function (r) {
|
|
22
|
-
my.$element.replaceWith(r)
|
|
23
|
-
},
|
|
24
|
-
complete: function() {
|
|
25
|
-
my.hideLoader()
|
|
26
|
-
}
|
|
27
|
-
})
|
|
28
|
-
})
|
|
29
|
-
|
|
30
13
|
my.$element.on('click', 'div.ccm-pagination-wrapper a', function(e) {
|
|
31
14
|
e.preventDefault()
|
|
32
15
|
my.showLoader()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@concretecms/bedrock",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "The asset framework and dependencies for Concrete CMS.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"bootbox": "^5.5.1",
|
|
21
21
|
"bootstrap": "^5.0.1",
|
|
22
22
|
"bootstrap-select": "^1.14.0-beta2",
|
|
23
|
-
"bootstrap-tourist": "https://github.com/concrete5/bootstrap-tourist.git",
|
|
23
|
+
"bootstrap-tourist": "git+https://git@github.com/concrete5/bootstrap-tourist.git",
|
|
24
24
|
"ckeditor4": "^4.16.2",
|
|
25
25
|
"ckeditor4-vue": "^1.3.2",
|
|
26
26
|
"dropzone": "^5.7.2",
|
package/.idea/bedrock.iml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$" />
|
|
5
|
-
<orderEntry type="inheritedJdk" />
|
|
6
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
</component>
|
|
8
|
-
</module>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
-
<code_scheme name="Project" version="173">
|
|
3
|
-
<codeStyleSettings language="JavaScript">
|
|
4
|
-
<option name="INDENT_CASE_FROM_SWITCH" value="false" />
|
|
5
|
-
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
|
6
|
-
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
|
7
|
-
</codeStyleSettings>
|
|
8
|
-
<codeStyleSettings language="Vue">
|
|
9
|
-
<indentOptions>
|
|
10
|
-
<option name="INDENT_SIZE" value="4" />
|
|
11
|
-
<option name="TAB_SIZE" value="4" />
|
|
12
|
-
</indentOptions>
|
|
13
|
-
</codeStyleSettings>
|
|
14
|
-
</code_scheme>
|
|
15
|
-
</component>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED