toggle-components-library 1.25.21 → 1.25.23
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/toggle-components-library.common.js +9819 -13654
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +9819 -13654
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +7 -7
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/forms/ToggleDateRangePicker.vue +4 -3
- package/src/sass/includes/_as_inputs.scss +5 -0
- package/package-lock.json +0 -46073
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
@@ -144,6 +144,7 @@ export default {
|
|
|
144
144
|
},
|
|
145
145
|
set: function(modifiedValue) {
|
|
146
146
|
if(modifiedValue.start) {
|
|
147
|
+
|
|
147
148
|
//if modifiedValue.start is present, set selectedDateToEmit.start to it. If there is already an end date stored,
|
|
148
149
|
// set selectedDateToEmit.end to it, otherwise use the start date.
|
|
149
150
|
let isoDate = new Date(new Date(modifiedValue.start+' 00:00:00').toISOString())
|
|
@@ -166,9 +167,9 @@ export default {
|
|
|
166
167
|
|
|
167
168
|
methods: {
|
|
168
169
|
|
|
169
|
-
clearDate()
|
|
170
|
-
|
|
171
|
-
this
|
|
170
|
+
clearDate() {
|
|
171
|
+
let blankDate = {start: '', end: ''};
|
|
172
|
+
this.$emit('input', blankDate);
|
|
172
173
|
},
|
|
173
174
|
|
|
174
175
|
toggleDatePickerState(state,emit){
|