pgo-uiux2 1.0.0

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 (180) hide show
  1. package/.env +1 -0
  2. package/.env.production +1 -0
  3. package/.prettierrc +13 -0
  4. package/.vscode/extensions.json +3 -0
  5. package/BUTTON_GUIDE.md +257 -0
  6. package/README.md +49 -0
  7. package/THEME_REFERENCE.md +310 -0
  8. package/eslint.config.ts +27 -0
  9. package/index.html +13 -0
  10. package/package.json +85 -0
  11. package/public/favicon.ico +0 -0
  12. package/src/App.vue +368 -0
  13. package/src/assets/fonts/Faruma.ttf +0 -0
  14. package/src/components/examples/AppBarExample.vue +101 -0
  15. package/src/components/examples/AvatarExample.vue +47 -0
  16. package/src/components/examples/BannerExample.vue +287 -0
  17. package/src/components/examples/BaseInputExample.vue +25 -0
  18. package/src/components/examples/BreadcrumbExample.vue +53 -0
  19. package/src/components/examples/CardExample.vue +77 -0
  20. package/src/components/examples/ChipExample.vue +225 -0
  21. package/src/components/examples/DatePickerExample.vue +31 -0
  22. package/src/components/examples/DropdownExample.vue +84 -0
  23. package/src/components/examples/EditorExample.vue +200 -0
  24. package/src/components/examples/ExpansionPanelExample.vue +42 -0
  25. package/src/components/examples/FileUploadExample.vue +40 -0
  26. package/src/components/examples/FormExample.vue +121 -0
  27. package/src/components/examples/HugeTest.vue +8 -0
  28. package/src/components/examples/LayoutContainerExample.vue +80 -0
  29. package/src/components/examples/ModalExample.vue +82 -0
  30. package/src/components/examples/NavDrawerExample.vue +170 -0
  31. package/src/components/examples/NumberFieldExample.vue +145 -0
  32. package/src/components/examples/RadioButtonExample.vue +161 -0
  33. package/src/components/examples/SearchExample.vue +322 -0
  34. package/src/components/examples/SelectExample.vue +121 -0
  35. package/src/components/examples/StackedTableViewExample.vue +53 -0
  36. package/src/components/examples/TabExample.vue +336 -0
  37. package/src/components/examples/TableExample.vue +228 -0
  38. package/src/components/examples/TextFieldExample.vue +181 -0
  39. package/src/components/examples/TextareaExample.vue +173 -0
  40. package/src/components/examples/ThemeToggle.vue +50 -0
  41. package/src/components/examples/TimelineExample.vue +66 -0
  42. package/src/components/examples/TipTapEditorExample.vue +20 -0
  43. package/src/components/examples/TooltipExample.vue +53 -0
  44. package/src/components/examples/VueDatePickerShowcase.vue +214 -0
  45. package/src/components/examples/_DatePickerExample.vue +33 -0
  46. package/src/components/examples/__FormExample.vue +77 -0
  47. package/src/components/index.ts +25 -0
  48. package/src/components/pgo/AppBar.vue +347 -0
  49. package/src/components/pgo/Avatar.vue +139 -0
  50. package/src/components/pgo/Banner.vue +300 -0
  51. package/src/components/pgo/Breadcrumb.vue +101 -0
  52. package/src/components/pgo/Button.vue +171 -0
  53. package/src/components/pgo/Card.vue +178 -0
  54. package/src/components/pgo/ConfirmationModel.vue +32 -0
  55. package/src/components/pgo/DataTable.vue +845 -0
  56. package/src/components/pgo/DatePicker/CalendarPanel.vue +43 -0
  57. package/src/components/pgo/DatePicker/__DatePicker.vue +122 -0
  58. package/src/components/pgo/DatePicker/types.ts +11 -0
  59. package/src/components/pgo/DatePicker/useCalendar.ts +39 -0
  60. package/src/components/pgo/DatePicker/useDatePicker.ts +31 -0
  61. package/src/components/pgo/Deprecated/ToastContainer.vue +51 -0
  62. package/src/components/pgo/Deprecated/ToastItem.vue +55 -0
  63. package/src/components/pgo/Dropdown.vue +296 -0
  64. package/src/components/pgo/DropdownItem.vue +40 -0
  65. package/src/components/pgo/Editor.vue +511 -0
  66. package/src/components/pgo/ExpansionPanel.vue +185 -0
  67. package/src/components/pgo/Footer.vue +39 -0
  68. package/src/components/pgo/HeroIcon.vue +124 -0
  69. package/src/components/pgo/InputSearch.vue +194 -0
  70. package/src/components/pgo/LayoutContainer.vue +104 -0
  71. package/src/components/pgo/Main.vue +37 -0
  72. package/src/components/pgo/Modal.vue +273 -0
  73. package/src/components/pgo/NavDrawer.vue +127 -0
  74. package/src/components/pgo/NavDrawerItem.vue +161 -0
  75. package/src/components/pgo/NavigationDrawer.vue +849 -0
  76. package/src/components/pgo/OLDNavDrawer.vue +661 -0
  77. package/src/components/pgo/OldAppBar.vue +223 -0
  78. package/src/components/pgo/PApp.vue +102 -0
  79. package/src/components/pgo/Pagination.vue +242 -0
  80. package/src/components/pgo/Search copy.vue +310 -0
  81. package/src/components/pgo/Search.vue +411 -0
  82. package/src/components/pgo/StackedTableView.vue +167 -0
  83. package/src/components/pgo/Tab.vue +617 -0
  84. package/src/components/pgo/TestInput.vue +395 -0
  85. package/src/components/pgo/Timeline.vue +367 -0
  86. package/src/components/pgo/TimelineItem.vue +80 -0
  87. package/src/components/pgo/TipTapEditor.vue +315 -0
  88. package/src/components/pgo/Tooltip.NOTES.md +12 -0
  89. package/src/components/pgo/Tooltip.PROPS.md +21 -0
  90. package/src/components/pgo/Tooltip.vue +281 -0
  91. package/src/components/pgo/base/Base.vue +444 -0
  92. package/src/components/pgo/buttons/Chip.vue +324 -0
  93. package/src/components/pgo/buttons/ChipGroup.vue +224 -0
  94. package/src/components/pgo/buttons/Radio.vue +424 -0
  95. package/src/components/pgo/filters/FilterSection.vue +188 -0
  96. package/src/components/pgo/filters/Searchbar.vue +216 -0
  97. package/src/components/pgo/forms/DynamicForm.vue +45 -0
  98. package/src/components/pgo/forms/Form.vue +132 -0
  99. package/src/components/pgo/index.ts +15 -0
  100. package/src/components/pgo/inputs/Checkbox.vue +320 -0
  101. package/src/components/pgo/inputs/DatePicker.vue +395 -0
  102. package/src/components/pgo/inputs/FileUpload.vue +326 -0
  103. package/src/components/pgo/inputs/NumberField.vue +243 -0
  104. package/src/components/pgo/inputs/Radio.vue +162 -0
  105. package/src/components/pgo/inputs/RadioGroup.vue +188 -0
  106. package/src/components/pgo/inputs/Select.vue +535 -0
  107. package/src/components/pgo/inputs/TextField.vue +194 -0
  108. package/src/components/pgo/inputs/Textarea.vue +181 -0
  109. package/src/main.js +12 -0
  110. package/src/pgo-components/_index.js +31 -0
  111. package/src/pgo-components/assets/fonts/Faruma.ttf +0 -0
  112. package/src/pgo-components/assets/fonts/logo.png +0 -0
  113. package/src/pgo-components/composables/useTheme.js +10 -0
  114. package/src/pgo-components/directives/tooltip-directive.ts +393 -0
  115. package/src/pgo-components/index.js +96 -0
  116. package/src/pgo-components/lib/componentConfig.js +147 -0
  117. package/src/pgo-components/lib/core/composables/_useCalendar.ts +127 -0
  118. package/src/pgo-components/lib/core/composables/useDefaults.ts +15 -0
  119. package/src/pgo-components/lib/core/composables/useLanguageSelect.js +0 -0
  120. package/src/pgo-components/lib/core/composables/useRtl.ts +12 -0
  121. package/src/pgo-components/lib/core/defaults/createDefaults.ts +5 -0
  122. package/src/pgo-components/lib/core/defaults/defaults.ts +7 -0
  123. package/src/pgo-components/lib/core/rtl/rtl.ts +3 -0
  124. package/src/pgo-components/lib/core/rtl/setRtl.ts +19 -0
  125. package/src/pgo-components/lib/drawerState.ts +3 -0
  126. package/src/pgo-components/lib/i18n/defaultLables.js +71 -0
  127. package/src/pgo-components/lib/i18n/i18nPlugin.js +52 -0
  128. package/src/pgo-components/lib/i18n/useI18n.js +35 -0
  129. package/src/pgo-components/lib/index.ts +38 -0
  130. package/src/pgo-components/pages/Component.vue +7 -0
  131. package/src/pgo-components/pages/ComponentRenderer.vue +85 -0
  132. package/src/pgo-components/pages/Home.vue +130 -0
  133. package/src/pgo-components/pages/ListView.vue +370 -0
  134. package/src/pgo-components/pages/Page1.vue +296 -0
  135. package/src/pgo-components/pages/_Page1.vue +180 -0
  136. package/src/pgo-components/plugins/SnackBar.vue +251 -0
  137. package/src/pgo-components/plugins/SnackBarContainer.vue +53 -0
  138. package/src/pgo-components/plugins/SnackBarPlugin.ts +136 -0
  139. package/src/pgo-components/plugins/theme-plugin.js +114 -0
  140. package/src/pgo-components/plugins/types.ts +46 -0
  141. package/src/pgo-components/plugins/useSnackBar.js +11 -0
  142. package/src/pgo-components/plugins/useSnackBar.ts +21 -0
  143. package/src/pgo-components/plugins/validation-plugin.js +11 -0
  144. package/src/pgo-components/services/Entry.json +813 -0
  145. package/src/pgo-components/services/axios.js +54 -0
  146. package/src/pgo-components/services/data.json +90 -0
  147. package/src/pgo-components/services/person.json +260 -0
  148. package/src/pgo-components/services/toast.ts +44 -0
  149. package/src/pgo-components/styles/global.css +234 -0
  150. package/src/pgo-components/styles/reset.css +96 -0
  151. package/src/pgo-components/styles/tokens.css +18 -0
  152. package/src/pgo-components/styles/utilities/border-radius.css +57 -0
  153. package/src/pgo-components/styles/utilities/borders.css +85 -0
  154. package/src/pgo-components/styles/utilities/colors.css +38 -0
  155. package/src/pgo-components/styles/utilities/cursor.css +19 -0
  156. package/src/pgo-components/styles/utilities/display.css +78 -0
  157. package/src/pgo-components/styles/utilities/elevation.css +33 -0
  158. package/src/pgo-components/styles/utilities/flex.css +403 -0
  159. package/src/pgo-components/styles/utilities/float.css +41 -0
  160. package/src/pgo-components/styles/utilities/hover.css +9 -0
  161. package/src/pgo-components/styles/utilities/index.css +18 -0
  162. package/src/pgo-components/styles/utilities/opacity.css +27 -0
  163. package/src/pgo-components/styles/utilities/overflow.css +26 -0
  164. package/src/pgo-components/styles/utilities/palette.css +515 -0
  165. package/src/pgo-components/styles/utilities/position.css +14 -0
  166. package/src/pgo-components/styles/utilities/sizing.css +70 -0
  167. package/src/pgo-components/styles/utilities/spacing.css +578 -0
  168. package/src/pgo-components/styles/utilities/transitions.css +58 -0
  169. package/src/pgo-components/styles/utilities/typography.css +91 -0
  170. package/src/pgo-components/styles/utilities/z-index.css +11 -0
  171. package/src/pgo-components/tokens/index.js +337 -0
  172. package/src/router/index.js +88 -0
  173. package/src/shims-vue.d.ts +14 -0
  174. package/src/validations/validationRules.js +50 -0
  175. package/tailwind.config.js +73 -0
  176. package/test.php +5 -0
  177. package/tsconfig.json +25 -0
  178. package/ui +31 -0
  179. package/ui.pgo.mv.conf +18 -0
  180. package/vite.config.js +42 -0
@@ -0,0 +1,813 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "id": 1,
5
+ "first_name_eng": "Mohamed",
6
+ "middle_name_eng": "",
7
+ "last_name_eng": "Mohamed",
8
+ "first_name_div": "\u07a2\u07a6\u078d\u07a9",
9
+ "middle_name_div": null,
10
+ "last_name_div": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa",
11
+ "date_of_birth": "1952-02-22",
12
+ "date_of_death": null,
13
+ "gender": "F",
14
+ "contact": null,
15
+ "father_name": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa \u0787\u07a8\u0784\u07b0\u0783\u07a7\u0780\u07a9\u0789\u07b0",
16
+ "country_id": 1,
17
+ "mother_name": "",
18
+ "guardian": null,
19
+ "remarks": null,
20
+ "police_pid": null,
21
+ "crpc_id": null,
22
+ "is_in_custody": 0,
23
+ "created_at": null,
24
+ "updated_at": null
25
+ },
26
+ {
27
+ "id": 2,
28
+ "first_name_eng": "Hussein",
29
+ "middle_name_eng": "Adhuhan",
30
+ "last_name_eng": "Hussein",
31
+ "first_name_div": "\u0787\u07a7\u078b\u07a6\u0789\u07b0",
32
+ "middle_name_div": "\u0787\u07a6\u078b\u07aa\u079a\u07a7\u0782\u07b0",
33
+ "last_name_div": "\u0799\u07aa\u0790\u07a6\u0787\u07a8\u0782\u07b0",
34
+ "date_of_birth": "1986-03-08",
35
+ "date_of_death": null,
36
+ "gender": "M",
37
+ "contact": "{\"fax\": \"\", \"email\": \"\", \"phone\": \"\", \"mobile\": \"7614644\"}",
38
+ "father_name": "\u0799\u07aa\u0790\u07ac\u0787\u07a8\u0782\u07b0 \u0799\u07a6\u0790\u07a6\u0782\u07b0",
39
+ "country_id": 1,
40
+ "mother_name": null,
41
+ "guardian": null,
42
+ "remarks": null,
43
+ "police_pid": null,
44
+ "crpc_id": null,
45
+ "is_in_custody": 0,
46
+ "created_at": null,
47
+ "updated_at": "2023-08-27T11:28:03.000000Z"
48
+ },
49
+ {
50
+ "id": 3,
51
+ "first_name_eng": "Fayaz",
52
+ "middle_name_eng": "",
53
+ "last_name_eng": "Fayaz",
54
+ "first_name_div": "\u0799\u07a6\u0790\u07a6\u0782\u07b0",
55
+ "middle_name_div": null,
56
+ "last_name_div": "\u078a\u07a6\u0794\u07a7\u0792\u07b0",
57
+ "date_of_birth": "1965-05-13",
58
+ "date_of_death": null,
59
+ "gender": "M",
60
+ "contact": null,
61
+ "father_name": "\u0794\u07ab\u0790\u07aa\u078a\u07aa \u0787\u07a7\u078b\u07a6\u0789\u07b0",
62
+ "country_id": 1,
63
+ "mother_name": "",
64
+ "guardian": null,
65
+ "remarks": null,
66
+ "police_pid": null,
67
+ "crpc_id": null,
68
+ "is_in_custody": 0,
69
+ "created_at": null,
70
+ "updated_at": null
71
+ },
72
+ {
73
+ "id": 4,
74
+ "first_name_eng": "Naseer",
75
+ "middle_name_eng": "",
76
+ "last_name_eng": "Naseer",
77
+ "first_name_div": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa",
78
+ "middle_name_div": null,
79
+ "last_name_div": "\u0782\u07a6\u079e\u07a9\u0783\u07aa",
80
+ "date_of_birth": "1951-03-16",
81
+ "date_of_death": null,
82
+ "gender": "M",
83
+ "contact": null,
84
+ "father_name": "\u0787\u07a6\u078d\u07b0\u0789\u07a6\u0783\u07b0\u0799\u07ab\u0789\u07b0 \u07a2\u07a6\u078d\u07a9",
85
+ "country_id": 1,
86
+ "mother_name": "",
87
+ "guardian": null,
88
+ "remarks": null,
89
+ "police_pid": null,
90
+ "crpc_id": null,
91
+ "is_in_custody": 0,
92
+ "created_at": null,
93
+ "updated_at": null
94
+ },
95
+ {
96
+ "id": 5,
97
+ "first_name_eng": "Shareef",
98
+ "middle_name_eng": "",
99
+ "last_name_eng": "Shareef",
100
+ "first_name_div": "\u0799\u07aa\u0790\u07a6\u0787\u07a8\u0782\u07b0",
101
+ "middle_name_div": null,
102
+ "last_name_div": "\u079d\u07a6\u0783\u07a9\u078a\u07b0",
103
+ "date_of_birth": "1981-03-22",
104
+ "date_of_death": null,
105
+ "gender": "F",
106
+ "contact": null,
107
+ "father_name": "\u078b\u07ae\u0782\u07b0\u0789\u07a6\u0782\u07a8\u0786\u07aa",
108
+ "country_id": 1,
109
+ "mother_name": "Hafsa Mohamed",
110
+ "guardian": null,
111
+ "remarks": null,
112
+ "police_pid": null,
113
+ "crpc_id": null,
114
+ "is_in_custody": 0,
115
+ "created_at": null,
116
+ "updated_at": null
117
+ },
118
+ {
119
+ "id": 6,
120
+ "first_name_eng": "Ibrahim",
121
+ "middle_name_eng": "",
122
+ "last_name_eng": "Ibrahim",
123
+ "first_name_div": "\u079d\u07a7\u0782\u07aa",
124
+ "middle_name_div": null,
125
+ "last_name_div": "\u0787\u07a8\u0784\u07aa\u0783\u07a7\u0780\u07a8\u0789\u07b0",
126
+ "date_of_birth": "1900-01-01",
127
+ "date_of_death": null,
128
+ "gender": "M",
129
+ "contact": null,
130
+ "father_name": "\u0787\u07a8\u0784\u07b0\u0783\u07a7\u0780\u07a8\u0789\u07b0 \u0799\u07aa\u0790\u07a6\u0787\u07a8\u0782\u07b0",
131
+ "country_id": 1,
132
+ "mother_name": "",
133
+ "guardian": null,
134
+ "remarks": null,
135
+ "police_pid": null,
136
+ "crpc_id": null,
137
+ "is_in_custody": 0,
138
+ "created_at": null,
139
+ "updated_at": null
140
+ },
141
+ {
142
+ "id": 7,
143
+ "first_name_eng": "Shinaan",
144
+ "middle_name_eng": "",
145
+ "last_name_eng": "Shinaan",
146
+ "first_name_div": "\u0787\u07a6\u0799\u07b0\u0789\u07a6\u078b\u07aa",
147
+ "middle_name_div": null,
148
+ "last_name_div": "\u079d\u07a8\u0782\u07a7\u0782\u07b0",
149
+ "date_of_birth": "1983-02-22",
150
+ "date_of_death": null,
151
+ "gender": "M",
152
+ "contact": null,
153
+ "father_name": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa \u0790\u07a6\u0789\u07a9\u0783\u07aa",
154
+ "country_id": 1,
155
+ "mother_name": "",
156
+ "guardian": null,
157
+ "remarks": null,
158
+ "police_pid": null,
159
+ "crpc_id": null,
160
+ "is_in_custody": 0,
161
+ "created_at": null,
162
+ "updated_at": null
163
+ },
164
+ {
165
+ "id": 8,
166
+ "first_name_eng": "",
167
+ "middle_name_eng": null,
168
+ "last_name_eng": "",
169
+ "first_name_div": "\u0787\u07a6\u0799\u07aa\u0789\u07a6\u078b\u07aa",
170
+ "middle_name_div": null,
171
+ "last_name_div": "\u07a2\u07a6\u078d\u07a9",
172
+ "date_of_birth": "1984-02-22",
173
+ "date_of_death": null,
174
+ "gender": "M",
175
+ "contact": null,
176
+ "father_name": null,
177
+ "country_id": 49,
178
+ "mother_name": null,
179
+ "guardian": null,
180
+ "remarks": null,
181
+ "police_pid": null,
182
+ "crpc_id": null,
183
+ "is_in_custody": 0,
184
+ "created_at": null,
185
+ "updated_at": null
186
+ },
187
+ {
188
+ "id": 9,
189
+ "first_name_eng": "Shaah",
190
+ "middle_name_eng": "",
191
+ "last_name_eng": "Shaah",
192
+ "first_name_div": "\u0787\u07a6\u0799\u07b0\u0789\u07a6\u078b\u07aa",
193
+ "middle_name_div": null,
194
+ "last_name_div": "\u079d\u07a7\u0780\u07b0",
195
+ "date_of_birth": "1986-11-18",
196
+ "date_of_death": null,
197
+ "gender": "M",
198
+ "contact": null,
199
+ "father_name": "\u0787\u07a7\u078b\u07a6\u0789\u07b0 \u0787\u07a8\u0784\u07b0\u0783\u07a7\u0780\u07a8\u0789\u07b0",
200
+ "country_id": 1,
201
+ "mother_name": "",
202
+ "guardian": null,
203
+ "remarks": null,
204
+ "police_pid": null,
205
+ "crpc_id": null,
206
+ "is_in_custody": 0,
207
+ "created_at": null,
208
+ "updated_at": null
209
+ },
210
+ {
211
+ "id": 10,
212
+ "first_name_eng": "Eesa",
213
+ "middle_name_eng": "",
214
+ "last_name_eng": "Eesa",
215
+ "first_name_div": "\u07a2\u07a6\u078a\u07a9\u078a\u07a7",
216
+ "middle_name_div": null,
217
+ "last_name_div": "\u07a2\u07a9\u0790\u07a7",
218
+ "date_of_birth": "1978-02-22",
219
+ "date_of_death": null,
220
+ "gender": "F",
221
+ "contact": null,
222
+ "father_name": "",
223
+ "country_id": 1,
224
+ "mother_name": "",
225
+ "guardian": null,
226
+ "remarks": null,
227
+ "police_pid": null,
228
+ "crpc_id": null,
229
+ "is_in_custody": 0,
230
+ "created_at": null,
231
+ "updated_at": null
232
+ },
233
+ {
234
+ "id": 11,
235
+ "first_name_eng": "Risaala",
236
+ "middle_name_eng": "",
237
+ "last_name_eng": "Risaala",
238
+ "first_name_div": "\u0787\u07a7\u0789\u07a8\u0782\u07a6\u078c\u07aa",
239
+ "middle_name_div": null,
240
+ "last_name_div": "\u0783\u07a8\u0790\u07a7\u078d\u07a7",
241
+ "date_of_birth": "1983-02-22",
242
+ "date_of_death": null,
243
+ "gender": "F",
244
+ "contact": null,
245
+ "father_name": "\u0788\u07a6\u0799\u07a8\u078b\u07aa \u07a2\u07a6\u078d\u07a9",
246
+ "country_id": 1,
247
+ "mother_name": "",
248
+ "guardian": null,
249
+ "remarks": null,
250
+ "police_pid": null,
251
+ "crpc_id": null,
252
+ "is_in_custody": 0,
253
+ "created_at": null,
254
+ "updated_at": null
255
+ },
256
+ {
257
+ "id": 12,
258
+ "first_name_eng": "Anvaru",
259
+ "middle_name_eng": "",
260
+ "last_name_eng": "Anvaru",
261
+ "first_name_div": "\u0787\u07a6\u0782\u07b0\u0788\u07a6\u0783\u07aa\u0787\u07b0\u0790\u07a6\u0787\u07a7\u078b\u07a6\u078c\u07aa",
262
+ "middle_name_div": null,
263
+ "last_name_div": "\u0787\u07a6\u0782\u07b0\u0788\u07a6\u0783\u07aa",
264
+ "date_of_birth": "1974-02-22",
265
+ "date_of_death": null,
266
+ "gender": "F",
267
+ "contact": null,
268
+ "father_name": "\u07a2\u07a6\u0784\u07aa\u078b\u07aa\u0787\u07b0\u0790\u07a6\u0789\u07a6\u078b\u07aa",
269
+ "country_id": 1,
270
+ "mother_name": "",
271
+ "guardian": null,
272
+ "remarks": null,
273
+ "police_pid": null,
274
+ "crpc_id": null,
275
+ "is_in_custody": 0,
276
+ "created_at": null,
277
+ "updated_at": null
278
+ },
279
+ {
280
+ "id": 13,
281
+ "first_name_eng": "Haleem",
282
+ "middle_name_eng": "",
283
+ "last_name_eng": "Haleem",
284
+ "first_name_div": "\u0787\u07a8\u0784\u07b0\u0783\u07a7\u0780\u07a9\u0789\u07b0",
285
+ "middle_name_div": null,
286
+ "last_name_div": "\u0799\u07a6\u078d\u07a9\u0789\u07b0",
287
+ "date_of_birth": "1977-09-21",
288
+ "date_of_death": null,
289
+ "gender": "M",
290
+ "contact": null,
291
+ "father_name": "\u0799\u07aa\u0790\u07a6\u0787\u07a8\u0782\u07b0 \u0799\u07a6\u0790\u07a6\u0782\u07b0",
292
+ "country_id": 1,
293
+ "mother_name": "",
294
+ "guardian": null,
295
+ "remarks": null,
296
+ "police_pid": null,
297
+ "crpc_id": null,
298
+ "is_in_custody": 0,
299
+ "created_at": null,
300
+ "updated_at": null
301
+ },
302
+ {
303
+ "id": 14,
304
+ "first_name_eng": "",
305
+ "middle_name_eng": null,
306
+ "last_name_eng": "",
307
+ "first_name_div": "\u0790\u07a8\u0783\u07aa\u0789\u07a9\u0782\u07a7",
308
+ "middle_name_div": null,
309
+ "last_name_div": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa",
310
+ "date_of_birth": "1974-02-22",
311
+ "date_of_death": null,
312
+ "gender": "M",
313
+ "contact": null,
314
+ "father_name": null,
315
+ "country_id": 1,
316
+ "mother_name": null,
317
+ "guardian": null,
318
+ "remarks": null,
319
+ "police_pid": null,
320
+ "crpc_id": null,
321
+ "is_in_custody": 0,
322
+ "created_at": null,
323
+ "updated_at": null
324
+ },
325
+ {
326
+ "id": 15,
327
+ "first_name_eng": "",
328
+ "middle_name_eng": null,
329
+ "last_name_eng": "",
330
+ "first_name_div": "\u0789\u07a6\u0783\u07a8\u0794\u07a6\u0789\u07b0",
331
+ "middle_name_div": null,
332
+ "last_name_div": "\u0799\u07aa\u0790\u07a6\u0787\u07a8\u0782\u07b0",
333
+ "date_of_birth": "1963-02-22",
334
+ "date_of_death": null,
335
+ "gender": "M",
336
+ "contact": null,
337
+ "father_name": null,
338
+ "country_id": 1,
339
+ "mother_name": null,
340
+ "guardian": null,
341
+ "remarks": null,
342
+ "police_pid": null,
343
+ "crpc_id": null,
344
+ "is_in_custody": 0,
345
+ "created_at": null,
346
+ "updated_at": null
347
+ },
348
+ {
349
+ "id": 16,
350
+ "first_name_eng": "Thaufeeg",
351
+ "middle_name_eng": "",
352
+ "last_name_eng": "Thaufeeg",
353
+ "first_name_div": "\u0787\u07a8\u0790\u07b0\u0789\u07a7\u07a2\u07a9\u078d\u07b0",
354
+ "middle_name_div": null,
355
+ "last_name_div": "\u078c\u07a6\u0787\u07aa\u078a\u07a9\u07a4\u07b0",
356
+ "date_of_birth": "1957-08-01",
357
+ "date_of_death": null,
358
+ "gender": "M",
359
+ "contact": null,
360
+ "father_name": "\u07a2\u07a6\u0784\u07b0\u078b\u07aa\u0787\u07b0\u0783\u07a6\u0799\u07b0\u0789\u07a7\u0782\u07aa \u0789\u07ab\u0790\u07a7",
361
+ "country_id": 1,
362
+ "mother_name": "",
363
+ "guardian": null,
364
+ "remarks": null,
365
+ "police_pid": null,
366
+ "crpc_id": null,
367
+ "is_in_custody": 0,
368
+ "created_at": null,
369
+ "updated_at": null
370
+ },
371
+ {
372
+ "id": 17,
373
+ "first_name_eng": "",
374
+ "middle_name_eng": null,
375
+ "last_name_eng": "",
376
+ "first_name_div": "\u0782\u07a7\u0792\u07aa\u0782\u07a9",
377
+ "middle_name_div": null,
378
+ "last_name_div": "\u0789\u07a6\u0782\u07b0\u0790\u07ab\u0783\u07aa",
379
+ "date_of_birth": "1985-02-22",
380
+ "date_of_death": null,
381
+ "gender": "M",
382
+ "contact": null,
383
+ "father_name": null,
384
+ "country_id": 49,
385
+ "mother_name": null,
386
+ "guardian": null,
387
+ "remarks": null,
388
+ "police_pid": null,
389
+ "crpc_id": null,
390
+ "is_in_custody": 0,
391
+ "created_at": null,
392
+ "updated_at": null
393
+ },
394
+ {
395
+ "id": 18,
396
+ "first_name_eng": "Mufeed",
397
+ "middle_name_eng": "",
398
+ "last_name_eng": "Mufeed",
399
+ "first_name_div": "\u0787\u07a6\u0799\u07b0\u0789\u07a6\u078b\u07aa",
400
+ "middle_name_div": null,
401
+ "last_name_div": "\u0789\u07aa\u078a\u07a9\u078b\u07aa",
402
+ "date_of_birth": "1966-02-22",
403
+ "date_of_death": null,
404
+ "gender": "M",
405
+ "contact": null,
406
+ "father_name": "\u0787\u07a7\u078b\u07a6\u0789\u07b0 \u0787\u07a6\u0784\u07ab\u0784\u07a6\u0786\u07aa\u0783\u07aa",
407
+ "country_id": 1,
408
+ "mother_name": "",
409
+ "guardian": null,
410
+ "remarks": null,
411
+ "police_pid": null,
412
+ "crpc_id": null,
413
+ "is_in_custody": 0,
414
+ "created_at": null,
415
+ "updated_at": "2022-05-11T06:02:37.000000Z"
416
+ },
417
+ {
418
+ "id": 19,
419
+ "first_name_eng": "Waheed",
420
+ "middle_name_eng": "",
421
+ "last_name_eng": "Waheed",
422
+ "first_name_div": "\u0787\u07a6\u0792\u07b0\u078d\u07a7\u0789\u07b0",
423
+ "middle_name_div": null,
424
+ "last_name_div": "\u0788\u07a6\u0799\u07a9\u078b\u07aa",
425
+ "date_of_birth": "1984-08-18",
426
+ "date_of_death": null,
427
+ "gender": "M",
428
+ "contact": null,
429
+ "father_name": "\u0788\u07a6\u0799\u07a9\u078b\u07aa \u07a2\u07a6\u078d\u07a9",
430
+ "country_id": 1,
431
+ "mother_name": "Zubaidha Mohamed",
432
+ "guardian": null,
433
+ "remarks": null,
434
+ "police_pid": null,
435
+ "crpc_id": null,
436
+ "is_in_custody": 0,
437
+ "created_at": null,
438
+ "updated_at": null
439
+ },
440
+ {
441
+ "id": 20,
442
+ "first_name_eng": "Waheed",
443
+ "middle_name_eng": "",
444
+ "last_name_eng": "Waheed",
445
+ "first_name_div": "\u07a2\u07a6\u0784\u07b0\u078b\u07aa\ufdf2",
446
+ "middle_name_div": null,
447
+ "last_name_div": "\u0788\u07a6\u0799\u07a9\u078b\u07aa",
448
+ "date_of_birth": "1979-10-25",
449
+ "date_of_death": null,
450
+ "gender": "M",
451
+ "contact": null,
452
+ "father_name": "\u0780\u07a6\u0789\u07b0\u0792\u07a7 \u07a2\u07a6\u0784\u07b0\u078b\u07aa\ufdf2",
453
+ "country_id": 1,
454
+ "mother_name": "",
455
+ "guardian": null,
456
+ "remarks": null,
457
+ "police_pid": null,
458
+ "crpc_id": null,
459
+ "is_in_custody": 0,
460
+ "created_at": null,
461
+ "updated_at": null
462
+ },
463
+ {
464
+ "id": 21,
465
+ "first_name_eng": "",
466
+ "middle_name_eng": null,
467
+ "last_name_eng": "",
468
+ "first_name_div": "\u0787\u07a6\u0799\u07aa\u0789\u07a6\u078b\u07aa",
469
+ "middle_name_div": null,
470
+ "last_name_div": "\u0792\u07a7\u0780\u07a8\u0783\u07aa",
471
+ "date_of_birth": "1958-02-22",
472
+ "date_of_death": null,
473
+ "gender": "M",
474
+ "contact": null,
475
+ "father_name": null,
476
+ "country_id": 49,
477
+ "mother_name": null,
478
+ "guardian": null,
479
+ "remarks": null,
480
+ "police_pid": null,
481
+ "crpc_id": null,
482
+ "is_in_custody": 0,
483
+ "created_at": null,
484
+ "updated_at": "2022-05-11T06:05:31.000000Z"
485
+ },
486
+ {
487
+ "id": 22,
488
+ "first_name_eng": "Ali",
489
+ "middle_name_eng": "",
490
+ "last_name_eng": "Ali",
491
+ "first_name_div": "\u07a2\u07a6\u0784\u07b0\u078b\u07aa\u0787\u07b0\u0782\u07a7\u079e\u07a8\u0783\u07aa",
492
+ "middle_name_div": null,
493
+ "last_name_div": "\u07a2\u07a6\u078d\u07a9",
494
+ "date_of_birth": "1985-04-22",
495
+ "date_of_death": null,
496
+ "gender": "M",
497
+ "contact": "{\"fax\": \"\", \"email\": \"\", \"phone\": \"\", \"mobile\": \"9794396\"}",
498
+ "father_name": "\u07a2\u07a6\u078d\u07a9 \u0787\u07a8\u0784\u07b0\u0783\u07a7\u0780\u07a8\u0789\u07b0",
499
+ "country_id": 1,
500
+ "mother_name": "",
501
+ "guardian": null,
502
+ "remarks": null,
503
+ "police_pid": null,
504
+ "crpc_id": null,
505
+ "is_in_custody": 0,
506
+ "created_at": null,
507
+ "updated_at": "2022-05-11T06:05:31.000000Z"
508
+ },
509
+ {
510
+ "id": 23,
511
+ "first_name_eng": "Nizar",
512
+ "middle_name_eng": "",
513
+ "last_name_eng": "Nizar",
514
+ "first_name_div": "\u0787\u07a6\u0799\u07b0\u0789\u07a6\u078b\u07aa",
515
+ "middle_name_div": null,
516
+ "last_name_div": "\u0782\u07a8\u0792\u07a7\u0783\u07aa",
517
+ "date_of_birth": "1955-02-22",
518
+ "date_of_death": null,
519
+ "gender": "M",
520
+ "contact": null,
521
+ "father_name": "\u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa \u07a2\u07a9\u0790\u07a7",
522
+ "country_id": 1,
523
+ "mother_name": "",
524
+ "guardian": null,
525
+ "remarks": null,
526
+ "police_pid": null,
527
+ "crpc_id": null,
528
+ "is_in_custody": 0,
529
+ "created_at": null,
530
+ "updated_at": null
531
+ },
532
+ {
533
+ "id": 24,
534
+ "first_name_eng": "Ali",
535
+ "middle_name_eng": "",
536
+ "last_name_eng": "Ali",
537
+ "first_name_div": "\u0787\u07a6\u0799\u07aa\u0789\u07a6\u078b\u07aa",
538
+ "middle_name_div": null,
539
+ "last_name_div": "\u07a2\u07a6\u078d\u07a9",
540
+ "date_of_birth": "1971-01-26",
541
+ "date_of_death": null,
542
+ "gender": "M",
543
+ "contact": null,
544
+ "father_name": "\u07a2\u07a6\u078d\u07a9 \u0789\u07aa\u0799\u07a6\u0787\u07b0\u0789\u07a6\u078b\u07aa",
545
+ "country_id": 1,
546
+ "mother_name": "",
547
+ "guardian": null,
548
+ "remarks": null,
549
+ "police_pid": null,
550
+ "crpc_id": null,
551
+ "is_in_custody": 0,
552
+ "created_at": null,
553
+ "updated_at": null
554
+ },
555
+ {
556
+ "id": 25,
557
+ "first_name_eng": "Abdurahuman",
558
+ "middle_name_eng": "",
559
+ "last_name_eng": "Abdurahuman",
560
+ "first_name_div": "\u0787\u07a7\u0784\u07a8\u078b\u07a7",
561
+ "middle_name_div": null,
562
+ "last_name_div": "\u0787\u07a6\u0784\u07b0\u078b\u07aa\u0787\u07b0\u0783\u07a6\u0780\u07aa\u0789\u07a7\u0782\u07aa",
563
+ "date_of_birth": "1967-08-02",
564
+ "date_of_death": null,
565
+ "gender": "F",
566
+ "contact": "{\"fax\": null, \"email\": null, \"phone\": null, \"mobile\": \"7204640\", \"mobile_one\": null}",
567
+ "father_name": "\u0787\u07a6\u0784\u07b0\u078b\u07aa\u0787\u07b0\u0783\u07a6\u0780\u07aa\u0789\u07a7\u0782\u07aa",
568
+ "country_id": 1,
569
+ "mother_name": "",
570
+ "guardian": null,
571
+ "remarks": null,
572
+ "police_pid": null,
573
+ "crpc_id": null,
574
+ "is_in_custody": 0,
575
+ "created_at": null,
576
+ "updated_at": "2023-11-06T09:18:57.000000Z"
577
+ }
578
+ ],
579
+ "component": "listView",
580
+ "componentSettings": {
581
+ "table": {
582
+ "headers": [
583
+ {
584
+ "title": "Id",
585
+ "value": "id",
586
+ "sortable": true,
587
+ "hidden": true
588
+ },
589
+ {
590
+ "title": "First Name",
591
+ "value": "first_name_eng",
592
+ "sortable": true,
593
+ "hidden": false
594
+ },
595
+ {
596
+ "title": "Middle Name",
597
+ "value": "middle_name_eng",
598
+ "sortable": true,
599
+ "hidden": false
600
+ },
601
+ {
602
+ "title": "Last Name",
603
+ "value": "last_name_eng",
604
+ "sortable": true,
605
+ "hidden": false
606
+ },
607
+ {
608
+ "title": "First Name",
609
+ "value": "first_name_div",
610
+ "sortable": true,
611
+ "hidden": false
612
+ },
613
+ {
614
+ "title": "Middle Name",
615
+ "value": "middle_name_div",
616
+ "sortable": true,
617
+ "hidden": false
618
+ },
619
+ {
620
+ "title": "Last Name",
621
+ "value": "last_name_div",
622
+ "sortable": true,
623
+ "hidden": false
624
+ },
625
+ {
626
+ "title": "Date of Birth",
627
+ "value": "date_of_birth",
628
+ "sortable": true,
629
+ "hidden": false
630
+ },
631
+ {
632
+ "title": "Date of Death",
633
+ "value": "date_of_death",
634
+ "sortable": true,
635
+ "hidden": false
636
+ },
637
+ {
638
+ "title": "Gender",
639
+ "value": "gender",
640
+ "sortable": false,
641
+ "hidden": false
642
+ },
643
+ {
644
+ "title": "Contact",
645
+ "value": "contact",
646
+ "sortable": false,
647
+ "hidden": false
648
+ },
649
+ {
650
+ "title": "Fathers Name",
651
+ "value": "father_name",
652
+ "sortable": false,
653
+ "hidden": false
654
+ },
655
+ {
656
+ "title": "Fathers Name",
657
+ "value": "country_id",
658
+ "sortable": false,
659
+ "hidden": false
660
+ },
661
+ {
662
+ "title": "Mothers Name",
663
+ "value": "mother_name",
664
+ "sortable": false,
665
+ "hidden": false
666
+ },
667
+ {
668
+ "title": "Guardian Name",
669
+ "value": "guardian",
670
+ "sortable": false,
671
+ "hidden": false
672
+ },
673
+ {
674
+ "title": "Remarks",
675
+ "value": "remarks",
676
+ "sortable": false,
677
+ "hidden": false
678
+ },
679
+ {
680
+ "title": "Police PID",
681
+ "value": "police_pid",
682
+ "sortable": false,
683
+ "hidden": false
684
+ },
685
+ {
686
+ "title": "CRPC ID",
687
+ "value": "crpc_id",
688
+ "sortable": false,
689
+ "hidden": false
690
+ },
691
+ {
692
+ "title": "Is in custody",
693
+ "value": "is_in_custody",
694
+ "sortable": false,
695
+ "hidden": false
696
+ },
697
+ {
698
+ "title": "Created At",
699
+ "value": "created_at",
700
+ "sortable": false,
701
+ "hidden": true
702
+ },
703
+ {
704
+ "title": "Updated At",
705
+ "value": "updated_at",
706
+ "sortable": false,
707
+ "hidden": true
708
+ }
709
+ ],
710
+ "FilterSection": {
711
+ "settings": [],
712
+ "buttons": [
713
+ {
714
+ "type": "submit",
715
+ "color": "primary",
716
+ "icon": "magnifying-glass",
717
+ "variant": "contained"
718
+ },
719
+ {
720
+ "type": "Clear",
721
+ "label": "Clear",
722
+ "color": "secondary"
723
+ },
724
+ {
725
+ "type": "Close",
726
+ "label": "Close",
727
+ "color": "gray"
728
+ }
729
+ ],
730
+ "filters": [
731
+ {
732
+ "type": "Select",
733
+ "key": "Gender",
734
+ "label": "Gender",
735
+ "itemTitle": "Gender",
736
+ "itemValue": "gender",
737
+ "url": "https:\/\/uiapi.pgo.mv\/api\/Person\/options\/gender?itemTitle=Gender&itemValue=gender&lang=en"
738
+ },
739
+ {
740
+ "type": "Select",
741
+ "key": "Country",
742
+ "label": "Country",
743
+ "itemTitle": "name_eng",
744
+ "itemValue": "id",
745
+ "url": "https:\/\/uiapi.pgo.mv\/api\/Country\/options\/id?itemTitle=name_eng&itemValue=id&lang=en"
746
+ }
747
+ ]
748
+ },
749
+ "Searchbar": {
750
+ "title": "People List",
751
+ "quickFilters": [
752
+ {
753
+ "type": "ChipGroup",
754
+ "key": "status",
755
+ "chips": [
756
+ { "value": "all", "label": "All" },
757
+ { "value": "active", "label": "Active" },
758
+ { "value": "pending", "label": "Pending" },
759
+ { "value": "completed", "label": "Completed" }
760
+ ],
761
+ "color": "primary",
762
+ "size": "small",
763
+ "clickable": true
764
+ },
765
+ {
766
+ "type": "ChipGroup",
767
+ "key": "priority",
768
+ "chips": [
769
+ { "value": "all", "label": "All Priority" },
770
+ { "value": "high", "label": "High" },
771
+ { "value": "medium", "label": "Medium" },
772
+ { "value": "low", "label": "Low" }
773
+ ],
774
+ "color": "secondary",
775
+ "size": "small",
776
+ "clickable": true
777
+ },
778
+ {
779
+ "type": "InputSearch",
780
+ "key": "search",
781
+ "placeholder": "Search...",
782
+ "size": "md"
783
+ },
784
+ {
785
+ "type": "DatePicker",
786
+ "key": "dob",
787
+ "placeholder": "DoB...",
788
+ "size": "md"
789
+ }
790
+ ],
791
+ "buttons": [
792
+ {
793
+ "type": "search",
794
+ "color": "primary",
795
+ "icon": "magnifying-glass",
796
+ "variant": "contained"
797
+ },
798
+ {
799
+ "type": "Clear",
800
+ "label": "Clear",
801
+ "color": "secondary"
802
+ }
803
+ ]
804
+ },
805
+ "pagination": {
806
+ "current_page": 1,
807
+ "last_page": 2035,
808
+ "per_page": 25,
809
+ "total": 50868
810
+ }
811
+ }
812
+ }
813
+ }