renusify 2.1.5 → 2.1.8

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.
Files changed (231) hide show
  1. package/components/codeEditor/index.vue +10 -10
  2. package/components/codeEditor/run.vue +3 -3
  3. package/components/form/checkboxInput/index.vue +6 -2
  4. package/components/form/groupInput/index.vue +5 -2
  5. package/components/form/selectInput/index.vue +2 -2
  6. package/components/form/switchInput/index.vue +3 -1
  7. package/components/form/text-editor/style.scss +1 -1
  8. package/components/form/timeInput/range.vue +6 -6
  9. package/components/img/index.vue +1 -1
  10. package/components/list/index.vue +105 -104
  11. package/components/message/index.vue +1 -1
  12. package/components/modal/style.scss +1 -1
  13. package/components/nestable/NestableItem.vue +2 -2
  14. package/components/nestable/editable.js +5 -5
  15. package/components/nestable/index.vue +8 -6
  16. package/components/table/crud/index.vue +1 -1
  17. package/docs/.browserslistrc +4 -0
  18. package/docs/.editorconfig +5 -0
  19. package/docs/babel.config.js +3 -0
  20. package/docs/jsconfig.json +19 -0
  21. package/docs/package-lock.json +23358 -0
  22. package/docs/package.json +34 -0
  23. package/docs/public/404.jpg +0 -0
  24. package/docs/public/index.html +18 -0
  25. package/docs/public/logo.jpg +0 -0
  26. package/docs/public/manifest.json +23 -0
  27. package/docs/public/pwa/android-chrome-192x192.png +0 -0
  28. package/docs/public/pwa/android-chrome-256x256.png +0 -0
  29. package/docs/public/pwa/apple-touch-icon.png +0 -0
  30. package/docs/public/pwa/favicon-16x16.png +0 -0
  31. package/docs/public/pwa/favicon-32x32.png +0 -0
  32. package/docs/public/pwa/favicon.ico +0 -0
  33. package/docs/public/pwa/mstile-150x150.png +0 -0
  34. package/docs/public/pwa/safari-pinned-tab.svg +17 -0
  35. package/docs/public/robots.txt +2 -0
  36. package/docs/src/Index.vue +17 -0
  37. package/docs/src/components/buttomNextPage.vue +72 -0
  38. package/docs/src/components/sideBar.vue +141 -0
  39. package/docs/src/components/tableEvents.vue +36 -0
  40. package/docs/src/components/tableProps.vue +36 -0
  41. package/docs/src/components/treeElement.vue +21 -0
  42. package/docs/src/index.js +26 -0
  43. package/docs/src/layouts/renusify.vue +215 -0
  44. package/docs/src/plugins/axios.js +54 -0
  45. package/docs/src/registerServiceWorker.js +47 -0
  46. package/docs/src/router/index.js +43 -0
  47. package/docs/src/views/index/notFound/en.vue +36 -0
  48. package/docs/src/views/index/notFound/fa.vue +35 -0
  49. package/docs/src/views/index/notFound/index.vue +26 -0
  50. package/docs/src/views/index/pages.vue +50 -0
  51. package/docs/src/views/index/v1/component/app/en.vue +61 -0
  52. package/docs/src/views/index/v1/component/app/fa.vue +66 -0
  53. package/docs/src/views/index/v1/component/avatar/en.vue +184 -0
  54. package/docs/src/views/index/v1/component/avatar/fa.vue +208 -0
  55. package/docs/src/views/index/v1/component/bar/bottomNavigation/en.vue +181 -0
  56. package/docs/src/views/index/v1/component/bar/bottomNavigation/fa.vue +180 -0
  57. package/docs/src/views/index/v1/component/bar/bottomNavigationCircle/en.vue +100 -0
  58. package/docs/src/views/index/v1/component/bar/bottomNavigationCircle/fa.vue +98 -0
  59. package/docs/src/views/index/v1/component/bar/toolbar/en.vue +231 -0
  60. package/docs/src/views/index/v1/component/bar/toolbar/fa.vue +232 -0
  61. package/docs/src/views/index/v1/component/breadcrumbs/en.vue +84 -0
  62. package/docs/src/views/index/v1/component/breadcrumbs/fa.vue +86 -0
  63. package/docs/src/views/index/v1/component/button/btn/en.vue +282 -0
  64. package/docs/src/views/index/v1/component/button/btn/fa.vue +286 -0
  65. package/docs/src/views/index/v1/component/button/btn_confirm/en.vue +155 -0
  66. package/docs/src/views/index/v1/component/button/btn_confirm/fa.vue +154 -0
  67. package/docs/src/views/index/v1/component/button/btn_group/en.vue +118 -0
  68. package/docs/src/views/index/v1/component/button/btn_group/fa.vue +117 -0
  69. package/docs/src/views/index/v1/component/calendar/en.vue +286 -0
  70. package/docs/src/views/index/v1/component/calendar/fa.vue +274 -0
  71. package/docs/src/views/index/v1/component/card/en.vue +283 -0
  72. package/docs/src/views/index/v1/component/card/fa.vue +294 -0
  73. package/docs/src/views/index/v1/component/chart/en.vue +113 -0
  74. package/docs/src/views/index/v1/component/chart/fa.vue +113 -0
  75. package/docs/src/views/index/v1/component/chart/worldMap/en.vue +112 -0
  76. package/docs/src/views/index/v1/component/chart/worldMap/fa.vue +114 -0
  77. package/docs/src/views/index/v1/component/chat/en.vue +153 -0
  78. package/docs/src/views/index/v1/component/chat/fa.vue +153 -0
  79. package/docs/src/views/index/v1/component/chip/en.vue +341 -0
  80. package/docs/src/views/index/v1/component/chip/fa.vue +340 -0
  81. package/docs/src/views/index/v1/component/codeEditor/en.vue +84 -0
  82. package/docs/src/views/index/v1/component/codeEditor/fa.vue +83 -0
  83. package/docs/src/views/index/v1/component/confirm/en.vue +441 -0
  84. package/docs/src/views/index/v1/component/confirm/fa.vue +434 -0
  85. package/docs/src/views/index/v1/component/container/col/en.vue +68 -0
  86. package/docs/src/views/index/v1/component/container/col/fa.vue +67 -0
  87. package/docs/src/views/index/v1/component/container/divider/en.vue +133 -0
  88. package/docs/src/views/index/v1/component/container/divider/fa.vue +130 -0
  89. package/docs/src/views/index/v1/component/container/en.vue +136 -0
  90. package/docs/src/views/index/v1/component/container/fa.vue +135 -0
  91. package/docs/src/views/index/v1/component/container/row/en.vue +157 -0
  92. package/docs/src/views/index/v1/component/container/row/fa.vue +157 -0
  93. package/docs/src/views/index/v1/component/container/spacer/en.vue +40 -0
  94. package/docs/src/views/index/v1/component/container/spacer/fa.vue +38 -0
  95. package/docs/src/views/index/v1/component/content/en.vue +61 -0
  96. package/docs/src/views/index/v1/component/content/fa.vue +59 -0
  97. package/docs/src/views/index/v1/component/count_down/en.vue +111 -0
  98. package/docs/src/views/index/v1/component/count_down/fa.vue +116 -0
  99. package/docs/src/views/index/v1/component/cropper/en.vue +97 -0
  100. package/docs/src/views/index/v1/component/cropper/fa.vue +97 -0
  101. package/docs/src/views/index/v1/component/float/en.vue +220 -0
  102. package/docs/src/views/index/v1/component/float/fa.vue +222 -0
  103. package/docs/src/views/index/v1/component/form/address_input/en.vue +237 -0
  104. package/docs/src/views/index/v1/component/form/address_input/fa.vue +237 -0
  105. package/docs/src/views/index/v1/component/form/cam_input/en.vue +244 -0
  106. package/docs/src/views/index/v1/component/form/cam_input/fa.vue +247 -0
  107. package/docs/src/views/index/v1/component/form/check_input/en.vue +221 -0
  108. package/docs/src/views/index/v1/component/form/check_input/fa.vue +221 -0
  109. package/docs/src/views/index/v1/component/form/checkbox_input/en.vue +453 -0
  110. package/docs/src/views/index/v1/component/form/checkbox_input/fa.vue +453 -0
  111. package/docs/src/views/index/v1/component/form/color_input/en.vue +121 -0
  112. package/docs/src/views/index/v1/component/form/color_input/fa.vue +120 -0
  113. package/docs/src/views/index/v1/component/form/date_input/en.vue +242 -0
  114. package/docs/src/views/index/v1/component/form/date_input/fa.vue +242 -0
  115. package/docs/src/views/index/v1/component/form/file_input/en.vue +123 -0
  116. package/docs/src/views/index/v1/component/form/file_input/fa.vue +133 -0
  117. package/docs/src/views/index/v1/component/form/form/en.vue +120 -0
  118. package/docs/src/views/index/v1/component/form/form/fa.vue +111 -0
  119. package/docs/src/views/index/v1/component/form/group_input/en.vue +369 -0
  120. package/docs/src/views/index/v1/component/form/group_input/fa.vue +368 -0
  121. package/docs/src/views/index/v1/component/form/input/en.vue +586 -0
  122. package/docs/src/views/index/v1/component/form/input/fa.vue +589 -0
  123. package/docs/src/views/index/v1/component/form/json_input/en.vue +280 -0
  124. package/docs/src/views/index/v1/component/form/json_input/fa.vue +285 -0
  125. package/docs/src/views/index/v1/component/form/mask_input/en.vue +249 -0
  126. package/docs/src/views/index/v1/component/form/mask_input/fa.vue +247 -0
  127. package/docs/src/views/index/v1/component/form/number_input/en.vue +319 -0
  128. package/docs/src/views/index/v1/component/form/number_input/fa.vue +363 -0
  129. package/docs/src/views/index/v1/component/form/password_input/en.vue +351 -0
  130. package/docs/src/views/index/v1/component/form/password_input/fa.vue +352 -0
  131. package/docs/src/views/index/v1/component/form/radio_input/en.vue +251 -0
  132. package/docs/src/views/index/v1/component/form/radio_input/fa.vue +262 -0
  133. package/docs/src/views/index/v1/component/form/range_input/en.vue +302 -0
  134. package/docs/src/views/index/v1/component/form/range_input/fa.vue +310 -0
  135. package/docs/src/views/index/v1/component/form/rating_input/en.vue +318 -0
  136. package/docs/src/views/index/v1/component/form/rating_input/fa.vue +286 -0
  137. package/docs/src/views/index/v1/component/form/select_input/en.vue +293 -0
  138. package/docs/src/views/index/v1/component/form/select_input/fa.vue +297 -0
  139. package/docs/src/views/index/v1/component/form/switch_input/en.vue +138 -0
  140. package/docs/src/views/index/v1/component/form/switch_input/fa.vue +139 -0
  141. package/docs/src/views/index/v1/component/form/tel_input/en.vue +195 -0
  142. package/docs/src/views/index/v1/component/form/tel_input/fa.vue +194 -0
  143. package/docs/src/views/index/v1/component/form/text_area/en.vue +189 -0
  144. package/docs/src/views/index/v1/component/form/text_area/fa.vue +191 -0
  145. package/docs/src/views/index/v1/component/form/text_editor/en.vue +143 -0
  146. package/docs/src/views/index/v1/component/form/text_editor/fa.vue +143 -0
  147. package/docs/src/views/index/v1/component/form/text_editor/text_editor_preview/en.vue +72 -0
  148. package/docs/src/views/index/v1/component/form/text_editor/text_editor_preview/fa.vue +78 -0
  149. package/docs/src/views/index/v1/component/form/text_input/en.vue +146 -0
  150. package/docs/src/views/index/v1/component/form/text_input/fa.vue +149 -0
  151. package/docs/src/views/index/v1/component/form/time_input/en.vue +138 -0
  152. package/docs/src/views/index/v1/component/form/time_input/fa.vue +137 -0
  153. package/docs/src/views/index/v1/component/form/time_range_input/en.vue +115 -0
  154. package/docs/src/views/index/v1/component/form/time_range_input/fa.vue +113 -0
  155. package/docs/src/views/index/v1/component/form/unique_input/en.vue +107 -0
  156. package/docs/src/views/index/v1/component/form/unique_input/fa.vue +106 -0
  157. package/docs/src/views/index/v1/component/form/unit_input/en.vue +200 -0
  158. package/docs/src/views/index/v1/component/form/unit_input/fa.vue +203 -0
  159. package/docs/src/views/index/v1/component/form_creator/en.vue +181 -0
  160. package/docs/src/views/index/v1/component/form_creator/fa.vue +179 -0
  161. package/docs/src/views/index/v1/component/html2pdf/en.vue +215 -0
  162. package/docs/src/views/index/v1/component/html2pdf/fa.vue +226 -0
  163. package/docs/src/views/index/v1/component/html2pdf/html2pdf_page_break/en.vue +37 -0
  164. package/docs/src/views/index/v1/component/html2pdf/html2pdf_page_break/fa.vue +36 -0
  165. package/docs/src/views/index/v1/component/icon/en.vue +231 -0
  166. package/docs/src/views/index/v1/component/icon/fa.vue +230 -0
  167. package/docs/src/views/index/v1/component/img/en.vue +511 -0
  168. package/docs/src/views/index/v1/component/img/fa.vue +510 -0
  169. package/docs/src/views/index/v1/component/infinite/infinite_box/en.vue +107 -0
  170. package/docs/src/views/index/v1/component/infinite/infinite_box/fa.vue +106 -0
  171. package/docs/src/views/index/v1/component/infinite/infinite_div/en.vue +87 -0
  172. package/docs/src/views/index/v1/component/infinite/infinite_div/fa.vue +83 -0
  173. package/docs/src/views/index/v1/component/infinite/infinite_page/en.vue +76 -0
  174. package/docs/src/views/index/v1/component/infinite/infinite_page/fa.vue +76 -0
  175. package/docs/src/views/index/v1/component/list/en.vue +477 -0
  176. package/docs/src/views/index/v1/component/list/fa.vue +475 -0
  177. package/docs/src/views/index/v1/component/map/en.vue +243 -0
  178. package/docs/src/views/index/v1/component/map/fa.vue +256 -0
  179. package/docs/src/views/index/v1/component/map/map_route/en.vue +176 -0
  180. package/docs/src/views/index/v1/component/map/map_route/fa.vue +177 -0
  181. package/docs/src/views/index/v1/component/map/map_select/en.vue +85 -0
  182. package/docs/src/views/index/v1/component/map/map_select/fa.vue +87 -0
  183. package/docs/src/views/index/v1/component/menu/en.vue +160 -0
  184. package/docs/src/views/index/v1/component/menu/fa.vue +158 -0
  185. package/docs/src/views/index/v1/component/message/en.vue +135 -0
  186. package/docs/src/views/index/v1/component/message/fa.vue +134 -0
  187. package/docs/src/views/index/v1/component/meta/en.vue +74 -0
  188. package/docs/src/views/index/v1/component/meta/fa.vue +73 -0
  189. package/docs/src/views/index/v1/component/modal/en.vue +432 -0
  190. package/docs/src/views/index/v1/component/modal/fa.vue +433 -0
  191. package/docs/src/views/index/v1/component/notify/en.vue +116 -0
  192. package/docs/src/views/index/v1/component/notify/fa.vue +116 -0
  193. package/docs/src/views/index/v1/component/progress/progress_circle/en.vue +202 -0
  194. package/docs/src/views/index/v1/component/progress/progress_circle/fa.vue +201 -0
  195. package/docs/src/views/index/v1/component/progress/progress_line/en.vue +216 -0
  196. package/docs/src/views/index/v1/component/progress/progress_line/fa.vue +214 -0
  197. package/docs/src/views/index/v1/component/search_box/en.vue +185 -0
  198. package/docs/src/views/index/v1/component/search_box/fa.vue +178 -0
  199. package/docs/src/views/index/v1/component/slider/en.vue +428 -0
  200. package/docs/src/views/index/v1/component/slider/fa.vue +427 -0
  201. package/docs/src/views/index/v1/component/swiper/en.vue +291 -0
  202. package/docs/src/views/index/v1/component/swiper/fa.vue +289 -0
  203. package/docs/src/views/index/v1/component/table/en.vue +711 -0
  204. package/docs/src/views/index/v1/component/table/fa.vue +709 -0
  205. package/docs/src/views/index/v1/component/table/table_crud/en.vue +218 -0
  206. package/docs/src/views/index/v1/component/table/table_crud/fa.vue +219 -0
  207. package/docs/src/views/index/v1/component/tabs/en.vue +289 -0
  208. package/docs/src/views/index/v1/component/tabs/fa.vue +289 -0
  209. package/docs/src/views/index/v1/component/time_ago/en.vue +98 -0
  210. package/docs/src/views/index/v1/component/time_ago/fa.vue +102 -0
  211. package/docs/src/views/index/v1/component/timeline/en.vue +140 -0
  212. package/docs/src/views/index/v1/component/timeline/fa.vue +138 -0
  213. package/docs/src/views/index/v1/component/tour/en.vue +125 -0
  214. package/docs/src/views/index/v1/component/tour/fa.vue +129 -0
  215. package/docs/src/views/index/v1/component/tree/en.vue +213 -0
  216. package/docs/src/views/index/v1/component/tree/fa.vue +213 -0
  217. package/docs/src/views/index/v1/features/breakpoint/fa.vue +136 -0
  218. package/docs/src/views/index/v1/features/direction/fa.vue +57 -0
  219. package/docs/src/views/index/v1/features/internationalization/fa.vue +186 -0
  220. package/docs/src/views/index/v1/features/theme/fa.vue +148 -0
  221. package/docs/src/views/index/v1/getting_started/browserSupport/fa.vue +33 -0
  222. package/docs/src/views/index/v1/getting_started/installation/fa.vue +110 -0
  223. package/docs/src/views/index/v1/introduction/support/fa.vue +58 -0
  224. package/docs/src/views/index/v1/introduction/whyRenusify/fa.vue +49 -0
  225. package/docs/src/views/index/v1/menu/en.json +1040 -0
  226. package/docs/src/views/index/v1/menu/fa.json +1040 -0
  227. package/docs/src/views/index/v1/mixins/root/fa.vue +131 -0
  228. package/docs/vue.config.js +39 -0
  229. package/index.js +11 -3
  230. package/package.json +1 -1
  231. package/tools/helper.js +1 -1
@@ -0,0 +1,711 @@
1
+ <template>
2
+ <section>
3
+ <div class="color-white mb-2">
4
+ <h1 class="display-3 font-weight-light color-white ps-4 pb-1 pt-1 br-lg">
5
+ r-table
6
+ </h1>
7
+ <p class="font-weight-light ps-4 pb-1 py-4 br-lg">
8
+ The simpler of the table components is
9
+ <r-btn readonly size="small"> r-table</r-btn>
10
+ , a basic wrapper component
11
+ for the HTML Table element.
12
+ </p>
13
+ </div>
14
+
15
+ <table-props :items="items"></table-props>
16
+ </section>
17
+ <section>
18
+ <p class="caption">Press run Button</p>
19
+ <r-code-editor
20
+ runnable
21
+ script='data(){
22
+ return {
23
+ "transition": "table-row",
24
+ "keyItem": null,
25
+ "thin": false,
26
+ "responsive": false,
27
+ "translate": false,
28
+ "editable": true,
29
+ "stripped": true,
30
+ "borderd": false,
31
+ "sortable": {
32
+ id:true,
33
+ name:true,
34
+ age:false,
35
+ skill:"vuejs"
36
+ },
37
+ "fixedHeader": false,
38
+ "fixedFirstColumn": false,
39
+ "headers":[
40
+ { text: `id`, value: `id` },
41
+ { text: `name`, value: `name` },
42
+ { text: `lastname`, value: `lastname` },
43
+ { text: `age`, value: `age` },
44
+ { text: `skill`, value: `skill` },
45
+ ],
46
+ "items":[
47
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 ,skill:{vuejs:20,python:25}},
48
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 ,skill:{vuejs:18,python:32}},
49
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 ,skill:{vuejs:45,python:25}},
50
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 ,skill:{vuejs:30,python:50}},
51
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 ,skill:{vuejs:15,python:20}},
52
+ ]
53
+ }
54
+ }'
55
+ template='<r-table :transition="transition" :key-Item="keyItem" :thin="thin" :responsive="responsive" :translate="translate" :editable="editable" :stripped="stripped" :borderd="borderd" :sortable="sortable" :fixed-Header="fixedHeader" :fixed-First-Column="fixedFirstColumn" :headers="headers" :items="items" ></r-table>'
56
+ ></r-code-editor>
57
+ </section>
58
+ <br/>
59
+ <br/>
60
+ <section class="color-white">
61
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
62
+ PROP / <span>Headers</span>
63
+ </h1>
64
+ <section>
65
+ <r-table
66
+ :headers="[
67
+ { text: 'id', value: 'id' },
68
+ { text: 'name', value: 'name' },
69
+ { text: 'lastname', value: 'lastname' },
70
+ { text: 'age', value: 'age' },
71
+ ]"
72
+ class="pt-3"
73
+ >
74
+ </r-table>
75
+ </section>
76
+ <p class="caption">Press run Button</p>
77
+ <r-code-editor
78
+ runnable
79
+ script="data(){
80
+ return {
81
+ }
82
+ }"
83
+ template='
84
+ <r-table
85
+ class="pt-3"
86
+ :headers="[
87
+ { text: `id`, value: `id` },
88
+ { text: `name`, value: `name` },
89
+ { text: `lastname`, value: `lastname` },
90
+ { text: `age`, value: `age` },
91
+ ]"
92
+
93
+ >
94
+ </r-table>
95
+ '
96
+ ></r-code-editor>
97
+ </section>
98
+ <br/>
99
+ <br/>
100
+ <section class="color-white">
101
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
102
+ PROP / <span>Items</span>
103
+ </h1>
104
+ <section>
105
+ <r-table
106
+ :headers="[
107
+ { text: 'id', value: 'id' },
108
+ { text: 'name', value: 'name' },
109
+ { text: 'lastname', value: 'lastname' },
110
+ { text: 'age', value: 'age' },
111
+ ]"
112
+ :items="[
113
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
114
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
115
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
116
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
117
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
118
+ ]"
119
+ class="pt-3"
120
+ >
121
+ </r-table>
122
+ </section>
123
+ <p class="caption">Press run Button</p>
124
+ <r-code-editor
125
+ runnable
126
+ script="data(){
127
+ return {
128
+ }
129
+ }"
130
+ template='
131
+ <r-table
132
+ class="pt-3"
133
+ :headers="[
134
+ { text: `id`, value: `id` },
135
+ { text: `name`, value: `name` },
136
+ { text: `lastname`, value: `lastname` },
137
+ { text: `age`, value: `age` },
138
+ ]"
139
+ :items="[
140
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
141
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
142
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
143
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
144
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
145
+ ]"
146
+ >
147
+ </r-table>
148
+ '
149
+ ></r-code-editor>
150
+ </section>
151
+ <br/>
152
+ <br/>
153
+ <section class="color-white">
154
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
155
+ PROP / <span>Thin</span>
156
+ </h1>
157
+ <section>
158
+ <r-table
159
+ :headers="[
160
+ { text: 'id', value: 'id' },
161
+ { text: 'name', value: 'name' },
162
+ { text: 'lastname', value: 'lastname' },
163
+ { text: 'age', value: 'age' },
164
+ ]"
165
+ :items="[
166
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
167
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
168
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
169
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
170
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
171
+ ]"
172
+ class="pt-3"
173
+ thin
174
+ >
175
+ </r-table>
176
+ </section>
177
+ <p class="caption">Press run Button</p>
178
+ <r-code-editor
179
+ runnable
180
+ script="data(){
181
+ return {
182
+ }
183
+ }"
184
+ template='
185
+ <r-table
186
+ thin
187
+ class="pt-3"
188
+ :headers="[
189
+ { text: `id`, value: `id` },
190
+ { text: `name`, value: `name` },
191
+ { text: `lastname`, value: `lastname` },
192
+ { text: `age`, value: `age` },
193
+ ]"
194
+ :items="[
195
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
196
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
197
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
198
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
199
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
200
+ ]"
201
+ >
202
+ </r-table>
203
+ '
204
+ ></r-code-editor>
205
+ </section>
206
+ <br/>
207
+ <br/>
208
+ <section class="color-white">
209
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
210
+ PROP / <span>Responsive</span>
211
+ </h1>
212
+ <section>
213
+ <r-table
214
+ :headers="[
215
+ { text: 'id', value: 'id' },
216
+ { text: 'name', value: 'name' },
217
+ { text: 'lastname', value: 'lastname' },
218
+ { text: 'age', value: 'age' },
219
+ { text: 'col1 test', value: 'col1' },
220
+ { text: 'col2 test', value: 'col2' },
221
+ { text: 'col3 test', value: 'col3' },
222
+ { text: 'col4 test', value: 'col4' },
223
+ { text: 'col5 test', value: 'col5' },
224
+ { text: 'col6 test', value: 'col6' },
225
+ { text: 'col7 test', value: 'col7' },
226
+ { text: 'col8 test', value: 'col8' },
227
+ ]"
228
+ :items="[
229
+ {
230
+ id: 1,
231
+ name: 'Smko',
232
+ lastname: 'Bzd',
233
+ age: 29,
234
+ col1: 'col test',
235
+ col2: 'col test',
236
+ col3: 'col test',
237
+ col4: 'col test',
238
+ col5: 'col test',
239
+ col6: 'col test',
240
+ col7: 'col test',
241
+ col8: 'col test',
242
+ },
243
+ {
244
+ id: 2,
245
+ name: 'Noah',
246
+ lastname: 'Ava',
247
+ age: 23,
248
+ col1: 'col test',
249
+ col2: 'col test',
250
+ col3: 'col test',
251
+ col4: 'col test',
252
+ col5: 'col test',
253
+ col6: 'col test',
254
+ col7: 'col test',
255
+ col8: 'col test',
256
+ },
257
+ {
258
+ id: 3,
259
+ name: 'James',
260
+ lastname: 'Barr',
261
+ age: 18,
262
+ col1: 'col test',
263
+ col2: 'col test',
264
+ col3: 'col test',
265
+ col4: 'col test',
266
+ col5: 'col test',
267
+ col6: 'col test',
268
+ col7: 'col test',
269
+ col8: 'col test',
270
+ },
271
+ {
272
+ id: 4,
273
+ name: 'William',
274
+ lastname: 'Emma',
275
+ age: 30,
276
+ col1: 'col test',
277
+ col2: 'col test',
278
+ col3: 'col test',
279
+ col4: 'col test',
280
+ col5: 'col test',
281
+ col6: 'col test',
282
+ col7: 'col test',
283
+ col8: 'col test',
284
+ },
285
+ {
286
+ id: 5,
287
+ name: 'Liam',
288
+ lastname: 'Emma',
289
+ age: 53,
290
+ col1: 'col test',
291
+ col2: 'col test',
292
+ col3: 'col test',
293
+ col4: 'col test',
294
+ col5: 'col test',
295
+ col6: 'col test',
296
+ col7: 'col test',
297
+ col8: 'col test',
298
+ },
299
+ ]"
300
+ class="pt-3"
301
+ responsive
302
+ >
303
+ </r-table>
304
+ </section>
305
+ <p class="caption">Press run Button</p>
306
+ <r-code-editor
307
+ runnable
308
+ template='<r-table
309
+ responsive
310
+ class="pt-3"
311
+ :headers="[
312
+ { text: `id`, value: `id` },
313
+ { text: `name`, value: `name` },
314
+ { text: `lastname`, value: `lastname` },
315
+ { text: `age`, value: `age` },
316
+ { text: `col1 test`, value: `col1` },
317
+ { text: `col2 test`, value: `col2` },
318
+ { text: `col3 test`, value: `col3` },
319
+ { text: `col4 test`, value: `col4` },
320
+ { text: `col5 test`, value: `col5` },
321
+ { text: `col6 test`, value: `col6` },
322
+ { text: `col7 test`, value: `col7` },
323
+ { text: `col8 test`, value: `col8` },
324
+ ]"
325
+ :items="[
326
+ {
327
+ id: 1,
328
+ name: `Smko`,
329
+ lastname: `Bzd`,
330
+ age: 29,
331
+ col1: `col test`,
332
+ col2: `col test`,
333
+ col3: `col test`,
334
+ col4: `col test`,
335
+ col5: `col test`,
336
+ col6: `col test`,
337
+ col7: `col test`,
338
+ col8: `col test`,
339
+ },
340
+ {
341
+ id: 2,
342
+ name: `Noah`,
343
+ lastname: `Ava`,
344
+ age: 23,
345
+ col1: `col test`,
346
+ col2: `col test`,
347
+ col3: `col test`,
348
+ col4: `col test`,
349
+ col5: `col test`,
350
+ col6: `col test`,
351
+ col7: `col test`,
352
+ col8: `col test`,
353
+ },
354
+ {
355
+ id: 3,
356
+ name: `James`,
357
+ lastname: `Barr`,
358
+ age: 18,
359
+ col1: `col test`,
360
+ col2: `col test`,
361
+ col3: `col test`,
362
+ col4: `col test`,
363
+ col5: `col test`,
364
+ col6: `col test`,
365
+ col7: `col test`,
366
+ col8: `col test`,
367
+ },
368
+ {
369
+ id: 4,
370
+ name: `William`,
371
+ lastname: `Emma`,
372
+ age: 30,
373
+ col1: `col test`,
374
+ col2: `col test`,
375
+ col3: `col test`,
376
+ col4: `col test`,
377
+ col5: `col test`,
378
+ col6: `col test`,
379
+ col7: `col test`,
380
+ col8: `col test`,
381
+ },
382
+ {
383
+ id: 5,
384
+ name: `Liam`,
385
+ lastname: `Emma`,
386
+ age: 53,
387
+ col1: `col test`,
388
+ col2: `col test`,
389
+ col3: `col test`,
390
+ col4: `col test`,
391
+ col5: `col test`,
392
+ col6: `col test`,
393
+ col7: `col test`,
394
+ col8: `col test`,
395
+ },
396
+ ]"
397
+ >
398
+ </r-table>'
399
+ ></r-code-editor>
400
+ </section>
401
+ <br/>
402
+ <br/>
403
+ <section class="color-white">
404
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
405
+ PROP / <span>Editable</span>
406
+ </h1>
407
+ <section>
408
+ <r-table
409
+ :headers="[
410
+ { text: 'id', value: 'id' },
411
+ { text: 'name', value: 'name' },
412
+ { text: 'lastname', value: 'lastname' },
413
+ { text: 'age', value: 'age' },
414
+ ]"
415
+ :items="[
416
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
417
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
418
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
419
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
420
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
421
+ ]"
422
+ class="pt-3"
423
+ editable
424
+ >
425
+ </r-table>
426
+ </section>
427
+ <p class="caption">Press run Button</p>
428
+ <r-code-editor
429
+ runnable
430
+ script="data(){
431
+ return {
432
+ }
433
+ }"
434
+ template='
435
+ <r-table
436
+ editable
437
+ class="pt-3"
438
+ :headers="[
439
+ { text: `id`, value: `id` },
440
+ { text: `name`, value: `name` },
441
+ { text: `lastname`, value: `lastname` },
442
+ { text: `age`, value: `age` },
443
+ ]"
444
+ :items="[
445
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
446
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
447
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
448
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
449
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
450
+ ]"
451
+ >
452
+ </r-table>
453
+ '
454
+ ></r-code-editor>
455
+ </section>
456
+ <br/>
457
+ <br/>
458
+ <section class="color-white">
459
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
460
+ PROP / <span>Stripped</span>
461
+ </h1>
462
+ <section>
463
+ <r-table
464
+ :headers="[
465
+ { text: 'id', value: 'id' },
466
+ { text: 'name', value: 'name' },
467
+ { text: 'lastname', value: 'lastname' },
468
+ { text: 'age', value: 'age' },
469
+ ]"
470
+ :items="[
471
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
472
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
473
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
474
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
475
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
476
+ ]"
477
+ class="pt-3"
478
+ stripped
479
+ >
480
+ </r-table>
481
+ </section>
482
+ <p class="caption">Press run Button</p>
483
+ <r-code-editor
484
+ runnable
485
+ script="data(){
486
+ return {
487
+ }
488
+ }"
489
+ template='
490
+ <r-table stripped
491
+ class="pt-3"
492
+ :headers="[
493
+ { text: `id`, value: `id` },
494
+ { text: `name`, value: `name` },
495
+ { text: `lastname`, value: `lastname` },
496
+ { text: `age`, value: `age` },
497
+ ]"
498
+ :items="[
499
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
500
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
501
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
502
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
503
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
504
+ ]"
505
+ >
506
+ </r-table>
507
+ '
508
+ ></r-code-editor>
509
+ </section>
510
+ <br/>
511
+ <br/>
512
+ <section class="color-white">
513
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
514
+ PROP / <span>Borderd</span>
515
+ </h1>
516
+ <section>
517
+ <r-table
518
+ :headers="[
519
+ { text: 'id', value: 'id' },
520
+ { text: 'name', value: 'name' },
521
+ { text: 'lastname', value: 'lastname' },
522
+ { text: 'age', value: 'age' },
523
+ ]"
524
+ :items="[
525
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
526
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
527
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
528
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
529
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
530
+ ]"
531
+ borderd
532
+ class="pt-3"
533
+ stripped
534
+ >
535
+ </r-table>
536
+ </section>
537
+ <p class="caption">Press run Button</p>
538
+ <r-code-editor
539
+ runnable
540
+ script="data(){
541
+ return {
542
+ }
543
+ }"
544
+ template='<r-table stripped
545
+ borderd
546
+ class="pt-3"
547
+ :headers="[
548
+ { text: `id`, value: `id` },
549
+ { text: `name`, value: `name` },
550
+ { text: `lastname`, value: `lastname` },
551
+ { text: `age`, value: `age` },
552
+ ]"
553
+ :items="[
554
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
555
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
556
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
557
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
558
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
559
+ ]"
560
+ >
561
+ </r-table>
562
+ '
563
+ ></r-code-editor>
564
+ </section>
565
+ <br/>
566
+ <br/>
567
+ <section class="color-white">
568
+ <h1 class="font-weight-bold title ps-4 pt-1 pb-6 br-sm">
569
+ PROP / <span>Sortable</span>
570
+ </h1>
571
+ <r-btn class="mb-6 ms-6" disabled outlined>Click for Sort</r-btn>
572
+ <section>
573
+ <r-table
574
+ :headers="[
575
+ { text: 'id', value: 'id' },
576
+ { text: 'name', value: 'name' },
577
+ { text: 'lastname', value: 'lastname' },
578
+ { text: 'age', value: 'age' },
579
+ ]"
580
+ :items="[
581
+ { id: 1, name: 'Smko', lastname: 'Bzd', age: 29 },
582
+ { id: 2, name: 'Noah', lastname: 'Ava', age: 23 },
583
+ { id: 3, name: 'James', lastname: 'Barr', age: 18 },
584
+ { id: 4, name: 'William', lastname: 'Emma', age: 30 },
585
+ { id: 5, name: 'Liam', lastname: 'Emma', age: 53 },
586
+ ]"
587
+ :sortable="{ id: true, name: true, age: true }"
588
+ borderd
589
+ class="pt-3"
590
+ >
591
+ </r-table>
592
+ </section>
593
+ <p class="caption">Press run Button</p>
594
+ <r-code-editor
595
+ runnable
596
+ script="data(){
597
+ return {
598
+ }
599
+ }"
600
+ template='<r-table :sortable="{id:true,name:true,age:true}" borderd
601
+ class="pt-3"
602
+ :headers="[
603
+ { text: `id`, value: `id` },
604
+ { text: `name`, value: `name` },
605
+ { text: `lastname`, value: `lastname` },
606
+ { text: `age`, value: `age` },
607
+ ]"
608
+ :items="[
609
+ { id: 1, name: `Smko`, lastname: `Bzd`, age: 29 },
610
+ { id: 2, name: `Noah`, lastname: `Ava`, age: 23 },
611
+ { id: 3, name: `James`, lastname: `Barr`, age: 18 },
612
+ { id: 4, name: `William`, lastname: `Emma`, age: 30 },
613
+ { id: 5, name: `Liam`, lastname: `Emma`, age: 53 },
614
+ ]"
615
+ >
616
+ </r-table>
617
+ '
618
+ ></r-code-editor>
619
+ </section>
620
+ <br/>
621
+ <br/>
622
+ </template>
623
+ <script>
624
+ export default {
625
+ name: "table",
626
+ data() {
627
+ return {
628
+ items: [
629
+ {
630
+ prop: "transition",
631
+ type: "String",
632
+ default: "table-row",
633
+ description: "The default table transition is table-row",
634
+ },
635
+ {
636
+ prop: "keyItem",
637
+ type: "String,Function",
638
+ default: "null",
639
+ description: "You should set the keyItem for it",
640
+ },
641
+ {
642
+ prop: "thin",
643
+ type: "Boolean",
644
+ default: "null",
645
+ description: "It thins the table",
646
+ },
647
+ {
648
+ prop: "responsive",
649
+ type: "Boolean",
650
+ default: "null",
651
+ description: "Responsive",
652
+ },
653
+ {
654
+ prop: "translate",
655
+ type: "Boolean",
656
+ default: "null",
657
+ description: "Translate",
658
+ },
659
+ {
660
+ prop: "editable",
661
+ type: "Boolean",
662
+ default: "null",
663
+ description: "Activating or deactivating items",
664
+ },
665
+ {
666
+ prop: "stripped",
667
+ type: "Boolean",
668
+ default: "null",
669
+ description: "It shades one of the cells",
670
+ },
671
+ {
672
+ prop: "borderd",
673
+ type: "Boolean",
674
+ default: "null",
675
+ description: "Borderd",
676
+ },
677
+ {
678
+ prop: "sortable",
679
+ type: "Object",
680
+ default: "null",
681
+ description: "It allows sorting",
682
+ },
683
+ {
684
+ prop: "fixedHeader",
685
+ type: "Boolean",
686
+ default: "null",
687
+ description: "Fixes the Header",
688
+ },
689
+ {
690
+ prop: "fixedFirstColumn",
691
+ type: "Boolean",
692
+ default: "null",
693
+ description: "Fixes the first column",
694
+ },
695
+ {
696
+ prop: "headers",
697
+ type: "Array",
698
+ default: "null",
699
+ description: "It has a header with text and value.",
700
+ },
701
+ {
702
+ prop: "items",
703
+ type: "Array",
704
+ default: "null",
705
+ description: "Items are assigned a value based on the header",
706
+ },
707
+ ],
708
+ };
709
+ },
710
+ };
711
+ </script>