anytrek-front-public-component 1.2.0 → 1.2.2
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/README.md +28 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
A public component library
|
|
3
3
|
|
|
4
4
|
# Project Install
|
|
5
|
-
npm install anytrek-front-public-component --save
|
|
5
|
+
`npm install anytrek-front-public-component --save`
|
|
6
6
|
|
|
7
7
|
# Project Use
|
|
8
|
-
import frontPublicComponent from 'anytrek-front-public-component'
|
|
9
|
-
import 'anytrek-front-public-component/style.css'
|
|
8
|
+
`import frontPublicComponent from 'anytrek-front-public-component';`
|
|
9
|
+
`import 'anytrek-front-public-component/style.css';`
|
|
10
10
|
|
|
11
11
|
## anytrekTimerangePick
|
|
12
12
|
Select a time range
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
v-model:visible="anytrekTimerangePickVisible"
|
|
16
|
-
v-model:value="anytrekTimerangePickValue"
|
|
17
|
-
v-model:valueType="anytrekTimerangePickValueType"
|
|
18
|
-
v-model:startTime="anytrekTimerangePickStartTime"
|
|
19
|
-
v-model:endTime="anytrekTimerangePickEndTime"
|
|
20
|
-
v-model:timeZone="timeZone"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const anytrekTimerangePickVisible = ref<boolean>(false)
|
|
25
|
-
const anytrekTimerangePickValue = ref<'custom' | '' | number>('custom')
|
|
26
|
-
const anytrekTimerangePickValueType = ref<string>('week')
|
|
27
|
-
const anytrekTimerangePickStartTime = ref<string>('')
|
|
28
|
-
const anytrekTimerangePickEndTime = ref<string>('')
|
|
29
|
-
const timeZone = ref<string>('')
|
|
14
|
+
`<anytrekTimerangePick`
|
|
15
|
+
`v-model:visible="anytrekTimerangePickVisible"`
|
|
16
|
+
`v-model:value="anytrekTimerangePickValue"`
|
|
17
|
+
`v-model:valueType="anytrekTimerangePickValueType"`
|
|
18
|
+
`v-model:startTime="anytrekTimerangePickStartTime"`
|
|
19
|
+
`v-model:endTime="anytrekTimerangePickEndTime"`
|
|
20
|
+
`v-model:timeZone="timeZone"`
|
|
21
|
+
`:showQuick="true"`
|
|
22
|
+
`:immediate="true"`
|
|
23
|
+
`/>`
|
|
24
|
+
`const anytrekTimerangePickVisible = ref<boolean>(false);`
|
|
25
|
+
`const anytrekTimerangePickValue = ref<'custom' | '' | number>('custom');`
|
|
26
|
+
`const anytrekTimerangePickValueType = ref<string>('week');`
|
|
27
|
+
`const anytrekTimerangePickStartTime = ref<string>('');`
|
|
28
|
+
`const anytrekTimerangePickEndTime = ref<string>('');`
|
|
29
|
+
`const timeZone = ref<string>('');`
|
|
30
30
|
|
|
31
31
|
<table class=MsoTableGrid border=1 cellspacing=0 style="border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
|
|
32
32
|
mso-border-left-alt:0.5000pt solid windowtext;mso-border-top-alt:0.5000pt solid windowtext;mso-border-right-alt:0.5000pt solid windowtext;
|
|
@@ -1387,15 +1387,15 @@ mso-border-bottom-alt:0.5000pt solid windowtext;">
|
|
|
1387
1387
|
# anytrekTimePick
|
|
1388
1388
|
Select a time
|
|
1389
1389
|
|
|
1390
|
-
|
|
1391
|
-
v-model:value="anytrekTimePickValue"
|
|
1392
|
-
v-model:timeZone="anytrekTimePickTimeZone"
|
|
1393
|
-
v-model:visible="anytrekTimePickVisible"
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
const anytrekTimePickValue = ref<string>('2018-01-31T14:32:19.213Z')
|
|
1397
|
-
const anytrekTimePickTimeZone = ref<string>('')
|
|
1398
|
-
const anytrekTimePickVisible = ref<boolean>(false)
|
|
1390
|
+
`<anytrekTimePick`
|
|
1391
|
+
`v-model:value="anytrekTimePickValue"`
|
|
1392
|
+
`v-model:timeZone="anytrekTimePickTimeZone"`
|
|
1393
|
+
`v-model:visible="anytrekTimePickVisible"`
|
|
1394
|
+
`:immediate="true"`
|
|
1395
|
+
`/>`
|
|
1396
|
+
`const anytrekTimePickValue = ref<string>('2018-01-31T14:32:19.213Z');`
|
|
1397
|
+
`const anytrekTimePickTimeZone = ref<string>('');`
|
|
1398
|
+
`const anytrekTimePickVisible = ref<boolean>(false);`
|
|
1399
1399
|
|
|
1400
1400
|
<table class=MsoTableGrid border=1 cellspacing=0 style="border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
|
|
1401
1401
|
mso-border-left-alt:0.5000pt solid windowtext;mso-border-top-alt:0.5000pt solid windowtext;mso-border-right-alt:0.5000pt solid windowtext;
|