@ditojs/admin 1.1.0 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/admin",
3
- "version": "1.1.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
@@ -25,7 +25,7 @@
25
25
  "prepare": "yarn build"
26
26
  },
27
27
  "engines": {
28
- "node": ">= 14.0.0",
28
+ "node": ">= 16.0.0",
29
29
  "yarn": ">= 1.0.0"
30
30
  },
31
31
  "browserslist": [
@@ -35,8 +35,8 @@
35
35
  "not ie_mob > 0"
36
36
  ],
37
37
  "dependencies": {
38
- "@ditojs/ui": "^1.1.0",
39
- "@ditojs/utils": "^1.1.0",
38
+ "@ditojs/ui": "^1.4.0",
39
+ "@ditojs/utils": "^1.4.0",
40
40
  "axios": "^0.26.1",
41
41
  "codeflask": "^1.4.1",
42
42
  "filesize": "^8.0.7",
@@ -59,11 +59,11 @@
59
59
  "vuedraggable": "^2.24.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@ditojs/build": "^1.1.0",
62
+ "@ditojs/build": "^1.4.0",
63
63
  "pug": "^3.0.2",
64
64
  "sass": "1.49.9",
65
65
  "vite": "^2.8.6",
66
66
  "vite-plugin-vue2": "^1.9.3"
67
67
  },
68
- "gitHead": "32b276bd5d9eaf468352a69f361bdb5df5ed373c"
68
+ "gitHead": "0b308cb3bd1513d78894c7ccdc0c8716339f55a1"
69
69
  }
@@ -7,9 +7,6 @@
7
7
  ) {{ options.text }}
8
8
  </template>
9
9
 
10
- <style lang="sass">
11
- </style>
12
-
13
10
  <script>
14
11
  import DitoComponent from '../DitoComponent.js'
15
12
  import { isObject, isString, asArray } from '@ditojs/utils'
@@ -25,6 +25,7 @@
25
25
 
26
26
  <style lang="sass">
27
27
  @import '../styles/style.sass'
28
+
28
29
  .dito-root
29
30
  height: 100%
30
31
  display: flex
@@ -35,36 +35,36 @@
35
35
  </template>
36
36
 
37
37
  <style lang="sass">
38
- $color-swatch-width: $pattern-transparency-size
39
- $color-swatch-radius: $border-radius - $border-width
40
- .dito-color
41
- .dito-input
42
- display: block
43
- position: relative
44
- input
45
- box-sizing: border-box
46
- font-variant-numeric: tabular-nums
47
- padding-right: $color-swatch-width
48
- .dito-button-clear
49
- margin-right: $color-swatch-width
50
- .dito-color-picker
51
- margin: $popup-margin
52
- border: $border-style
53
- border-radius: $border-radius
54
- background: $color-white
55
- box-shadow: $shadow-window
56
- .dito-color-preview
57
- background: $pattern-transparency
58
- border-left: $border-style
59
- &,
60
- div
61
- position: absolute
62
- width: $color-swatch-width
63
- top: 0
64
- right: 0
65
- bottom: 0
66
- border-top-right-radius: $color-swatch-radius
67
- border-bottom-right-radius: $color-swatch-radius
38
+ $color-swatch-width: $pattern-transparency-size
39
+ $color-swatch-radius: $border-radius - $border-width
40
+ .dito-color
41
+ .dito-input
42
+ display: block
43
+ position: relative
44
+ input
45
+ box-sizing: border-box
46
+ font-variant-numeric: tabular-nums
47
+ padding-right: $color-swatch-width
48
+ .dito-button-clear
49
+ margin-right: $color-swatch-width
50
+ .dito-color-picker
51
+ margin: $popup-margin
52
+ border: $border-style
53
+ border-radius: $border-radius
54
+ background: $color-white
55
+ box-shadow: $shadow-window
56
+ .dito-color-preview
57
+ background: $pattern-transparency
58
+ border-left: $border-style
59
+ &,
60
+ div
61
+ position: absolute
62
+ width: $color-swatch-width
63
+ top: 0
64
+ right: 0
65
+ bottom: 0
66
+ border-top-right-radius: $color-swatch-radius
67
+ border-bottom-right-radius: $color-swatch-radius
68
68
  </style>
69
69
 
70
70
  <script>
@@ -39,9 +39,8 @@
39
39
  </template>
40
40
 
41
41
  <style lang="sass">
42
- // Temporary fix for this vue-cli issue:
43
- // https://github.com/vuejs/vue-cli/issues/2055#issuecomment-417817527
44
- // @import '~vue-multiselect/dist/vue-multiselect.min.css'
42
+ @import 'vue-multiselect/dist/vue-multiselect.min.css'
43
+
45
44
  $spinner-width: $select-arrow-width
46
45
  $tag-icon-width: 1.8em
47
46
  $tag-margin: 2px