[NEW][UI] Introduce the Element Plus DatePicker
--- * update import of the handleDatePicker in tiki-offline.php * allow formatting the date in the given format preferences * fix linter * remove the old date picker component * replace occurences of the old date picker component with the new one * remove the customTimezone on the datetime tracker field * Unit test the datePicker handler * Add Tiki-custom date picker hnadling code and adjust the jscalendar function accordingly * fix npm run build:js * unit test the getShortcuts helper * fully test the DatePicker component * add a unit test covering the default props case * implement all necessary datetime picker behavior and value handling logic * Build the date picker component as a separate bundle and not as an integrated part of the non-existent element-plus-ui * use the minified moment-timezone bundle instead of the source code * WIP: Implement Element Plus DatePicker See merge request !6840
parent
bd8f3ceb
No related branches found
No related tags found
Pipeline #1645254412 passed
Stage: build
Stage: lint
Stage: tiki-check
Stage: unit-tests
Stage: package-tiki
Showing
- lib/core/Tracker/Field/DateTime.php 0 additions, 14 deletionslib/core/Tracker/Field/DateTime.php
- lib/core/Tracker/Field/JsCalendar.php 1 addition, 11 deletionslib/core/Tracker/Field/JsCalendar.php
- lib/prefs/short.php 5 additions, 8 deletionslib/prefs/short.php
- lib/smarty_tiki/FunctionHandler/JsCalendar.php 43 additions, 13 deletionslib/smarty_tiki/FunctionHandler/JsCalendar.php
- path_js_importmap_generator.php 1 addition, 2 deletionspath_js_importmap_generator.php
- src/js/jquery-tiki/ui-utils/handleDatePicker.js 41 additions, 0 deletionssrc/js/jquery-tiki/ui-utils/handleDatePicker.js
- src/js/jquery-tiki/ui-utils/helpers.js 31 additions, 0 deletionssrc/js/jquery-tiki/ui-utils/helpers.js
- src/js/jquery-tiki/ui-utils/index.js 1 addition, 0 deletionssrc/js/jquery-tiki/ui-utils/index.js
- src/js/jquery-tiki/ui-utils/tests/handleDatePicker.test.js 189 additions, 0 deletionssrc/js/jquery-tiki/ui-utils/tests/handleDatePicker.test.js
- src/js/vite.config.mjs 6 additions, 6 deletionssrc/js/vite.config.mjs
- src/js/vue-mf/tiki-offline/src/components/Fields/JsCalendar.vue 12 additions, 21 deletions.../vue-mf/tiki-offline/src/components/Fields/JsCalendar.vue
- src/js/vue-mf/tiki-offline/src/store/index.js 1 addition, 1 deletionsrc/js/vue-mf/tiki-offline/src/store/index.js
- src/js/vue-widgets/datetime-picker/package.json 0 additions, 15 deletionssrc/js/vue-widgets/datetime-picker/package.json
- src/js/vue-widgets/datetime-picker/src/App.vue 0 additions, 253 deletionssrc/js/vue-widgets/datetime-picker/src/App.vue
- src/js/vue-widgets/datetime-picker/src/custom.scss 0 additions, 19 deletionssrc/js/vue-widgets/datetime-picker/src/custom.scss
- src/js/vue-widgets/datetime-picker/src/datetime-picker.ce.js 0 additions, 82 deletionssrc/js/vue-widgets/datetime-picker/src/datetime-picker.ce.js
- src/js/vue-widgets/datetime-picker/src/tests/App.test.js 0 additions, 312 deletionssrc/js/vue-widgets/datetime-picker/src/tests/App.test.js
- src/js/vue-widgets/datetime-picker/src/tests/__snapshots__/App.test.js.snap 0 additions, 47 deletions.../datetime-picker/src/tests/__snapshots__/App.test.js.snap
- src/js/vue-widgets/datetime-picker/src/tests/helpers.test.js 0 additions, 118 deletionssrc/js/vue-widgets/datetime-picker/src/tests/helpers.test.js
- src/js/vue-widgets/element-plus-ui/src/components/DatePicker/DatePicker.vue 126 additions, 0 deletions.../element-plus-ui/src/components/DatePicker/DatePicker.vue
Loading
Please register or sign in to comment