rb-document-form-constructor 0.3.8 → 0.4.2

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.
@@ -1,112 +1,112 @@
1
- .rb-doc-template-constructor {
2
- height: 100%;
3
-
4
- h4 {
5
- color: $rb-doc-template-constructor-title-color;
6
- font-weight: bold;
7
- font-size: $rb-doc-template-constructor-title-font-size;
8
- }
9
-
10
- .rb-form-constructor {
11
- height: 100%;
12
- overflow-y: auto;
13
- background-color: white;
14
- }
15
-
16
- .rb-constructor-toolbar {
17
- padding: 16px 16px 16px 16px;
18
- background-color: white;
19
- border-bottom: 1px solid $border-color;
20
-
21
- h4 {
22
- margin-bottom: 0;
23
- line-height: 38px;
24
- margin-right: 10px;
25
- }
26
-
27
- .btn {
28
- margin-left: 10px;
29
- }
30
- }
31
-
32
- .rb-constructor-body {
33
- padding: 16px;
34
-
35
- .card {
36
- border-width: 2px;
37
- border-style: dashed;
38
- background-color: $rb-doc-template-section-bg;
39
-
40
- .card-header, .card-body {
41
- background-color: $rb-doc-template-section-bg;
42
- border-color: $border-color;
43
-
44
- }
45
- }
46
-
47
- .rb-form-card {
48
- margin-bottom: 20px;
49
-
50
- .rb-form-column {
51
- flex: 1;
52
- }
53
-
54
- .card-header {
55
- border-bottom-width: 0;
56
- display: flex;
57
- flex-direction: row;
58
-
59
- .rb-text {
60
- font-size: 16px;
61
- line-height: 24px;
62
- font-weight: bold;
63
- }
64
-
65
- .rb-icon {
66
- line-height: 24px;
67
- font-size: 16px;
68
- }
69
- }
70
- }
71
-
72
- .rb-form-column {
73
- .form-group:hover {
74
- legend.col-form-label .rb-actions {
75
- visibility: visible;
76
- }
77
- }
78
-
79
- legend.col-form-label {
80
- font-size: $font-size-base;
81
- font-weight: bold;
82
- margin-bottom: 12px;
83
- display: flex;
84
- flex-direction: row;
85
- color: $rb-doc-template-constructor-title-color;
86
-
87
- .rb-text {
88
- flex: 1;
89
- }
90
-
91
- .rb-actions {
92
- visibility: hidden;
93
- }
94
- }
95
-
96
- .form-control:disabled,
97
- .btn.disabled {
98
- background-color: white;
99
- opacity: 1;
100
- }
101
- }
102
-
103
- .rb-form-column {
104
- padding: 10px;
105
- border: 2px dashed $rb-doc-template-constructor-form-column-border-color;
106
- }
107
-
108
- .rb-form-column:not(.rb-single-column) {
109
- margin: 0 10px;
110
- }
111
- }
112
- }
1
+ .rb-doc-template-constructor {
2
+ height: 100%;
3
+
4
+ h4 {
5
+ color: $rb-doc-template-constructor-title-color;
6
+ font-weight: bold;
7
+ font-size: $rb-doc-template-constructor-title-font-size;
8
+ }
9
+
10
+ .rb-form-constructor {
11
+ height: 100%;
12
+ overflow-y: auto;
13
+ background-color: white;
14
+ }
15
+
16
+ .rb-constructor-toolbar {
17
+ padding: 16px 16px 16px 16px;
18
+ background-color: white;
19
+ border-bottom: 1px solid $border-color;
20
+
21
+ h4 {
22
+ margin-bottom: 0;
23
+ line-height: 38px;
24
+ margin-right: 10px;
25
+ }
26
+
27
+ .btn {
28
+ margin-left: 10px;
29
+ }
30
+ }
31
+
32
+ .rb-constructor-body {
33
+ padding: 16px;
34
+
35
+ .card {
36
+ border-width: 2px;
37
+ border-style: dashed;
38
+ background-color: $rb-doc-template-section-bg;
39
+
40
+ .card-header, .card-body {
41
+ background-color: $rb-doc-template-section-bg;
42
+ border-color: $border-color;
43
+
44
+ }
45
+ }
46
+
47
+ .rb-form-card {
48
+ margin-bottom: 20px;
49
+
50
+ .rb-form-column {
51
+ flex: 1;
52
+ }
53
+
54
+ .card-header {
55
+ border-bottom-width: 0;
56
+ display: flex;
57
+ flex-direction: row;
58
+
59
+ .rb-text {
60
+ font-size: 16px;
61
+ line-height: 24px;
62
+ font-weight: bold;
63
+ }
64
+
65
+ .rb-icon {
66
+ line-height: 24px;
67
+ font-size: 16px;
68
+ }
69
+ }
70
+ }
71
+
72
+ .rb-form-column {
73
+ .form-group:hover {
74
+ legend.col-form-label .rb-actions {
75
+ visibility: visible;
76
+ }
77
+ }
78
+
79
+ legend.col-form-label {
80
+ font-size: $font-size-base;
81
+ font-weight: bold;
82
+ margin-bottom: 12px;
83
+ display: flex;
84
+ flex-direction: row;
85
+ color: $rb-doc-template-constructor-title-color;
86
+
87
+ .rb-text {
88
+ flex: 1;
89
+ }
90
+
91
+ .rb-actions {
92
+ visibility: hidden;
93
+ }
94
+ }
95
+
96
+ .form-control:disabled,
97
+ .btn.disabled {
98
+ background-color: white;
99
+ opacity: 1;
100
+ }
101
+ }
102
+
103
+ .rb-form-column {
104
+ padding: 10px;
105
+ border: 2px dashed $rb-doc-template-constructor-form-column-border-color;
106
+ }
107
+
108
+ .rb-form-column:not(.rb-single-column) {
109
+ margin: 0 10px;
110
+ }
111
+ }
112
+ }
@@ -1,41 +1,41 @@
1
- .rb-facets-sidebar {
2
- height: 100%;
3
- width: 264px;
4
- overflow-y: auto;
5
- background-color: white;
6
- border-right: 1px solid $rb-facet-list-border-color;
7
-
8
- h4 {
9
- padding: 24px 16px 16px 16px;
10
- }
11
-
12
- h6 {
13
- padding-left: 16px;
14
- padding-right: 16px;
15
- font-weight: 500;
16
- }
17
-
18
- form {
19
- padding-left: 16px;
20
- padding-right: 16px;
21
- }
22
-
23
- .rb-facet-label {
24
- font-weight: bold;
25
- }
26
-
27
- .rb-facet-list {
28
- .rb-facet {
29
- padding: 10px 0;
30
- }
31
-
32
- & > .rb-facet:not(:last-child) {
33
- border-bottom: 1px solid $rb-facet-list-border-color;
34
- }
35
-
36
- .list-group-item {
37
- border-radius: 0;
38
- border: none;
39
- }
40
- }
41
- }
1
+ .rb-facets-sidebar {
2
+ height: 100%;
3
+ width: 264px;
4
+ overflow-y: auto;
5
+ background-color: white;
6
+ border-right: 1px solid $rb-facet-list-border-color;
7
+
8
+ h4 {
9
+ padding: 24px 16px 16px 16px;
10
+ }
11
+
12
+ h6 {
13
+ padding-left: 16px;
14
+ padding-right: 16px;
15
+ font-weight: 500;
16
+ }
17
+
18
+ form {
19
+ padding-left: 16px;
20
+ padding-right: 16px;
21
+ }
22
+
23
+ .rb-facet-label {
24
+ font-weight: bold;
25
+ }
26
+
27
+ .rb-facet-list {
28
+ .rb-facet {
29
+ padding: 10px 0;
30
+ }
31
+
32
+ & > .rb-facet:not(:last-child) {
33
+ border-bottom: 1px solid $rb-facet-list-border-color;
34
+ }
35
+
36
+ .list-group-item {
37
+ border-radius: 0;
38
+ border: none;
39
+ }
40
+ }
41
+ }
@@ -1,52 +1,52 @@
1
- .rb-doc-template-field-sidebar {
2
- .dropdown-menu.show {
3
- max-width: 288px;
4
- }
5
-
6
- .b-sidebar {
7
- top: $rb-doc-template-field-sidebar-top;
8
- padding-bottom: $rb-doc-template-field-sidebar-top;
9
- }
10
-
11
- .rb-sidebar-close-btn {
12
- opacity: 0.5;
13
- position: absolute;
14
- left: $rb-doc-template-field-sidebar-close-button-left;
15
- border-radius: 0;
16
- padding-left: 4px;
17
- padding-right: 4px;
18
- font-size: 16px;
19
-
20
- .rb-icon {
21
- font-size: 24px;
22
- line-height: 24px;
23
- vertical-align: middle;
24
- }
25
- }
26
-
27
- form {
28
- padding: 10px 16px;
29
-
30
- .rb-form-section {
31
- margin-bottom: 20px;
32
-
33
- & > .rb-title {
34
- font-size: $rb-doc-template-field-sidebar-font-size-lg;
35
- font-weight: bold;
36
- margin-bottom: 10px;
37
- }
38
- }
39
- }
40
-
41
- h4 {
42
- margin-bottom: 0;
43
- }
44
-
45
- .form-group.rb-immutable .rb-text {
46
- font-size: $rb-doc-template-field-sidebar-font-size-lg;
47
- }
48
-
49
- .custom-checkbox {
50
- margin-bottom: 12px;
51
- }
52
- }
1
+ .rb-doc-template-field-sidebar {
2
+ .dropdown-menu.show {
3
+ max-width: 288px;
4
+ }
5
+
6
+ .b-sidebar {
7
+ top: $rb-doc-template-field-sidebar-top;
8
+ padding-bottom: $rb-doc-template-field-sidebar-top;
9
+ }
10
+
11
+ .rb-sidebar-close-btn {
12
+ opacity: 0.5;
13
+ position: absolute;
14
+ left: $rb-doc-template-field-sidebar-close-button-left;
15
+ border-radius: 0;
16
+ padding-left: 4px;
17
+ padding-right: 4px;
18
+ font-size: 16px;
19
+
20
+ .rb-icon {
21
+ font-size: 24px;
22
+ line-height: 24px;
23
+ vertical-align: middle;
24
+ }
25
+ }
26
+
27
+ form {
28
+ padding: 10px 16px;
29
+
30
+ .rb-form-section {
31
+ margin-bottom: 20px;
32
+
33
+ & > .rb-title {
34
+ font-size: $rb-doc-template-field-sidebar-font-size-lg;
35
+ font-weight: bold;
36
+ margin-bottom: 10px;
37
+ }
38
+ }
39
+ }
40
+
41
+ h4 {
42
+ margin-bottom: 0;
43
+ }
44
+
45
+ .form-group.rb-immutable .rb-text {
46
+ font-size: $rb-doc-template-field-sidebar-font-size-lg;
47
+ }
48
+
49
+ .custom-checkbox {
50
+ margin-bottom: 12px;
51
+ }
52
+ }
@@ -1,27 +1,27 @@
1
- $rb-field-rule-btn-toolbar-bg: rgba(0, 0, 0, 0.03) !default;
2
-
3
- .rb-field-rule-form-modal {
4
- .modal-body {
5
- padding: 0;
6
-
7
- & > .card {
8
- border: none;
9
- border-radius: 0;
10
- }
11
- }
12
-
13
- .btn-toolbar {
14
- border-top-left-radius: $border-radius;
15
- border-top-right-radius: $border-radius;
16
- background-color: $rb-field-rule-btn-toolbar-bg;
17
- padding: 10px 10px;
18
- border-top: 1px solid $border-color;
19
- border-left: 1px solid $border-color;
20
- border-right: 1px solid $border-color;
21
- }
22
-
23
- textarea.form-control {
24
- border-top-left-radius: 0;
25
- border-top-right-radius: 0;
26
- }
27
- }
1
+ $rb-field-rule-btn-toolbar-bg: rgba(0, 0, 0, 0.03) !default;
2
+
3
+ .rb-field-rule-form-modal {
4
+ .modal-body {
5
+ padding: 0;
6
+
7
+ & > .card {
8
+ border: none;
9
+ border-radius: 0;
10
+ }
11
+ }
12
+
13
+ .btn-toolbar {
14
+ border-top-left-radius: $border-radius;
15
+ border-top-right-radius: $border-radius;
16
+ background-color: $rb-field-rule-btn-toolbar-bg;
17
+ padding: 10px 10px;
18
+ border-top: 1px solid $border-color;
19
+ border-left: 1px solid $border-color;
20
+ border-right: 1px solid $border-color;
21
+ }
22
+
23
+ textarea.form-control {
24
+ border-top-left-radius: 0;
25
+ border-top-right-radius: 0;
26
+ }
27
+ }
@@ -1,7 +1,7 @@
1
- @import 'variables';
2
- @import 'global';
3
- @import 'components/doc-template-facet-list';
4
- @import 'components/doc-template-field-sidebar';
5
- @import 'components/doc-template-constructor';
6
- @import 'components/doc-form';
7
- @import 'components/field-rule-form-modal';
1
+ @import 'variables';
2
+ @import 'global';
3
+ @import 'components/doc-template-facet-list';
4
+ @import 'components/doc-template-field-sidebar';
5
+ @import 'components/doc-template-constructor';
6
+ @import 'components/doc-form';
7
+ @import 'components/field-rule-form-modal';
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "name": "rb-document-form-constructor",
3
- "version": "0.3.8",
4
- "description": "",
5
- "main": "dist/rb-document-form-constructor.ssr.js",
6
- "browser": "dist/rb-document-form-constructor.esm.js",
7
- "module": "dist/rb-document-form-constructor.esm.js",
8
- "unpkg": "dist/rb-document-form-constructor.min.js",
9
- "files": [
10
- "dist/*",
11
- "src/**/*.vue"
12
- ],
13
- "sideEffects": false,
14
- "scripts": {
15
- "serve": "vue-cli-service serve dev/serve.js",
16
- "prebuild": "rimraf ./dist",
17
- "build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
18
- "build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
19
- "build:es": "cross-env NODE_ENV=pеroduction rollup --config build/rollup.config.js --format es",
20
- "build:unpkg": "cross-env kNODE_ENV=production rollup --config build/rollup.config.js --format iife"
21
- },
22
- "dependencies": {
23
- "bootstrap": "^4.5.0",
24
- "bootstrap-vue": "^2.15.0",
25
- "debounce": "^1.2.1",
26
- "jquery": "^3.6.0",
27
- "notevil": "^1.3.3",
28
- "sass": "^1.32.0",
29
- "sass-loader": "^10.1.0",
30
- "uuid": "^8.3.2",
31
- "vuedraggable": "^2.24.3"
32
- },
33
- "devDependencies": {
34
- "@babel/core": "^7.14.6",
35
- "@babel/preset-env": "^7.14.7",
36
- "@rollup/plugin-alias": "^3.1.2",
37
- "@rollup/plugin-babel": "^5.3.0",
38
- "@rollup/plugin-commonjs": "^14.0.0",
39
- "@rollup/plugin-node-resolve": "^9.0.0",
40
- "@rollup/plugin-replace": "^2.4.2",
41
- "@vue/cli-plugin-babel": "^4.5.13",
42
- "@vue/cli-service": "^4.5.13",
43
- "cross-env": "^7.0.3",
44
- "minimist": "^1.2.5",
45
- "rb-bv-components": "^1.4.1",
46
- "rimraf": "^3.0.2",
47
- "rollup": "^2.52.8",
48
- "rollup-plugin-copy-assets": "^2.0.3",
49
- "rollup-plugin-sass": "^1.2.6",
50
- "rollup-plugin-terser": "^7.0.2",
51
- "rollup-plugin-vue": "^5.1.9",
52
- "rubles": "^0.2.0",
53
- "vue": "^2.6.14",
54
- "vue-template-compiler": "^2.6.14"
55
- },
56
- "peerDependencies": {
57
- "vue": "^2.6.14"
58
- },
59
- "engines": {
60
- "node": ">=12"
61
- }
62
- }
1
+ {
2
+ "name": "rb-document-form-constructor",
3
+ "version": "0.4.2",
4
+ "description": "",
5
+ "main": "dist/rb-document-form-constructor.ssr.js",
6
+ "browser": "dist/rb-document-form-constructor.esm.js",
7
+ "module": "dist/rb-document-form-constructor.esm.js",
8
+ "unpkg": "dist/rb-document-form-constructor.min.js",
9
+ "files": [
10
+ "dist/*",
11
+ "src/**/*.vue"
12
+ ],
13
+ "sideEffects": false,
14
+ "scripts": {
15
+ "serve": "vue-cli-service serve dev/serve.js",
16
+ "prebuild": "rimraf ./dist",
17
+ "build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
18
+ "build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
19
+ "build:es": "cross-env NODE_ENV=pеroduction rollup --config build/rollup.config.js --format es",
20
+ "build:unpkg": "cross-env kNODE_ENV=production rollup --config build/rollup.config.js --format iife"
21
+ },
22
+ "dependencies": {
23
+ "bootstrap": "^4.5.0",
24
+ "bootstrap-vue": "^2.15.0",
25
+ "debounce": "^1.2.1",
26
+ "jquery": "^3.6.0",
27
+ "notevil": "^1.3.3",
28
+ "sass": "^1.32.0",
29
+ "sass-loader": "^10.1.0",
30
+ "uuid": "^8.3.2",
31
+ "vuedraggable": "^2.24.3"
32
+ },
33
+ "devDependencies": {
34
+ "@babel/core": "^7.14.6",
35
+ "@babel/preset-env": "^7.14.7",
36
+ "@rollup/plugin-alias": "^3.1.2",
37
+ "@rollup/plugin-babel": "^5.3.0",
38
+ "@rollup/plugin-commonjs": "^14.0.0",
39
+ "@rollup/plugin-node-resolve": "^9.0.0",
40
+ "@rollup/plugin-replace": "^2.4.2",
41
+ "@vue/cli-plugin-babel": "^4.5.13",
42
+ "@vue/cli-service": "^4.5.13",
43
+ "cross-env": "^7.0.3",
44
+ "minimist": "^1.2.5",
45
+ "rb-bv-components": "^1.4.1",
46
+ "rimraf": "^3.0.2",
47
+ "rollup": "^2.52.8",
48
+ "rollup-plugin-copy-assets": "^2.0.3",
49
+ "rollup-plugin-sass": "^1.2.6",
50
+ "rollup-plugin-terser": "^7.0.2",
51
+ "rollup-plugin-vue": "^5.1.9",
52
+ "rubles": "^0.2.0",
53
+ "vue": "^2.6.14",
54
+ "vue-template-compiler": "^2.6.14"
55
+ },
56
+ "peerDependencies": {
57
+ "vue": "^2.6.14"
58
+ },
59
+ "engines": {
60
+ "node": ">=12"
61
+ }
62
+ }