Blame view

node_modules/bootstrap-vue/src/components/time/package.json 4.52 KB
4cd4fd28   郭伟龙   feat: 初始化项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
  "name": "@bootstrap-vue/time",
  "version": "1.0.0",
  "meta": {
    "title": "Time",
    "version": "2.6.0",
    "description": "A custom time input widget that can be used to control other components",
    "components": [
      {
        "component": "BTime",
        "version": "2.6.0",
        "props": [
          {
            "prop": "footerTag",
            "version": "2.22.0",
            "description": "Specify the HTML tag to render instead of the default tag for the footer"
          },
          {
            "prop": "headerTag",
            "version": "2.22.0",
            "description": "Specify the HTML tag to render instead of the default tag for the footer"
          },
          {
            "prop": "hideHeader",
            "description": "When set, visually hides the selected time header"
          },
          {
            "prop": "hour12",
            "description": "Tri-state prop. If `true` forces the interface to 12 hour format. If `false` forces the interface into 24 hour format. If `null` the current locale will determine the 12 or 24 hour interface (default)"
          },
          {
            "prop": "labelAm",
            "description": "Text to display in the AM/PM spinbutton when 'AM' is selected"
          },
          {
            "prop": "labelAmpm",
            "description": "Value of the `aria-label` attribute on the `AM/PM` spinbutton"
          },
          {
            "prop": "labelDecrement",
            "description": "Value of the `aria-label` attribute on the spinbuttons `-` button"
          },
          {
            "prop": "labelHours",
            "description": "Value of the `aria-label` attribute on the `Hours` spinbutton"
          },
          {
            "prop": "labelIncrement",
            "description": "Value of the `aria-label` attribute on the spinbuttons `+` button"
          },
          {
            "prop": "labelMinutes",
            "description": "Value of the `aria-label` attribute on the `Minutes` spinbutton"
          },
          {
            "prop": "labelNoTimeSelected",
            "description": "String to show when no time is selected"
          },
          {
            "prop": "labelPm",
            "description": "Text to display in the AM/PM spinbutton when 'PM' is selected"
          },
          {
            "prop": "labelSeconds",
            "description": "Value of the `aria-label` attribute on the `Seconds` spinbutton"
          },
          {
            "prop": "labelSelected",
            "description": "Hidden sr-only string when a time is selected"
          },
          {
            "prop": "locale",
            "description": "Locale (or locales) for the component to use. When passing an array of locales, the order of the locales is from most preferred to least preferred. If not provided, defaults to the clients default locale"
          },
          {
            "prop": "minutesStep",
            "description": "Step value for the minutes spinbutton. Should be a value evenly divided into 60"
          },
          {
            "prop": "secondsStep",
            "description": "Step value for the seconds spinbutton. Should be a value evenly divided into 60"
          },
          {
            "prop": "showSeconds",
            "description": "When true, shows the seconds spinbutton. If `false` the seconds spin button will not be shown and the seconds portion of the time will always be `0`"
          },
          {
            "prop": "value",
            "description": "Initially selected time value. Accepts a `HH:mm:ss` string. Valid value ranges from `00:00:00` to `23:59:59`"
          }
        ],
        "events": [
          {
            "event": "context",
            "description": "Emitted whenever the internal model state, or locale, updates. Also emitted when the component is initially created",
            "args": [
              {
                "arg": "context",
                "description": "The context object. Refer to the docs for details"
              }
            ]
          },
          {
            "event": "input",
            "description": "Event that updates the v-model",
            "args": [
              {
                "arg": "value",
                "description": "The selected time as an `HH:mm:ss` string. Will be an empty string if no time selected"
              }
            ]
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Used to place custom controls at the bottom of the time component"
          }
        ]
      }
    ]
  }
}