@bcrs-shared-components/effective-date-time 1.1.39 → 2.0.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/EffectiveDateTime.vue +4 -4
- package/package.json +6 -6
package/EffectiveDateTime.vue
CHANGED
|
@@ -121,8 +121,7 @@
|
|
|
121
121
|
</template>
|
|
122
122
|
|
|
123
123
|
<script lang="ts">
|
|
124
|
-
import Vue from 'vue'
|
|
125
|
-
import { Component, Emit, Mixins, Prop, Watch } from 'vue-property-decorator'
|
|
124
|
+
import { Component, Emit, mixins, Prop, Watch, Vue } from 'vue-facing-decorator'
|
|
126
125
|
import { DatePicker } from '@bcrs-shared-components/date-picker'
|
|
127
126
|
import { DateMixin } from '@/mixins' // NB: local mixin (StoryBook can't find it otherwise)
|
|
128
127
|
import { EffectiveDateTypes } from '@bcrs-shared-components/enums'
|
|
@@ -136,9 +135,10 @@ enum PeriodTypes {
|
|
|
136
135
|
@Component({
|
|
137
136
|
components: {
|
|
138
137
|
DatePicker
|
|
139
|
-
}
|
|
138
|
+
},
|
|
139
|
+
mixins: [DateMixin]
|
|
140
140
|
})
|
|
141
|
-
export default class EffectiveDateTime extends
|
|
141
|
+
export default class EffectiveDateTime extends Vue {
|
|
142
142
|
readonly MIN_DIFF_MINUTES = 3
|
|
143
143
|
readonly MAX_DIFF_DAYS = 10
|
|
144
144
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrs-shared-components/effective-date-time",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@bcrs-shared-components/date-picker": "^
|
|
9
|
-
"@bcrs-shared-components/enums": "^
|
|
10
|
-
"@bcrs-shared-components/interfaces": "^
|
|
11
|
-
"@bcrs-shared-components/mixins": "^
|
|
8
|
+
"@bcrs-shared-components/date-picker": "^2.0.0",
|
|
9
|
+
"@bcrs-shared-components/enums": "^2.0.0",
|
|
10
|
+
"@bcrs-shared-components/interfaces": "^2.0.0",
|
|
11
|
+
"@bcrs-shared-components/mixins": "^2.0.0",
|
|
12
12
|
"vue": "^2.7.14"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"vue-property-decorator": "^9.1.2"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "79d7f9c9872f9eb873383c49c9d52ea94f731f90"
|
|
18
18
|
}
|