diff --git a/example/component/renderable/schema/sub-schema/edit/index.html b/example/component/renderable/schema/sub-schema/edit/index.html index abd55f8e..bcaa0233 100644 --- a/example/component/renderable/schema/sub-schema/edit/index.html +++ b/example/component/renderable/schema/sub-schema/edit/index.html @@ -22,7 +22,11 @@ const host = { sources: { "inline.object": [{ id: 1423332 }] - } + }, + repositories: { + "calendar.datepicker": "http://localhost:3001/basiscore.calendar.component.js", + "bc.timepicker": "http://localhost:3002/basiscore.timepicker.js" + }, } diff --git a/server/schemas/answers/1423332.json b/server/schemas/answers/1423332.json index bc3fbb99..049f4e0f 100644 --- a/server/schemas/answers/1423332.json +++ b/server/schemas/answers/1423332.json @@ -142,7 +142,52 @@ ] } ] - } + }, + { + "prpId": 6522, + "answers": [ + { + "id": 39678, + "parts": [ + { + "part": 1, + "values": [ + { + "id": 5, + "value": { + "dateid": 12634, + "mstring": "2024/10/21", + "sstring": "1403/7/30" + } + } + ] + } + ] + } + ] + }, + { + "prpId": 6523, + "answers": [ + { + "id": 39679, + "parts": [ + { + "part": 1, + "values": [ + { + "id": 4, + "value": { + "timeid": 720, + "time": "12:00" + } + } + ] + } + ] + } + ] + } ] } ] diff --git a/server/schemas/questions/1163.json b/server/schemas/questions/1163.json index 1f67e334..86b8183e 100644 --- a/server/schemas/questions/1163.json +++ b/server/schemas/questions/1163.json @@ -173,7 +173,36 @@ "link": "" } ] - } + }, { + "prpId": 6522, + "wordId": 3496, + "title": "تاریخ", + "ord": 0, + "multi": false, + "parts": [ + { + "viewType": "component.calendar.datepicker", + "part": 1, + "options": { + "dateProvider": "basisCalendar" + } + } + ] + }, + { + "prpId": 6523, + "wordId": 4233, + "title": "ساعت", + "ord": 0, + "multi": false, + "parts": [ + { + "viewType": "component.bc.timepicker", + "part": 1, + "options": {} + } + ] + } ] } ]