renusify 2.1.8 → 2.2.1

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 (228) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  2. package/.github/ISSUE_TEMPLATE/custom.md +10 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. package/CODE_OF_CONDUCT.md +76 -0
  5. package/LICENSE +1 -1
  6. package/README.md +89 -1
  7. package/components/chip/style.scss +2 -2
  8. package/components/container/row.vue +2 -1
  9. package/components/container/style.scss +31 -0
  10. package/components/form/radioInput/index.vue +6 -2
  11. package/components/table/crud/index.vue +460 -459
  12. package/components/tree/index.vue +2 -2
  13. package/components/tree/tree-element.vue +2 -2
  14. package/index.js +14 -10
  15. package/package.json +1 -1
  16. package/plugins/request/Request.js +1 -0
  17. package/docs/.browserslistrc +0 -4
  18. package/docs/.editorconfig +0 -5
  19. package/docs/babel.config.js +0 -3
  20. package/docs/jsconfig.json +0 -19
  21. package/docs/package-lock.json +0 -23358
  22. package/docs/package.json +0 -34
  23. package/docs/public/404.jpg +0 -0
  24. package/docs/public/index.html +0 -18
  25. package/docs/public/logo.jpg +0 -0
  26. package/docs/public/manifest.json +0 -23
  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 +0 -17
  35. package/docs/public/robots.txt +0 -2
  36. package/docs/src/Index.vue +0 -17
  37. package/docs/src/components/buttomNextPage.vue +0 -72
  38. package/docs/src/components/sideBar.vue +0 -141
  39. package/docs/src/components/tableEvents.vue +0 -36
  40. package/docs/src/components/tableProps.vue +0 -36
  41. package/docs/src/components/treeElement.vue +0 -21
  42. package/docs/src/index.js +0 -26
  43. package/docs/src/layouts/renusify.vue +0 -215
  44. package/docs/src/plugins/axios.js +0 -54
  45. package/docs/src/registerServiceWorker.js +0 -47
  46. package/docs/src/router/index.js +0 -43
  47. package/docs/src/views/index/notFound/en.vue +0 -36
  48. package/docs/src/views/index/notFound/fa.vue +0 -35
  49. package/docs/src/views/index/notFound/index.vue +0 -26
  50. package/docs/src/views/index/pages.vue +0 -50
  51. package/docs/src/views/index/v1/component/app/en.vue +0 -61
  52. package/docs/src/views/index/v1/component/app/fa.vue +0 -66
  53. package/docs/src/views/index/v1/component/avatar/en.vue +0 -184
  54. package/docs/src/views/index/v1/component/avatar/fa.vue +0 -208
  55. package/docs/src/views/index/v1/component/bar/bottomNavigation/en.vue +0 -181
  56. package/docs/src/views/index/v1/component/bar/bottomNavigation/fa.vue +0 -180
  57. package/docs/src/views/index/v1/component/bar/bottomNavigationCircle/en.vue +0 -100
  58. package/docs/src/views/index/v1/component/bar/bottomNavigationCircle/fa.vue +0 -98
  59. package/docs/src/views/index/v1/component/bar/toolbar/en.vue +0 -231
  60. package/docs/src/views/index/v1/component/bar/toolbar/fa.vue +0 -232
  61. package/docs/src/views/index/v1/component/breadcrumbs/en.vue +0 -84
  62. package/docs/src/views/index/v1/component/breadcrumbs/fa.vue +0 -86
  63. package/docs/src/views/index/v1/component/button/btn/en.vue +0 -282
  64. package/docs/src/views/index/v1/component/button/btn/fa.vue +0 -286
  65. package/docs/src/views/index/v1/component/button/btn_confirm/en.vue +0 -155
  66. package/docs/src/views/index/v1/component/button/btn_confirm/fa.vue +0 -154
  67. package/docs/src/views/index/v1/component/button/btn_group/en.vue +0 -118
  68. package/docs/src/views/index/v1/component/button/btn_group/fa.vue +0 -117
  69. package/docs/src/views/index/v1/component/calendar/en.vue +0 -286
  70. package/docs/src/views/index/v1/component/calendar/fa.vue +0 -274
  71. package/docs/src/views/index/v1/component/card/en.vue +0 -283
  72. package/docs/src/views/index/v1/component/card/fa.vue +0 -294
  73. package/docs/src/views/index/v1/component/chart/en.vue +0 -113
  74. package/docs/src/views/index/v1/component/chart/fa.vue +0 -113
  75. package/docs/src/views/index/v1/component/chart/worldMap/en.vue +0 -112
  76. package/docs/src/views/index/v1/component/chart/worldMap/fa.vue +0 -114
  77. package/docs/src/views/index/v1/component/chat/en.vue +0 -153
  78. package/docs/src/views/index/v1/component/chat/fa.vue +0 -153
  79. package/docs/src/views/index/v1/component/chip/en.vue +0 -341
  80. package/docs/src/views/index/v1/component/chip/fa.vue +0 -340
  81. package/docs/src/views/index/v1/component/codeEditor/en.vue +0 -84
  82. package/docs/src/views/index/v1/component/codeEditor/fa.vue +0 -83
  83. package/docs/src/views/index/v1/component/confirm/en.vue +0 -441
  84. package/docs/src/views/index/v1/component/confirm/fa.vue +0 -434
  85. package/docs/src/views/index/v1/component/container/col/en.vue +0 -68
  86. package/docs/src/views/index/v1/component/container/col/fa.vue +0 -67
  87. package/docs/src/views/index/v1/component/container/divider/en.vue +0 -133
  88. package/docs/src/views/index/v1/component/container/divider/fa.vue +0 -130
  89. package/docs/src/views/index/v1/component/container/en.vue +0 -136
  90. package/docs/src/views/index/v1/component/container/fa.vue +0 -135
  91. package/docs/src/views/index/v1/component/container/row/en.vue +0 -157
  92. package/docs/src/views/index/v1/component/container/row/fa.vue +0 -157
  93. package/docs/src/views/index/v1/component/container/spacer/en.vue +0 -40
  94. package/docs/src/views/index/v1/component/container/spacer/fa.vue +0 -38
  95. package/docs/src/views/index/v1/component/content/en.vue +0 -61
  96. package/docs/src/views/index/v1/component/content/fa.vue +0 -59
  97. package/docs/src/views/index/v1/component/count_down/en.vue +0 -111
  98. package/docs/src/views/index/v1/component/count_down/fa.vue +0 -116
  99. package/docs/src/views/index/v1/component/cropper/en.vue +0 -97
  100. package/docs/src/views/index/v1/component/cropper/fa.vue +0 -97
  101. package/docs/src/views/index/v1/component/float/en.vue +0 -220
  102. package/docs/src/views/index/v1/component/float/fa.vue +0 -222
  103. package/docs/src/views/index/v1/component/form/address_input/en.vue +0 -237
  104. package/docs/src/views/index/v1/component/form/address_input/fa.vue +0 -237
  105. package/docs/src/views/index/v1/component/form/cam_input/en.vue +0 -244
  106. package/docs/src/views/index/v1/component/form/cam_input/fa.vue +0 -247
  107. package/docs/src/views/index/v1/component/form/check_input/en.vue +0 -221
  108. package/docs/src/views/index/v1/component/form/check_input/fa.vue +0 -221
  109. package/docs/src/views/index/v1/component/form/checkbox_input/en.vue +0 -453
  110. package/docs/src/views/index/v1/component/form/checkbox_input/fa.vue +0 -453
  111. package/docs/src/views/index/v1/component/form/color_input/en.vue +0 -121
  112. package/docs/src/views/index/v1/component/form/color_input/fa.vue +0 -120
  113. package/docs/src/views/index/v1/component/form/date_input/en.vue +0 -242
  114. package/docs/src/views/index/v1/component/form/date_input/fa.vue +0 -242
  115. package/docs/src/views/index/v1/component/form/file_input/en.vue +0 -123
  116. package/docs/src/views/index/v1/component/form/file_input/fa.vue +0 -133
  117. package/docs/src/views/index/v1/component/form/form/en.vue +0 -120
  118. package/docs/src/views/index/v1/component/form/form/fa.vue +0 -111
  119. package/docs/src/views/index/v1/component/form/group_input/en.vue +0 -369
  120. package/docs/src/views/index/v1/component/form/group_input/fa.vue +0 -368
  121. package/docs/src/views/index/v1/component/form/input/en.vue +0 -586
  122. package/docs/src/views/index/v1/component/form/input/fa.vue +0 -589
  123. package/docs/src/views/index/v1/component/form/json_input/en.vue +0 -280
  124. package/docs/src/views/index/v1/component/form/json_input/fa.vue +0 -285
  125. package/docs/src/views/index/v1/component/form/mask_input/en.vue +0 -249
  126. package/docs/src/views/index/v1/component/form/mask_input/fa.vue +0 -247
  127. package/docs/src/views/index/v1/component/form/number_input/en.vue +0 -319
  128. package/docs/src/views/index/v1/component/form/number_input/fa.vue +0 -363
  129. package/docs/src/views/index/v1/component/form/password_input/en.vue +0 -351
  130. package/docs/src/views/index/v1/component/form/password_input/fa.vue +0 -352
  131. package/docs/src/views/index/v1/component/form/radio_input/en.vue +0 -251
  132. package/docs/src/views/index/v1/component/form/radio_input/fa.vue +0 -262
  133. package/docs/src/views/index/v1/component/form/range_input/en.vue +0 -302
  134. package/docs/src/views/index/v1/component/form/range_input/fa.vue +0 -310
  135. package/docs/src/views/index/v1/component/form/rating_input/en.vue +0 -318
  136. package/docs/src/views/index/v1/component/form/rating_input/fa.vue +0 -286
  137. package/docs/src/views/index/v1/component/form/select_input/en.vue +0 -293
  138. package/docs/src/views/index/v1/component/form/select_input/fa.vue +0 -297
  139. package/docs/src/views/index/v1/component/form/switch_input/en.vue +0 -138
  140. package/docs/src/views/index/v1/component/form/switch_input/fa.vue +0 -139
  141. package/docs/src/views/index/v1/component/form/tel_input/en.vue +0 -195
  142. package/docs/src/views/index/v1/component/form/tel_input/fa.vue +0 -194
  143. package/docs/src/views/index/v1/component/form/text_area/en.vue +0 -189
  144. package/docs/src/views/index/v1/component/form/text_area/fa.vue +0 -191
  145. package/docs/src/views/index/v1/component/form/text_editor/en.vue +0 -143
  146. package/docs/src/views/index/v1/component/form/text_editor/fa.vue +0 -143
  147. package/docs/src/views/index/v1/component/form/text_editor/text_editor_preview/en.vue +0 -72
  148. package/docs/src/views/index/v1/component/form/text_editor/text_editor_preview/fa.vue +0 -78
  149. package/docs/src/views/index/v1/component/form/text_input/en.vue +0 -146
  150. package/docs/src/views/index/v1/component/form/text_input/fa.vue +0 -149
  151. package/docs/src/views/index/v1/component/form/time_input/en.vue +0 -138
  152. package/docs/src/views/index/v1/component/form/time_input/fa.vue +0 -137
  153. package/docs/src/views/index/v1/component/form/time_range_input/en.vue +0 -115
  154. package/docs/src/views/index/v1/component/form/time_range_input/fa.vue +0 -113
  155. package/docs/src/views/index/v1/component/form/unique_input/en.vue +0 -107
  156. package/docs/src/views/index/v1/component/form/unique_input/fa.vue +0 -106
  157. package/docs/src/views/index/v1/component/form/unit_input/en.vue +0 -200
  158. package/docs/src/views/index/v1/component/form/unit_input/fa.vue +0 -203
  159. package/docs/src/views/index/v1/component/form_creator/en.vue +0 -181
  160. package/docs/src/views/index/v1/component/form_creator/fa.vue +0 -179
  161. package/docs/src/views/index/v1/component/html2pdf/en.vue +0 -215
  162. package/docs/src/views/index/v1/component/html2pdf/fa.vue +0 -226
  163. package/docs/src/views/index/v1/component/html2pdf/html2pdf_page_break/en.vue +0 -37
  164. package/docs/src/views/index/v1/component/html2pdf/html2pdf_page_break/fa.vue +0 -36
  165. package/docs/src/views/index/v1/component/icon/en.vue +0 -231
  166. package/docs/src/views/index/v1/component/icon/fa.vue +0 -230
  167. package/docs/src/views/index/v1/component/img/en.vue +0 -511
  168. package/docs/src/views/index/v1/component/img/fa.vue +0 -510
  169. package/docs/src/views/index/v1/component/infinite/infinite_box/en.vue +0 -107
  170. package/docs/src/views/index/v1/component/infinite/infinite_box/fa.vue +0 -106
  171. package/docs/src/views/index/v1/component/infinite/infinite_div/en.vue +0 -87
  172. package/docs/src/views/index/v1/component/infinite/infinite_div/fa.vue +0 -83
  173. package/docs/src/views/index/v1/component/infinite/infinite_page/en.vue +0 -76
  174. package/docs/src/views/index/v1/component/infinite/infinite_page/fa.vue +0 -76
  175. package/docs/src/views/index/v1/component/list/en.vue +0 -477
  176. package/docs/src/views/index/v1/component/list/fa.vue +0 -475
  177. package/docs/src/views/index/v1/component/map/en.vue +0 -243
  178. package/docs/src/views/index/v1/component/map/fa.vue +0 -256
  179. package/docs/src/views/index/v1/component/map/map_route/en.vue +0 -176
  180. package/docs/src/views/index/v1/component/map/map_route/fa.vue +0 -177
  181. package/docs/src/views/index/v1/component/map/map_select/en.vue +0 -85
  182. package/docs/src/views/index/v1/component/map/map_select/fa.vue +0 -87
  183. package/docs/src/views/index/v1/component/menu/en.vue +0 -160
  184. package/docs/src/views/index/v1/component/menu/fa.vue +0 -158
  185. package/docs/src/views/index/v1/component/message/en.vue +0 -135
  186. package/docs/src/views/index/v1/component/message/fa.vue +0 -134
  187. package/docs/src/views/index/v1/component/meta/en.vue +0 -74
  188. package/docs/src/views/index/v1/component/meta/fa.vue +0 -73
  189. package/docs/src/views/index/v1/component/modal/en.vue +0 -432
  190. package/docs/src/views/index/v1/component/modal/fa.vue +0 -433
  191. package/docs/src/views/index/v1/component/notify/en.vue +0 -116
  192. package/docs/src/views/index/v1/component/notify/fa.vue +0 -116
  193. package/docs/src/views/index/v1/component/progress/progress_circle/en.vue +0 -202
  194. package/docs/src/views/index/v1/component/progress/progress_circle/fa.vue +0 -201
  195. package/docs/src/views/index/v1/component/progress/progress_line/en.vue +0 -216
  196. package/docs/src/views/index/v1/component/progress/progress_line/fa.vue +0 -214
  197. package/docs/src/views/index/v1/component/search_box/en.vue +0 -185
  198. package/docs/src/views/index/v1/component/search_box/fa.vue +0 -178
  199. package/docs/src/views/index/v1/component/slider/en.vue +0 -428
  200. package/docs/src/views/index/v1/component/slider/fa.vue +0 -427
  201. package/docs/src/views/index/v1/component/swiper/en.vue +0 -291
  202. package/docs/src/views/index/v1/component/swiper/fa.vue +0 -289
  203. package/docs/src/views/index/v1/component/table/en.vue +0 -711
  204. package/docs/src/views/index/v1/component/table/fa.vue +0 -709
  205. package/docs/src/views/index/v1/component/table/table_crud/en.vue +0 -218
  206. package/docs/src/views/index/v1/component/table/table_crud/fa.vue +0 -219
  207. package/docs/src/views/index/v1/component/tabs/en.vue +0 -289
  208. package/docs/src/views/index/v1/component/tabs/fa.vue +0 -289
  209. package/docs/src/views/index/v1/component/time_ago/en.vue +0 -98
  210. package/docs/src/views/index/v1/component/time_ago/fa.vue +0 -102
  211. package/docs/src/views/index/v1/component/timeline/en.vue +0 -140
  212. package/docs/src/views/index/v1/component/timeline/fa.vue +0 -138
  213. package/docs/src/views/index/v1/component/tour/en.vue +0 -125
  214. package/docs/src/views/index/v1/component/tour/fa.vue +0 -129
  215. package/docs/src/views/index/v1/component/tree/en.vue +0 -213
  216. package/docs/src/views/index/v1/component/tree/fa.vue +0 -213
  217. package/docs/src/views/index/v1/features/breakpoint/fa.vue +0 -136
  218. package/docs/src/views/index/v1/features/direction/fa.vue +0 -57
  219. package/docs/src/views/index/v1/features/internationalization/fa.vue +0 -186
  220. package/docs/src/views/index/v1/features/theme/fa.vue +0 -148
  221. package/docs/src/views/index/v1/getting_started/browserSupport/fa.vue +0 -33
  222. package/docs/src/views/index/v1/getting_started/installation/fa.vue +0 -110
  223. package/docs/src/views/index/v1/introduction/support/fa.vue +0 -58
  224. package/docs/src/views/index/v1/introduction/whyRenusify/fa.vue +0 -49
  225. package/docs/src/views/index/v1/menu/en.json +0 -1040
  226. package/docs/src/views/index/v1/menu/fa.json +0 -1040
  227. package/docs/src/views/index/v1/mixins/root/fa.vue +0 -131
  228. package/docs/vue.config.js +0 -39
@@ -1,711 +0,0 @@
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>