rb-document-form-constructor 0.6.6 → 0.6.7
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/rb-document-form-constructor.esm.js +4 -2
- package/dist/rb-document-form-constructor.min.js +2 -2
- package/dist/rb-document-form-constructor.ssr.js +34 -17
- package/dist/scss/_global.scss +3 -3
- package/dist/scss/_variables.scss +17 -17
- package/dist/scss/components/_doc-form.scss +36 -36
- package/dist/scss/components/_doc-template-constructor.scss +112 -112
- package/dist/scss/components/_doc-template-facet-list.scss +41 -41
- package/dist/scss/components/_doc-template-field-sidebar.scss +52 -52
- package/dist/scss/components/_field-rule-form-modal.scss +27 -27
- package/dist/scss/components.scss +7 -7
- package/package.json +63 -63
- package/src/assets/fontello/README.txt +75 -0
- package/src/components/DocForm.vue +205 -202
- package/src/components/DocTemplateConstructor.vue +254 -254
- package/src/components/DocTemplateFacetList.vue +119 -119
- package/src/components/DocTemplateFieldSidebar.vue +283 -283
- package/src/components/DocTemplateSectionModal.vue +63 -63
- package/src/components/FieldRuleFormModal.vue +272 -272
|
@@ -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,63 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "rb-document-form-constructor",
|
|
3
|
-
"version": "0.6.
|
|
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
|
-
"typeof": "^1.0.0",
|
|
31
|
-
"uuid": "^8.3.2",
|
|
32
|
-
"vuedraggable": "^2.24.3"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@babel/core": "^7.14.6",
|
|
36
|
-
"@babel/preset-env": "^7.14.7",
|
|
37
|
-
"@rollup/plugin-alias": "^3.1.2",
|
|
38
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
39
|
-
"@rollup/plugin-commonjs": "^14.0.0",
|
|
40
|
-
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
41
|
-
"@rollup/plugin-replace": "^2.4.2",
|
|
42
|
-
"@vue/cli-plugin-babel": "^4.5.13",
|
|
43
|
-
"@vue/cli-service": "^4.5.13",
|
|
44
|
-
"cross-env": "^7.0.3",
|
|
45
|
-
"minimist": "^1.2.5",
|
|
46
|
-
"rb-bv-components": "^2.3.9",
|
|
47
|
-
"rimraf": "^3.0.2",
|
|
48
|
-
"rollup": "^2.52.8",
|
|
49
|
-
"rollup-plugin-copy-assets": "^2.0.3",
|
|
50
|
-
"rollup-plugin-sass": "^1.2.6",
|
|
51
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
52
|
-
"rollup-plugin-vue": "^5.1.9",
|
|
53
|
-
"rubles": "^0.2.0",
|
|
54
|
-
"vue": "^2.6.14",
|
|
55
|
-
"vue-template-compiler": "^2.6.14"
|
|
56
|
-
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"vue": "^2.6.14"
|
|
59
|
-
},
|
|
60
|
-
"engines": {
|
|
61
|
-
"node": ">=12"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "rb-document-form-constructor",
|
|
3
|
+
"version": "0.6.7",
|
|
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
|
+
"typeof": "^1.0.0",
|
|
31
|
+
"uuid": "^8.3.2",
|
|
32
|
+
"vuedraggable": "^2.24.3"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@babel/core": "^7.14.6",
|
|
36
|
+
"@babel/preset-env": "^7.14.7",
|
|
37
|
+
"@rollup/plugin-alias": "^3.1.2",
|
|
38
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
39
|
+
"@rollup/plugin-commonjs": "^14.0.0",
|
|
40
|
+
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
41
|
+
"@rollup/plugin-replace": "^2.4.2",
|
|
42
|
+
"@vue/cli-plugin-babel": "^4.5.13",
|
|
43
|
+
"@vue/cli-service": "^4.5.13",
|
|
44
|
+
"cross-env": "^7.0.3",
|
|
45
|
+
"minimist": "^1.2.5",
|
|
46
|
+
"rb-bv-components": "^2.3.9",
|
|
47
|
+
"rimraf": "^3.0.2",
|
|
48
|
+
"rollup": "^2.52.8",
|
|
49
|
+
"rollup-plugin-copy-assets": "^2.0.3",
|
|
50
|
+
"rollup-plugin-sass": "^1.2.6",
|
|
51
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
52
|
+
"rollup-plugin-vue": "^5.1.9",
|
|
53
|
+
"rubles": "^0.2.0",
|
|
54
|
+
"vue": "^2.6.14",
|
|
55
|
+
"vue-template-compiler": "^2.6.14"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"vue": "^2.6.14"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=12"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
This webfont is generated by https://fontello.com open source project.
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
================================================================================
|
|
5
|
+
Please, note, that you should obey original font licenses, used to make this
|
|
6
|
+
webfont pack. Details available in LICENSE.txt file.
|
|
7
|
+
|
|
8
|
+
- Usually, it's enough to publish content of LICENSE.txt file somewhere on your
|
|
9
|
+
site in "About" section.
|
|
10
|
+
|
|
11
|
+
- If your project is open-source, usually, it will be ok to make LICENSE.txt
|
|
12
|
+
file publicly available in your repository.
|
|
13
|
+
|
|
14
|
+
- Fonts, used in Fontello, don't require a clickable link on your site.
|
|
15
|
+
But any kind of additional authors crediting is welcome.
|
|
16
|
+
================================================================================
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Comments on archive content
|
|
20
|
+
---------------------------
|
|
21
|
+
|
|
22
|
+
- /font/* - fonts in different formats
|
|
23
|
+
|
|
24
|
+
- /css/* - different kinds of css, for all situations. Should be ok with
|
|
25
|
+
twitter bootstrap. Also, you can skip <i> style and assign icon classes
|
|
26
|
+
directly to text elements, if you don't mind about IE7.
|
|
27
|
+
|
|
28
|
+
- demo.html - demo file, to show your webfont content
|
|
29
|
+
|
|
30
|
+
- LICENSE.txt - license info about source fonts, used to build your one.
|
|
31
|
+
|
|
32
|
+
- config.json - keeps your settings. You can import it back into fontello
|
|
33
|
+
anytime, to continue your work
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
Why so many CSS files ?
|
|
37
|
+
-----------------------
|
|
38
|
+
|
|
39
|
+
Because we like to fit all your needs :)
|
|
40
|
+
|
|
41
|
+
- basic file, <your_font_name>.css - is usually enough, it contains @font-face
|
|
42
|
+
and character code definitions
|
|
43
|
+
|
|
44
|
+
- *-ie7.css - if you need IE7 support, but still don't wish to put char codes
|
|
45
|
+
directly into html
|
|
46
|
+
|
|
47
|
+
- *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
|
|
48
|
+
rules, but still wish to benefit from css generation. That can be very
|
|
49
|
+
convenient for automated asset build systems. When you need to update font -
|
|
50
|
+
no need to manually edit files, just override old version with archive
|
|
51
|
+
content. See fontello source code for examples.
|
|
52
|
+
|
|
53
|
+
- *-embedded.css - basic css file, but with embedded WOFF font, to avoid
|
|
54
|
+
CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
|
|
55
|
+
We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
|
|
56
|
+
server headers. But if you ok with dirty hack - this file is for you. Note,
|
|
57
|
+
that data url moved to separate @font-face to avoid problems with <IE9, when
|
|
58
|
+
string is too long.
|
|
59
|
+
|
|
60
|
+
- animate.css - use it to get ideas about spinner rotation animation.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Attention for server setup
|
|
64
|
+
--------------------------
|
|
65
|
+
|
|
66
|
+
You MUST setup server to reply with proper `mime-types` for font files -
|
|
67
|
+
otherwise some browsers will fail to show fonts.
|
|
68
|
+
|
|
69
|
+
Usually, `apache` already has necessary settings, but `nginx` and other
|
|
70
|
+
webservers should be tuned. Here is list of mime types for our file extensions:
|
|
71
|
+
|
|
72
|
+
- `application/vnd.ms-fontobject` - eot
|
|
73
|
+
- `application/x-font-woff` - woff
|
|
74
|
+
- `application/x-font-ttf` - ttf
|
|
75
|
+
- `image/svg+xml` - svg
|