Skip to content
Permalink
Browse files

fix ie11

  • Loading branch information
adr1enbe4udou1n committed Mar 16, 2019
1 parent c499faa commit 7adf5ee22cbd78f012c01a623f98fc3b12347a13
@@ -21,6 +21,7 @@
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-polyfill": "^6.26.0",
"bootstrap": "^4.1.3",
"bootstrap-vue": "^2.0.0-rc.11",
"cross-env": "^5.2.0",
@@ -1,10 +1,10 @@
import 'babel-polyfill'
import './load-client-scripts'

// Vue & axios
import Vue from 'vue'
import '../axios-config'

import 'babel-polyfill'
import BootstrapVue from 'bootstrap-vue/dist/bootstrap-vue.esm'

// Vendor plugins components
@@ -44,10 +44,7 @@
</template>

<script>
import formStateMixin from 'bootstrap-vue/src/mixins/form-state'
export default {
mixins: [formStateMixin],
props: {
value: {
type: [Array, Object],
@@ -88,6 +85,10 @@ export default {
openDirection: {
type: String,
default: null
},
state: {
type: [Boolean, String],
default: null
}
},
data() {
@@ -97,6 +98,26 @@ export default {
search: this.getSearchValue(this.value)
}
},
computed: {
computedState() {
const state = this.state
if (state === true || state === 'valid') {
return true
} else if (state === false || state === 'invalid') {
return false
}
return null
},
stateClass() {
const state = this.computedState
if (state === true) {
return 'is-valid'
} else if (state === false) {
return 'is-invalid'
}
return null
}
},
watch: {
mutableValue(newValue) {
this.$emit('input', newValue)
@@ -1,10 +1,10 @@
import 'babel-polyfill'
import loadClientScripts from './load-client-scripts'

// Vue & axios
import Vue from 'vue'
import { axios } from '../axios-config'

import 'babel-polyfill'
import BootstrapVue from 'bootstrap-vue/dist/bootstrap-vue.esm'

import { createLocales } from '../vue-i18n-config'
@@ -65,7 +65,7 @@ export default createApp => {
/**
* Tel Input
*/
document.querySelectorAll('input[type="tel"]').forEach(input => {
;[...document.querySelectorAll('input[type="tel"]')].forEach(input => {
intlTelInput(input)
})

@@ -60,7 +60,7 @@
</div>

<div class="form-group">
<input type="submit" class="btn btn-default" value="@lang('buttons.send')">
<input type="submit" class="btn btn-primary" value="@lang('buttons.send')">
</div>
</form>
</div>
@@ -17,7 +17,7 @@

<!-- CDN -->
<script defer src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script defer src="//cdn.ckeditor.com/ckeditor5/11.1.1/classic/ckeditor.js"></script>
<script defer src="//cdn.ckeditor.com/ckeditor5/12.0.0/classic/ckeditor.js"></script>

<!-- Scripts -->
<script defer src="{{ Html::asset('backend', 'vendor-backend.js') }}"></script>
@@ -1150,7 +1150,16 @@ babel-polyfill@6.23.0:
core-js "^2.4.0"
regenerator-runtime "^0.10.0"

babel-runtime@^6.22.0:
babel-polyfill@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=
dependencies:
babel-runtime "^6.26.0"
core-js "^2.5.0"
regenerator-runtime "^0.10.5"

babel-runtime@^6.22.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
@@ -1870,6 +1879,11 @@ core-js@^2.4.0, core-js@^2.5.7:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.1.tgz#87416ae817de957a3f249b3b5ca475d4aaed6042"
integrity sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg==

core-js@^2.5.0:
version "2.6.5"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895"
integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A==

core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
@@ -6004,7 +6018,7 @@ regenerate@^1.2.1, regenerate@^1.4.0:
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==

regenerator-runtime@^0.10.0:
regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"
integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=

0 comments on commit 7adf5ee

Please sign in to comment.
You can’t perform that action at this time.