diff --git a/CHANGELOG.md b/CHANGELOG.md index 10dfa970..c2dcc420 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.7] - 2023-05-01 + +### Fixed + +- Default dependency bug +- nested placeholder expressions + ## [4.0.5] - 2023-04-15 ### Added @@ -463,7 +470,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Allow change password for current local user - Start tracking versions -[Unreleased]: https://github.com/ansibleguy76/ansibleforms/compare/4.0.5...HEAD +[Unreleased]: https://github.com/ansibleguy76/ansibleforms/compare/4.0.7...HEAD + +[4.0.7]: https://github.com/ansibleguy76/ansibleforms/compare/4.0.5...4.0.7 [4.0.5]: https://github.com/ansibleguy76/ansibleforms/compare/4.0.3...4.0.5 diff --git a/app_versions.gradle b/app_versions.gradle index 323919ec..561d264d 100644 --- a/app_versions.gradle +++ b/app_versions.gradle @@ -1,2 +1,2 @@ -ext.version_code = 40005 -ext.version_name = "4.0.5" +ext.version_code = 40007 +ext.version_name = "4.0.7" diff --git a/client/package.json b/client/package.json index 02a6806b..05ca2e77 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "ansible_forms_vue", - "version": "4.0.5", + "version": "4.0.7", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -12,9 +12,9 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "core-js": "~3.29.1", + "core-js": "~3.30.1", "vue": "~2.6.14", - "axios": "~1.3.2", + "axios": "~1.3.5", "es6-promise": "~4.2.8", "vuelidate": "~0.7.7", "vue-router": "~3.5.4", @@ -36,7 +36,7 @@ "yaml": "1.10.2", "thenby": "*", "vue-showdown": "2.4.1", - "bulma-calendar": "*", + "bulma-calendar": "6.1.19", "@fortawesome/fontawesome-svg-core":"~6.2.1", "@fortawesome/free-solid-svg-icons":"~6.2.1", "@fortawesome/free-regular-svg-icons":"~6.2.1", diff --git a/client/public/assets/_overrides.scss b/client/public/assets/_overrides.scss index 624df9d7..7ae63139 100644 --- a/client/public/assets/_overrides.scss +++ b/client/public/assets/_overrides.scss @@ -1,6 +1,30 @@ // Overrides -@if $bulmaswatch-import-font { - @import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700&display=swap"); +// @if $bulmaswatch-import-font { +// @import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700&display=swap"); +// } + +@font-face { + font-family: "Open Sans"; + src: url("/assets/fonts/OpenSans-Regular.ttf"); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: "Open Sans"; + src: url("/assets/fonts/OpenSans-Italic.ttf"); + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: "Open Sans"; + src: url("/assets/fonts/OpenSans-Bold.ttf"); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: "Open Sans"; + src: url("/assets/fonts/OpenSans-Light.ttf"); + font-weight: 300; } .button { diff --git a/client/public/assets/fonts/OpenSans-Bold.ttf b/client/public/assets/fonts/OpenSans-Bold.ttf new file mode 100644 index 00000000..a1398b33 Binary files /dev/null and b/client/public/assets/fonts/OpenSans-Bold.ttf differ diff --git a/client/public/assets/fonts/OpenSans-Italic.ttf b/client/public/assets/fonts/OpenSans-Italic.ttf new file mode 100644 index 00000000..790286fe Binary files /dev/null and b/client/public/assets/fonts/OpenSans-Italic.ttf differ diff --git a/client/public/assets/fonts/OpenSans-Light.ttf b/client/public/assets/fonts/OpenSans-Light.ttf new file mode 100644 index 00000000..d9a9e277 Binary files /dev/null and b/client/public/assets/fonts/OpenSans-Light.ttf differ diff --git a/client/public/assets/fonts/OpenSans-Regular.ttf b/client/public/assets/fonts/OpenSans-Regular.ttf new file mode 100644 index 00000000..1dc226dd Binary files /dev/null and b/client/public/assets/fonts/OpenSans-Regular.ttf differ diff --git a/client/public/assets/fonts/SourceSansPro-Bold.ttf b/client/public/assets/fonts/SourceSansPro-Bold.ttf deleted file mode 100644 index eb719404..00000000 Binary files a/client/public/assets/fonts/SourceSansPro-Bold.ttf and /dev/null differ diff --git a/client/public/assets/fonts/SourceSansPro-Italic.ttf b/client/public/assets/fonts/SourceSansPro-Italic.ttf deleted file mode 100644 index 82e7daaf..00000000 Binary files a/client/public/assets/fonts/SourceSansPro-Italic.ttf and /dev/null differ diff --git a/client/public/assets/fonts/SourceSansPro-Light.ttf b/client/public/assets/fonts/SourceSansPro-Light.ttf deleted file mode 100644 index 2aa4aa6a..00000000 Binary files a/client/public/assets/fonts/SourceSansPro-Light.ttf and /dev/null differ diff --git a/client/public/assets/fonts/SourceSansPro-Regular.ttf b/client/public/assets/fonts/SourceSansPro-Regular.ttf deleted file mode 100644 index 56238468..00000000 Binary files a/client/public/assets/fonts/SourceSansPro-Regular.ttf and /dev/null differ diff --git a/client/src/components/BulmaAdvancedSelect.vue b/client/src/components/BulmaAdvancedSelect.vue index c87b8568..92220ca3 100644 --- a/client/src/components/BulmaAdvancedSelect.vue +++ b/client/src/components/BulmaAdvancedSelect.vue @@ -189,13 +189,14 @@ export default { //calculate if we need to do a dropup var dd = ref.$refs["dd"]?.getBoundingClientRect() var dt = ref.$refs["dt"]?.getBoundingClientRect() - var wh = window.innerHeight - var ww = window.innerWidth - // if dropdown is out out of view AND there is space for dropup, do dropup - ref.isUp=((dd.bottom>wh) && (dd.height<(dt.top-100))) - ref.isRight=(dt.left>ww/2) - this.calcDropdownMenuWidth() - + if(dt){ + var wh = window.innerHeight + var ww = window.innerWidth + // if dropdown is out out of view AND there is space for dropup, do dropup + ref.isUp=((dd.bottom>wh) && (dd.height<(dt.top-100))) + ref.isRight=(dt.left>ww/2) + this.calcDropdownMenuWidth() + } }) } }, @@ -210,10 +211,12 @@ export default { var columnsCount=this.columns?.length || valueLength if(this.horizontal || (columnsCount>1)){ var dt = this.$refs["dt"]?.getBoundingClientRect() + var dtleft = dt?.left||0 + var dtright = (dt?.right||0) var ww = this.containerSize.width var wx = this.containerSize.x - var widthIfLeft = (ww+wx-dt.left-25) - var widthIfRight = (dt.right-wx-25) + var widthIfLeft = (ww+wx-dtleft-25) + var widthIfRight = (dtright-wx-25) var width=((this.isRight)?widthIfRight:widthIfLeft) this.dropdownMenuWidth=width+"px" } @@ -228,8 +231,8 @@ export default { }, mounted() { var ref = this - // this.$refs.input.blur() - // this.$refs.content.blur() + // this.$refs.input.blur() + // this.$refs.content.blur() }, directives: { 'click-outside': { diff --git a/client/src/components/BulmaEditTable.vue b/client/src/components/BulmaEditTable.vue index 81d8337a..cb3d79b3 100644 --- a/client/src/components/BulmaEditTable.vue +++ b/client/src/components/BulmaEditTable.vue @@ -1,7 +1,7 @@