@bcrs-shared-components/effective-date-time 2.0.1 → 2.0.3

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.
@@ -1,27 +1,27 @@
1
- import type { Meta } from '@storybook/vue'
2
- import { EffectiveDateTime } from './index'
3
- import Vuetify from 'vuetify'
4
-
5
- const meta: Meta<typeof EffectiveDateTime> = {
6
- title: 'component/EffectiveDateTime'
7
- }
8
- export default meta
9
-
10
- const Template = (args, { argTypes }) => ({
11
- vuetify: new Vuetify({ iconfont: 'mdi' }),
12
- props: Object.keys(argTypes),
13
- components: { EffectiveDateTime },
14
- template: '<effective-date-time v-bind="$props" />' // $props comes from args below
15
- })
16
-
17
- export const Default = Template.bind({})
18
- Default['args'] = {
19
- parseInitial: true,
20
- currentJsDate: new Date(),
21
- effectiveDateTime: {
22
- valid: false,
23
- isFutureEffective: null,
24
- effectiveDate: null
25
- },
26
- isAppValidate: false
27
- }
1
+ import type { Meta } from '@storybook/vue'
2
+ import { EffectiveDateTime } from './index'
3
+ import Vuetify from 'vuetify'
4
+
5
+ const meta: Meta<typeof EffectiveDateTime> = {
6
+ title: 'component/EffectiveDateTime'
7
+ }
8
+ export default meta
9
+
10
+ const Template = (args, { argTypes }) => ({
11
+ vuetify: new Vuetify({ iconfont: 'mdi' }),
12
+ props: Object.keys(argTypes),
13
+ components: { EffectiveDateTime },
14
+ template: '<effective-date-time v-bind="$props" />' // $props comes from args below
15
+ })
16
+
17
+ export const Default = Template.bind({})
18
+ Default['args'] = {
19
+ parseInitial: true,
20
+ currentJsDate: new Date(),
21
+ effectiveDateTime: {
22
+ valid: false,
23
+ isFutureEffective: null,
24
+ effectiveDate: null
25
+ },
26
+ isAppValidate: false
27
+ }