├── .babelrc ├── .gitignore ├── .sauce.yml ├── .travis.yml ├── LICENSE ├── README-kor.md ├── README.md ├── build.sh ├── build ├── jsdoc2md.sh └── split.sh ├── dist ├── ax5ui.all.css ├── ax5ui.all.js ├── ax5ui.all.min.js └── ax5ui.all.min.js.map ├── gulpfile.js ├── karma.conf.js ├── package-lock.json ├── package.json ├── src ├── api-tmpl.hbs ├── ax5core │ ├── .sauce.yml │ ├── .travis.yml │ ├── API-ax5-info.md │ ├── API-ax5-mustache.md │ ├── API-ax5-util.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5core.js │ │ ├── ax5core.min.js │ │ └── ax5core.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── _ax5.scss │ │ ├── _bourbon_support.scss │ │ ├── _mixin.scss │ │ ├── ax5-core.js │ │ ├── ax5-def.js │ │ ├── ax5-error-msg.js │ │ ├── ax5-polyfill.js │ │ ├── ax5-ui.js │ │ ├── bootstrap │ │ │ ├── _forms.scss │ │ │ ├── _input-groups.scss │ │ │ ├── _mixins.scss │ │ │ ├── _support_for_ax5.scss │ │ │ ├── _variables.scss │ │ │ └── mixins │ │ │ │ ├── _alerts.scss │ │ │ │ ├── _background-variant.scss │ │ │ │ ├── _border-radius.scss │ │ │ │ ├── _buttons.scss │ │ │ │ ├── _center-block.scss │ │ │ │ ├── _clearfix.scss │ │ │ │ ├── _forms.scss │ │ │ │ ├── _gradients.scss │ │ │ │ ├── _grid-framework.scss │ │ │ │ ├── _grid.scss │ │ │ │ ├── _hide-text.scss │ │ │ │ ├── _image.scss │ │ │ │ ├── _labels.scss │ │ │ │ ├── _list-group.scss │ │ │ │ ├── _nav-divider.scss │ │ │ │ ├── _nav-vertical-align.scss │ │ │ │ ├── _opacity.scss │ │ │ │ ├── _pagination.scss │ │ │ │ ├── _panels.scss │ │ │ │ ├── _progress-bar.scss │ │ │ │ ├── _reset-filter.scss │ │ │ │ ├── _reset-text.scss │ │ │ │ ├── _resize.scss │ │ │ │ ├── _responsive-visibility.scss │ │ │ │ ├── _size.scss │ │ │ │ ├── _tab-focus.scss │ │ │ │ ├── _table-row.scss │ │ │ │ ├── _text-emphasis.scss │ │ │ │ ├── _text-overflow.scss │ │ │ │ └── _vendor-prefixes.scss │ │ └── mustache.js │ └── test │ │ ├── addUI-test.html │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.core.all.html │ │ ├── test.core.date.html │ │ ├── test.core.date.js │ │ ├── test.core.info.html │ │ ├── test.core.info.js │ │ ├── test.core.misc.html │ │ ├── test.core.misc.js │ │ ├── test.core.mustache.html │ │ ├── test.core.mustache.js │ │ ├── test.core.number.html │ │ ├── test.core.number.js │ │ ├── test.core.object.html │ │ ├── test.core.object.js │ │ ├── test.core.string.html │ │ ├── test.core.string.js │ │ ├── test.core.type.html │ │ └── test.core.type.js ├── ax5ui-autocomplete │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5autocomplete.css │ │ ├── ax5autocomplete.js │ │ ├── ax5autocomplete.min.js │ │ └── ax5autocomplete.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5autocomplete.js │ │ ├── ax5autocomplete.scss │ │ ├── modules │ │ │ ├── ax5autocomplete-tmpl.js │ │ │ └── jQuery-extender.js │ │ └── scss │ │ │ ├── _ax5autocomplete.scss │ │ │ └── _ax5autocomplete_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.autocomplere.html │ │ └── test.autocomplere.js ├── ax5ui-binder │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5binder.js │ │ ├── ax5binder.min.js │ │ └── ax5binder.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ └── ax5binder.js │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── plugins │ │ ├── json-pretty.js │ │ └── prettify │ │ │ ├── Apache-License-2.0.txt │ │ │ ├── github.css │ │ │ ├── lang-css.js │ │ │ ├── prettify-jsdoc.css │ │ │ ├── prettify-tomorrow.css │ │ │ ├── prettify.js │ │ │ ├── sons-of-obsidian.css │ │ │ └── sunburst.css │ │ ├── test.binder.html │ │ └── test.binder.js ├── ax5ui-calendar │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5calendar.css │ │ ├── ax5calendar.js │ │ ├── ax5calendar.min.js │ │ └── ax5calendar.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5calendar.js │ │ ├── ax5calendar.scss │ │ ├── modules │ │ │ └── ax5calendar-tmpl.js │ │ └── scss │ │ │ ├── _ax5calendar.scss │ │ │ └── _ax5calendar_variables.scss │ └── test │ │ ├── README.md │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.calendar.html │ │ └── test.calendar.js ├── ax5ui-combobox │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5combobox.css │ │ ├── ax5combobox.js │ │ ├── ax5combobox.min.js │ │ └── ax5combobox.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5combobox.js │ │ ├── ax5combobox.scss │ │ ├── modules │ │ │ ├── ax5combobox-tmpl.js │ │ │ ├── ax5combobox-util.js │ │ │ └── jQuery-extender.js │ │ └── scss │ │ │ ├── _ax5combobox.scss │ │ │ └── _ax5combobox_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── index2.html │ │ ├── index3.html │ │ ├── test.combobox.html │ │ └── test.combobox.js ├── ax5ui-dialog │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5dialog.css │ │ ├── ax5dialog.js │ │ ├── ax5dialog.min.js │ │ └── ax5dialog.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5dialog.js │ │ ├── ax5dialog.scss │ │ ├── modules │ │ │ └── ax5dialog-tmpl.js │ │ └── scss │ │ │ ├── _ax5dialog.scss │ │ │ └── _ax5dialog_variables.scss │ └── test │ │ ├── README.md │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.dialog.html │ │ └── test.dialog.js ├── ax5ui-docker │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5docker.css │ │ ├── ax5docker.js │ │ ├── ax5docker.min.js │ │ └── ax5docker.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5docker.gif │ │ ├── ax5docker.js │ │ ├── ax5docker.scss │ │ ├── modules │ │ │ └── ax5docker-tmpl.js │ │ └── scss │ │ │ ├── _ax5docker.scss │ │ │ └── _ax5docker_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index-label-direction.html │ │ ├── index.html │ │ ├── nested.html │ │ ├── test.docker.html │ │ └── test.docker.js ├── ax5ui-formatter │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5formatter.css │ │ ├── ax5formatter.js │ │ ├── ax5formatter.min.js │ │ └── ax5formatter.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5formatter.js │ │ ├── ax5formatter.scss │ │ ├── modules │ │ │ ├── ax5formatter-formatter.js │ │ │ └── jQuery-extender.js │ │ └── scss │ │ │ ├── _ax5formatter.scss │ │ │ └── _ax5formatter_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.formatter.html │ │ └── test.formatter.js ├── ax5ui-grid │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── design │ │ └── structure.key │ ├── dist │ │ ├── ax5grid.css │ │ ├── ax5grid.js │ │ ├── ax5grid.min.js │ │ └── ax5grid.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5grid.gif │ │ ├── ax5grid.js │ │ ├── ax5grid.scss │ │ ├── modules │ │ │ ├── ax5grid-body.js │ │ │ ├── ax5grid-collector.js │ │ │ ├── ax5grid-data.js │ │ │ ├── ax5grid-excel.js │ │ │ ├── ax5grid-formatter.js │ │ │ ├── ax5grid-header.js │ │ │ ├── ax5grid-inline-editor.js │ │ │ ├── ax5grid-page.js │ │ │ ├── ax5grid-scroller.js │ │ │ ├── ax5grid-tmpl.js │ │ │ └── ax5grid-util.js │ │ └── scss │ │ │ ├── _ax5grid.scss │ │ │ └── _ax5grid_variables.scss │ └── test │ │ ├── bower.json │ │ ├── column-class.html │ │ ├── columns-test.html │ │ ├── context-menu.html │ │ ├── display.html │ │ ├── flex.html │ │ ├── focus-test.html │ │ ├── index.html │ │ ├── index2.html │ │ ├── inline-edit.html │ │ ├── merge-cells.html │ │ ├── onload-test.html │ │ ├── paging.html │ │ ├── php │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── db │ │ │ ├── db.config.php │ │ │ └── sample.db │ │ ├── index.php │ │ ├── json_data.php │ │ ├── lib │ │ │ └── Grid.php │ │ └── views │ │ │ └── grid.php │ │ ├── sort.html │ │ ├── test-data.html │ │ ├── test.grid.html │ │ ├── test.grid.js │ │ └── tree.html ├── ax5ui-layout │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5layout.css │ │ ├── ax5layout.js │ │ ├── ax5layout.min.js │ │ └── ax5layout.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5layout.js │ │ ├── ax5layout.scss │ │ ├── modules │ │ │ └── jQuery-extender.js │ │ └── scss │ │ │ ├── _ax5layout.scss │ │ │ └── _ax5layout_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── nested.html │ │ ├── split-horizontal.html │ │ ├── split-vertical.html │ │ ├── tab.html │ │ ├── test.layout.html │ │ └── test.layout.js ├── ax5ui-mask │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5mask.css │ │ ├── ax5mask.js │ │ ├── ax5mask.min.js │ │ └── ax5mask.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5mask.js │ │ ├── ax5mask.scss │ │ ├── modules │ │ │ └── ax5mask-tmpl.js │ │ └── scss │ │ │ ├── _ax5mask.scss │ │ │ └── _ax5mask_variables.scss │ └── test │ │ ├── README.md │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.mask.html │ │ └── test.mask.js ├── ax5ui-media-viewer │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5media-viewer.css │ │ ├── ax5media-viewer.js │ │ ├── ax5media-viewer.min.js │ │ └── ax5media-viewer.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5media-viewer.js │ │ ├── ax5media-viewer.scss │ │ ├── modules │ │ │ └── ax5media-viewer-tmpl.js │ │ └── scss │ │ │ ├── _ax5media-viewer.scss │ │ │ └── _ax5media-viewer_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.media-viewer.html │ │ └── test.media-viewer.js ├── ax5ui-menu │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5menu.css │ │ ├── ax5menu.js │ │ ├── ax5menu.min.js │ │ └── ax5menu.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5menu.gif │ │ ├── ax5menu.js │ │ ├── ax5menu.scss │ │ ├── modules │ │ │ └── ax5menu-tmpl.js │ │ └── scss │ │ │ ├── _ax5menu.scss │ │ │ └── _ax5menu_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── index2.html │ │ ├── spec.md │ │ ├── test.menu.html │ │ └── test.menu.js ├── ax5ui-modal │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5modal.css │ │ ├── ax5modal.js │ │ ├── ax5modal.min.js │ │ └── ax5modal.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5modal.js │ │ ├── ax5modal.scss │ │ ├── modules │ │ │ └── ax5modal-tmpl.js │ │ └── scss │ │ │ ├── _ax5modal.scss │ │ │ └── _ax5modal_variables.scss │ └── test │ │ ├── README.md │ │ ├── bower.json │ │ ├── index.html │ │ ├── modal-content.html │ │ ├── test.modal.html │ │ └── test.modal.js ├── ax5ui-palette │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5palette.css │ │ ├── ax5palette.js │ │ ├── ax5palette.min.js │ │ └── ax5palette.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5palette.gif │ │ ├── ax5palette.js │ │ ├── ax5palette.scss │ │ ├── modules │ │ │ └── ax5palette-tmpl.js │ │ └── scss │ │ │ ├── _ax5palette.scss │ │ │ └── _ax5palette_variables.scss │ └── test │ │ ├── bower.json │ │ ├── colors.html │ │ ├── index.html │ │ ├── test.palette.html │ │ └── test.palette.js ├── ax5ui-picker │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5picker.css │ │ ├── ax5picker.js │ │ ├── ax5picker.min.js │ │ └── ax5picker.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5picker.js │ │ ├── ax5picker.scss │ │ ├── modules │ │ │ ├── ax5ui-picker-tmpl.js │ │ │ └── jQuery-extender.js │ │ └── scss │ │ │ ├── _ax5picker.scss │ │ │ └── _ax5picker_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── picker-color.html │ │ ├── test.picker.html │ │ └── test.picker.js ├── ax5ui-select │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5select.css │ │ ├── ax5select.js │ │ ├── ax5select.min.js │ │ └── ax5select.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5select.js │ │ ├── ax5select.scss │ │ ├── modules │ │ │ └── ax5select-tmpl.js │ │ └── scss │ │ │ ├── _ax5select.scss │ │ │ └── _ax5select_variables.scss │ └── test │ │ ├── bower.json │ │ ├── index.html │ │ ├── index2.html │ │ ├── input-group.html │ │ ├── option-group.html │ │ ├── search.html │ │ ├── test.select.html │ │ └── test.select.js ├── ax5ui-toast │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5toast.css │ │ ├── ax5toast.js │ │ ├── ax5toast.min.js │ │ └── ax5toast.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5toast.js │ │ ├── ax5toast.scss │ │ ├── modules │ │ │ └── ax5toast-tmpl.js │ │ └── scss │ │ │ ├── _ax5toast.scss │ │ │ └── _ax5toast_variables.scss │ └── test │ │ ├── README.md │ │ ├── bower.json │ │ ├── index.html │ │ ├── test.toast.html │ │ └── test.toast.js ├── ax5ui-uploader │ ├── .travis.yml │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── deploy.sh │ ├── dist │ │ ├── ax5uploader.css │ │ ├── ax5uploader.js │ │ ├── ax5uploader.min.js │ │ └── ax5uploader.min.js.map │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── ax5uploader.gif │ │ ├── ax5uploader.js │ │ ├── ax5uploader.scss │ │ ├── modules │ │ │ └── ax5uploader-tmpl.js │ │ └── scss │ │ │ ├── _ax5uploader.scss │ │ │ └── _ax5uploader_variables.scss │ └── test │ │ ├── api │ │ ├── fileDelete.php │ │ ├── fileListLoad.php │ │ ├── fileUpload.php │ │ └── form.html │ │ ├── bower.json │ │ ├── index.html │ │ ├── index2.html │ │ ├── index3.html │ │ ├── test.uploader.html │ │ ├── test.uploader.js │ │ └── uploaded-box.html ├── favicon.ico └── preview.png ├── test.sh └── test └── README.md /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | node_modules 3 | bower_components 4 | *.marko.js 5 | *.html.js 6 | .idea 7 | *.ignore.js 8 | *.iml 9 | .DS_Store 10 | _git 11 | **/test/bower_components 12 | /src/ax5ui-grid/test/php/vendor 13 | yarn.lock 14 | files 15 | npm-debug.log -------------------------------------------------------------------------------- /.sauce.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: "javascript" 3 | framework: "webdriverio" 4 | configPath: "wdio.conf.js" 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /build/jsdoc2md.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | jsdoc2md "src/ax5ui-layout/dist/ax5layout.js" > src/ax5ui-layout/API.md 3 | jsdoc2md "src/ax5ui-combobox/dist/ax5combobox.js" > src/ax5ui-combobox/API.md 4 | jsdoc2md "src/ax5ui-grid/dist/ax5grid.js" > src/ax5ui-grid/API.md 5 | jsdoc2md "src/ax5ui-binder/dist/ax5binder.js" > src/ax5ui-binder/API.md 6 | jsdoc2md "src/ax5ui-dialog/dist/ax5dialog.js" > src/ax5ui-dialog/API.md 7 | jsdoc2md "src/ax5ui-autocomplete/dist/ax5autocomplete.js" > src/ax5ui-autocomplete/API.md 8 | jsdoc2md "src/ax5ui-uploader/dist/ax5uploader.js" > src/ax5ui-uploader/API.md 9 | jsdoc2md "src/ax5ui-modal/dist/ax5modal.js" > src/ax5ui-modal/API.md 10 | jsdoc2md "src/ax5ui-docker/dist/ax5docker.js" > src/ax5ui-docker/API.md 11 | jsdoc2md "src/ax5ui-palette/dist/ax5palette.js" > src/ax5ui-palette/API.md -------------------------------------------------------------------------------- /build/split.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | git subsplit init git@github.com:ax5ui/ax5ui-kernel.git 4 | git subsplit publish --heads="master" --no-tags src/ax5core:git@github.com:ax5ui/ax5core.git 5 | git subsplit publish --heads="master" --no-tags src/ax5ui-docker:git@github.com:ax5ui/ax5ui-docker.git 6 | git subsplit publish --heads="master" --no-tags src/ax5ui-uploader:git@github.com:ax5ui/ax5ui-uploader.git 7 | git subsplit publish --heads="master" --no-tags src/ax5ui-grid:git@github.com:ax5ui/ax5ui-grid.git 8 | git subsplit publish --heads="master" --no-tags src/ax5ui-dialog:git@github.com:ax5ui/ax5ui-dialog.git 9 | git subsplit publish --heads="master" --no-tags src/ax5ui-toast:git@github.com:ax5ui/ax5ui-toast.git 10 | git subsplit publish --heads="master" --no-tags src/ax5ui-modal:git@github.com:ax5ui/ax5ui-modal.git 11 | git subsplit publish --heads="master" --no-tags src/ax5ui-calendar:git@github.com:ax5ui/ax5ui-calendar.git 12 | git subsplit publish --heads="master" --no-tags src/ax5ui-picker:git@github.com:ax5ui/ax5ui-picker.git 13 | git subsplit publish --heads="master" --no-tags src/ax5ui-formatter:git@github.com:ax5ui/ax5ui-formatter.git 14 | git subsplit publish --heads="master" --no-tags src/ax5ui-menu:git@github.com:ax5ui/ax5ui-menu.git 15 | git subsplit publish --heads="master" --no-tags src/ax5ui-select:git@github.com:ax5ui/ax5ui-select.git 16 | git subsplit publish --heads="master" --no-tags src/ax5ui-media-viewer:git@github.com:ax5ui/ax5ui-media-viewer.git 17 | git subsplit publish --heads="master" --no-tags src/ax5ui-combobox:git@github.com:ax5ui/ax5ui-combobox.git 18 | git subsplit publish --heads="master" --no-tags src/ax5ui-layout:git@github.com:ax5ui/ax5ui-layout.git 19 | git subsplit publish --heads="master" --no-tags src/ax5ui-binder:git@github.com:ax5ui/ax5ui-binder.git 20 | git subsplit publish --heads="master" --no-tags src/ax5ui-autocomplete:git@github.com:ax5ui/ax5ui-autocomplete.git 21 | git subsplit publish --heads="master" --no-tags src/ax5ui-mask:git@github.com:ax5ui/ax5ui-mask.git 22 | rm -rf .subsplit/ -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-kernel", 3 | "version": "1.4.131", 4 | "license": "MIT", 5 | "repository": { 6 | "type": "git", 7 | "url": "git+https://github.com/ax5ui/ax5ui-kernel" 8 | }, 9 | "engines": { 10 | "node": ">=0.10.0" 11 | }, 12 | "scripts": { 13 | "build": "babel src -d lib", 14 | "test": "karma start karma.conf.js", 15 | "postinstall": "./node_modules/.bin/opencollective-postinstall || exit 0" 16 | }, 17 | "devDependencies": { 18 | "ax5core": "", 19 | "babel-cli": "^6.0.0", 20 | "babel-preset-es2015": "", 21 | "bootstrap-sass": "^3.0.0", 22 | "bourbon": "^4.2.6", 23 | "fs-finder": "^1.8.1", 24 | "gulp": "^3.9.1", 25 | "gulp-babel": "^6.1.2", 26 | "gulp-changed": "^2.0.0", 27 | "gulp-clean": "^0.3.2", 28 | "gulp-concat": "^2.6.1", 29 | "gulp-jsdoc-to-markdown": "^1.2.2", 30 | "gulp-jsdoc3": "^1.0.0", 31 | "gulp-json-editor": "^2.2.1", 32 | "gulp-marko-ax5": "^0.4.2", 33 | "gulp-notify": "^3.0.0", 34 | "gulp-plumber": "^1.1.0", 35 | "gulp-rename": "^1.2.2", 36 | "gulp-replace": "^0.5.4", 37 | "gulp-sass": "^2.1.1", 38 | "gulp-shell": "^0.5.2", 39 | "gulp-sourcemaps": "^2.4.1", 40 | "gulp-uglify": "^1.5.1", 41 | "gulp-util": "^2.2.20", 42 | "htmlparser": "^1.7.7", 43 | "jquery": "^3.1.1", 44 | "js-beautify": "^1.5.10", 45 | "karma": "^1.3.0", 46 | "karma-chrome-launcher": "^2.0.0", 47 | "karma-firefox-launcher": "^1.0.0", 48 | "karma-ie-launcher": "^1.0.0", 49 | "karma-mocha": "^1.2.0", 50 | "karma-opera-launcher": "^1.0.0", 51 | "karma-phantomjs-launcher": "^1.0.2", 52 | "karma-safari-launcher": "^1.0.0", 53 | "lodash": "^4.16.2", 54 | "markdown-it": "~5.0.2", 55 | "marko": "^2.8.4", 56 | "mocha": "^3.1.0", 57 | "node-sass": "^3.13.1", 58 | "opencollective-postinstall": "^1.0.15", 59 | "phantomjs-prebuilt": "^2.1.13", 60 | "requirejs": "^2.3.2", 61 | "should": "^11.1.0", 62 | "strip-indent": "^1.0.1", 63 | "version": "^0.1.2", 64 | "webdriverio": "^4.6.1" 65 | }, 66 | "collective": { 67 | "type": "opencollective", 68 | "url": "https://opencollective.com/ax5ui-kernel", 69 | "logo": "https://opencollective.com/opencollective/logo.txt" 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/api-tmpl.hbs: -------------------------------------------------------------------------------- 1 | # API Reference 2 | {{#class~}} 3 | {{>header~}} 4 | {{>body~}} 5 | {{>member-index~}} 6 | {{>members~}} 7 | {{/class}} 8 | 9 | {{#identifier~}} 10 | {{>docs}} 11 | {{/identifier}} -------------------------------------------------------------------------------- /src/ax5core/.sauce.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: "javascript" 3 | framework: "webdriverio" 4 | configPath: "wdio.conf.js" 5 | -------------------------------------------------------------------------------- /src/ax5core/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5core/API-ax5-info.md: -------------------------------------------------------------------------------- 1 | # ax5.info 2 | 3 | ## ax5.info.version 4 | You can **check Version of ax5** by this code. 5 | ```js 6 | console.log(ax5.info.version); 7 | ``` 8 | --- 9 | ## ax5.info.eventKeys 10 | **Key map _ eventKeys object.** 11 | ```js 12 | console.log(ax5.info.eventKeys); 13 | /* 14 | { "BACKSPACE": 8, "TAB": 9, "RETURN": 13, "ESC": 27, "LEFT": 37, "UP": 38, "RIGHT": 39, "DOWN": 40, "DELETE": 15 | 46, "HOME": 36, "END": 35, "PAGEUP": 33, "PAGEDOWN": 34, "INSERT": 45, "SPACE": 32 } 16 | */ 17 | ``` 18 | --- 19 | ## ax5.info.browser 20 | You can **check user browser information** by this code. 21 | ```js 22 | console.log(ax5.info.browser); 23 | // {"name": "chrome", "version": "46.0.2490.86", "mobile": } 24 | ``` 25 | --- 26 | ## ax5.info.urlUtil 27 | You can **check current page's URL Infomation** by this code. 28 | ```js 29 | console.log(ax5.info.urlUtil()); 30 | /* 31 | { 32 | "href":"http://ax5ui:2028/ax5core/info/ax5-info.html", 33 | "param":"", 34 | "referrer":"http://ax5ui:2028/ax5core/util/ax5-util.html", 35 | "pathname":"/ax5core/info/ax5-info.html", 36 | "hostname":"ax5ui", 37 | "port":"2028", 38 | "url":"http://ax5ui:2028/ax5core/info/ax5-info.html", 39 | "baseUrl":"http://ax5ui:2028" 40 | } 41 | */ 42 | ``` 43 | --- 44 | ## ax5.info.errorMsg 45 | You can **customize the error message** by this code, When an error occurs in the UI Class. 46 | ```js 47 | // reset user error message 48 | ax5.info.errorMsg["UI name"]["100"] = "my error 100"; 49 | ax5.info.errorMsg["UI name"]["200"] = "my error 200"; 50 | 51 | // or reset all 52 | ax5.info.errorMsg["UI name"] = { 53 | "100": "is 100 error", 54 | "200": "is 200 error" 55 | }; 56 | ``` 57 | --- 58 | ## ax5.info.ETC 59 | ```js 60 | ax5.info.isBrowser; // is borwser ? 61 | ax5.info.wheelEnm; // Current browser whell event name 62 | console.log(ax5.info.weekNames); 63 | /* 64 | [ 65 | {label: "SUN"}, 66 | {label: "MON"}, 67 | {label: "TUE"}, 68 | {label: "WED"}, 69 | {label: "THU"}, 70 | {label: "FRI"}, 71 | {label: "SAT"} 72 | ] 73 | */ 74 | ``` 75 | --- 76 | ## ax5.info.supportTouch 77 | ```js 78 | console.log(ax5.info.supportTouch); 79 | // false 80 | ``` -------------------------------------------------------------------------------- /src/ax5core/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5core/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5core", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "`ax5core` is a collection of utility functions that have been designed for use in ax5ui", 8 | "main": "dist/ax5core.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "ax5core", 16 | "javascript ui" 17 | ], 18 | "dependencies": { 19 | "jquery": "" 20 | }, 21 | "devDependencies": {}, 22 | "license": "MIT", 23 | "homepage": "ax5.io" 24 | } -------------------------------------------------------------------------------- /src/ax5core/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true -------------------------------------------------------------------------------- /src/ax5core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5core", 3 | "version": "1.4.131", 4 | "description": "ax5core is a collection of utility functions that have been designed for use in ax5ui", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5core" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "scripts": { 16 | "test": "karma start karma.conf.js" 17 | }, 18 | "keywords": [], 19 | "devDependencies": { 20 | "karma": "^1.3.0", 21 | "karma-mocha": "^1.2.0", 22 | "karma-phantomjs-launcher": "^1.0.2", 23 | "mocha": "^3.1.0", 24 | "phantomjs-prebuilt": "^2.1.13", 25 | "webdriverio": "^4.6.1" 26 | } 27 | } -------------------------------------------------------------------------------- /src/ax5core/src/_ax5.scss: -------------------------------------------------------------------------------- 1 | @import "bourbon_support"; 2 | @import "mixin"; 3 | @import "bootstrap/support_for_ax5"; 4 | -------------------------------------------------------------------------------- /src/ax5core/src/ax5-def.js: -------------------------------------------------------------------------------- 1 | ax5.def = {}; -------------------------------------------------------------------------------- /src/ax5core/src/ax5-error-msg.js: -------------------------------------------------------------------------------- 1 | ax5.info.errorMsg["ax5dialog"] = { 2 | "501": "Duplicate call error" 3 | }; 4 | 5 | ax5.info.errorMsg["ax5picker"] = { 6 | "401": "Can not find target element", 7 | "402": "Can not find boundID", 8 | "501": "Can not find content key" 9 | }; 10 | 11 | ax5.info.errorMsg["single-uploader"] = { 12 | "460": "There are no files to be uploaded.", 13 | "461": "There is no uploaded files." 14 | }; 15 | 16 | ax5.info.errorMsg["ax5calendar"] = { 17 | "401": "Can not find target element" 18 | }; 19 | 20 | ax5.info.errorMsg["ax5formatter"] = { 21 | "401": "Can not find target element", 22 | "402": "Can not find boundID", 23 | "501": "Can not find pattern" 24 | }; 25 | 26 | ax5.info.errorMsg["ax5menu"] = { 27 | "501": "Can not find menu item" 28 | }; 29 | 30 | ax5.info.errorMsg["ax5select"] = { 31 | "401": "Can not find target element", 32 | "402": "Can not find boundID", 33 | "501": "Can not find option" 34 | }; 35 | 36 | ax5.info.errorMsg["ax5combobox"] = { 37 | "401": "Can not find target element", 38 | "402": "Can not find boundID", 39 | "501": "Can not find option" 40 | }; -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | 4 | // Utilities 5 | @import "mixins/hide-text"; 6 | @import "mixins/opacity"; 7 | @import "mixins/image"; 8 | @import "mixins/labels"; 9 | @import "mixins/reset-filter"; 10 | @import "mixins/resize"; 11 | @import "mixins/responsive-visibility"; 12 | @import "mixins/size"; 13 | @import "mixins/tab-focus"; 14 | @import "mixins/reset-text"; 15 | @import "mixins/text-emphasis"; 16 | @import "mixins/text-overflow"; 17 | @import "mixins/vendor-prefixes"; 18 | 19 | // Components 20 | @import "mixins/alerts"; 21 | @import "mixins/buttons"; 22 | @import "mixins/panels"; 23 | @import "mixins/pagination"; 24 | @import "mixins/list-group"; 25 | @import "mixins/nav-divider"; 26 | @import "mixins/forms"; 27 | @import "mixins/progress-bar"; 28 | @import "mixins/table-row"; 29 | 30 | // Skins 31 | @import "mixins/background-variant"; 32 | @import "mixins/border-radius"; 33 | @import "mixins/gradients"; 34 | 35 | // Layout 36 | @import "mixins/clearfix"; 37 | @import "mixins/center-block"; 38 | @import "mixins/nav-vertical-align"; 39 | @import "mixins/grid-framework"; 40 | @import "mixins/grid"; 41 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/_support_for_ax5.scss: -------------------------------------------------------------------------------- 1 | @import "variables"; 2 | @import "mixins"; 3 | 4 | @import "forms"; 5 | @import "input-groups"; -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_alerts.scss: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | @mixin alert-variant($background, $border, $text-color) { 4 | background-color: $background; 5 | border-color: $border; 6 | color: $text-color; 7 | 8 | hr { 9 | border-top-color: darken($border, 5%); 10 | } 11 | .alert-link { 12 | color: darken($text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_background-variant.scss: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | // [converter] $parent hack 4 | @mixin bg-variant($parent, $color) { 5 | #{$parent} { 6 | background-color: $color; 7 | } 8 | a#{$parent}:hover, 9 | a#{$parent}:focus { 10 | background-color: darken($color, 10%); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_border-radius.scss: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | @mixin border-top-radius($radius) { 4 | border-top-right-radius: $radius; 5 | border-top-left-radius: $radius; 6 | } 7 | @mixin border-right-radius($radius) { 8 | border-bottom-right-radius: $radius; 9 | border-top-right-radius: $radius; 10 | } 11 | @mixin border-bottom-radius($radius) { 12 | border-bottom-right-radius: $radius; 13 | border-bottom-left-radius: $radius; 14 | } 15 | @mixin border-left-radius($radius) { 16 | border-bottom-left-radius: $radius; 17 | border-top-left-radius: $radius; 18 | } 19 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_buttons.scss: -------------------------------------------------------------------------------- 1 | // Button variants 2 | // 3 | // Easily pump out default styles, as well as :hover, :focus, :active, 4 | // and disabled options for all buttons 5 | 6 | @mixin button-variant($color, $background, $border) { 7 | color: $color; 8 | background-color: $background; 9 | border-color: $border; 10 | 11 | &:focus, 12 | &.focus { 13 | color: $color; 14 | background-color: darken($background, 10%); 15 | border-color: darken($border, 25%); 16 | } 17 | &:hover { 18 | color: $color; 19 | background-color: darken($background, 10%); 20 | border-color: darken($border, 12%); 21 | } 22 | &:active, 23 | &.active, 24 | .open > &.dropdown-toggle { 25 | color: $color; 26 | background-color: darken($background, 10%); 27 | border-color: darken($border, 12%); 28 | 29 | &:hover, 30 | &:focus, 31 | &.focus { 32 | color: $color; 33 | background-color: darken($background, 17%); 34 | border-color: darken($border, 25%); 35 | } 36 | } 37 | &:active, 38 | &.active, 39 | .open > &.dropdown-toggle { 40 | background-image: none; 41 | } 42 | &.disabled, 43 | &[disabled], 44 | fieldset[disabled] & { 45 | &:hover, 46 | &:focus, 47 | &.focus { 48 | background-color: $background; 49 | border-color: $border; 50 | } 51 | } 52 | 53 | .badge { 54 | color: $background; 55 | background-color: $color; 56 | } 57 | } 58 | 59 | // Button sizes 60 | @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { 61 | padding: $padding-vertical $padding-horizontal; 62 | font-size: $font-size; 63 | line-height: $line-height; 64 | border-radius: $border-radius; 65 | } 66 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_center-block.scss: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | @mixin center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | @mixin clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_hide-text.scss: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | // 3 | // Heads up! v3 launched with only `.hide-text()`, but per our pattern for 4 | // mixins being reused as classes with the same name, this doesn't hold up. As 5 | // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. 6 | // 7 | // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 8 | 9 | // Deprecated as of v3.0.1 (has been removed in v4) 10 | @mixin hide-text() { 11 | font: 0/0 a; 12 | color: transparent; 13 | text-shadow: none; 14 | background-color: transparent; 15 | border: 0; 16 | } 17 | 18 | // New mixin to use as of v3.0.1 19 | @mixin text-hide() { 20 | @include hide-text; 21 | } 22 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_image.scss: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | @mixin img-responsive($display: block) { 10 | display: $display; 11 | max-width: 100%; // Part 1: Set a maximum relative to the parent 12 | height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching 13 | } 14 | 15 | 16 | // Retina image 17 | // 18 | // Short retina mixin for setting background-image and -size. Note that the 19 | // spelling of `min--moz-device-pixel-ratio` is intentional. 20 | @mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) { 21 | background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}")); 22 | 23 | @media 24 | only screen and (-webkit-min-device-pixel-ratio: 2), 25 | only screen and ( min--moz-device-pixel-ratio: 2), 26 | only screen and ( -o-min-device-pixel-ratio: 2/1), 27 | only screen and ( min-device-pixel-ratio: 2), 28 | only screen and ( min-resolution: 192dpi), 29 | only screen and ( min-resolution: 2dppx) { 30 | background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-2x}"), "#{$file-2x}")); 31 | background-size: $width-1x $height-1x; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_labels.scss: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | @mixin label-variant($color) { 4 | background-color: $color; 5 | 6 | &[href] { 7 | &:hover, 8 | &:focus { 9 | background-color: darken($color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_list-group.scss: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | @mixin list-group-item-variant($state, $background, $color) { 4 | .list-group-item-#{$state} { 5 | color: $color; 6 | background-color: $background; 7 | 8 | // [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state} 9 | } 10 | 11 | a.list-group-item-#{$state}, 12 | button.list-group-item-#{$state} { 13 | color: $color; 14 | 15 | .list-group-item-heading { 16 | color: inherit; 17 | } 18 | 19 | &:hover, 20 | &:focus { 21 | color: $color; 22 | background-color: darken($background, 5%); 23 | } 24 | &.active, 25 | &.active:hover, 26 | &.active:focus { 27 | color: #fff; 28 | background-color: $color; 29 | border-color: $color; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_nav-divider.scss: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | @mixin nav-divider($color: #e5e5e5) { 6 | height: 1px; 7 | margin: (($line-height-computed / 2) - 1) 0; 8 | overflow: hidden; 9 | background-color: $color; 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_nav-vertical-align.scss: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | @mixin navbar-vertical-align($element-height) { 7 | margin-top: (($navbar-height - $element-height) / 2); 8 | margin-bottom: (($navbar-height - $element-height) / 2); 9 | } 10 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_opacity.scss: -------------------------------------------------------------------------------- 1 | // Opacity 2 | 3 | @mixin opacity($opacity) { 4 | opacity: $opacity; 5 | // IE8 filter 6 | $opacity-ie: ($opacity * 100); 7 | filter: alpha(opacity=$opacity-ie); 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { 4 | > li { 5 | > a, 6 | > span { 7 | padding: $padding-vertical $padding-horizontal; 8 | font-size: $font-size; 9 | line-height: $line-height; 10 | } 11 | &:first-child { 12 | > a, 13 | > span { 14 | @include border-left-radius($border-radius); 15 | } 16 | } 17 | &:last-child { 18 | > a, 19 | > span { 20 | @include border-right-radius($border-radius); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_panels.scss: -------------------------------------------------------------------------------- 1 | // Panels 2 | 3 | @mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) { 4 | border-color: $border; 5 | 6 | & > .panel-heading { 7 | color: $heading-text-color; 8 | background-color: $heading-bg-color; 9 | border-color: $heading-border; 10 | 11 | + .panel-collapse > .panel-body { 12 | border-top-color: $border; 13 | } 14 | .badge { 15 | color: $heading-bg-color; 16 | background-color: $heading-text-color; 17 | } 18 | } 19 | & > .panel-footer { 20 | + .panel-collapse > .panel-body { 21 | border-bottom-color: $border; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_progress-bar.scss: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | @mixin progress-bar-variant($color) { 4 | background-color: $color; 5 | 6 | // Deprecated parent class requirement as of v3.2.0 7 | .progress-striped & { 8 | @include gradient-striped; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_reset-filter.scss: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9 and below. 5 | 6 | @mixin reset-filter() { 7 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text() { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size. 4 | font-style: normal; 5 | font-weight: normal; 6 | letter-spacing: normal; 7 | line-break: auto; 8 | line-height: $line-height-base; 9 | text-align: left; // Fallback for where `start` is not supported 10 | text-align: start; 11 | text-decoration: none; 12 | text-shadow: none; 13 | text-transform: none; 14 | white-space: normal; 15 | word-break: normal; 16 | word-spacing: normal; 17 | word-wrap: normal; 18 | } 19 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | resize: $direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_responsive-visibility.scss: -------------------------------------------------------------------------------- 1 | // Responsive utilities 2 | 3 | // 4 | // More easily include all the states for responsive-utilities.less. 5 | // [converter] $parent hack 6 | @mixin responsive-visibility($parent) { 7 | #{$parent} { 8 | display: block !important; 9 | } 10 | table#{$parent} { display: table !important; } 11 | tr#{$parent} { display: table-row !important; } 12 | th#{$parent}, 13 | td#{$parent} { display: table-cell !important; } 14 | } 15 | 16 | // [converter] $parent hack 17 | @mixin responsive-invisibility($parent) { 18 | #{$parent} { 19 | display: none !important; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_size.scss: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | @mixin size($width, $height) { 4 | width: $width; 5 | height: $height; 6 | } 7 | 8 | @mixin square($size) { 9 | @include size($size, $size); 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_tab-focus.scss: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | @mixin tab-focus() { 4 | // WebKit-specific. Other browsers will keep their default outline style. 5 | // (Initially tried to also force default via `outline: initial`, 6 | // but that seems to erroneously remove the outline in Firefox altogether.) 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_table-row.scss: -------------------------------------------------------------------------------- 1 | // Tables 2 | 3 | @mixin table-row-variant($state, $background) { 4 | // Exact selectors below required to override `.table-striped` and prevent 5 | // inheritance to nested tables. 6 | .table > thead > tr, 7 | .table > tbody > tr, 8 | .table > tfoot > tr { 9 | > td.#{$state}, 10 | > th.#{$state}, 11 | &.#{$state} > td, 12 | &.#{$state} > th { 13 | background-color: $background; 14 | } 15 | } 16 | 17 | // Hover states for `.table-hover` 18 | // Note: this is not available for cells or rows within `thead` or `tfoot`. 19 | .table-hover > tbody > tr { 20 | > td.#{$state}:hover, 21 | > th.#{$state}:hover, 22 | &.#{$state}:hover > td, 23 | &:hover > .#{$state}, 24 | &.#{$state}:hover > th { 25 | background-color: darken($background, 5%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_text-emphasis.scss: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | // [converter] $parent hack 4 | @mixin text-emphasis-variant($parent, $color) { 5 | #{$parent} { 6 | color: $color; 7 | } 8 | a#{$parent}:hover, 9 | a#{$parent}:focus { 10 | color: darken($color, 10%); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5core/src/bootstrap/mixins/_text-overflow.scss: -------------------------------------------------------------------------------- 1 | // Text overflow 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-overflow() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5core/test/addUI-test.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | Title 12 | 13 | 14 | 15 | 16 | 17 | 18 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /src/ax5core/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0" 5 | }, 6 | "devDependencies": { 7 | "lodash": "^4.16.1", 8 | "should": "^11.1.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.all.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5core TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.date.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5core ax5.util Date TESTING 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.info.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util INFO testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.misc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util MISC testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.mustache.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5 MUSTACHE testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.mustache.js: -------------------------------------------------------------------------------- 1 | describe('ax5.mustache TEST', function() { 2 | it('ax5.mustache.render Object TEST', function() { 3 | var template = '{{title}} spends {{calc}}'; 4 | var view = { 5 | title: 'Joe', 6 | calc: function () { 7 | return 2 + 4; 8 | } 9 | }; 10 | var actual = ax5.mustache.render(template, view); 11 | 12 | actual.should.equal('Joe spends 6'); 13 | }); 14 | 15 | it('ax5.mustache.render Array TEST', function() { 16 | var template = '{{#beatles}}\n* {{firstName}} {{lastName}} ({{@i}}) ({{@first}})\n{{/beatles}}'; 17 | var view = { 18 | "beatles": [ 19 | { "firstName": "John", "lastName": "Lennon" }, 20 | { "firstName": "Paul", "lastName": "McCartney" }, 21 | { "firstName": "George", "lastName": "Harrison" }, 22 | { "firstName": "Ringo", "lastName": "Star" } 23 | ] 24 | }; 25 | var actual = ax5.mustache.render(template, view); 26 | 27 | actual.should.equal('* John Lennon (0) (true)\n* Paul McCartney (1) (false)\n* George Harrison (2) (false)\n* Ringo Star (3) (false)\n'); 28 | }); 29 | 30 | it('ax5.mustache.render Object.@each TEST', function() { 31 | var template = '{{#beatles}}\n{{#@each}}\n* {{@key}} : {{@value.firstName}} {{@value.lastName}}\n{{/@each}}\n{{/beatles}}'; 32 | var view = { 33 | "beatles": { 34 | "John": {"firstName": "John", "lastName": "Lennon"}, 35 | "Paul": {"firstName": "Paul", "lastName": "McCartney"}, 36 | "George": {"firstName": "George", "lastName": "Harrison"}, 37 | "Ringo": {"firstName": "Ringo", "lastName": "Star"} 38 | } 39 | } 40 | var actual = ax5.mustache.render(template, view); 41 | 42 | actual.should.equal('* John : John Lennon\n* Paul : Paul McCartney\n* George : George Harrison\n* Ringo : Ringo Star\n'); 43 | }); 44 | }); 45 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.number.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util TYPE testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.object.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5core ax5.util Object TESTING 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.string.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util TYPE testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/ax5core/test/test.core.type.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util TYPE testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-autocomplete", 3 | "version": "1.4.131", 4 | "description": "A autocomplete plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5autocomplete.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "autocomplete", 16 | "ax5ui-autocomplete", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-autocomplete", 3 | "version": "1.4.131", 4 | "description": "A autocomplete plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-autocomplete" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "autocomplete", 22 | "ax5ui-autocomplete", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/src/ax5autocomplete.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5autocomplete_variables"; 4 | @import "scss/ax5autocomplete"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-autocomplete-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "ax5ui-calendar": ">=1.3.0", 8 | "ax5ui-formatter": ">=1.3.0", 9 | "bootstrap": "^3.3.6", 10 | "font-awesome": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5ui-autocomplete/test/test.autocomplere.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/ax5ui-binder/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-binder/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-binder/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-binder", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "Simple 2way binder plugin that works with Bootstrap & jQuery", 8 | "main": "dist/ax5binder.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "binder", 16 | "ax5ui-binder", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-binder/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-binder/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-binder", 3 | "version": "1.4.131", 4 | "description": "Simple 2way binder plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-binder" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "binder", 22 | "ax5ui-binder", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-binder/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5ui-binder/test/plugins/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /src/ax5ui-binder/test/plugins/prettify/prettify-jsdoc.css: -------------------------------------------------------------------------------- 1 | /* JSDoc prettify.js theme */ 2 | 3 | /* plain text */ 4 | .pln { 5 | color: #000000; 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | /* string content */ 11 | .str { 12 | color: #006400; 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | 17 | /* a keyword */ 18 | .kwd { 19 | color: #000000; 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | /* a comment */ 25 | .com { 26 | font-weight: normal; 27 | font-style: italic; 28 | } 29 | 30 | /* a type name */ 31 | .typ { 32 | color: #000000; 33 | font-weight: normal; 34 | font-style: normal; 35 | } 36 | 37 | /* a literal value */ 38 | .lit { 39 | color: #006400; 40 | font-weight: normal; 41 | font-style: normal; 42 | } 43 | 44 | /* punctuation */ 45 | .pun { 46 | color: #000000; 47 | font-weight: bold; 48 | font-style: normal; 49 | } 50 | 51 | /* lisp open bracket */ 52 | .opn { 53 | color: #000000; 54 | font-weight: bold; 55 | font-style: normal; 56 | } 57 | 58 | /* lisp close bracket */ 59 | .clo { 60 | color: #000000; 61 | font-weight: bold; 62 | font-style: normal; 63 | } 64 | 65 | /* a markup tag name */ 66 | .tag { 67 | color: #006400; 68 | font-weight: normal; 69 | font-style: normal; 70 | } 71 | 72 | /* a markup attribute name */ 73 | .atn { 74 | color: #006400; 75 | font-weight: normal; 76 | font-style: normal; 77 | } 78 | 79 | /* a markup attribute value */ 80 | .atv { 81 | color: #006400; 82 | font-weight: normal; 83 | font-style: normal; 84 | } 85 | 86 | /* a declaration */ 87 | .dec { 88 | color: #000000; 89 | font-weight: bold; 90 | font-style: normal; 91 | } 92 | 93 | /* a variable name */ 94 | .var { 95 | color: #000000; 96 | font-weight: normal; 97 | font-style: normal; 98 | } 99 | 100 | /* a function name */ 101 | .fun { 102 | color: #000000; 103 | font-weight: bold; 104 | font-style: normal; 105 | } 106 | 107 | /* Specify class=linenums on a pre to get line numbering */ 108 | ol.linenums { 109 | margin-top: 0; 110 | margin-bottom: 0; 111 | } 112 | -------------------------------------------------------------------------------- /src/ax5ui-binder/test/plugins/prettify/sons-of-obsidian.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Derived from einaros's Sons of Obsidian theme at 3 | * http://studiostyl.es/schemes/son-of-obsidian by 4 | * Alex Ford of CodeTunnel: 5 | * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme 6 | */ 7 | 8 | .str 9 | { 10 | color: #EC7600; 11 | } 12 | .kwd 13 | { 14 | color: #93C763; 15 | } 16 | .com 17 | { 18 | color: #66747B; 19 | } 20 | .typ 21 | { 22 | color: #678CB1; 23 | } 24 | .lit 25 | { 26 | color: #FACD22; 27 | } 28 | .pun 29 | { 30 | color: #F1F2F3; 31 | } 32 | .pln 33 | { 34 | color: #F1F2F3; 35 | } 36 | .tag 37 | { 38 | color: #8AC763; 39 | } 40 | .atn 41 | { 42 | color: #E0E2E4; 43 | } 44 | .atv 45 | { 46 | color: #EC7600; 47 | } 48 | .dec 49 | { 50 | color: purple; 51 | } 52 | pre.prettyprint 53 | { 54 | border: 0px solid #888; 55 | } 56 | ol.linenums 57 | { 58 | margin-top: 0; 59 | margin-bottom: 0; 60 | } 61 | .prettyprint { 62 | background: #000; 63 | } 64 | li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 65 | { 66 | color: #555; 67 | list-style-type: decimal; 68 | } 69 | li.L1, li.L3, li.L5, li.L7, li.L9 { 70 | background: #111; 71 | } 72 | @media print 73 | { 74 | .str 75 | { 76 | color: #060; 77 | } 78 | .kwd 79 | { 80 | color: #006; 81 | font-weight: bold; 82 | } 83 | .com 84 | { 85 | color: #600; 86 | font-style: italic; 87 | } 88 | .typ 89 | { 90 | color: #404; 91 | font-weight: bold; 92 | } 93 | .lit 94 | { 95 | color: #044; 96 | } 97 | .pun 98 | { 99 | color: #440; 100 | } 101 | .pln 102 | { 103 | color: #000; 104 | } 105 | .tag 106 | { 107 | color: #006; 108 | font-weight: bold; 109 | } 110 | .atn 111 | { 112 | color: #404; 113 | } 114 | .atv 115 | { 116 | color: #060; 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /src/ax5ui-binder/test/plugins/prettify/sunburst.css: -------------------------------------------------------------------------------- 1 | /* Pretty printing styles. Used with prettify.js. */ 2 | /* Vim sunburst theme by David Leibovic */ 3 | 4 | pre .str, code .str { color: #65B042; } /* string - green */ 5 | pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */ 6 | pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */ 7 | pre .typ, code .typ { color: #89bdff; } /* type - light blue */ 8 | pre .lit, code .lit { color: #3387CC; } /* literal - blue */ 9 | pre .pun, code .pun { color: #fff; } /* punctuation - white */ 10 | pre .pln, code .pln { color: #fff; } /* plaintext - white */ 11 | pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */ 12 | pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */ 13 | pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */ 14 | pre .dec, code .dec { color: #3387CC; } /* decimal - blue */ 15 | 16 | pre.prettyprint, code.prettyprint { 17 | background-color: #000; 18 | -moz-border-radius: 8px; 19 | -webkit-border-radius: 8px; 20 | -o-border-radius: 8px; 21 | -ms-border-radius: 8px; 22 | -khtml-border-radius: 8px; 23 | border-radius: 8px; 24 | } 25 | 26 | pre.prettyprint { 27 | width: 95%; 28 | margin: 1em auto; 29 | padding: 1em; 30 | white-space: pre-wrap; 31 | } 32 | 33 | 34 | /* Specify class=linenums on a pre to get line numbering */ 35 | ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */ 36 | li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none } 37 | /* Alternate shading for lines */ 38 | li.L1,li.L3,li.L5,li.L7,li.L9 { } 39 | 40 | @media print { 41 | pre .str, code .str { color: #060; } 42 | pre .kwd, code .kwd { color: #006; font-weight: bold; } 43 | pre .com, code .com { color: #600; font-style: italic; } 44 | pre .typ, code .typ { color: #404; font-weight: bold; } 45 | pre .lit, code .lit { color: #044; } 46 | pre .pun, code .pun { color: #440; } 47 | pre .pln, code .pln { color: #000; } 48 | pre .tag, code .tag { color: #006; font-weight: bold; } 49 | pre .atn, code .atn { color: #404; } 50 | pre .atv, code .atv { color: #060; } 51 | } 52 | -------------------------------------------------------------------------------- /src/ax5ui-binder/test/test.binder.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/ax5ui-calendar/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-calendar/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-calendar/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-calendar", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "", 8 | "main": "dist/ax5calendar.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "calendar", 16 | "ax5ui-calendar", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-calendar/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-calendar/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-calendar", 3 | "version": "1.4.131", 4 | "description": "A calendar plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-calendar" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "calendar", 22 | "ax5ui-calendar", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-calendar/src/ax5calendar.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5calendar_variables"; 4 | @import "scss/ax5calendar"; -------------------------------------------------------------------------------- /src/ax5ui-calendar/src/scss/_ax5calendar_variables.scss: -------------------------------------------------------------------------------- 1 | 2 | //============== 3 | //== calendar 4 | $ax5calendar-control-bg: ($panel-default-heading-bg) !default; // color, (color1, color2), (pos, color1, color2) 모두 사용가능 5 | $ax5calendar-control-border: 1px solid $panel-default-border !default; 6 | $ax5calendar-control-border-radius: 5px !default; 7 | $ax5calendar-control-font-size: ceil(($font-size-base * 1.25)) !default; 8 | $ax5calendar-control-text-color: $panel-default-text !default; 9 | $ax5calendar-control-hover-text-color: $brand-primary !default; 10 | $ax5calendar-control-padding: 0 !default; 11 | 12 | $ax5calendar-header-bg: (#FFFFFF, #FFFFFF) !default; 13 | $ax5calendar-header-border: 0px none !default; 14 | $ax5calendar-header-padding: 0px 2px !default; 15 | $ax5calendar-header-font-size: ceil(($font-size-base * 0.8)) !default; 16 | 17 | $ax5calendar-body-bg: (#FFFFFF, #FFFFFF) !default; 18 | $ax5calendar-body-border: 0px none !default; 19 | $ax5calendar-body-font-size: ceil(($font-size-base * 1)) !default; 20 | $ax5calendar-body-animation-in: ax5-ui-calendar-fadein !default; 21 | $ax5calendar-body-animation-out: ax5-ui-calendar-fadeout !default; 22 | 23 | $ax5calendar-sun-text-color: #C78B81 !default; 24 | $ax5calendar-sat-text-color: #32B4DC !default; 25 | 26 | $ax5calendar-date-bg: (#FFFFFF, #FFFFFF) !default; 27 | $ax5calendar-date-text-color: #C3C4C6 !default; 28 | $ax5calendar-live-bg: (#F0F0F0, #F0F0F0) !default; 29 | $ax5calendar-live-text-color: #6D6E70 !default; 30 | $ax5calendar-hover-bg: (#32B4DC, #32B4DC) !default; 31 | $ax5calendar-hover-text-color: #fff !default; 32 | $ax5calendar-focus-bg: (#E67241, #E67241) !default; 33 | $ax5calendar-focus-text-color: #fff !default; 34 | $ax5calendar-period-bg: (#82d3fa, #82d3fa) !default; 35 | $ax5calendar-period-text-color: #fff !default; 36 | 37 | 38 | $ax5calendar-item-day-radius: 5px !default; 39 | $ax5calendar-item-month-radius: 5px !default; 40 | $ax5calendar-item-year-radius: 5px !default; -------------------------------------------------------------------------------- /src/ax5ui-calendar/test/README.md: -------------------------------------------------------------------------------- 1 | # STEP 01 2 | ``` 3 | $ bower install 4 | ``` 5 | `test/bower_components` folder is created, plug-ins required will be downloaded. 6 | 7 | # STEP 02 8 | It'll add the plugin resources to html> head. 9 | ```html 10 | 11 | 12 | 13 | 14 | Title 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /src/ax5ui-calendar/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "bootstrap": "^3.3.6", 8 | "font-awesome": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-calendar/test/test.calendar.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util calendar testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/ax5ui-combobox/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-combobox/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-combobox/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-combobox", 3 | "version": "1.4.131", 4 | "description": "A combobox plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5combobox.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "combobox", 16 | "ax5ui-combobox", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-combobox/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-combobox/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-combobox", 3 | "version": "1.4.131", 4 | "description": "A combobox plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-combobox" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "combobox", 22 | "ax5ui-combobox", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-combobox/src/ax5combobox.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5combobox_variables"; 4 | @import "scss/ax5combobox"; -------------------------------------------------------------------------------- /src/ax5ui-combobox/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "ax5ui-calendar": ">=1.3.0", 8 | "ax5ui-formatter": ">=1.3.0", 9 | "bootstrap": "^3.3.6", 10 | "font-awesome": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5ui-combobox/test/test.combobox.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/ax5ui-dialog/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-dialog/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-dialog/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog", 3 | "version": "1.4.131", 4 | "description": "A dialog plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5dialog.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "dialog", 16 | "ax5ui-dialog", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-dialog/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-dialog/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog", 3 | "version": "1.4.131", 4 | "description": "A dialog plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-dialog" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "scripts": { 16 | "test": "karma start karma.conf.js" 17 | }, 18 | "keywords": [ 19 | "bootstrap", 20 | "jquery", 21 | "ax5ui", 22 | "plugin", 23 | "bootstrap jQuery plugins", 24 | "dialog", 25 | "ax5ui-dialog", 26 | "javascript ui" 27 | ], 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-dialog/src/ax5dialog.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5dialog_variables"; 4 | @import "scss/ax5dialog"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-dialog/src/modules/ax5dialog-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.dialog.tmpl 2 | (function () { 3 | 4 | var DIALOG = ax5.ui.dialog; 5 | 6 | var dialogDisplay = function(columnKeys) { 7 | return ` 8 |
9 |
10 | {{{title}}} 11 |
12 |
13 |
{{{msg}}}
14 | 15 | {{#input}} 16 |
17 | {{#@each}} 18 |
19 | {{#@value.label}} 20 | 21 | {{/@value.label}} 22 | 23 | {{#@value.help}} 24 |

{{#_crlf}}{{.}}{{/_crlf}}

25 | {{/@value.help}} 26 |
27 | {{/@each}} 28 |
29 | {{/input}} 30 | 31 |
32 |
33 | {{#btns}} 34 | {{#@each}} 35 | 36 | {{/@each}} 37 | {{/btns}} 38 |
39 |
40 | 41 | {{#additionalContent}} 42 |
{{{.}}}
43 | {{/additionalContent}} 44 |
45 |
46 | `; 47 | }; 48 | 49 | DIALOG.tmpl = { 50 | "dialogDisplay": dialogDisplay, 51 | get: function (tmplName, data, columnKeys) { 52 | return ax5.mustache.render(DIALOG.tmpl[tmplName].call(this, columnKeys), data); 53 | } 54 | }; 55 | 56 | })(); -------------------------------------------------------------------------------- /src/ax5ui-dialog/src/scss/_ax5dialog_variables.scss: -------------------------------------------------------------------------------- 1 | //============== ax5dialog 2 | 3 | $ax5dialog-z-index: 2000 !default; 4 | $ax5dialog-box-model: border-box !default; 5 | $ax5dialog-bg: $panel-bg !default; 6 | $ax5dialog-box-shaodw: 0px 0px 3px 0px rgba(0, 0, 0, 0.175) !default; 7 | $ax5dialog-body-padding: $panel-body-padding !default; 8 | $ax5dialog-header-padding: $panel-heading-padding !default; 9 | $ax5dialog-footer-padding: $panel-footer-padding !default; 10 | $ax5dialog-border-radius: $panel-border-radius !default; 11 | $ax5dialog-easing-time-open: 0.15s !default; 12 | $ax5dialog-easing-time-close: 0.15s !default; 13 | 14 | //** Border color for elements within dialog 15 | $ax5dialog-inner-border: 1px solid $panel-inner-border !default; 16 | $ax5dialog-footer-bg: $panel-footer-bg !default; 17 | 18 | $ax5dialog-default-text: $panel-default-text !default; 19 | $ax5dialog-default-border: 1px solid $panel-default-border !default; 20 | $ax5dialog-default-header-bg: $panel-default-heading-bg !default; 21 | 22 | $ax5dialog-primary-text: $panel-primary-text !default; 23 | $ax5dialog-primary-border: 1px solid $panel-primary-border !default; 24 | $ax5dialog-primary-header-bg: $panel-primary-heading-bg !default; 25 | 26 | $ax5dialog-success-text: $panel-success-text !default; 27 | $ax5dialog-success-border: 1px solid $panel-success-border !default; 28 | $ax5dialog-success-header-bg: $panel-success-heading-bg !default; 29 | 30 | $ax5dialog-info-text: $panel-info-text !default; 31 | $ax5dialog-info-border: 1px solid $panel-info-border !default; 32 | $ax5dialog-info-header-bg: $panel-info-heading-bg !default; 33 | 34 | $ax5dialog-warning-text: $panel-warning-text !default; 35 | $ax5dialog-warning-border: 1px solid $panel-warning-border !default; 36 | $ax5dialog-warning-header-bg: $panel-warning-heading-bg !default; 37 | 38 | $ax5dialog-danger-text: $panel-danger-text !default; 39 | $ax5dialog-danger-border: 1px solid $panel-danger-border !default; 40 | $ax5dialog-danger-header-bg: $panel-danger-heading-bg !default; -------------------------------------------------------------------------------- /src/ax5ui-dialog/test/README.md: -------------------------------------------------------------------------------- 1 | # STEP 01 2 | ``` 3 | $ bower install 4 | ``` 5 | `test/bower_components` folder is created, plug-ins required will be downloaded. 6 | 7 | # STEP 02 8 | It'll add the plugin resources to html> head. 9 | ```html 10 | 11 | 12 | 13 | 14 | Title 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /src/ax5ui-dialog/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-dialog-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "bootstrap": "^3.3.6", 8 | "font-awesome": "" 9 | }, 10 | "devDependencies": { 11 | "should": "^11.1.0", 12 | "lodash": "^4.16.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/ax5ui-dialog/test/test.dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util TYPE testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/ax5ui-docker/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-docker/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-docker/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-docker", 3 | "version": "1.4.131", 4 | "description": "A dashboard plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5docker.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "uploader", 16 | "ax5ui-docker", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115", 22 | "ax5ui-menu": "" 23 | }, 24 | "license": "MIT", 25 | "homepage": "ax5.io" 26 | } -------------------------------------------------------------------------------- /src/ax5ui-docker/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-docker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-docker", 3 | "version": "1.4.131", 4 | "description": "A dashboard plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-docker" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "uploader", 22 | "ax5ui-docker", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115", 31 | "ax5ui-menu": "" 32 | }, 33 | "devDependencies": { 34 | "karma": "^1.3.0", 35 | "karma-mocha": "^1.2.0", 36 | "karma-phantomjs-launcher": "^1.0.2", 37 | "mocha": "^3.1.0", 38 | "phantomjs-prebuilt": "^2.1.13", 39 | "webdriverio": "^4.6.1" 40 | } 41 | } -------------------------------------------------------------------------------- /src/ax5ui-docker/src/ax5docker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-docker/src/ax5docker.gif -------------------------------------------------------------------------------- /src/ax5ui-docker/src/ax5docker.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5docker_variables"; 4 | @import "scss/ax5docker"; -------------------------------------------------------------------------------- /src/ax5ui-docker/src/modules/ax5docker-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.docker.tmpl 2 | (function () { 3 | 4 | let DOCKER = ax5.ui.docker; 5 | 6 | let stack_panel = function (columnKeys, data) { 7 | if(data.labelDirection === "bottom"){ 8 | return `
9 |
10 |
    11 |
    {{{icons.more}}}
    12 |
    `; 13 | }else{ 14 | return `
    15 |
      16 |
      {{{icons.more}}}
      17 |
      18 |
      `; 19 | } 20 | }; 21 | 22 | let panel_label = function () { 23 | return `
    • 24 |
      25 |
      {{{name}}}
      26 | {{^disableClosePanel}}
      {{{icons.close}}}
      {{/disableClosePanel}} 27 |
    • `; 28 | }; 29 | 30 | DOCKER.tmpl = { 31 | "stack-panel": stack_panel, 32 | "panel-label": panel_label, 33 | 34 | get: function (tmplName, data, columnKeys) { 35 | return ax5.mustache.render(DOCKER.tmpl[tmplName].call(this, columnKeys, data), data); 36 | } 37 | }; 38 | 39 | })(); -------------------------------------------------------------------------------- /src/ax5ui-docker/src/scss/_ax5docker_variables.scss: -------------------------------------------------------------------------------- 1 | //========= ax5docker 2 | $ax5docker-bg: $panel-bg !default; 3 | $ax5docker-border-color: #C9C9C9 !default; 4 | $ax5docker-tab-bg: #ECECEC !default; 5 | $ax5docker-tab-item-bg: #D4D4D4 !default; 6 | $ax5docker-tab-item-radius: 0 !default; 7 | $ax5docker-pane-item-bg: #FFFFFF !default; 8 | $ax5docker-tab-active-item-bg: #FFFFFF !default; 9 | $ax5docker-tab-item-dropper-color: #f9523b !default; 10 | $ax5docker-tab-item-dropper-width: 3px; 11 | 12 | $ax5docker-tab-height: 22px !default; 13 | $ax5docker-tab-margin: 1px !default; 14 | 15 | 16 | $ax5docker-easing-time-open: 0.1s !default; 17 | $ax5docker-easing-time-close: 0.1s !default; 18 | -------------------------------------------------------------------------------- /src/ax5ui-docker/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": ">=1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6", 7 | "font-awesome": "", 8 | "jquery-direct": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-docker/test/test.docker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util calendar testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
      18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/ax5ui-formatter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-formatter/API.md: -------------------------------------------------------------------------------- 1 | # Basic Usage 2 | > formatting the value of the bound Input in the desired format. And, to limit to enter the only permitted string. 3 | 4 | ## bind() 5 | `bind(Options)` 6 | 7 | ```js 8 | var formatter = new ax5.ui.formatter(); 9 | 10 | formatter.bind({ 11 | target: $("#input"), 12 | pattern: "date" 13 | }); 14 | 15 | formatter.bind({ 16 | target: $("#input"), 17 | pattern: "custom", 18 | getEnterableKeyCodes: function(){}, 19 | getPatternValue: function(){} 20 | }); 21 | ``` 22 | 23 | ### id 24 | 25 | Type: `String` 26 | 27 | formatter unique id 28 | 29 | ### target 30 | 31 | Type: `Dom Element | jQuery Object` 32 | 33 | ".input-Group" elements that are the target of the picker 34 | 35 | ### pattern 36 | 37 | Type: `String` "money | money(int) | number | date | date(time) | time | bizno | phone | custom" 38 | 39 | ### getEnterableKeyCodes 40 | 41 | Type: `Function` 42 | 43 | You can define the keyCode collection to allow input. 44 | 45 | ### getPatternValue 46 | 47 | Type: `Function` 48 | 49 | It can be converted to the format required the entered value. 50 | 51 | 52 | - - - 53 | 54 | # jQuery widget 55 | 56 | `ax5formatter()` -------------------------------------------------------------------------------- /src/ax5ui-formatter/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-formatter/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-formatter", 3 | "version": "1.4.131", 4 | "description": "A formatter plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5formatter.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "formatter", 16 | "ax5ui-formatter", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-formatter/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-formatter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-formatter", 3 | "version": "1.4.131", 4 | "description": "A formatter plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-formatter" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "picker", 22 | "ax5ui-picker", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115", 31 | "ax5ui-menu": "" 32 | }, 33 | "devDependencies": { 34 | "karma": "^1.3.0", 35 | "karma-mocha": "^1.2.0", 36 | "karma-phantomjs-launcher": "^1.0.2", 37 | "mocha": "^3.1.0", 38 | "phantomjs-prebuilt": "^2.1.13", 39 | "webdriverio": "^4.6.1" 40 | } 41 | } -------------------------------------------------------------------------------- /src/ax5ui-formatter/src/ax5formatter.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5formatter_variables"; 4 | @import "scss/ax5formatter"; -------------------------------------------------------------------------------- /src/ax5ui-formatter/src/modules/jQuery-extender.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (c) 2017. tom@axisj.com 4 | * - github.com/thomasjang 5 | * - www.axisj.com 6 | */ 7 | 8 | ax5.ui.formatter_instance = new ax5.ui.formatter(); 9 | 10 | jQuery.fn.ax5formatter = (function () { 11 | return function (config) { 12 | if (ax5.util.isString(arguments[0])) { 13 | var methodName = arguments[0]; 14 | 15 | switch (methodName) { 16 | case "formatting": 17 | return ax5.ui.formatter_instance.formatting(this); 18 | break; 19 | 20 | case "unbind": 21 | return ax5.ui.formatter_instance.unbind(this); 22 | break; 23 | 24 | default: 25 | return this; 26 | } 27 | } 28 | else { 29 | if (typeof config == "undefined") config = {}; 30 | jQuery.each(this, function () { 31 | var defaultConfig = { 32 | target: this 33 | }; 34 | config = jQuery.extend({}, config, defaultConfig); 35 | ax5.ui.formatter_instance.bind(config); 36 | }); 37 | } 38 | return this; 39 | } 40 | })(); 41 | -------------------------------------------------------------------------------- /src/ax5ui-formatter/src/scss/_ax5formatter.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-formatter/src/scss/_ax5formatter.scss -------------------------------------------------------------------------------- /src/ax5ui-formatter/src/scss/_ax5formatter_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-formatter/src/scss/_ax5formatter_variables.scss -------------------------------------------------------------------------------- /src/ax5ui-formatter/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-formatter-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6", 7 | "font-awesome": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/ax5ui-formatter/test/test.formatter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5formatter testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
      17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/ax5ui-grid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-grid/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-grid/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-grid", 3 | "version": "1.4.131", 4 | "description": "A grid plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5grid.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "grid", 16 | "ax5ui-grid", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115", 22 | "ax5ui-menu": "", 23 | "ax5ui-formatter": "", 24 | "ax5ui-calendar": "", 25 | "ax5ui-picker": "" 26 | }, 27 | "license": "MIT", 28 | "homepage": "ax5.io" 29 | } -------------------------------------------------------------------------------- /src/ax5ui-grid/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-grid/design/structure.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-grid/design/structure.key -------------------------------------------------------------------------------- /src/ax5ui-grid/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-grid", 3 | "version": "1.4.131", 4 | "description": "A grid plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-grid" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "grid", 22 | "ax5ui-grid", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115", 31 | "ax5ui-menu": "", 32 | "ax5ui-formatter": "", 33 | "ax5ui-calendar": "", 34 | "ax5ui-picker": "" 35 | }, 36 | "devDependencies": { 37 | "karma": "^1.3.0", 38 | "karma-mocha": "^1.2.0", 39 | "karma-phantomjs-launcher": "^1.0.2", 40 | "mocha": "^3.1.0", 41 | "phantomjs-prebuilt": "^2.1.13", 42 | "webdriverio": "^4.6.1" 43 | } 44 | } -------------------------------------------------------------------------------- /src/ax5ui-grid/src/ax5grid.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-grid/src/ax5grid.gif -------------------------------------------------------------------------------- /src/ax5ui-grid/src/ax5grid.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5grid_variables"; 4 | @import "scss/ax5grid"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-grid/src/modules/ax5grid-collector.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.grid.collector 2 | (function () { 3 | 4 | const GRID = ax5.ui.grid; 5 | 6 | const U = ax5.util; 7 | 8 | let sum = function () { 9 | let value = 0, 10 | i = this.list.length; 11 | while (i--) { 12 | if (!("__groupingList" in this.list[i])) { 13 | value += U.number(this.list[i][this.key]); 14 | } 15 | } 16 | return value; 17 | }; 18 | 19 | let avg = function () { 20 | let value = 0, 21 | i = this.list.length, listLength = 0; 22 | while (i--) { 23 | if (!("__groupingList" in this.list[i])) { 24 | value += U.number(this.list[i][this.key]); 25 | listLength++; 26 | } 27 | } 28 | return U.number(value / (listLength || 1), {"round": 2}); 29 | }; 30 | 31 | GRID.collector = { 32 | sum: sum, 33 | avg: avg 34 | }; 35 | 36 | })(); -------------------------------------------------------------------------------- /src/ax5ui-grid/src/modules/ax5grid-formatter.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.grid.formatter 2 | (function () { 3 | 4 | const GRID = ax5.ui.grid; 5 | 6 | const U = ax5.util; 7 | 8 | const money = function () { 9 | if (typeof this.value !== "undefined") { 10 | let val = ('' + this.value).replace(/[^0-9^\.^\-]/g, ""), 11 | regExpPattern = new RegExp('([0-9])([0-9][0-9][0-9][,.])'), 12 | arrNumber = val.split('.'), 13 | returnValue; 14 | 15 | arrNumber[0] += '.'; 16 | 17 | do { 18 | arrNumber[0] = arrNumber[0].replace(regExpPattern, '$1,$2'); 19 | } while (regExpPattern.test(arrNumber[0])); 20 | 21 | return (arrNumber.length > 1) ? arrNumber[0] + U.left(arrNumber[1], 2) : arrNumber[0].split('.')[0]; 22 | } else { 23 | return ""; 24 | } 25 | }; 26 | 27 | GRID.formatter = { 28 | money: money 29 | }; 30 | 31 | })(); -------------------------------------------------------------------------------- /src/ax5ui-grid/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "bootstrap": "^3.3.6", 6 | "font-awesome": "" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5ui-grid/test/php/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "fzaninotto/faker": "^1.6", 4 | "aviat4ion/query": "^2.5" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/ax5ui-grid/test/php/db/db.config.php: -------------------------------------------------------------------------------- 1 | 'sqlite', 13 | 'host' => '', 14 | 'user' => '', 15 | 'pass' => '', 16 | 'port' => '', 17 | 'database' => '', 18 | 19 | // Only required 20 | // SQLite or Firebird 21 | 'file' => 'db/sample.db', 22 | 23 | // Optional paramaters 24 | 'prefix' => '', // Database table prefix 25 | 'alias' => 'default' // Connection name for the Query function 26 | )); -------------------------------------------------------------------------------- /src/ax5ui-grid/test/php/db/sample.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-grid/test/php/db/sample.db -------------------------------------------------------------------------------- /src/ax5ui-grid/test/php/index.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
      25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/ax5ui-layout/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-layout/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-layout/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-layout", 3 | "version": "1.4.131", 4 | "description": "A mediaViewer plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5layout.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "ax5ui-layout", 16 | "javascript ui" 17 | ], 18 | "dependencies": { 19 | "jquery": "", 20 | "ax5core": ">=1.4.115" 21 | }, 22 | "license": "MIT", 23 | "homepage": "ax5.io" 24 | } -------------------------------------------------------------------------------- /src/ax5ui-layout/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-layout/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-layout", 3 | "version": "1.4.131", 4 | "description": "A mediaViewer plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-layout" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "ax5ui-layout", 22 | "javascript ui" 23 | ], 24 | "scripts": { 25 | "test": "karma start karma.conf.js" 26 | }, 27 | "dependencies": { 28 | "jquery": "", 29 | "ax5core": ">=1.4.115" 30 | }, 31 | "devDependencies": { 32 | "karma": "^1.3.0", 33 | "karma-mocha": "^1.2.0", 34 | "karma-phantomjs-launcher": "^1.0.2", 35 | "mocha": "^3.1.0", 36 | "phantomjs-prebuilt": "^2.1.13", 37 | "webdriverio": "^4.6.1" 38 | } 39 | } -------------------------------------------------------------------------------- /src/ax5ui-layout/src/ax5layout.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5layout_variables"; 4 | @import "scss/ax5layout"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-layout/src/scss/_ax5layout_variables.scss: -------------------------------------------------------------------------------- 1 | //========== ax5layout 2 | 3 | $ax5layout-splitter-background: #ccc !default; 4 | $ax5layout-resizer-background: #ffbfc5 !default; 5 | 6 | $ax5layout-tab-panel-label-border-top: 1px solid #D4D4D4 !default; 7 | $ax5layout-tab-panel-label-border-bottom: 1px solid #D4D4D4 !default; 8 | $ax5layout-tab-panel-label-padding-top: 0px !default; 9 | $ax5layout-tab-panel-label-height: 35px !default; 10 | $ax5layout-tab-panel-label-item-height: 30px !default; 11 | $ax5layout-tab-panel-label-bg-colors: (#E3E3E3, #E3E3E3) !default; 12 | $ax5layout-tab-panel-label-border-bg: #fff !default; 13 | $ax5layout-tab-panel-label-item-color: $text-color !default; 14 | 15 | $ax5layout-tab-panel-label-item-border-top: 0 none !default; 16 | $ax5layout-tab-panel-label-item-border-right: 1px solid #D4D4D4 !default; 17 | $ax5layout-tab-panel-label-item-border-bottom: 1px solid #D4D4D4 !default; 18 | $ax5layout-tab-panel-label-item-bg-colors: (#D6D6D6, #D6D6D6) !default; 19 | $ax5layout-tab-panel-label-item-hover-bg-colors: (#e3e3e3, #e3e3e3) !default; 20 | $ax5layout-tab-panel-label-item-hover-color: $text-color !default; 21 | $ax5layout-tab-panel-label-item-active-bg-colors: (#fff, #fff) !default; 22 | $ax5layout-tab-panel-label-item-active-color: $text-color !default; -------------------------------------------------------------------------------- /src/ax5ui-layout/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6", 7 | "font-awesome": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/ax5ui-layout/test/nested.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 | 26 |
      27 |
      28 |
      29 |
      30 | 31 | 32 |
      33 |
      34 |
      35 |
      36 | 37 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/ax5ui-layout/test/split-horizontal.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | Title 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 29 | 30 | 31 | 32 |
      33 |
      34 | 123123123 35 |
      36 |
      37 |
      38 | 39 |
      40 |
      41 |

      H!

      42 |
      43 |
      44 |
      45 |

      H2

      46 | 47 |
      48 |
      49 | 50 |
      51 |
      52 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /src/ax5ui-layout/test/split-vertical.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 | 26 |
      27 |
      28 |

      H!

      29 |
      30 |
      31 |
      32 |

      H2

      33 | 34 |
      35 |
      36 |
      37 |

      H2

      38 |
      39 |
      40 | 41 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /src/ax5ui-layout/test/test.layout.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui testing 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
      23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/ax5ui-mask/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-mask/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-mask/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-mask", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "A mask jQuery plugin that works with Bootstrap", 8 | "main": "dist/ax5mask.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "mask", 16 | "ax5ui-mask" 17 | ], 18 | "dependencies": { 19 | "jquery": "", 20 | "ax5core": ">=1.4.115" 21 | }, 22 | "license": "MIT", 23 | "homepage": "ax5.io" 24 | } -------------------------------------------------------------------------------- /src/ax5ui-mask/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-mask/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-mask", 3 | "version": "1.4.131", 4 | "description": "A mask plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-mask" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "mask", 22 | "ax5ui-mask" 23 | ], 24 | "scripts": { 25 | "test": "karma start karma.conf.js" 26 | }, 27 | "dependencies": { 28 | "jquery": "", 29 | "ax5core": ">=1.4.115" 30 | }, 31 | "devDependencies": { 32 | "karma": "^1.3.0", 33 | "karma-mocha": "^1.2.0", 34 | "karma-phantomjs-launcher": "^1.0.2", 35 | "mocha": "^3.1.0", 36 | "phantomjs-prebuilt": "^2.1.13", 37 | "webdriverio": "^4.6.1" 38 | } 39 | } -------------------------------------------------------------------------------- /src/ax5ui-mask/src/ax5mask.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5mask_variables"; 4 | @import "scss/ax5mask"; -------------------------------------------------------------------------------- /src/ax5ui-mask/src/modules/ax5mask-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.mask.tmpl 2 | (function () { 3 | 4 | var MASK = ax5.ui.mask; 5 | 6 | var defaultMask = function(columnKeys) { 7 | return ` 8 |
      9 |
      10 |
      11 |
      12 | {{{body}}} 13 |
      14 |
      15 |
      16 | `; 17 | }; 18 | 19 | MASK.tmpl = { 20 | "defaultMask": defaultMask, 21 | 22 | get: function (tmplName, data, columnKeys) { 23 | return ax5.mustache.render(MASK.tmpl[tmplName].call(this, columnKeys), data); 24 | } 25 | }; 26 | 27 | })(); -------------------------------------------------------------------------------- /src/ax5ui-mask/src/scss/_ax5mask.scss: -------------------------------------------------------------------------------- 1 | @mixin ax-mask() { 2 | position: absolute; 3 | } 4 | 5 | @mixin ax-panel-mask() { 6 | position: absolute; 7 | } 8 | 9 | // mixins --------------------------------------------- end 10 | 11 | @include keyframes(ax-mask) { 12 | from { 13 | opacity: 0.0; 14 | } 15 | to { 16 | opacity: $ax5mask-bg-opacity; 17 | } 18 | } 19 | 20 | @include keyframes(ax-mask-fade-out) { 21 | from { 22 | opacity: $ax5mask-bg-opacity; 23 | } 24 | to { 25 | opacity: 0.0; 26 | } 27 | } 28 | 29 | .ax-masking { 30 | -webkit-filter: blur(3px); 31 | //position: fixed; 32 | @include transform(scale(0.96)); 33 | @include transform(translateZ(0)); 34 | } 35 | 36 | .ax-mask { 37 | box-sizing: border-box; 38 | *, 39 | *:before, 40 | *:after { 41 | box-sizing: border-box; 42 | } 43 | 44 | z-index: $ax5mask-z-index; 45 | position: fixed; 46 | left: 0; 47 | top: 0; 48 | width: 100%; 49 | height: 100%; 50 | .ax-mask-bg { 51 | z-index: 1; 52 | position: absolute; 53 | left: 0; 54 | top: 0; 55 | width: 100%; 56 | height: 100%; 57 | background: $ax5mask-bg; 58 | opacity: $ax5mask-bg-opacity; 59 | } 60 | .ax-mask-content { 61 | z-index: 2; 62 | position: absolute; 63 | left: 0; 64 | top: 0; 65 | width: 100%; 66 | height: 100%; 67 | display: table; 68 | vertical-align: middle; 69 | text-align: center; 70 | color: $ax5mask-text-color; 71 | text-shadow: $ax5mask-text-shadow; 72 | * { 73 | color: inherit; 74 | } 75 | > div { 76 | display: table-cell; 77 | vertical-align: middle; 78 | text-align: center; 79 | } 80 | } 81 | 82 | &.fade-out { 83 | @include animation(ax-mask-fade-out $ax5mask-easing-time-close); 84 | opacity: 0.0; 85 | } 86 | } -------------------------------------------------------------------------------- /src/ax5ui-mask/src/scss/_ax5mask_variables.scss: -------------------------------------------------------------------------------- 1 | $ax5mask-z-index: 1000 !default; 2 | $ax5mask-bg-opacity: 0.6 !default; 3 | 4 | $ax5mask-bg: #000 !default; 5 | $ax5mask-text-color: #fff !default; 6 | $ax5mask-text-shadow:0px 1px 0px #000 !default; 7 | 8 | $ax5mask-easing-time-open: 0.25s !default; 9 | $ax5mask-easing-time-close: 0.25s !default; -------------------------------------------------------------------------------- /src/ax5ui-mask/test/README.md: -------------------------------------------------------------------------------- 1 | # STEP 01 2 | ``` 3 | $ bower install 4 | ``` 5 | `test/bower_components` folder is created, plug-ins required will be downloaded. 6 | 7 | # STEP 02 8 | It'll add the plugin resources to html> head. 9 | ```html 10 | 11 | 12 | 13 | 14 | Title 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /src/ax5ui-mask/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-mask-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "font-awesome": "" 7 | }, 8 | "devDependencies": { 9 | "lodash": "^4.16.1", 10 | "should": "^11.1.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5ui-mask/test/test.mask.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.mask.setConfig testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
      19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/API.md: -------------------------------------------------------------------------------- 1 | # Basic Usage 2 | > mediaViewer UI 3 | 4 | How to initialize the properties of the UI, there are two. 5 | You can pass the property values of the UI to `setConfig`. 6 | Using the `new` you can pass when you initialize the UI. 7 | 8 | 9 | ## setConfig() 10 | `setConfig([options, callInit=true])` 11 | 12 | ```js 13 | var myViewer = new ax5.ui.mediaViewer(); 14 | myViewer.setConfig({ 15 | target: "target Element", // null 16 | theme: 'String', // default 17 | loading: { 18 | icon: '', 19 | text: '
      Now Loading
      ' 20 | }, 21 | viewer: { 22 | ratio: 16/9 23 | }, 24 | media: { 25 | prevHandle: '', 26 | nextHandle: '', 27 | width: 36, height: 36, 28 | poster: '', 29 | list: [ 30 | {video:{html:'', poster:''}}, 31 | {image:{src: '', poster:''}} 32 | ] 33 | } 34 | }); 35 | ``` 36 | 37 | **Easy Way - without setConfig** 38 | 39 | ```js 40 | var myViewer = new ax5.ui.mediaViewer({}); 41 | ``` 42 | 43 | 44 | ### target 45 | 46 | Type: `DOMElement` 47 | 48 | Display target DOMElement 49 | 50 | ### theme 51 | 52 | Type: `String` 53 | 54 | 55 | - - - 56 | 57 | ## setMediaList() 58 | `setMediaList(Object Array)` -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-media-viewer", 3 | "version": "1.4.131", 4 | "description": "A mediaViewer plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5media-viewer.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "slider", 16 | "gallery", 17 | "ax5ui-media-viewer", 18 | "javascript ui" 19 | ], 20 | "dependencies": { 21 | "jquery": "", 22 | "ax5core": ">=1.4.115" 23 | }, 24 | "license": "MIT", 25 | "homepage": "ax5.io" 26 | } -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-media-viewer", 3 | "version": "1.4.131", 4 | "description": "A mediaViewer plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-media-viewer" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "slider", 22 | "gallery", 23 | "ax5ui-media-viewer", 24 | "javascript ui" 25 | ], 26 | "scripts": { 27 | "test": "karma start karma.conf.js" 28 | }, 29 | "dependencies": { 30 | "jquery": "", 31 | "ax5core": ">=1.4.115" 32 | }, 33 | "devDependencies": { 34 | "karma": "^1.3.0", 35 | "karma-mocha": "^1.2.0", 36 | "karma-phantomjs-launcher": "^1.0.2", 37 | "mocha": "^3.1.0", 38 | "phantomjs-prebuilt": "^2.1.13", 39 | "webdriverio": "^4.6.1" 40 | } 41 | } -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/src/ax5media-viewer.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5media-viewer_variables"; 4 | @import "scss/ax5media-viewer"; -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/src/modules/ax5media-viewer-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.mediaViewer.tmpl 2 | (function () { 3 | var MEDIAVIEWER = ax5.ui.mediaViewer; 4 | 5 | var frame = function (columnKeys) { 6 | return ` 7 |
      8 |
      9 |
      10 |
      11 | {{#loading}} 12 |
      13 |
      14 |
      15 | {{{loading.icon}}} 16 | {{{loading.text}}} 17 |
      18 |
      19 |
      20 | {{/loading}} 21 | {{^loading}} 22 |
      23 | {{/loading}} 24 | 25 | {{#media}} 26 |
      27 |
      {{{prevHandle}}}
      28 |
      29 |
      30 | {{#list}} 31 |
      32 | {{#image}} 33 |
      34 | 35 |
      36 | {{/image}} 37 | {{#video}} 38 |
      {{#${columnKeys.poster}}}>{{/${columnKeys.poster}}}{{^${columnKeys.poster}}}{{{media.${columnKeys.poster}}}}{{/${columnKeys.poster}}}
      39 | {{/video}} 40 |
      41 | {{/list}} 42 |
      43 |
      44 |
      {{{nextHandle}}}
      45 |
      46 | {{/media}} 47 | 48 |
      `; 49 | }; 50 | 51 | MEDIAVIEWER.tmpl = { 52 | "frame": frame, 53 | 54 | get: function (tmplName, data, columnKeys) { 55 | return ax5.mustache.render(MEDIAVIEWER.tmpl[tmplName].call(this, columnKeys), data); 56 | } 57 | }; 58 | })(); -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/src/scss/_ax5media-viewer_variables.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016. tom@axisj.com 3 | * - github.com/thomasjang 4 | * - www.axisj.com 5 | */ 6 | 7 | 8 | 9 | ///~~ theme 10 | $ax5media-viewer-default-border-color: #ccc; 11 | $ax5media-viewer-default-font-color: $gray; 12 | 13 | $ax5media-viewer-primary-border-color: $brand-primary; 14 | $ax5media-viewer-primary-font-color: $brand-primary; 15 | 16 | $ax5media-viewer-success-border-color: $brand-success; 17 | $ax5media-viewer-success-font-color: $brand-success; 18 | 19 | $ax5media-viewer-info-border-color: $brand-info; 20 | $ax5media-viewer-info-font-color: $brand-info; 21 | 22 | $ax5media-viewer-warning-border-color: $brand-warning; 23 | $ax5media-viewer-warning-font-color: $brand-warning; 24 | 25 | $ax5media-viewer-danger-border-color: $brand-danger; 26 | $ax5media-viewer-danger-font-color: $brand-danger; -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6", 7 | "font-awesome": "" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/ax5ui-media-viewer/test/test.media-viewer.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui testing 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
      22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/ax5ui-menu/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-menu/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-menu/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-menu", 3 | "version": "1.4.131", 4 | "description": "A menu plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5menu.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "formatter", 16 | "ax5ui-menu", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-menu/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-menu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-menu", 3 | "version": "1.4.131", 4 | "description": "A menu plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-menu" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "menu", 22 | "ax5ui-menu", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-menu/src/ax5menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-menu/src/ax5menu.gif -------------------------------------------------------------------------------- /src/ax5ui-menu/src/ax5menu.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5menu_variables"; 4 | @import "scss/ax5menu"; -------------------------------------------------------------------------------- /src/ax5ui-menu/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-formatter-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-toast": ">=1.3.0", 7 | "bootstrap": "^3.3.6", 8 | "font-awesome": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-menu/test/index2.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | Title 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
      27 | 28 | 29 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/ax5ui-menu/test/spec.md: -------------------------------------------------------------------------------- 1 | # menu 2 | 너비, 포지션, 화살표, 박스스타일 3 | 4 | ## 메뉴의 표현 유형 5 | - 메뉴바 형태 6 | - top / bottom 7 | - left / right 8 | - standAlone 타입 9 | - 포지션 (absolute/relative) 10 | 11 | ### 아이템 컨테이너 12 | - stack 13 | - table 14 | 15 | ## 구성 16 | - 아이템 17 | - 구분선 18 | - DIV 19 | 20 | ### 아이템 21 | - 아이템 그룹 22 | - 애드온 23 | - 썹네일 24 | - 단축키 25 | - arrow 26 | - 라벨 27 | - 링크 28 | 29 | ### 아이템 상태 30 | - 일반 31 | - disable 32 | - theme status(basic, info, danger, warning ..) -------------------------------------------------------------------------------- /src/ax5ui-menu/test/test.menu.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui testing 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
      22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/ax5ui-menu/test/test.menu.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017. tom@axisj.com 3 | * - github.com/thomasjang 4 | * - www.axisj.com 5 | */ 6 | 7 | describe('ax5menu TEST', function () { 8 | var myUI; 9 | 10 | var tmpl = ''; 11 | 12 | $(document.body).append(tmpl); 13 | 14 | 15 | /// 16 | it('new ax5menu', function (done) { 17 | try { 18 | myUI = new ax5.ui.menu({ 19 | position: "absolute", // default position is "fixed" 20 | icons: { 21 | 'arrow': '▸' 22 | }, 23 | items: [ 24 | { 25 | label: "Menu A", 26 | items: [ 27 | {label: "Menu A-0"}, 28 | {label: "Menu A-1"}, 29 | {label: "Menu A-2"} 30 | ] 31 | }, 32 | { 33 | label: "Menu B", 34 | items: [ 35 | {label: "Menu B-0"}, 36 | {label: "Menu B-1"}, 37 | {label: "Menu B-2"} 38 | ] 39 | } 40 | ] 41 | }); 42 | 43 | done(); 44 | } catch (e) { 45 | done(e); 46 | } 47 | }); 48 | 49 | 50 | it('popup menu', function (done) { 51 | myUI.popup({top: 0, left: 0}); 52 | done(jQuery(".ax5-ui-menu").get(0) ? "" : "error popup"); 53 | }); 54 | 55 | 56 | it('close menu', function (done) { 57 | myUI.close(); 58 | done(jQuery(".ax5-ui-menu").get(0) ? "error close" : ""); 59 | }); 60 | 61 | }); -------------------------------------------------------------------------------- /src/ax5ui-modal/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-modal/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-modal/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-modal", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "", 8 | "main": "dist/ax5modal.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "modal", 16 | "ax5ui-modal", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-modal/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true -------------------------------------------------------------------------------- /src/ax5ui-modal/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-modal", 3 | "version": "1.4.131", 4 | "description": "A modal plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-modal" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "dialog", 22 | "ax5ui-dialog", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-modal/src/ax5modal.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5modal_variables"; 4 | @import "scss/ax5modal"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-modal/src/scss/_ax5modal_variables.scss: -------------------------------------------------------------------------------- 1 | //============== 2 | //== modal 3 | $ax5modal-z-index: 2000 !default; 4 | $ax5modal-box-model: border-box !default; 5 | $ax5modal-bg: $panel-bg !default; 6 | $ax5modal-border: 1px solid $panel-inner-border !default; 7 | $ax5modal-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.60) !default; 8 | $ax5modal-body-padding: 0px !default; 9 | $ax5modal-header-padding: $panel-heading-padding !default; 10 | 11 | $ax5modal-header-addon-padding: 10px 10px !default; 12 | $ax5modal-header-addon-btn-padding: 0px 2px !default; 13 | 14 | $ax5modal-border-radius: $panel-border-radius !default; 15 | $ax5modal-easing-time-open: 0.3s !default; 16 | $ax5modal-easing-time-close: 0.3s !default; 17 | $ax5modal-easing-open: $ease-out-back !default; 18 | $ax5modal-easing-close: $ease-out-back !default; 19 | 20 | //== modal resizer 21 | $ax5modal-resizer-bg: #ccc !default; 22 | $ax5modal-resizer-border: 1px solid #ff0000 !default; 23 | $ax5modal-resizer-box-shaodw: 0px 0px 5px 0px rgba(0, 0, 0, 0.60) !default; 24 | $ax5modal-resizer-opacity : 0.3 !default; 25 | 26 | //** Border color for elements within dialog 27 | $ax5modal-default-text: $panel-default-text !default; 28 | $ax5modal-default-border: 1px solid $panel-default-border !default; 29 | $ax5modal-default-header-bg: $panel-default-heading-bg !default; 30 | 31 | $ax5modal-primary-text: $panel-primary-text !default; 32 | $ax5modal-primary-border: 1px solid $panel-primary-border !default; 33 | $ax5modal-primary-header-bg: $panel-primary-heading-bg !default; 34 | 35 | $ax5modal-success-text: $panel-success-text !default; 36 | $ax5modal-success-border: 1px solid $panel-success-border !default; 37 | $ax5modal-success-header-bg: $panel-success-heading-bg !default; 38 | 39 | $ax5modal-info-text: $panel-info-text !default; 40 | $ax5modal-info-border: 1px solid $panel-info-border !default; 41 | $ax5modal-info-header-bg: $panel-info-heading-bg !default; 42 | 43 | $ax5modal-warning-text: $panel-warning-text !default; 44 | $ax5modal-warning-border: 1px solid $panel-warning-border !default; 45 | $ax5modal-warning-header-bg: $panel-warning-heading-bg !default; 46 | 47 | $ax5modal-danger-text: $panel-danger-text !default; 48 | $ax5modal-danger-border: 1px solid $panel-danger-border !default; 49 | $ax5modal-danger-header-bg: $panel-danger-heading-bg !default; -------------------------------------------------------------------------------- /src/ax5ui-modal/test/README.md: -------------------------------------------------------------------------------- 1 | # STEP 01 2 | ``` 3 | $ bower install 4 | ``` 5 | `test/bower_components` folder is created, plug-ins required will be downloaded. 6 | 7 | # STEP 02 8 | It'll add the plugin resources to html> head. 9 | ```html 10 | 11 | 12 | 13 | 14 | Title 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /src/ax5ui-modal/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "bootstrap": "^3.3.6", 8 | "font-awesome": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-modal/test/modal-content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/ax5ui-modal/test/test.modal.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util modal testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
      17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/ax5ui-palette/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-palette/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-palette/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-palette", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "", 8 | "main": "dist/ax5palette.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "color palette", 16 | "palette", 17 | "ax5ui-palette", 18 | "javascript ui" 19 | ], 20 | "dependencies": { 21 | "jquery": "", 22 | "ax5core": ">=1.4.41" 23 | }, 24 | "license": "MIT", 25 | "homepage": "ax5.io" 26 | } -------------------------------------------------------------------------------- /src/ax5ui-palette/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-palette/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-palette", 3 | "version": "1.4.131", 4 | "description": "A palette plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-palette" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "palette", 22 | "ax5ui-palette", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.41" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-palette/src/ax5palette.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-palette/src/ax5palette.gif -------------------------------------------------------------------------------- /src/ax5ui-palette/src/ax5palette.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5palette_variables"; 4 | @import "scss/ax5palette"; 5 | -------------------------------------------------------------------------------- /src/ax5ui-palette/src/modules/ax5palette-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.calendar.tmpl 2 | (function () { 3 | 4 | const PALETTE = ax5.ui.palette; 5 | 6 | const tmpl_frame = function (columnKeys) { 7 | return ` 8 |
      9 |
      10 |
      11 |
      12 | `; 13 | }; 14 | 15 | const tmpl_colors = function (columnKeys) { 16 | return ` 17 | {{#colors}} 18 | {{#list}} 19 |
      20 |
      21 |
      22 |
      23 |
      {{label}}
      24 |
      25 |
      26 |
      27 |
      28 |
      29 |
      30 |
      31 |
      32 | {{/list}} 33 | {{/colors}} 34 | `; 35 | }; 36 | 37 | 38 | PALETTE.tmpl = { 39 | "frame": tmpl_frame, 40 | "colors": tmpl_colors, 41 | 42 | get: function (tmplName, data, columnKeys) { 43 | return ax5.mustache.render(PALETTE.tmpl[tmplName].call(this, columnKeys), data); 44 | } 45 | }; 46 | 47 | })(); -------------------------------------------------------------------------------- /src/ax5ui-palette/src/scss/_ax5palette_variables.scss: -------------------------------------------------------------------------------- 1 | //== palette 2 | 3 | $ax5palette-bg: (#FFFFFF, #FFFFFF) !default; 4 | $ax5palette-preview-padding: 3px 0 !default; 5 | $ax5palette-border-color: #B9BABC !default; 6 | $ax5palette-box-bg-color: #fff !default; 7 | $ax5palette-box-border-radius: 5px !default; 8 | $ax5palette-hover-color: #ccc !default; 9 | $ax5palette-hover-border-color: #B9BABC !default; 10 | $ax5palette-active-color: #0a68b4 !default; 11 | $ax5palette-active-border-color: #000 !default; -------------------------------------------------------------------------------- /src/ax5ui-palette/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "bootstrap": "^3.3.6", 6 | "font-awesome": "" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/ax5ui-palette/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
      18 |
      19 |
      20 | 21 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /src/ax5ui-palette/test/test.palette.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.util calendar testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
      17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/ax5ui-picker/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-picker/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-picker/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker", 3 | "version": "1.4.131", 4 | "description": "A picker plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5picker.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "picker", 16 | "ax5ui-picker", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115", 22 | "ax5ui-calendar": "", 23 | "ax5ui-formatter": "", 24 | "ax5ui-palette": "" 25 | }, 26 | "license": "MIT", 27 | "homepage": "ax5.io" 28 | } -------------------------------------------------------------------------------- /src/ax5ui-picker/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-picker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker", 3 | "version": "1.4.131", 4 | "description": "A picker plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-picker" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "picker", 22 | "ax5ui-picker", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115", 31 | "ax5ui-calendar": "", 32 | "ax5ui-formatter": "", 33 | "ax5ui-palette": "" 34 | }, 35 | "devDependencies": { 36 | "karma": "^1.3.0", 37 | "karma-mocha": "^1.2.0", 38 | "karma-phantomjs-launcher": "^1.0.2", 39 | "mocha": "^3.1.0", 40 | "phantomjs-prebuilt": "^2.1.13", 41 | "webdriverio": "^4.6.1" 42 | } 43 | } -------------------------------------------------------------------------------- /src/ax5ui-picker/src/ax5picker.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5picker_variables"; 4 | @import "scss/ax5picker"; -------------------------------------------------------------------------------- /src/ax5ui-picker/src/modules/ax5ui-picker-tmpl.js: -------------------------------------------------------------------------------- 1 | 2 | // ax5.ui.picker.tmpl 3 | (function () { 4 | 5 | let PICKER = ax5.ui.picker; 6 | const U = ax5.util; 7 | 8 | const pickerTmpl = function () { 9 | return ` 10 |
      11 | {{#title}} 12 |
      {{title}}
      13 | {{/title}} 14 |
      15 |
      16 | {{#btns}} 17 |
      18 | {{#btns}} 19 | {{#@each}} 20 | 21 | {{/@each}} 22 | {{/btns}} 23 |
      24 | {{/btns}} 25 |
      26 |
      27 |
      28 | `; 29 | }; 30 | 31 | PICKER.tmpl = { 32 | "pickerTmpl": pickerTmpl, 33 | 34 | get: function (tmplName, data, columnKeys) { 35 | return ax5.mustache.render(PICKER.tmpl[tmplName].call(this, columnKeys), data); 36 | } 37 | }; 38 | 39 | })(); -------------------------------------------------------------------------------- /src/ax5ui-picker/src/modules/jQuery-extender.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ax5.ui.picker_instance 3 | * @type {ax5picker} 4 | * @example 5 | * ```js 6 | * // picker 기본 속성을 변경해야 한다면 7 | * ax5.ui.picker_instance.setConfig({ 8 | * }); 9 | * 10 | * ``` 11 | */ 12 | if (ax5 && ax5.ui && ax5.ui.picker) { 13 | ax5.ui.picker_instance = new ax5.ui.picker(); 14 | 15 | jQuery.fn.ax5picker = (function () { 16 | return function (config) { 17 | if (ax5.util.isString(arguments[0])) { 18 | var methodName = arguments[0]; 19 | 20 | switch (methodName) { 21 | case "open": 22 | return ax5.ui.picker_instance.open(this); 23 | break; 24 | case "close": 25 | return ax5.ui.picker_instance.close(this); 26 | break; 27 | case "setValue": 28 | return ax5.ui.picker_instance.setContentValue(this, arguments[1], arguments[2]); 29 | break; 30 | default: 31 | return this; 32 | } 33 | } 34 | else { 35 | if (typeof config == "undefined") config = {}; 36 | jQuery.each(this, function () { 37 | var defaultConfig = { 38 | target: this 39 | }; 40 | config = jQuery.extend(true, config, defaultConfig); 41 | ax5.ui.picker_instance.bind(config); 42 | }); 43 | } 44 | return this; 45 | }; 46 | })(); 47 | } 48 | -------------------------------------------------------------------------------- /src/ax5ui-picker/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "ax5ui-calendar": ">=1.3.0", 8 | "ax5ui-formatter": ">=1.3.0", 9 | "bootstrap": "^3.3.6", 10 | "font-awesome": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5ui-picker/test/test.picker.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui testing 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
      23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/ax5ui-select/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-select/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-select/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-select", 3 | "version": "1.4.131", 4 | "description": "A select plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5select.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "select", 16 | "ax5ui-select", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-select/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-select/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-select", 3 | "version": "1.4.131", 4 | "description": "A select plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-select" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "select", 22 | "ax5ui-select", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-select/src/ax5select.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5select_variables"; 4 | @import "scss/ax5select"; -------------------------------------------------------------------------------- /src/ax5ui-select/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "ax5ui-calendar": ">=1.3.0", 8 | "ax5ui-formatter": ">=1.3.0", 9 | "bootstrap": "^3.3.6", 10 | "font-awesome": "" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/ax5ui-select/test/test.select.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5ui testing 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
      23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/ax5ui-toast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-toast/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-toast/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-toast", 3 | "version": "1.4.131", 4 | "authors": [ 5 | "ThomasJ " 6 | ], 7 | "description": "", 8 | "main": "dist/ax5toast.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "toast", 16 | "ax5ui-toast", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-toast/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-toast/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-toast", 3 | "version": "1.4.131", 4 | "description": "A toast plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-toast" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "dialog", 22 | "ax5ui-dialog", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-toast/src/ax5toast.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5toast_variables"; 4 | @import "scss/ax5toast"; -------------------------------------------------------------------------------- /src/ax5ui-toast/src/modules/ax5toast-tmpl.js: -------------------------------------------------------------------------------- 1 | // ax5.ui.toast.tmpl 2 | (function () { 3 | 4 | var TOAST = ax5.ui.toast; 5 | 6 | var toastDisplay = function(columnKeys) { 7 | return ` 8 |
      9 | {{#icon}} 10 |
      {{{.}}}
      11 | {{/icon}} 12 |
      {{{msg}}}
      13 | {{#btns}} 14 |
      15 |
      16 | {{#@each}} 17 | 18 | {{/@each}} 19 |
      20 |
      21 | {{/btns}} 22 | {{^btns}} 23 | {{{closeIcon}}} 24 | {{/btns}} 25 |
      26 |
      `; 27 | }; 28 | 29 | TOAST.tmpl = { 30 | "toastDisplay": toastDisplay, 31 | 32 | get: function (tmplName, data, columnKeys) { 33 | return ax5.mustache.render(TOAST.tmpl[tmplName].call(this, columnKeys), data); 34 | } 35 | }; 36 | 37 | })(); -------------------------------------------------------------------------------- /src/ax5ui-toast/test/README.md: -------------------------------------------------------------------------------- 1 | # STEP 01 2 | ``` 3 | $ bower install 4 | ``` 5 | `test/bower_components` folder is created, plug-ins required will be downloaded. 6 | 7 | # STEP 02 8 | It'll add the plugin resources to html> head. 9 | ```html 10 | 11 | 12 | 13 | 14 | Title 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /src/ax5ui-toast/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "ax5ui-mask": ">=1.3.0", 7 | "bootstrap": "^3.3.6", 8 | "font-awesome": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-toast/test/test.toast.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ax5.toast testing 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
      17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | before_script: 5 | - export CHROME_BIN=chromium-browser 6 | - export DISPLAY=:99.0 7 | - sh -e /etc/init.d/xvfb start -------------------------------------------------------------------------------- /src/ax5ui-uploader/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Thomas Jang, Brant and Team AXISJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/ax5ui-uploader/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-uploader", 3 | "version": "1.4.131", 4 | "description": "A uploader plugin that works with Bootstrap & jQuery", 5 | "authors": [ 6 | "ThomasJ " 7 | ], 8 | "main": "dist/ax5uploader.js", 9 | "keywords": [ 10 | "bootstrap", 11 | "jquery", 12 | "ax5ui", 13 | "plugin", 14 | "bootstrap jQuery plugins", 15 | "uploader", 16 | "ax5ui-uploader", 17 | "javascript ui" 18 | ], 19 | "dependencies": { 20 | "jquery": "", 21 | "ax5core": ">=1.4.115" 22 | }, 23 | "license": "MIT", 24 | "homepage": "ax5.io" 25 | } -------------------------------------------------------------------------------- /src/ax5ui-uploader/deploy.sh: -------------------------------------------------------------------------------- 1 | VERSION=`jq '.version' package.json | sed -e 's/^"//' -e 's/"$//'` 2 | 3 | git tag -a $VERSION -m $VERSION || true 4 | 5 | git push origin HEAD:master --follow-tags --force || true 6 | 7 | npm publish || true 8 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-uploader", 3 | "version": "1.4.131", 4 | "description": "A uploader plugin that works with Bootstrap & jQuery", 5 | "license": "MIT", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/ax5ui/ax5ui-uploader" 9 | }, 10 | "author": { 11 | "name": "Thomas Jang", 12 | "email": "tom@axisj.com", 13 | "url": "ax5.io" 14 | }, 15 | "keywords": [ 16 | "bootstrap", 17 | "jquery", 18 | "ax5ui", 19 | "plugin", 20 | "bootstrap jQuery plugins", 21 | "uploader", 22 | "ax5ui-uploader", 23 | "javascript ui" 24 | ], 25 | "scripts": { 26 | "test": "karma start karma.conf.js" 27 | }, 28 | "dependencies": { 29 | "jquery": "", 30 | "ax5core": ">=1.4.115" 31 | }, 32 | "devDependencies": { 33 | "karma": "^1.3.0", 34 | "karma-mocha": "^1.2.0", 35 | "karma-phantomjs-launcher": "^1.0.2", 36 | "mocha": "^3.1.0", 37 | "phantomjs-prebuilt": "^2.1.13", 38 | "webdriverio": "^4.6.1" 39 | } 40 | } -------------------------------------------------------------------------------- /src/ax5ui-uploader/src/ax5uploader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/ax5ui-uploader/src/ax5uploader.gif -------------------------------------------------------------------------------- /src/ax5ui-uploader/src/ax5uploader.scss: -------------------------------------------------------------------------------- 1 | @import "node_modules/ax5core/src/_ax5.scss"; 2 | 3 | @import "scss/ax5uploader_variables"; 4 | @import "scss/ax5uploader"; 5 | 6 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/api/fileDelete.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/api/fileListLoad.php: -------------------------------------------------------------------------------- 1 | 0) echo(","); 21 | 22 | echo '{ 23 | "name": "' . ($file) . '", 24 | "saveName": "' . ($file) . '", 25 | "type": "' . filetype($upload_dir . "/" . $file) . '", 26 | "fileSize": "' . filesize($upload_dir . "/" . $file) . '", 27 | "uploadedPath": "' . str_replace($_SERVER['DOCUMENT_ROOT'], '', $upload_dir) . '", 28 | "thumbUrl": "//" 29 | }'; 30 | 31 | $seq++; 32 | } 33 | echo "]"; 34 | 35 | closedir($dh); 36 | 37 | ?> -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/api/fileUpload.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/api/form.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | Title 12 | 13 | 14 |
      15 | 16 | 17 |
      18 | 19 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ax5ui-picker-tester", 3 | "dependencies": { 4 | "jquery": "^1.11.0", 5 | "ax5core": ">=1.4.115", 6 | "bootstrap": "^3.3.6", 7 | "font-awesome": "", 8 | "jquery-direct": "" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/ax5ui-uploader/test/test.uploader.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | ax5uplaoder TESTING 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
      24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/favicon.ico -------------------------------------------------------------------------------- /src/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ax5ui/ax5ui-kernel/94a337d6679e2e8f90e7cd61d8429b7f184d9fb1/src/preview.png -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | LOG = "MAJOR" 2 | 3 | case "$LOG" in 4 | *MAJOR@*) echo "Major Version"; VERSION=$(npm version major --force) ;; 5 | *MINOR@*) echo "Minor version"; VERSION=$(npm version minor --force) ;; 6 | *PATCH@*) echo "Patch Version"; VERSION=$(npm version patch --force) ;; 7 | esac 8 | 9 | VERSION=$(echo $VERSION | cut -c 2-) 10 | 11 | echo $VERSION 12 | 13 | #npm install && gulp version 14 | 15 | #git add * 16 | 17 | #echo "Git Commit & Push" 18 | 19 | #git commit -m "$VERSION RELEASED" && git pull origin master && git push origin master 20 | 21 | #echo "Start git Subsplit" 22 | -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- 1 | # 테스트 가이드 2 | 3 | ## 테스트 환경 설정 4 | ```bash 5 | # 제일 먼저 ax5ui-kernel의 경로로 이동합니다. 6 | $ cd ./ax5ui-kernel 7 | # 테스트에 필요한 mocha와 karma를 global 옵션으로 설치합니다. 8 | $ npm install mocha karma -g 9 | # 각 테스트 모듈안에 node module을 한 번에 설치하기위해 gulp의 test-npm-install task를 실행합니다. 10 | # 이 작업은 상당히 오래 걸릴 수 있으니 차 한 잔 마시며 기다립니다. 11 | $ gulp test-npm-install 12 | ``` 13 | 14 | ## 테스트 실행 15 | 16 | ### 브라우저에서 실행하기 17 | ```bash 18 | # 단일 테스트 실행 19 | # use mocha 20 | open ./ax5ui-kernel/src/{{module}}/test/test.{{module}}.html 21 | ``` 22 | 23 | ### 콘솔에서 실행하기 24 | ```bash 25 | # 전체 테스트 실행 26 | # use karma 27 | $ npm test 28 | ``` 29 | 30 | ## 테스트 코드 작성 가이드 31 | ### ax5의 테스트는 아래 세 가지 라이브러리 및 도구를 사용하고 있습니다. 32 | 1. [Should.js - assertion library](https://github.com/shouldjs/should.js) 33 | 1. [mocha - test framework](https://mochajs.org/) 34 | 1. [karma - test runner](https://karma-runner.github.io) 35 | 36 | ### 테스트 코드 작성 순서는 아래와 같습니다. 37 | 1. 테스트 폴더에 test.{{module}}.html 파일을 만듭니다. 38 | 1. 테스트 폴더에 test.{{module}}.js 파일을 만듭니다. 39 | 1. 내용을 아래 코드를 참고해서 채워주세요. 40 | 41 | ```html 42 | 43 | 44 | 45 | 46 | ax5.util TYPE testing 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
      58 | 59 | 60 | 61 | 62 | 63 | 64 | ``` 65 | 66 | ```js 67 | describe('테스트에 대한 설명을 적어주세요.', function(){ 68 | it('테스트의 input, output을 적어주세요.', function(done){ 69 | // TODO test 70 | }); 71 | }); 72 | ``` --------------------------------------------------------------------------------