quasar 2.10.0 → 2.10.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/dist/api/Dialog.json +28 -69
- package/dist/api/Intersection.json +25 -100
- package/dist/api/Loading.json +5 -20
- package/dist/api/LoadingBar.json +1 -7
- package/dist/api/LocalStorage.json +4 -16
- package/dist/api/Morph.json +2 -14
- package/dist/api/Notify.json +0 -3
- package/dist/api/Platform.json +1 -4
- package/dist/api/QAjaxBar.json +1 -11
- package/dist/api/QBreadcrumbs.json +0 -8
- package/dist/api/QBtn.json +0 -3
- package/dist/api/QBtnDropdown.json +0 -12
- package/dist/api/QCarousel.json +0 -10
- package/dist/api/QCarouselControl.json +0 -3
- package/dist/api/QCircularProgress.json +0 -23
- package/dist/api/QColor.json +0 -3
- package/dist/api/QDialog.json +18 -9
- package/dist/api/QDrawer.json +0 -6
- package/dist/api/QExpansionItem.json +0 -3
- package/dist/api/QFab.json +1 -6
- package/dist/api/QFabAction.json +1 -3
- package/dist/api/QField.json +1 -6
- package/dist/api/QFile.json +12 -29
- package/dist/api/QFooter.json +0 -3
- package/dist/api/QHeader.json +0 -6
- package/dist/api/QInfiniteScroll.json +9 -16
- package/dist/api/QInnerLoading.json +0 -4
- package/dist/api/QInput.json +8 -15
- package/dist/api/QIntersection.json +0 -4
- package/dist/api/QItemLabel.json +0 -5
- package/dist/api/QKnob.json +3 -36
- package/dist/api/QLayout.json +6 -24
- package/dist/api/QLinearProgress.json +0 -6
- package/dist/api/QList.json +15 -0
- package/dist/api/QMenu.json +7 -12
- package/dist/api/QOptionGroup.json +0 -3
- package/dist/api/QPage.json +2 -8
- package/dist/api/QPageScroller.json +0 -9
- package/dist/api/QPageSticky.json +0 -3
- package/dist/api/QPagination.json +4 -25
- package/dist/api/QParallax.json +2 -14
- package/dist/api/QPopupEdit.json +0 -8
- package/dist/api/QPopupProxy.json +21 -4
- package/dist/api/QRange.json +5 -32
- package/dist/api/QRating.json +0 -4
- package/dist/api/QResizeObserver.json +2 -8
- package/dist/api/QScrollArea.json +8 -36
- package/dist/api/QScrollObserver.json +6 -24
- package/dist/api/QSelect.json +18 -108
- package/dist/api/QSlideItem.json +1 -6
- package/dist/api/QSlideTransition.json +0 -4
- package/dist/api/QSlider.json +3 -24
- package/dist/api/QSpinner.json +0 -4
- package/dist/api/QSplitter.json +1 -4
- package/dist/api/QStepper.json +0 -7
- package/dist/api/QTabPanels.json +0 -7
- package/dist/api/QTable.json +43 -191
- package/dist/api/QTabs.json +0 -6
- package/dist/api/QTime.json +3 -12
- package/dist/api/QTooltip.json +7 -18
- package/dist/api/QTree.json +0 -3
- package/dist/api/QUploader.json +5 -16
- package/dist/api/QVirtualScroll.json +11 -56
- package/dist/api/Screen.json +9 -36
- package/dist/api/Scroll.json +2 -8
- package/dist/api/SessionStorage.json +4 -16
- package/dist/api/TouchHold.json +3 -12
- package/dist/api/TouchPan.json +7 -28
- package/dist/api/TouchRepeat.json +6 -24
- package/dist/api/TouchSwipe.json +3 -12
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +6 -0
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +6 -0
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/kz.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +3 -3
- package/dist/quasar.esm.js +223 -192
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +10 -3
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +5 -4
- package/dist/quasar.umd.js +222 -191
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/api/dialog.d.ts +101 -0
- package/dist/types/api/qpopupproxy.d.ts +3 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/index.d.ts +56 -97
- package/dist/vetur/quasar-attributes.json +4 -0
- package/dist/vetur/quasar-tags.json +2 -1
- package/dist/web-types/web-types.json +142 -132
- package/icon-set/mdi-v7.js +146 -0
- package/icon-set/mdi-v7.mjs +141 -0
- package/icon-set/svg-mdi-v7.js +224 -0
- package/icon-set/svg-mdi-v7.mjs +224 -0
- package/package.json +4 -4
- package/src/api.extends.json +1 -2
- package/src/components/ajax-bar/QAjaxBar.json +5 -11
- package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -2
- package/src/components/btn/QBtn.json +1 -3
- package/src/components/btn/__tests__/QBtn.spec.js +87 -14
- package/src/components/btn/__tests__/use-btn.spec.js +385 -58
- package/src/components/btn-dropdown/QBtnDropdown.js +4 -12
- package/src/components/btn-dropdown/QBtnDropdown.json +0 -2
- package/src/components/btn-toggle/QBtnToggle.json +2 -4
- package/src/components/carousel/QCarousel.json +4 -9
- package/src/components/carousel/QCarouselControl.json +0 -1
- package/src/components/checkbox/use-checkbox.json +1 -2
- package/src/components/circular-progress/QCircularProgress.json +0 -5
- package/src/components/color/QColor.json +0 -1
- package/src/components/date/QDate.js +6 -4
- package/src/components/date/QDate.json +28 -56
- package/src/components/dialog/QDialog.js +34 -41
- package/src/components/dialog/QDialog.json +9 -2
- package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -2
- package/src/components/dialog-plugin/DialogPlugin.js +4 -4
- package/src/components/drawer/QDrawer.js +5 -5
- package/src/components/drawer/QDrawer.json +0 -4
- package/src/components/editor/QEditor.json +3 -6
- package/src/components/expansion-item/QExpansionItem.js +3 -4
- package/src/components/expansion-item/QExpansionItem.json +3 -8
- package/src/components/fab/QFab.js +3 -6
- package/src/components/fab/QFab.json +0 -1
- package/src/components/fab/QFab.sass +2 -1
- package/src/components/fab/use-fab.json +0 -1
- package/src/components/field/QField.json +0 -1
- package/src/components/file/QFile.js +4 -1
- package/src/components/file/QFile.json +19 -20
- package/src/components/footer/QFooter.json +0 -1
- package/src/components/form/QForm.js +5 -3
- package/src/components/form/QForm.json +2 -4
- package/src/components/header/QHeader.json +0 -4
- package/src/components/img/QImg.js +20 -19
- package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
- package/src/components/inner-loading/QInnerLoading.js +2 -5
- package/src/components/input/QInput.js +12 -3
- package/src/components/input/QInput.json +11 -7
- package/src/components/input/use-mask.js +3 -1
- package/src/components/intersection/QIntersection.json +0 -1
- package/src/components/item/QItem.json +1 -2
- package/src/components/item/QItemLabel.json +0 -1
- package/src/components/item/QList.js +7 -2
- package/src/components/item/QList.json +7 -0
- package/src/components/knob/QKnob.js +3 -3
- package/src/components/knob/QKnob.json +3 -12
- package/src/components/layout/QLayout.js +1 -1
- package/src/components/layout/QLayout.json +6 -12
- package/src/components/linear-progress/QLinearProgress.json +0 -2
- package/src/components/menu/QMenu.js +12 -6
- package/src/components/menu/QMenu.json +0 -2
- package/src/components/option-group/QOptionGroup.json +2 -5
- package/src/components/page/QPage.json +3 -6
- package/src/components/page-scroller/QPageScroller.json +0 -2
- package/src/components/page-sticky/QPageSticky.json +0 -1
- package/src/components/pagination/QPagination.json +5 -13
- package/src/components/parallax/QParallax.json +2 -6
- package/src/components/popup-edit/QPopupEdit.js +3 -3
- package/src/components/popup-edit/QPopupEdit.json +4 -10
- package/src/components/popup-proxy/QPopupProxy.js +6 -0
- package/src/components/popup-proxy/QPopupProxy.json +19 -1
- package/src/components/radio/QRadio.json +1 -2
- package/src/components/range/QRange.json +2 -4
- package/src/components/rating/QRating.json +0 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -4
- package/src/components/scroll-area/QScrollArea.js +15 -4
- package/src/components/scroll-area/QScrollArea.json +24 -50
- package/src/components/scroll-observer/QScrollObserver.js +2 -0
- package/src/components/scroll-observer/QScrollObserver.json +6 -12
- package/src/components/select/QSelect.js +28 -27
- package/src/components/select/QSelect.json +30 -65
- package/src/components/select/QSelect.sass +2 -2
- package/src/components/slide-item/QSlideItem.json +1 -2
- package/src/components/slide-transition/QSlideTransition.json +0 -1
- package/src/components/slider/use-slider.json +33 -70
- package/src/components/spinner/QSpinner.json +0 -1
- package/src/components/splitter/QSplitter.json +1 -2
- package/src/components/table/QTable.js +3 -3
- package/src/components/table/QTable.json +118 -239
- package/src/components/tabs/QRouteTab.json +0 -1
- package/src/components/tabs/QTabs.json +0 -2
- package/src/components/time/QTime.json +10 -20
- package/src/components/tooltip/QTooltip.js +2 -5
- package/src/components/tooltip/QTooltip.json +0 -4
- package/src/components/tree/QTree.js +6 -6
- package/src/components/tree/QTree.json +15 -31
- package/src/components/uploader/QUploader.json +13 -22
- package/src/components/uploader/xhr-uploader-plugin.js +1 -1
- package/src/components/uploader/xhr-uploader-plugin.json +25 -50
- package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
- package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
- package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
- package/src/composables/private/use-field.js +1 -1
- package/src/composables/private/use-field.json +2 -3
- package/src/composables/private/use-file.json +4 -13
- package/src/composables/private/use-model-toggle.js +3 -3
- package/src/composables/private/use-panel.js +2 -2
- package/src/composables/private/use-panel.json +0 -2
- package/src/composables/private/use-portal.js +5 -1
- package/src/composables/private/use-portal.json +7 -1
- package/src/composables/private/use-transition.js +17 -11
- package/src/composables/private/use-transition.json +0 -1
- package/src/composables/private/use-validate.json +1 -3
- package/src/directives/Intersection.json +26 -53
- package/src/directives/Morph.json +4 -8
- package/src/directives/Mutation.json +6 -12
- package/src/directives/Scroll.json +2 -4
- package/src/directives/TouchHold.json +3 -6
- package/src/directives/TouchPan.json +7 -14
- package/src/directives/TouchRepeat.json +6 -12
- package/src/directives/TouchSwipe.json +3 -6
- package/src/plugins/BottomSheet.json +1 -2
- package/src/plugins/Cookies.json +2 -4
- package/src/plugins/Dialog.json +35 -73
- package/src/plugins/Loading.json +6 -11
- package/src/plugins/LoadingBar.json +3 -6
- package/src/plugins/Notify.json +4 -5
- package/src/plugins/Platform.json +3 -6
- package/src/plugins/Screen.json +9 -18
- package/src/utils/private/global-dialog.json +6 -12
- package/src/utils/private/portal.js +4 -4
- package/src/utils/private/web-storage.json +6 -10
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"desc": "Horizontal alignment the tabs within the tabs container",
|
|
36
36
|
"default": "center",
|
|
37
37
|
"values": [ "left", "center", "right", "justify" ],
|
|
38
|
-
"examples": [ "right" ],
|
|
39
38
|
"category": "content"
|
|
40
39
|
},
|
|
41
40
|
|
|
@@ -43,7 +42,6 @@
|
|
|
43
42
|
"type": [ "Number", "String" ],
|
|
44
43
|
"desc": "Breakpoint (in pixels) of tabs container width at which the tabs automatically turn to a justify alignment",
|
|
45
44
|
"default": 600,
|
|
46
|
-
"examples": [ ":breakpoint=\"500\"" ],
|
|
47
45
|
"category": "content|behavior"
|
|
48
46
|
},
|
|
49
47
|
|
|
@@ -43,18 +43,15 @@
|
|
|
43
43
|
"params": {
|
|
44
44
|
"hr": {
|
|
45
45
|
"type": "Number",
|
|
46
|
-
"desc": "Hour"
|
|
47
|
-
"examples": [ 15 ]
|
|
46
|
+
"desc": "Hour"
|
|
48
47
|
},
|
|
49
48
|
"min": {
|
|
50
49
|
"type": [ "Number", "null" ],
|
|
51
|
-
"desc": "Minutes"
|
|
52
|
-
"examples": [ 38 ]
|
|
50
|
+
"desc": "Minutes"
|
|
53
51
|
},
|
|
54
52
|
"sec": {
|
|
55
53
|
"type": [ "Number", "null" ],
|
|
56
|
-
"desc": "Seconds"
|
|
57
|
-
"examples": [ 12 ]
|
|
54
|
+
"desc": "Seconds"
|
|
58
55
|
}
|
|
59
56
|
},
|
|
60
57
|
"returns": null,
|
|
@@ -124,44 +121,37 @@
|
|
|
124
121
|
"year": {
|
|
125
122
|
"type": "Number",
|
|
126
123
|
"required": true,
|
|
127
|
-
"desc": "The year"
|
|
128
|
-
"__exemption": [ "examples" ]
|
|
124
|
+
"desc": "The year"
|
|
129
125
|
},
|
|
130
126
|
"month": {
|
|
131
127
|
"type": "Number",
|
|
132
128
|
"required": true,
|
|
133
|
-
"desc": "The month"
|
|
134
|
-
"__exemption": [ "examples" ]
|
|
129
|
+
"desc": "The month"
|
|
135
130
|
},
|
|
136
131
|
"day": {
|
|
137
132
|
"type": "Number",
|
|
138
133
|
"required": true,
|
|
139
|
-
"desc": "The day of the month"
|
|
140
|
-
"__exemption": [ "examples" ]
|
|
134
|
+
"desc": "The day of the month"
|
|
141
135
|
},
|
|
142
136
|
"hour": {
|
|
143
137
|
"type": "Number",
|
|
144
138
|
"required": true,
|
|
145
|
-
"desc": "The hour"
|
|
146
|
-
"__exemption": [ "examples" ]
|
|
139
|
+
"desc": "The hour"
|
|
147
140
|
},
|
|
148
141
|
"minute": {
|
|
149
142
|
"type": "Number",
|
|
150
143
|
"required": true,
|
|
151
|
-
"desc": "The minute"
|
|
152
|
-
"__exemption": [ "examples" ]
|
|
144
|
+
"desc": "The minute"
|
|
153
145
|
},
|
|
154
146
|
"second": {
|
|
155
147
|
"type": "Number",
|
|
156
148
|
"required": true,
|
|
157
|
-
"desc": "The second"
|
|
158
|
-
"__exemption": [ "examples" ]
|
|
149
|
+
"desc": "The second"
|
|
159
150
|
},
|
|
160
151
|
"millisecond": {
|
|
161
152
|
"type": "Number",
|
|
162
153
|
"required": true,
|
|
163
|
-
"desc": "The millisecond"
|
|
164
|
-
"__exemption": [ "examples" ]
|
|
154
|
+
"desc": "The millisecond"
|
|
165
155
|
},
|
|
166
156
|
"changed": {
|
|
167
157
|
"type": "Boolean",
|
|
@@ -94,7 +94,7 @@ export default createComponent({
|
|
|
94
94
|
|
|
95
95
|
const { registerTick, removeTick } = useTick()
|
|
96
96
|
const { registerTimeout } = useTimeout()
|
|
97
|
-
const {
|
|
97
|
+
const { transitionProps, transitionStyle } = useTransition(props)
|
|
98
98
|
const { localScrollTarget, changeScrollEvent, unconfigureScrollTarget } = useScrollTarget(props, configureScrollTarget)
|
|
99
99
|
|
|
100
100
|
const { anchorEl, canShow, anchorEvents } = useAnchor({ showing, configureAnchorEl })
|
|
@@ -291,10 +291,7 @@ export default createComponent({
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
function renderPortalContent () {
|
|
294
|
-
return h(Transition,
|
|
295
|
-
name: transition.value,
|
|
296
|
-
appear: true
|
|
297
|
-
}, getTooltipContent)
|
|
294
|
+
return h(Transition, transitionProps.value, getTooltipContent)
|
|
298
295
|
}
|
|
299
296
|
|
|
300
297
|
onBeforeUnmount(anchorCleanup)
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"bottom left", "bottom middle", "bottom right", "bottom start", "bottom end"
|
|
36
36
|
],
|
|
37
37
|
"default": "bottom middle",
|
|
38
|
-
"examples": [ "top left", "bottom right" ],
|
|
39
38
|
"category": "position"
|
|
40
39
|
},
|
|
41
40
|
|
|
@@ -48,7 +47,6 @@
|
|
|
48
47
|
"bottom left", "bottom middle", "bottom right", "bottom start", "bottom end"
|
|
49
48
|
],
|
|
50
49
|
"default": "top middle",
|
|
51
|
-
"examples": [ "top left", "bottom right" ],
|
|
52
50
|
"category": "position"
|
|
53
51
|
},
|
|
54
52
|
|
|
@@ -86,7 +84,6 @@
|
|
|
86
84
|
"type": "Number",
|
|
87
85
|
"desc": "Configure Tooltip to appear with delay",
|
|
88
86
|
"default": 0,
|
|
89
|
-
"examples": [ ":delay=\"550\"" ],
|
|
90
87
|
"category": "behavior"
|
|
91
88
|
},
|
|
92
89
|
|
|
@@ -94,7 +91,6 @@
|
|
|
94
91
|
"type": "Number",
|
|
95
92
|
"desc": "Configure Tooltip to disappear with delay",
|
|
96
93
|
"default": 0,
|
|
97
|
-
"examples": [ ":hide-delay=\"650\"" ],
|
|
98
94
|
"category": "behavior"
|
|
99
95
|
}
|
|
100
96
|
},
|
|
@@ -78,9 +78,9 @@ export default createComponent({
|
|
|
78
78
|
'update:expanded',
|
|
79
79
|
'update:ticked',
|
|
80
80
|
'update:selected',
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
81
|
+
'lazyLoad',
|
|
82
|
+
'afterShow',
|
|
83
|
+
'afterHide'
|
|
84
84
|
],
|
|
85
85
|
|
|
86
86
|
setup (props, { slots, emit }) {
|
|
@@ -329,7 +329,7 @@ export default createComponent({
|
|
|
329
329
|
if (Array.isArray(node[ props.childrenKey ]) !== true) {
|
|
330
330
|
node[ props.childrenKey ] = []
|
|
331
331
|
}
|
|
332
|
-
emit('
|
|
332
|
+
emit('lazyLoad', {
|
|
333
333
|
node,
|
|
334
334
|
key,
|
|
335
335
|
done: children => {
|
|
@@ -476,11 +476,11 @@ export default createComponent({
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
function onShow () {
|
|
479
|
-
emit('
|
|
479
|
+
emit('afterShow')
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
function onHide () {
|
|
483
|
-
emit('
|
|
483
|
+
emit('afterHide')
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
function getNode (node) {
|
|
@@ -147,13 +147,11 @@
|
|
|
147
147
|
"params": {
|
|
148
148
|
"node": {
|
|
149
149
|
"type": "Object",
|
|
150
|
-
"desc": "Node currently being filtered"
|
|
151
|
-
"__exemption": [ "examples" ]
|
|
150
|
+
"desc": "Node currently being filtered"
|
|
152
151
|
},
|
|
153
152
|
"filter": {
|
|
154
153
|
"type": "String",
|
|
155
|
-
"desc": "Filter text to match against"
|
|
156
|
-
"__exemption": [ "examples" ]
|
|
154
|
+
"desc": "Filter text to match against"
|
|
157
155
|
}
|
|
158
156
|
},
|
|
159
157
|
"returns": {
|
|
@@ -167,7 +165,6 @@
|
|
|
167
165
|
"type": "Number",
|
|
168
166
|
"desc": "Toggle animation duration (in milliseconds)",
|
|
169
167
|
"default": 300,
|
|
170
|
-
"examples": [ ":duration=\"500\"" ],
|
|
171
168
|
"category": "style"
|
|
172
169
|
},
|
|
173
170
|
|
|
@@ -207,13 +204,11 @@
|
|
|
207
204
|
},
|
|
208
205
|
"node": {
|
|
209
206
|
"type": "Object",
|
|
210
|
-
"desc": "Node object"
|
|
211
|
-
"__exemption": [ "examples" ]
|
|
207
|
+
"desc": "Node object"
|
|
212
208
|
},
|
|
213
209
|
"key": {
|
|
214
210
|
"type": "Any",
|
|
215
|
-
"desc": "Node's key"
|
|
216
|
-
"__exemption": [ "examples" ]
|
|
211
|
+
"desc": "Node's key"
|
|
217
212
|
},
|
|
218
213
|
"color": {
|
|
219
214
|
"type": "String",
|
|
@@ -247,13 +242,11 @@
|
|
|
247
242
|
},
|
|
248
243
|
"node": {
|
|
249
244
|
"type": "Object",
|
|
250
|
-
"desc": "Node object"
|
|
251
|
-
"__exemption": [ "examples" ]
|
|
245
|
+
"desc": "Node object"
|
|
252
246
|
},
|
|
253
247
|
"key": {
|
|
254
248
|
"type": "Any",
|
|
255
|
-
"desc": "Node's key"
|
|
256
|
-
"__exemption": [ "examples" ]
|
|
249
|
+
"desc": "Node's key"
|
|
257
250
|
},
|
|
258
251
|
"color": {
|
|
259
252
|
"type": "String",
|
|
@@ -287,13 +280,11 @@
|
|
|
287
280
|
},
|
|
288
281
|
"node": {
|
|
289
282
|
"type": "Object",
|
|
290
|
-
"desc": "Node object"
|
|
291
|
-
"__exemption": [ "examples" ]
|
|
283
|
+
"desc": "Node object"
|
|
292
284
|
},
|
|
293
285
|
"key": {
|
|
294
286
|
"type": "Any",
|
|
295
|
-
"desc": "Node's key"
|
|
296
|
-
"__exemption": [ "examples" ]
|
|
287
|
+
"desc": "Node's key"
|
|
297
288
|
},
|
|
298
289
|
"color": {
|
|
299
290
|
"type": "String",
|
|
@@ -327,13 +318,11 @@
|
|
|
327
318
|
},
|
|
328
319
|
"node": {
|
|
329
320
|
"type": "Object",
|
|
330
|
-
"desc": "Node object"
|
|
331
|
-
"__exemption": [ "examples" ]
|
|
321
|
+
"desc": "Node object"
|
|
332
322
|
},
|
|
333
323
|
"key": {
|
|
334
324
|
"type": "Any",
|
|
335
|
-
"desc": "Node's key"
|
|
336
|
-
"__exemption": [ "examples" ]
|
|
325
|
+
"desc": "Node's key"
|
|
337
326
|
},
|
|
338
327
|
"color": {
|
|
339
328
|
"type": "String",
|
|
@@ -370,8 +359,7 @@
|
|
|
370
359
|
"node": {
|
|
371
360
|
"type": "Object",
|
|
372
361
|
"required": true,
|
|
373
|
-
"desc": "The node to which the new nodes (the children) will be appended"
|
|
374
|
-
"__exemption": [ "examples" ]
|
|
362
|
+
"desc": "The node to which the new nodes (the children) will be appended"
|
|
375
363
|
},
|
|
376
364
|
"key": {
|
|
377
365
|
"type": "String",
|
|
@@ -387,8 +375,7 @@
|
|
|
387
375
|
"children": {
|
|
388
376
|
"type": "Array",
|
|
389
377
|
"desc": "Array of nodes",
|
|
390
|
-
"default": "[]"
|
|
391
|
-
"__exemption": [ "examples" ]
|
|
378
|
+
"default": "[]"
|
|
392
379
|
}
|
|
393
380
|
},
|
|
394
381
|
"returns": null
|
|
@@ -449,8 +436,7 @@
|
|
|
449
436
|
},
|
|
450
437
|
"returns": {
|
|
451
438
|
"type": "Object",
|
|
452
|
-
"desc": "Requested node"
|
|
453
|
-
"__exemption": [ "examples" ]
|
|
439
|
+
"desc": "Requested node"
|
|
454
440
|
}
|
|
455
441
|
},
|
|
456
442
|
|
|
@@ -458,8 +444,7 @@
|
|
|
458
444
|
"desc": "Get array of nodes that are ticked",
|
|
459
445
|
"returns": {
|
|
460
446
|
"type": "Array",
|
|
461
|
-
"desc": "Ticked node objects"
|
|
462
|
-
"__exemption": [ "examples" ]
|
|
447
|
+
"desc": "Ticked node objects"
|
|
463
448
|
}
|
|
464
449
|
},
|
|
465
450
|
|
|
@@ -467,8 +452,7 @@
|
|
|
467
452
|
"desc": "Get array of nodes that are expanded",
|
|
468
453
|
"returns": {
|
|
469
454
|
"type": "Array",
|
|
470
|
-
"desc": "Expanded node objects"
|
|
471
|
-
"__exemption": [ "examples" ]
|
|
455
|
+
"desc": "Expanded node objects"
|
|
472
456
|
}
|
|
473
457
|
},
|
|
474
458
|
|
|
@@ -94,8 +94,7 @@
|
|
|
94
94
|
"params": {
|
|
95
95
|
"files": {
|
|
96
96
|
"type": "Array",
|
|
97
|
-
"desc": "Array of files that were added"
|
|
98
|
-
"__exemption": ["examples"]
|
|
97
|
+
"desc": "Array of files that were added"
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
100
|
},
|
|
@@ -105,8 +104,7 @@
|
|
|
105
104
|
"params": {
|
|
106
105
|
"files": {
|
|
107
106
|
"type": "Array",
|
|
108
|
-
"desc": "Array of files that were removed"
|
|
109
|
-
"__exemption": ["examples"]
|
|
107
|
+
"desc": "Array of files that were removed"
|
|
110
108
|
}
|
|
111
109
|
}
|
|
112
110
|
},
|
|
@@ -145,10 +143,9 @@
|
|
|
145
143
|
"desc": "Remove specified file from the queue",
|
|
146
144
|
"params": {
|
|
147
145
|
"file": {
|
|
148
|
-
"type": "
|
|
149
|
-
"desc": "
|
|
150
|
-
"required": true
|
|
151
|
-
"__exemption": ["examples"]
|
|
146
|
+
"type": "File",
|
|
147
|
+
"desc": "The file to remove",
|
|
148
|
+
"required": true
|
|
152
149
|
}
|
|
153
150
|
}
|
|
154
151
|
},
|
|
@@ -157,10 +154,9 @@
|
|
|
157
154
|
"desc": "Update the status of a file",
|
|
158
155
|
"params": {
|
|
159
156
|
"file": {
|
|
160
|
-
"type": "
|
|
161
|
-
"desc": "
|
|
162
|
-
"required": true
|
|
163
|
-
"__exemption": ["examples"]
|
|
157
|
+
"type": "File",
|
|
158
|
+
"desc": "The file to update",
|
|
159
|
+
"required": true
|
|
164
160
|
},
|
|
165
161
|
"status": {
|
|
166
162
|
"type": "String",
|
|
@@ -171,8 +167,7 @@
|
|
|
171
167
|
"uploadedSize": {
|
|
172
168
|
"type": "Number",
|
|
173
169
|
"desc": "The number of uploaded bytes of the file; Is required explicitly only when status is NOT 'uploaded'",
|
|
174
|
-
"required": true
|
|
175
|
-
"__exemption": ["examples"]
|
|
170
|
+
"required": true
|
|
176
171
|
}
|
|
177
172
|
}
|
|
178
173
|
},
|
|
@@ -211,26 +206,22 @@
|
|
|
211
206
|
"computedProps": {
|
|
212
207
|
"files": {
|
|
213
208
|
"type": "Array",
|
|
214
|
-
"desc": "List of all files"
|
|
215
|
-
"__exemption": [ "examples" ]
|
|
209
|
+
"desc": "List of all files"
|
|
216
210
|
},
|
|
217
211
|
|
|
218
212
|
"queuedFiles": {
|
|
219
213
|
"type": "Array",
|
|
220
|
-
"desc": "List of files that are waiting to be uploaded"
|
|
221
|
-
"__exemption": [ "examples" ]
|
|
214
|
+
"desc": "List of files that are waiting to be uploaded"
|
|
222
215
|
},
|
|
223
216
|
|
|
224
217
|
"uploadedFiles": {
|
|
225
218
|
"type": "Array",
|
|
226
|
-
"desc": "List of files that have been uploaded"
|
|
227
|
-
"__exemption": [ "examples" ]
|
|
219
|
+
"desc": "List of files that have been uploaded"
|
|
228
220
|
},
|
|
229
221
|
|
|
230
222
|
"uploadedSize": {
|
|
231
223
|
"type": "Number",
|
|
232
|
-
"desc": "Size of all uploaded files in bytes"
|
|
233
|
-
"examples": [ 1024 ]
|
|
224
|
+
"desc": "Size of all uploaded files in bytes"
|
|
234
225
|
},
|
|
235
226
|
|
|
236
227
|
"uploadSizeLabel": {
|
|
@@ -104,7 +104,7 @@ function injectPlugin ({ props, emit, helpers }) {
|
|
|
104
104
|
helpers.queuedFiles.value = helpers.queuedFiles.value.concat(files)
|
|
105
105
|
files.forEach(f => { helpers.updateFileStatus(f, 'failed') })
|
|
106
106
|
|
|
107
|
-
emit('
|
|
107
|
+
emit('factoryFailed', err, files)
|
|
108
108
|
workingThreads.value--
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -7,14 +7,12 @@
|
|
|
7
7
|
"params": {
|
|
8
8
|
"files": {
|
|
9
9
|
"type": "Array",
|
|
10
|
-
"desc": "Uploaded files"
|
|
11
|
-
"__exemption": [ "examples" ]
|
|
10
|
+
"desc": "Uploaded files"
|
|
12
11
|
}
|
|
13
12
|
},
|
|
14
13
|
"returns": {
|
|
15
14
|
"type": [ "Object", "Promise<any>" ],
|
|
16
|
-
"desc": "Optional configuration for the upload process; You can override QUploader props in this Object (url, method, headers, formFields, fieldName, withCredentials, sendRaw); Props of these Object can also be Functions with the form of (file[s]) => value"
|
|
17
|
-
"__exemption": [ "examples" ]
|
|
15
|
+
"desc": "Optional configuration for the upload process; You can override QUploader props in this Object (url, method, headers, formFields, fieldName, withCredentials, sendRaw); Props of these Object can also be Functions with the form of (file[s]) => value"
|
|
18
16
|
},
|
|
19
17
|
"category": "upload"
|
|
20
18
|
},
|
|
@@ -26,14 +24,12 @@
|
|
|
26
24
|
"params": {
|
|
27
25
|
"files": {
|
|
28
26
|
"type": "Array",
|
|
29
|
-
"desc": "Uploaded files"
|
|
30
|
-
"__exemption": [ "examples" ]
|
|
27
|
+
"desc": "Uploaded files"
|
|
31
28
|
}
|
|
32
29
|
},
|
|
33
30
|
"returns": {
|
|
34
31
|
"type": "String",
|
|
35
|
-
"desc": "URL or path to the server which handles the upload"
|
|
36
|
-
"__exemption": [ "examples" ]
|
|
32
|
+
"desc": "URL or path to the server which handles the upload"
|
|
37
33
|
},
|
|
38
34
|
"category": "upload"
|
|
39
35
|
},
|
|
@@ -47,14 +43,12 @@
|
|
|
47
43
|
"params": {
|
|
48
44
|
"files": {
|
|
49
45
|
"type": "Array",
|
|
50
|
-
"desc": "Uploaded files"
|
|
51
|
-
"__exemption": [ "examples" ]
|
|
46
|
+
"desc": "Uploaded files"
|
|
52
47
|
}
|
|
53
48
|
},
|
|
54
49
|
"returns": {
|
|
55
50
|
"type": "String",
|
|
56
|
-
"desc": "HTTP method to use for upload"
|
|
57
|
-
"__exemption": [ "examples" ]
|
|
51
|
+
"desc": "HTTP method to use for upload"
|
|
58
52
|
},
|
|
59
53
|
"category": "upload"
|
|
60
54
|
},
|
|
@@ -70,14 +64,12 @@
|
|
|
70
64
|
"params": {
|
|
71
65
|
"files": {
|
|
72
66
|
"type": "File",
|
|
73
|
-
"desc": "The current file being processed"
|
|
74
|
-
"__exemption": [ "examples" ]
|
|
67
|
+
"desc": "The current file being processed"
|
|
75
68
|
}
|
|
76
69
|
},
|
|
77
70
|
"returns": {
|
|
78
71
|
"type": "String",
|
|
79
|
-
"desc": "Field name for the current file upload"
|
|
80
|
-
"__exemption": [ "examples" ]
|
|
72
|
+
"desc": "Field name for the current file upload"
|
|
81
73
|
},
|
|
82
74
|
"category": "upload"
|
|
83
75
|
},
|
|
@@ -107,14 +99,12 @@
|
|
|
107
99
|
"params": {
|
|
108
100
|
"files": {
|
|
109
101
|
"type": "Array",
|
|
110
|
-
"desc": "Uploaded files"
|
|
111
|
-
"__exemption": [ "examples" ]
|
|
102
|
+
"desc": "Uploaded files"
|
|
112
103
|
}
|
|
113
104
|
},
|
|
114
105
|
"returns": {
|
|
115
106
|
"type": "String",
|
|
116
|
-
"desc": "An array consisting of objects with header definitions"
|
|
117
|
-
"__exemption": [ "examples" ]
|
|
107
|
+
"desc": "An array consisting of objects with header definitions"
|
|
118
108
|
},
|
|
119
109
|
"category": "upload"
|
|
120
110
|
},
|
|
@@ -144,14 +134,12 @@
|
|
|
144
134
|
"params": {
|
|
145
135
|
"files": {
|
|
146
136
|
"type": "Array",
|
|
147
|
-
"desc": "Uploaded files"
|
|
148
|
-
"__exemption": [ "examples" ]
|
|
137
|
+
"desc": "Uploaded files"
|
|
149
138
|
}
|
|
150
139
|
},
|
|
151
140
|
"returns": {
|
|
152
141
|
"type": "String",
|
|
153
|
-
"desc": "An array consists of objects with additional fields definitions (used by Form to be uploaded)"
|
|
154
|
-
"__exemption": [ "examples" ]
|
|
142
|
+
"desc": "An array consists of objects with additional fields definitions (used by Form to be uploaded)"
|
|
155
143
|
},
|
|
156
144
|
"category": "upload"
|
|
157
145
|
},
|
|
@@ -163,14 +151,12 @@
|
|
|
163
151
|
"params": {
|
|
164
152
|
"files": {
|
|
165
153
|
"type": "Array",
|
|
166
|
-
"desc": "Uploaded files"
|
|
167
|
-
"__exemption": [ "examples" ]
|
|
154
|
+
"desc": "Uploaded files"
|
|
168
155
|
}
|
|
169
156
|
},
|
|
170
157
|
"returns": {
|
|
171
158
|
"type": "Boolean",
|
|
172
|
-
"desc": "If true, withCredentials will be set to true on the XHR that manages the upload"
|
|
173
|
-
"__exemption": [ "examples" ]
|
|
159
|
+
"desc": "If true, withCredentials will be set to true on the XHR that manages the upload"
|
|
174
160
|
},
|
|
175
161
|
"category": "upload"
|
|
176
162
|
},
|
|
@@ -182,14 +168,12 @@
|
|
|
182
168
|
"params": {
|
|
183
169
|
"files": {
|
|
184
170
|
"type": "Array",
|
|
185
|
-
"desc": "Uploaded files"
|
|
186
|
-
"__exemption": [ "examples" ]
|
|
171
|
+
"desc": "Uploaded files"
|
|
187
172
|
}
|
|
188
173
|
},
|
|
189
174
|
"returns": {
|
|
190
175
|
"type": "Boolean",
|
|
191
|
-
"desc": "If true, raw files will get sent without wrapping into a Form()"
|
|
192
|
-
"__exemption": [ "examples" ]
|
|
176
|
+
"desc": "If true, raw files will get sent without wrapping into a Form()"
|
|
193
177
|
},
|
|
194
178
|
"category": "upload"
|
|
195
179
|
},
|
|
@@ -201,14 +185,12 @@
|
|
|
201
185
|
"params": {
|
|
202
186
|
"files": {
|
|
203
187
|
"type": "Array",
|
|
204
|
-
"desc": "Uploaded files"
|
|
205
|
-
"__exemption": [ "examples" ]
|
|
188
|
+
"desc": "Uploaded files"
|
|
206
189
|
}
|
|
207
190
|
},
|
|
208
191
|
"returns": {
|
|
209
192
|
"type": "Boolean",
|
|
210
|
-
"desc": "If true, files will be uploaded in a batch (in one XHR request)"
|
|
211
|
-
"__exemption": [ "examples" ]
|
|
193
|
+
"desc": "If true, files will be uploaded in a batch (in one XHR request)"
|
|
212
194
|
},
|
|
213
195
|
"category": "upload"
|
|
214
196
|
}
|
|
@@ -225,14 +207,12 @@
|
|
|
225
207
|
"files": {
|
|
226
208
|
"type": "Array",
|
|
227
209
|
"required": true,
|
|
228
|
-
"desc": "Uploaded files"
|
|
229
|
-
"__exemption": [ "examples" ]
|
|
210
|
+
"desc": "Uploaded files"
|
|
230
211
|
},
|
|
231
212
|
"xhr": {
|
|
232
213
|
"type": "Object",
|
|
233
214
|
"required": true,
|
|
234
|
-
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
235
|
-
"__exemption": [ "examples" ]
|
|
215
|
+
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
236
216
|
}
|
|
237
217
|
}
|
|
238
218
|
}
|
|
@@ -249,14 +229,12 @@
|
|
|
249
229
|
"files": {
|
|
250
230
|
"type": "Array",
|
|
251
231
|
"required": true,
|
|
252
|
-
"desc": "Files which encountered error"
|
|
253
|
-
"__exemption": [ "examples" ]
|
|
232
|
+
"desc": "Files which encountered error"
|
|
254
233
|
},
|
|
255
234
|
"xhr": {
|
|
256
235
|
"type": "Object",
|
|
257
236
|
"required": true,
|
|
258
|
-
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
259
|
-
"__exemption": [ "examples" ]
|
|
237
|
+
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
260
238
|
}
|
|
261
239
|
}
|
|
262
240
|
}
|
|
@@ -273,14 +251,12 @@
|
|
|
273
251
|
"files": {
|
|
274
252
|
"type": "Array",
|
|
275
253
|
"required": true,
|
|
276
|
-
"desc": "Files which are now uploading"
|
|
277
|
-
"__exemption": [ "examples" ]
|
|
254
|
+
"desc": "Files which are now uploading"
|
|
278
255
|
},
|
|
279
256
|
"xhr": {
|
|
280
257
|
"type": "Object",
|
|
281
258
|
"required": true,
|
|
282
|
-
"desc": "XMLHttpRequest used for uploading"
|
|
283
|
-
"__exemption": [ "examples" ]
|
|
259
|
+
"desc": "XMLHttpRequest used for uploading"
|
|
284
260
|
}
|
|
285
261
|
}
|
|
286
262
|
}
|
|
@@ -296,8 +272,7 @@
|
|
|
296
272
|
},
|
|
297
273
|
"files": {
|
|
298
274
|
"type": "Array",
|
|
299
|
-
"desc": "Files which were to get uploaded"
|
|
300
|
-
"__exemption": [ "examples" ]
|
|
275
|
+
"desc": "Files which were to get uploaded"
|
|
301
276
|
}
|
|
302
277
|
}
|
|
303
278
|
}
|
|
@@ -42,19 +42,16 @@
|
|
|
42
42
|
"params": {
|
|
43
43
|
"from": {
|
|
44
44
|
"type": "Number",
|
|
45
|
-
"desc": "Index of the first item (0 based)"
|
|
46
|
-
"examples": [ 15 ]
|
|
45
|
+
"desc": "Index of the first item (0 based)"
|
|
47
46
|
},
|
|
48
47
|
"size": {
|
|
49
48
|
"type": "Number",
|
|
50
|
-
"desc": "Number of items to return"
|
|
51
|
-
"examples": [ 38 ]
|
|
49
|
+
"desc": "Number of items to return"
|
|
52
50
|
}
|
|
53
51
|
},
|
|
54
52
|
"returns": {
|
|
55
53
|
"type": "Array",
|
|
56
|
-
"desc": "List of scope for items to be displayed"
|
|
57
|
-
"__exemption": [ "examples" ]
|
|
54
|
+
"desc": "List of scope for items to be displayed"
|
|
58
55
|
},
|
|
59
56
|
"examples": [
|
|
60
57
|
":items-fn=\"(from, size) => { const items = []; for (let i = 0; i < size; i++) { items.push('Item ' + i) }; return items }\""
|
|
@@ -96,13 +93,11 @@
|
|
|
96
93
|
"scope": {
|
|
97
94
|
"index": {
|
|
98
95
|
"type": "Number",
|
|
99
|
-
"desc": "Item index in the options list"
|
|
100
|
-
"examples": [ 0 ]
|
|
96
|
+
"desc": "Item index in the options list"
|
|
101
97
|
},
|
|
102
98
|
"item": {
|
|
103
99
|
"type": "Any",
|
|
104
|
-
"desc": "Item data -- its value is taken from 'options' prop"
|
|
105
|
-
"__exemption": [ "examples" ]
|
|
100
|
+
"desc": "Item data -- its value is taken from 'options' prop"
|
|
106
101
|
}
|
|
107
102
|
}
|
|
108
103
|
}
|