Blame view

node_modules/bootstrap-vue/src/components/popover/package.json 8.65 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
{
  "name": "@bootstrap-vue/popover",
  "version": "1.0.0",
  "meta": {
    "title": "Popover",
    "description": "The Popover feature provides a tooltip-like behavior, can be easily applied to any interactive element via the <b-popover> component or v-b-popover directive.",
    "plugins": [
      "VBPopoverPlugin"
    ],
    "components": [
      {
        "component": "BPopover",
        "props": [
          {
            "prop": "boundary",
            "description": "The boundary constraint of the popover: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement or component"
          },
          {
            "prop": "boundaryPadding",
            "description": "The popover will try and stay away from the edge of the boundary element by the number of pixels specified"
          },
          {
            "prop": "container",
            "description": "The container element to append the rendered popover when visible. Default's to the body element"
          },
          {
            "prop": "content",
            "description": "Text to place in the body of the popover"
          },
          {
            "prop": "customClass",
            "description": "CSS class (or classes) to apply to the popover's root element"
          },
          {
            "prop": "delay",
            "description": "Value for the show and hide delay. Applies to both show and hide when specified as a number or string. Use object form to set show and hide delays individually"
          },
          {
            "prop": "fallbackPlacement",
            "description": "Placement to use when the popover would be out of boundaries. Refer to the docs for more details"
          },
          {
            "prop": "offset",
            "description": "Offset (in pixels) for the arrow center compared to the trigger target element"
          },
          {
            "prop": "placement",
            "description": "Placement of the popover: One of 'top', 'bottom', 'right', 'left', 'topleft', 'topright', 'bottomleft', 'bottomright', 'lefttop', 'leftbottom', 'righttop', 'rightbottom'"
          },
          {
            "prop": "show",
            "description": "When set will show the popover"
          },
          {
            "prop": "target",
            "description": "Element string ID, or a reference to an element or component, that you want to trigger the popover"
          },
          {
            "prop": "title",
            "description": "Text to place in the popovers title"
          },
          {
            "prop": "triggers",
            "description": "Specify which triggers will show the popover. Supported values are 'click', 'hover', 'focus'. Refer to the docs for special triggers 'blur' and 'manual'"
          },
          {
            "prop": "variant",
            "description": "Applies one of the Bootstrap theme color variants to the component"
          }
        ],
        "events": [
          {
            "event": "bv::popover::disabled",
            "description": "Emitted on $root when popover becomes disabled",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "bv::popover::enabled",
            "description": "Emitted on $root when popover becomes enabled",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "bv::popover::hidden",
            "description": "Emitted on $root when popover is hidden",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "bv::popover::hide",
            "description": "Emitted on $root when popover is about to be hidden. Cancelable. Call bvEvent.preventDefault() to cancel hide",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "bv::popover::show",
            "description": "Emitted on $root when popover is about to be shown. Cancelable. Call bvEvent.preventDefault() to cancel show",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "bv::popover::shown",
            "description": "Emitted on $root when popover is shown",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "disabled",
            "description": "Emitted when popover becomes disabled",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "enabled",
            "description": "Emitted when popover becomes enabled",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "hidden",
            "description": "Emitted when popover is hidden",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "hide",
            "description": "Emitted when popover is about to be hidden. Cancelable. Call bvEvent.preventDefault() to cancel hide",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "show",
            "description": "Emitted when popover is about to be shown. Cancelable. Call bvEvent.preventDefault() to cancel show",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          },
          {
            "event": "shown",
            "description": "Emitted when popover is shown",
            "args": [
              {
                "arg": "bvEvent",
                "type": "BvEvent",
                "description": "BvEvent object"
              }
            ]
          }
        ],
        "rootEventListeners": [
          {
            "event": "bv::disable::popover",
            "description": "Disable all or a specific popover when this event is emitted on $root",
            "args": [
              {
                "arg": "id",
                "type": "String",
                "description": "Popover ID to disable (optional)"
              }
            ]
          },
          {
            "event": "bv::enable::popover",
            "description": "Enable all or a specific popover when this event is emitted on $root",
            "args": [
              {
                "arg": "id",
                "type": "String",
                "description": "Popover ID to enable (optional)"
              }
            ]
          },
          {
            "event": "bv::hide::popover",
            "description": "Close (hide) all or a specific open popover when this event is emitted on $root",
            "args": [
              {
                "arg": "id",
                "type": "String",
                "description": "Popover ID to hide (optional)"
              }
            ]
          },
          {
            "event": "bv::show::popover",
            "description": "Open (show) all or a specific popover when this event is emitted on $root",
            "args": [
              {
                "arg": "id",
                "type": "String",
                "description": "Popover ID to show (optional)"
              }
            ]
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Slot for content (HTML/components supported)"
          },
          {
            "name": "title",
            "description": "Optional slot for title (HTML/components supported)"
          }
        ]
      }
    ]
  }
}