├── .gitignore
├── LICENSE
├── README.md
├── bibframe-profilespec
├── 20140226.html
├── 20140501.html
├── index.html
└── wemi-bibframe-profile.png
├── documentation
├── InstallationInstructions.doc
├── USLOC-Bibframe-SONAR.pdf
├── export.doc
└── import.doc
└── source
├── .eslintrc.js
├── Gruntfile.js
├── assets
├── css
│ ├── bootstrap
│ │ ├── bootstrap.css.map
│ │ ├── bootstrap.min.css
│ │ ├── mvpready-admin.css
│ │ └── mvpready-flat.css
│ ├── dropzone.css
│ ├── explorer8.css
│ ├── explorer9.css
│ ├── font-awesome
│ │ ├── font-awesome.min.css
│ │ └── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.svg
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ └── fontawesome-webfont.woff
│ ├── jquery.fileupload-ui.css
│ ├── jquery.fileupload.css
│ └── profileTemplate.css
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
├── images
│ ├── CheckLogo.png
│ ├── bibframe-newlogo.png
│ └── library-of-congress-logo.png
└── js
│ ├── dropzone.min.js
│ ├── lib
│ ├── bootstrap
│ │ ├── bootbox.min.js
│ │ ├── bootstrap-colorpicker.min.js
│ │ ├── bootstrap-tag.min.js
│ │ ├── bootstrap-wysiwyg.min.js
│ │ ├── bootstrap.js
│ │ ├── bootstrap.min.js
│ │ ├── excanvas.compiled.js
│ │ ├── jquery-1.10.2.js
│ │ └── jquery-1.10.2.min.js
│ ├── datepicker
│ │ ├── css
│ │ │ └── datepicker.css
│ │ ├── js
│ │ │ └── bootstrap-datepicker.js
│ │ └── less
│ │ │ └── datepicker.less
│ ├── fileupload
│ │ ├── FileAPI.flash.swf
│ │ ├── FileAPI.js
│ │ ├── angular-file-upload-shim.js
│ │ ├── angular-file-upload-shim.min.js
│ │ ├── angular-file-upload.js
│ │ └── angular-file-upload.min.js
│ ├── jqGrid
│ │ ├── i18n
│ │ │ ├── grid.locale-ar.js
│ │ │ ├── grid.locale-bg.js
│ │ │ ├── grid.locale-bg1251.js
│ │ │ ├── grid.locale-cat.js
│ │ │ ├── grid.locale-cn.js
│ │ │ ├── grid.locale-cs.js
│ │ │ ├── grid.locale-da.js
│ │ │ ├── grid.locale-de.js
│ │ │ ├── grid.locale-dk.js
│ │ │ ├── grid.locale-el.js
│ │ │ ├── grid.locale-en.js
│ │ │ ├── grid.locale-es.js
│ │ │ ├── grid.locale-fa.js
│ │ │ ├── grid.locale-fi.js
│ │ │ ├── grid.locale-fr.js
│ │ │ ├── grid.locale-gl.js
│ │ │ ├── grid.locale-he.js
│ │ │ ├── grid.locale-hr.js
│ │ │ ├── grid.locale-hr1250.js
│ │ │ ├── grid.locale-hu.js
│ │ │ ├── grid.locale-id.js
│ │ │ ├── grid.locale-is.js
│ │ │ ├── grid.locale-it.js
│ │ │ ├── grid.locale-ja.js
│ │ │ ├── grid.locale-kr.js
│ │ │ ├── grid.locale-lt.js
│ │ │ ├── grid.locale-mne.js
│ │ │ ├── grid.locale-nl.js
│ │ │ ├── grid.locale-no.js
│ │ │ ├── grid.locale-pl.js
│ │ │ ├── grid.locale-pt-br.js
│ │ │ ├── grid.locale-pt.js
│ │ │ ├── grid.locale-ro.js
│ │ │ ├── grid.locale-ru.js
│ │ │ ├── grid.locale-sk.js
│ │ │ ├── grid.locale-sr-latin.js
│ │ │ ├── grid.locale-sr.js
│ │ │ ├── grid.locale-sv.js
│ │ │ ├── grid.locale-th.js
│ │ │ ├── grid.locale-tr.js
│ │ │ ├── grid.locale-tw.js
│ │ │ ├── grid.locale-ua.js
│ │ │ └── grid.locale-vi.js
│ │ └── jquery.jqGrid.min.js
│ ├── jquery
│ │ ├── chosen.jquery.min.js
│ │ ├── jquery-ui.custom.min.js
│ │ ├── jquery-ui.min.js
│ │ ├── jquery.autosize.min.js
│ │ ├── jquery.colorbox-min.js
│ │ ├── jquery.dataTables.bootstrap.js
│ │ ├── jquery.dataTables.min.js
│ │ ├── jquery.easy-pie-chart-older.js
│ │ ├── jquery.easy-pie-chart.min.js
│ │ ├── jquery.easypiechart.min.js
│ │ ├── jquery.gritter.min.js
│ │ ├── jquery.hotkeys.min.js
│ │ ├── jquery.inputlimiter.1.3.1.min.js
│ │ ├── jquery.knob-older.min.js
│ │ ├── jquery.knob.min.js
│ │ ├── jquery.maskedinput.min.js
│ │ ├── jquery.min.js
│ │ ├── jquery.mobile.custom.min.js
│ │ ├── jquery.nestable.min.js
│ │ ├── jquery.slimscroll.min.js
│ │ ├── jquery.sparkline.min.js
│ │ ├── jquery.ui.touch-punch.min.js
│ │ ├── jquery.validate.min.js
│ │ └── jquery1x.min.js
│ ├── json
│ │ ├── json2.js
│ │ └── shim.js
│ ├── mvpready
│ │ ├── mvpready-admin.js
│ │ └── mvpready-core.js
│ ├── ng-grid
│ │ ├── ui-grid-ie8.min.js
│ │ ├── ui-grid-stable.min.css
│ │ ├── ui-grid-stable.min.js
│ │ ├── ui-grid-unstable.min.js
│ │ ├── ui-grid.css
│ │ ├── ui-grid.eot
│ │ ├── ui-grid.js
│ │ ├── ui-grid.min.css
│ │ ├── ui-grid.svg
│ │ ├── ui-grid.ttf
│ │ └── ui-grid.woff
│ ├── ui-bootstrap
│ │ ├── ui-bootstrap-tpls.min.js
│ │ └── ui-bootstrap.min.js
│ ├── ui-router
│ │ └── angular-ui-router.min.js
│ ├── ui-sortable
│ │ └── sortable.js
│ └── x2js-v1.1.5
│ │ ├── .hg_archival.txt
│ │ ├── .hgtags
│ │ ├── .project
│ │ ├── bower.json
│ │ ├── check_issues.html
│ │ ├── demo.html
│ │ ├── samples.html
│ │ ├── xml2json.js
│ │ └── xml2json.min.js
│ ├── modules
│ ├── help
│ │ ├── directives
│ │ │ └── movetop.directive.js
│ │ └── help.module.js
│ └── profile
│ │ ├── controllers
│ │ ├── import.controller.js
│ │ ├── ontologies.controller.js
│ │ ├── profile.controller.js
│ │ └── profileList.controller.js
│ │ ├── directives
│ │ ├── alert.directive.js
│ │ ├── changeColor.directive.js
│ │ ├── closeChooseResource.directive.js
│ │ ├── closeModal.directive.js
│ │ ├── closeWarning.directive.js
│ │ ├── datepicker.directive.js
│ │ ├── delete.directive.js
│ │ ├── drop.directive.js
│ │ ├── export.directive.js
│ │ ├── loading.directive.js
│ │ ├── override.directive.js
│ │ ├── profile.directive.js
│ │ └── warning.directive.js
│ │ ├── profile.module.js
│ │ ├── resourcetemplate
│ │ ├── controllers
│ │ │ └── resourceTemplate.controller.js
│ │ └── propertytemplate
│ │ │ ├── controllers
│ │ │ └── propertyTemplate.controller.js
│ │ │ └── valueconstraint
│ │ │ ├── controllers
│ │ │ └── valueConstraint.controller.js
│ │ │ └── valuedatatype
│ │ │ └── controllers
│ │ │ └── valueDataType.controller.js
│ │ └── services
│ │ ├── alert.service.js
│ │ ├── formHandler.service.js
│ │ ├── httpResponse.service.js
│ │ ├── import.service.js
│ │ ├── profileHandler.service.js
│ │ ├── scrub.service.js
│ │ ├── search.service.js
│ │ ├── server.service.js
│ │ └── vocab.service.js
│ └── ng-app.js
├── documentation.doxygen
├── favicon.ico
├── fonts
├── FontAwesome.otf
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg
├── fontawesome-webfont.ttf
├── fontawesome-webfont.woff
├── glyphicons-halflings-regular.eot
├── glyphicons-halflings-regular.svg
├── glyphicons-halflings-regular.ttf
└── glyphicons-halflings-regular.woff
├── html
├── help.html
├── ontologies.html
├── ontologiesForm.html
├── profile.html
├── profileForm.html
├── profileList.html
├── propertyTemplate.html
├── resourceTemplate.html
├── template.html
├── value.html
├── valueConstraint.html
└── valueDataType.html
├── index.html
├── package-lock.json
├── package.json
└── sonar-project.properties
/.gitignore:
--------------------------------------------------------------------------------
1 | *.zip
2 | source/assets/css/dist/
3 | source/assets/js/dist/
4 | source/documentation/
5 | source/node_modules/
6 |
7 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # BIBRAME Profile Editor
2 |
3 | ## Overview
4 | The BIBFRAME Profile Editor was designed to work on the widest range of machines possible. As such, most of the business logic is implemented client-side in JavaScript. This code can run in Chrome, FireFox, IE 8+, and Safari. The AngularJS framework used is the latest in client-side MVC architecture, and provides a clear model for structuring and organizing code. Every effort has been made to follow this structure and document the code, making future modifications as easy as possible.
5 | All of the JavaScript code comes with comments explaining what each bit does. Documentation tools were used to generate documentation for this part of the application automatically. This documentation is available in /source/documentation/jsdoc/. It is also viewable from the web interface at /documentation/jsdoc/. The Editor also contains a help link containing a FAQ section.
6 |
7 | ## Installation Prerequisites
8 |
9 | The Profile Editor is now a submodule of [Recto](http://github.com/lcnetdev/recto), which is an Express-based web service which uses [Verso](http://github.com/lcnetdev/verso) to store data. The PHP files in 1.2 have been removed and have been replaced with api methods in recto, or loopback functions in verso. To use the Profile Editor, Verso should be installed and configured, then Recto should be installed and configured which will install the profile-editor as a submodule.
10 |
11 | ## Installation
12 |
13 | 1. Clone recto w/submodules: `git clone --recursive https://github.com/lcnetdev/recto`
14 | 2. cd profile-edit/source
15 | 3. Run 'npm init', and follow the instructions that follow.
16 | 4. Run 'npm install'. This installs everything needed for Grunt to run successfully.
17 | 5. Run 'grunt' to generate the minified javascript and css files that run the site, as well as several files that document the code in the editor.
18 | 6. In index.html, change the 'base' property to the base for your webserver.
19 |
20 | ## Data References
21 |
22 | Profiles, templates, properties, vocabularies, and ontologies are all stored in the "config" database in Verso.
23 |
24 | ## Acknowledgements
25 |
26 | Thank you [IndexData](http://indexdata.com/) for your assistance on the latest build!
27 |
28 | Contributors:
29 | * [Kirk Hess](https://github.com/kirkhess)
30 | * [Charles Ledvina](https://github.com/cledvina)
31 | * [Wayne Schneider](https://github.com/wafschneider)
32 |
33 | ## License
34 |
35 | As a work of the United States government, this project is in the public domain within the United States.
36 |
37 | Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.
38 |
--------------------------------------------------------------------------------
/bibframe-profilespec/wemi-bibframe-profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/bibframe-profilespec/wemi-bibframe-profile.png
--------------------------------------------------------------------------------
/documentation/InstallationInstructions.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/documentation/InstallationInstructions.doc
--------------------------------------------------------------------------------
/documentation/USLOC-Bibframe-SONAR.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/documentation/USLOC-Bibframe-SONAR.pdf
--------------------------------------------------------------------------------
/documentation/export.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/documentation/export.doc
--------------------------------------------------------------------------------
/documentation/import.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/documentation/import.doc
--------------------------------------------------------------------------------
/source/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | "extends": "plugin:angular/johnpapa"
3 | };
4 |
--------------------------------------------------------------------------------
/source/Gruntfile.js:
--------------------------------------------------------------------------------
1 | /**
2 | *Standard configuration file for all Angular.js projects
3 | *Concats and minifies both the javascript and css files
4 | *and performs a code analysis on the javascript files.
5 | *
6 | *Running this file requires first initializing npm in the
7 | *project's root directory, using the
8 | *command npm init. Follow the instructions to set up the
9 | *package.json file.
10 | *
11 | *Once the package.json file has been created
12 | *run 'npm install grunt-ng-annotate --save-dev',
13 | *'npm install grunt-contrib-uglify --save-dev',
14 | *'npm install grunt-contrib-cssmin --save-dev',
15 | * and 'npm install grunt-plato --save-dev' to
16 | *finish generating the proper package.json file
17 | *for the project'
18 | */
19 | module.exports = function(grunt) {
20 | grunt.initConfig({
21 | pkg: grunt.file.readJSON('package.json'),
22 | //Explicitly add in any necessary annotation while doing the concats
23 | ngAnnotate: {
24 | //The controllers and services must follow everything else
25 | base: {
26 | files: [
27 | {src: ['assets/js/modules/**/*.js', '!assets/js/modules/**/controllers/**/*.js', '!assets/js/modules/**/services/**/*.js', '!assets/js/modules/**/directives/**/*.js'], dest: 'assets/js/dist/base.js'}
28 | ],
29 | },
30 | controllers: {
31 | files: [
32 | {src: ['assets/js/modules/**/controllers/**/*.js'], dest: 'assets/js/dist/controllers.js'}
33 | ],
34 | },
35 | services: {
36 | files: [
37 | {src: ['assets/js/modules/**/services/**/*.js'], dest: 'assets/js/dist/services.js'}
38 | ],
39 | },
40 | directives: {
41 | files: [
42 | {src: ['assets/js/modules/**/directives/**/*.js'], dest: 'assets/js/dist/directives.js'}
43 | ],
44 | },
45 | dist: {
46 | files: [
47 | {src: ['assets/js/dist/base.js', 'assets/js/dist/services.js', 'assets/js/dist/controllers.js', 'assets/js/dist/directives.js'], dest: 'assets/js/dist/concat.js'},
48 | ],
49 | },
50 | },
51 | uglify: {
52 | options: {
53 | banner: '/* <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */',
54 | },
55 | dist: {
56 | files: [
57 | {src: 'assets/js/dist/concat.js', dest: 'assets/js/dist/<%= pkg.name %>.min.js'}
58 | ]
59 | },
60 | },
61 | cssmin: {
62 | add_banner: {
63 | options: {
64 | banner: '/* <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */'
65 | },
66 | },
67 | combine: {
68 | //For some reason, this one is dest then src
69 | files: {
70 | 'assets/css/dist/<%= pkg.name %>.min.css': ['assets/css/**/*.css', '!assets/css/explorer8.css', '!assets/css/explorer9.css', '!**/*.min.css']
71 | },
72 | },
73 | },
74 | plato: {
75 | options: {
76 | },
77 | tests: {
78 | files: {
79 | 'documentation/plato': ['assets/js/modules/**/*.js']
80 | },
81 | },
82 | },
83 | ngdocs: {
84 | options: {
85 | dest: 'documentation/ngdocs',
86 | },
87 | all: ['assets/js/modules/**/*.js']
88 | },
89 | jsdoc: {
90 | dist: {
91 | src: ['assets/js/modules/**/*.js'],
92 | options: {
93 | destination: 'documentation/jsdoc'
94 | }
95 | }
96 | }
97 | });
98 |
99 | grunt.loadNpmTasks('grunt-ng-annotate');
100 | grunt.loadNpmTasks('grunt-contrib-uglify-es');
101 | grunt.loadNpmTasks('grunt-contrib-cssmin');
102 | grunt.loadNpmTasks('grunt-plato');
103 | grunt.loadNpmTasks('grunt-ngdocs');
104 | grunt.loadNpmTasks('grunt-jsdoc');
105 |
106 | grunt.registerTask('default', ['ngAnnotate', 'uglify', 'cssmin', 'plato', 'ngdocs', 'jsdoc']);
107 | };
108 |
--------------------------------------------------------------------------------
/source/assets/css/bootstrap/mvpready-flat.css:
--------------------------------------------------------------------------------
1 | /* ========================================================
2 | *
3 | * MVP Ready - Lightweight & Responsive Admin Template
4 | *
5 | * ========================================================
6 | *
7 | * File: mvpready-flat.css
8 | * Theme Version: 1.1.0
9 | * Bootstrap Version: 3.1.1
10 | * Author: Jumpstart Themes
11 | * Website: http://mvpready.com
12 | *
13 | * ======================================================== */
14 | .navbar {
15 | background-image: none;
16 | background-repeat: no-repeat;
17 | -ms-filter: none;
18 | filter: none;
19 | }
20 | .btn {
21 | background-image: none;
22 | background-repeat: no-repeat;
23 | -ms-filter: none;
24 | filter: none;
25 | }
26 | .alert {
27 | background-image: none;
28 | background-repeat: no-repeat;
29 | -ms-filter: none;
30 | filter: none;
31 | }
32 | .progress-bar {
33 | background-image: none;
34 | -ms-filter: none;
35 | filter: none;
36 | }
37 | .table-bordered thead tr,
38 | .table-bordered tfoot tr {
39 | background-image: none;
40 | background-repeat: no-repeat;
41 | -ms-filter: none;
42 | filter: none;
43 | }
44 | .accordion-boxed .accordion-toggle {
45 | background-image: none;
46 | background-repeat: no-repeat;
47 | -ms-filter: none;
48 | filter: none;
49 | }
50 | .accordion-boxed .panel.is-open .accordion-toggle {
51 | background-image: none;
52 | background-repeat: no-repeat;
53 | -ms-filter: none;
54 | filter: none;
55 | }
56 | .modal-styled .modal-header {
57 | background-image: none;
58 | background-repeat: no-repeat;
59 | -ms-filter: none;
60 | filter: none;
61 | }
62 | .pagination > .active > a,
63 | .pagination > .active > span,
64 | .pagination > .active > a:hover,
65 | .pagination > .active > span:hover,
66 | .pagination > .active > a:focus,
67 | .pagination > .active > span:focus {
68 | background-image: none;
69 | background-repeat: no-repeat;
70 | -ms-filter: none;
71 | filter: none;
72 | }
73 |
--------------------------------------------------------------------------------
/source/assets/css/dropzone.css:
--------------------------------------------------------------------------------
1 | /*
2 | Created on : Oct 24, 2014, 2:05:35 PM
3 | Author : robertsegura
4 | */
5 |
6 | .dropzone .dz-default.dz-message {
7 | background-image: none;
8 | font-size: 24px;
9 | text-align: center;
10 | line-height: 32px;
11 | left: 0;
12 | width: 100%;
13 | margin-left: auto;
14 | }
15 |
16 | .dropzone .dz-default.dz-message span {
17 | display: inline;
18 | color: #555;
19 | }
20 |
21 | .bigger-150 {
22 | font-size: 150%!important;
23 | }
24 |
25 | .bolder {
26 | font-weight: bolder;
27 | }
28 |
29 | .red {
30 | color: #dd5a43!important;
31 | }
32 |
33 | .ace-icon {
34 | text-align: center;
35 | }
36 |
37 | .smaller-80 {
38 | font-size: 80%!important;
39 | }
40 |
41 | .grey {
42 | color: #777!important;
43 | }
44 |
45 | .dropzone .dz-default.dz-message span .upload-icon {
46 | opacity: .7;
47 | margin-top: 8px;
48 | cursor: pointer;
49 | }
50 |
51 | .blue {
52 | color: #478FCA!important;
53 | }
--------------------------------------------------------------------------------
/source/assets/css/explorer9.css:
--------------------------------------------------------------------------------
1 | #search_bar button, #template_search_bar button {
2 | padding-top: 6px;
3 | }
4 |
5 | .vocab-search {
6 | width: 62%
7 | }
--------------------------------------------------------------------------------
/source/assets/css/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/css/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/source/assets/css/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/css/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/source/assets/css/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/css/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/source/assets/css/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/css/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/source/assets/css/jquery.fileupload-ui.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload UI Plugin CSS 9.0.0
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2010, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileupload-buttonbar .btn,
14 | .fileupload-buttonbar .toggle {
15 | margin-bottom: 5px;
16 | }
17 | .progress-animated .progress-bar,
18 | .progress-animated .bar {
19 | background: url("../img/progressbar.gif") !important;
20 | filter: none;
21 | }
22 | .fileupload-process {
23 | float: right;
24 | display: none;
25 | }
26 | .fileupload-processing .fileupload-process,
27 | .files .processing .preview {
28 | display: block;
29 | width: 32px;
30 | height: 32px;
31 | background: url("../img/loading.gif") center no-repeat;
32 | background-size: contain;
33 | }
34 | .files audio,
35 | .files video {
36 | max-width: 300px;
37 | }
38 |
39 | @media (max-width: 767px) {
40 | .fileupload-buttonbar .toggle,
41 | .files .toggle,
42 | .files .btn span {
43 | display: none;
44 | }
45 | .files .name {
46 | width: 80px;
47 | word-wrap: break-word;
48 | }
49 | .files audio,
50 | .files video {
51 | max-width: 80px;
52 | }
53 | .files img,
54 | .files canvas {
55 | max-width: 100%;
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/source/assets/css/jquery.fileupload.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload Plugin CSS 1.3.0
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2013, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileinput-button {
14 | position: relative;
15 | overflow: hidden;
16 | }
17 | .fileinput-button input {
18 | position: absolute;
19 | top: 0;
20 | right: 0;
21 | margin: 0;
22 | opacity: 0;
23 | -ms-filter: 'alpha(opacity=0)';
24 | font-size: 200px;
25 | direction: ltr;
26 | cursor: pointer;
27 | }
28 |
29 | /* Fixes for IE < 8 */
30 | @media screen\9 {
31 | .fileinput-button input {
32 | filter: alpha(opacity=0);
33 | font-size: 100%;
34 | height: 100%;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/source/assets/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/source/assets/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/source/assets/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/source/assets/images/CheckLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/images/CheckLogo.png
--------------------------------------------------------------------------------
/source/assets/images/bibframe-newlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/images/bibframe-newlogo.png
--------------------------------------------------------------------------------
/source/assets/images/library-of-congress-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/images/library-of-congress-logo.png
--------------------------------------------------------------------------------
/source/assets/js/lib/bootstrap/bootstrap-tag.min.js:
--------------------------------------------------------------------------------
1 | /* ==========================================================
2 | * bootstrap-tag.js v2.2.5
3 | * https://github.com/fdeschenes/bootstrap-tag
4 | * ==========================================================
5 | * Copyright 2012 Francois Deschenes.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | * ========================================================== */
19 | !function(c){var b=function(e,d){this.element=c(e);this.options=c.extend(true,{},c.fn.tag.defaults,d);this.values=c.grep(c.map(this.element.val().split(","),c.trim),function(f){return f.length>0});this.show()};b.prototype={constructor:b,show:function(){var d=this;d.element.parent().prepend(d.element.detach().hide());d.element.wrap(c('
')).parent().on("click",function(){d.input.focus()});if(d.values.length){c.each(d.values,function(){d.createBadge(this)})}d.input=c('
').attr("placeholder",d.options.placeholder).insertAfter(d.element).on("focus",function(){d.element.parent().addClass("tags-hover")}).on("blur",function(){if(!d.skip){d.process();d.element.parent().removeClass("tags-hover");d.element.siblings(".tag").removeClass("tag-important")}d.skip=false}).on("keydown",function(g){if(g.keyCode==188||g.keyCode==13||g.keyCode==9){if(c.trim(c(this).val())&&(!d.element.siblings(".typeahead").length||d.element.siblings(".typeahead").is(":hidden"))){if(g.keyCode!=9){g.preventDefault()}d.process()}else{if(g.keyCode==188){if(!d.element.siblings(".typeahead").length||d.element.siblings(".typeahead").is(":hidden")){g.preventDefault()}else{d.input.data("typeahead").select();g.stopPropagation();g.preventDefault()}}}}else{if(!c.trim(c(this).val())&&g.keyCode==8){var f=d.element.siblings(".tag").length;if(f){var e=d.element.siblings(".tag:eq("+(f-1)+")");if(e.hasClass("tag-important")){d.remove(f-1)}else{e.addClass("tag-important")}}}else{d.element.siblings(".tag").removeClass("tag-important")}}}).bs_typeahead({source:d.options.source,matcher:function(e){return ~e.toLowerCase().indexOf(this.query.toLowerCase())&&(d.inValues(e)==-1||d.options.allowDuplicates)},updater:c.proxy(d.add,d)});c(d.input.data("bs_typeahead").$menu).on("mousedown",function(){d.skip=true});this.element.trigger("shown")},inValues:function(e){if(this.options.caseInsensitive){var d=-1;c.each(this.values,function(f,g){if(g.toLowerCase()==e.toLowerCase()){d=f;return false}});return d}else{return c.inArray(e,this.values)}},createBadge:function(e){var d=this;c("
",{"class":"tag"}).text(e).append(c('
').on("click",function(){d.remove(d.element.siblings(".tag").index(c(this).closest(".tag")))})).insertBefore(d.element)},add:function(g){var f=this;if(!f.options.allowDuplicates){var e=f.inValues(g);if(e!=-1){var d=f.element.siblings(".tag:eq("+e+")");d.addClass("tag-warning");setTimeout(function(){c(d).removeClass("tag-warning")},500);return}}this.values.push(g);this.createBadge(g);this.element.val(this.values.join(", "));this.element.trigger("added",[g])},remove:function(d){if(d>=0){var e=this.values.splice(d,1);this.element.siblings(".tag:eq("+d+")").remove();this.element.val(this.values.join(", "));this.element.trigger("removed",[e])}},process:function(){var d=c.grep(c.map(this.input.val().split(","),c.trim),function(f){return f.length>0}),e=this;c.each(d,function(){e.add(this)});this.input.val("")},skip:false};var a=c.fn.tag;c.fn.tag=function(d){return this.each(function(){var f=c(this),g=f.data("tag"),e=typeof d=="object"&&d;if(!g){f.data("tag",(g=new b(this,e)))}if(typeof d=="string"){g[d]()}})};c.fn.tag.defaults={allowDuplicates:false,caseInsensitive:true,placeholder:"",source:[]};c.fn.tag.Constructor=b;c.fn.tag.noConflict=function(){c.fn.tag=a;return this};c(window).on("load",function(){c('[data-provide="tag"]').each(function(){var d=c(this);if(d.data("tag")){return}d.tag(d.data())})})}(window.jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/bootstrap/bootstrap-wysiwyg.min.js:
--------------------------------------------------------------------------------
1 | /* http://github.com/mindmup/bootstrap-wysiwyg */
2 | /*global jQuery, $, FileReader*/
3 | /*jslint browser:true*/
4 | (function(b){var a=function(e){var c=b.Deferred(),d=new FileReader();d.onload=function(f){c.resolve(f.target.result)};d.onerror=c.reject;d.onprogress=c.notify;d.readAsDataURL(e);return c.promise()};b.fn.cleanHtml=function(){var c=b(this).html();return c&&c.replace(/(
|\s|
<\/div>| )*$/,"")};b.fn.wysiwyg=function(k){var l=this,h,q,d,p=function(){if(q.activeToolbarClass){b(q.toolbarSelector).find(d).each(function(){try{var s=b(this).data(q.commandRole);if(document.queryCommandState(s)){b(this).addClass(q.activeToolbarClass)}else{b(this).removeClass(q.activeToolbarClass)}}catch(r){}})}},o=function(r,s){var u=r.split(" "),v=u.shift(),t=u.join(" ")+(s||"");document.execCommand(v,0,t);p()},f=function(r){b.each(r,function(s,t){l.keydown(s,function(u){if(l.attr("contenteditable")&&l.is(":visible")){u.preventDefault();u.stopPropagation();o(t)}}).keyup(s,function(u){if(l.attr("contenteditable")&&l.is(":visible")){u.preventDefault();u.stopPropagation()}})})},g=function(){try{var r=window.getSelection();if(r.getRangeAt&&r.rangeCount){return r.getRangeAt(0)}}catch(s){}},i=function(){h=g()},e=function(){try{var s=window.getSelection();if(h){try{s.removeAllRanges()}catch(r){document.body.createTextRange().select();document.selection.empty()}s.addRange(h)}}catch(t){}},j=function(r){l.focus();b.each(r,function(s,t){if(/^image\//.test(t.type)){b.when(a(t)).done(function(u){o("insertimage",u)}).fail(function(u){q.fileUploadError("file-reader",u)})}else{q.fileUploadError("unsupported-file-type",t.type)}})},c=function(s,r){e();if(document.queryCommandSupported("hiliteColor")){document.execCommand("hiliteColor",0,r||"transparent")}i();s.data(q.selectionMarker,r)},m=function(t,s){t.find(d).click(function(){e();l.focus();o(b(this).data(s.commandRole));i()});t.find("[data-toggle=dropdown]").click(e);var r=!!window.navigator.msPointerEnabled||(!!document.all&&!!document.addEventListener);t.find("input[type=text][data-"+s.commandRole+"]").on("webkitspeechchange change",function(){var u=this.value;this.value="";e();if(u){l.focus();o(b(this).data(s.commandRole),u)}i()}).on("focus",function(){if(r){return}var u=b(this);if(!u.data(s.selectionMarker)){c(u,s.selectionColor);u.focus()}}).on("blur",function(){if(r){return}var u=b(this);if(u.data(s.selectionMarker)){c(u,false)}});t.find("input[type=file][data-"+s.commandRole+"]").change(function(){e();if(this.type==="file"&&this.files&&this.files.length>0){j(this.files)}i();this.value=""})},n=function(){l.on("dragenter dragover",false).on("drop",function(s){var r=s.originalEvent.dataTransfer;s.stopPropagation();s.preventDefault();if(r&&r.files&&r.files.length>0){j(r.files)}})};q=b.extend({},b.fn.wysiwyg.defaults,k);d="a[data-"+q.commandRole+"],button[data-"+q.commandRole+"],input[type=button][data-"+q.commandRole+"]";f(q.hotKeys);if(q.dragAndDropImages){n()}m(b(q.toolbarSelector),q);l.attr("contenteditable",true).on("mouseup keyup mouseout",function(){i();p()});b(window).bind("touchend",function(u){var t=(l.is(u.target)||l.has(u.target).length>0),s=g(),r=s&&(s.startContainer===s.endContainer&&s.startOffset===s.endOffset);if(!r||t){i();p()}});return this};b.fn.wysiwyg.defaults={hotKeys:{"ctrl+b meta+b":"bold","ctrl+i meta+i":"italic","ctrl+u meta+u":"underline","ctrl+z meta+z":"undo","ctrl+y meta+y meta+shift+z":"redo","ctrl+l meta+l":"justifyleft","ctrl+r meta+r":"justifyright","ctrl+e meta+e":"justifycenter","ctrl+j meta+j":"justifyfull","shift+tab":"outdent",tab:"indent"},toolbarSelector:"[data-role=editor-toolbar]",commandRole:"edit",activeToolbarClass:"btn-info",selectionMarker:"edit-focus-marker",selectionColor:"darkgrey",dragAndDropImages:true,fileUploadError:function(d,c){console.log("File upload error",d,c)}}}(window.jQuery));
--------------------------------------------------------------------------------
/source/assets/js/lib/datepicker/less/datepicker.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * Datepicker for Bootstrap
3 | *
4 | * Copyright 2012 Stefan Petre
5 | * Licensed under the Apache License v2.0
6 | * http://www.apache.org/licenses/LICENSE-2.0
7 | *
8 | */
9 |
10 | .datepicker {
11 | top: 0;
12 | left: 0;
13 | padding: 4px;
14 | margin-top: 1px;
15 | .border-radius(4px);
16 | &:before {
17 | content: '';
18 | display: inline-block;
19 | border-left: 7px solid transparent;
20 | border-right: 7px solid transparent;
21 | border-bottom: 7px solid #ccc;
22 | border-bottom-color: rgba(0,0,0,.2);
23 | position: absolute;
24 | top: -7px;
25 | left: 6px;
26 | }
27 | &:after {
28 | content: '';
29 | display: inline-block;
30 | border-left: 6px solid transparent;
31 | border-right: 6px solid transparent;
32 | border-bottom: 6px solid @white;
33 | position: absolute;
34 | top: -6px;
35 | left: 7px;
36 | }
37 | >div {
38 | display: none;
39 | }
40 | table{
41 | width: 100%;
42 | margin: 0;
43 | }
44 | td,
45 | th{
46 | text-align: center;
47 | width: 20px;
48 | height: 20px;
49 | .border-radius(4px);
50 | }
51 | td {
52 | &.day:hover {
53 | background: @grayLighter;
54 | cursor: pointer;
55 | }
56 | &.day.disabled {
57 | color: @grayLighter;
58 | }
59 | &.old,
60 | &.new {
61 | color: @grayLight;
62 | }
63 | &.active,
64 | &.active:hover {
65 | .buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
66 | color: #fff;
67 | text-shadow: 0 -1px 0 rgba(0,0,0,.25);
68 | }
69 | span {
70 | display: block;
71 | width: 47px;
72 | height: 54px;
73 | line-height: 54px;
74 | float: left;
75 | margin: 2px;
76 | cursor: pointer;
77 | .border-radius(4px);
78 | &:hover {
79 | background: @grayLighter;
80 | }
81 | &.active {
82 | .buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
83 | color: #fff;
84 | text-shadow: 0 -1px 0 rgba(0,0,0,.25);
85 | }
86 | &.old {
87 | color: @grayLight;
88 | }
89 | }
90 | }
91 |
92 | th {
93 | &.switch {
94 | width: 145px;
95 | }
96 | &.next,
97 | &.prev {
98 | font-size: @baseFontSize * 1.5;
99 | }
100 | }
101 |
102 | thead tr:first-child th {
103 | cursor: pointer;
104 | &:hover{
105 | background: @grayLighter;
106 | }
107 | }
108 | /*.dow {
109 | border-top: 1px solid #ddd !important;
110 | }*/
111 | }
112 | .input-append,
113 | .input-prepend {
114 | &.date {
115 | .add-on i {
116 | display: block;
117 | cursor: pointer;
118 | width: 16px;
119 | height: 16px;
120 | }
121 | }
122 | }
--------------------------------------------------------------------------------
/source/assets/js/lib/fileupload/FileAPI.flash.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/js/lib/fileupload/FileAPI.flash.swf
--------------------------------------------------------------------------------
/source/assets/js/lib/fileupload/angular-file-upload.min.js:
--------------------------------------------------------------------------------
1 | /*! 1.6.12 */
2 | !function(){var a=angular.module("angularFileUpload",[]);a.service("$upload",["$http","$q","$timeout",function(a,b,c){function d(d){d.method=d.method||"POST",d.headers=d.headers||{},d.transformRequest=d.transformRequest||function(b,c){return window.ArrayBuffer&&b instanceof window.ArrayBuffer?b:a.defaults.transformRequest[0](b,c)};var e=b.defer();window.XMLHttpRequest.__isShim&&(d.headers.__setXHR_=function(){return function(a){a&&(d.__XHR=a,d.xhrFn&&d.xhrFn(a),a.upload.addEventListener("progress",function(a){e.notify(a)},!1),a.upload.addEventListener("load",function(a){a.lengthComputable&&e.notify(a)},!1))}}),a(d).then(function(a){e.resolve(a)},function(a){e.reject(a)},function(a){e.notify(a)});var f=e.promise;return f.success=function(a){return f.then(function(b){a(b.data,b.status,b.headers,d)}),f},f.error=function(a){return f.then(null,function(b){a(b.data,b.status,b.headers,d)}),f},f.progress=function(a){return f.then(null,null,function(b){a(b)}),f},f.abort=function(){return d.__XHR&&c(function(){d.__XHR.abort()}),f},f.xhr=function(a){return d.xhrFn=function(b){return function(){b&&b.apply(f,arguments),a.apply(f,arguments)}}(d.xhrFn),f},f}this.upload=function(b){b.headers=b.headers||{},b.headers["Content-Type"]=void 0,b.transformRequest=b.transformRequest||a.defaults.transformRequest;var c=new FormData,e=b.transformRequest,f=b.data;return b.transformRequest=function(a,c){if(f)if(b.formDataAppender)for(var d in f){var g=f[d];b.formDataAppender(a,d,g)}else for(var d in f){var g=f[d];if("function"==typeof e)g=e(g,c);else for(var h=0;h
'),h=d[0].attributes,i=0;i0&&f[0].webkitGetAsEntry&&"file"!=c.protocol()&&f[0].webkitGetAsEntry().isDirectory)for(var h=0;h-1){var g=a(f.ngFileDragOverClass)(d,{$event:c});e[0].__drag_over_class_=g}else e[0].__drag_over_class_=f.ngFileDragOverClass||"dragover";e.addClass(e[0].__drag_over_class_)},!1),e[0].addEventListener("dragenter",function(a){a.preventDefault()},!1),e[0].addEventListener("dragleave",function(){j=b(function(){e.removeClass(e[0].__drag_over_class_),e[0].__drag_over_class_=null},f.ngFileDragOverDelay||1)},!1);var k=a(f.ngFileDrop);e[0].addEventListener("drop",function(a){a.preventDefault(),e.removeClass(e[0].__drag_over_class_),e[0].__drag_over_class_=null,h(a,function(b){k(d,{$files:b,$event:a})})},!1);var l=0}}}])}();
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-ar.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Arabic Translation
4 | *
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "تسجيل {0} - {1} على {2}",
14 | emptyrecords: "لا يوجد تسجيل",
15 | loadtext: "تحميل...",
16 | pgtext : "صفحة {0} على {1}"
17 | },
18 | search : {
19 | caption: "بحث...",
20 | Find: "بحث",
21 | Reset: "إلغاء",
22 | odata: [{ oper:'eq', text:"يساوي"},{ oper:'ne', text:"يختلف"},{ oper:'lt', text:"أقل"},{ oper:'le', text:"أقل أو يساوي"},{ oper:'gt', text:"أكبر"},{ oper:'ge', text:"أكبر أو يساوي"},{ oper:'bw', text:"يبدأ بـ"},{ oper:'bn', text:"لا يبدأ بـ"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"ينته بـ"},{ oper:'en', text:"لا ينته بـ"},{ oper:'cn', text:"يحتوي"},{ oper:'nc', text:"لا يحتوي"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" }],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "اضافة",
29 | editCaption: "تحديث",
30 | bSubmit: "تثبيث",
31 | bCancel: "إلغاء",
32 | bClose: "غلق",
33 | saveData: "تغيرت المعطيات هل تريد التسجيل ?",
34 | bYes: "نعم",
35 | bNo: "لا",
36 | bExit: "إلغاء",
37 | msg: {
38 | required: "خانة إجبارية",
39 | number: "سجل رقم صحيح",
40 | minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
41 | maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42 | email: "بريد غير صحيح",
43 | integer: "سجل عدد طبييعي صحيح",
44 | url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45 | nodefined : " ليس محدد!",
46 | novalue : " قيمة الرجوع مطلوبة!",
47 | customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48 | customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
49 | }
50 | },
51 | view : {
52 | caption: "رأيت التسجيلات",
53 | bClose: "غلق"
54 | },
55 | del : {
56 | caption: "حذف",
57 | msg: "حذف التسجيلات المختارة ?",
58 | bSubmit: "حذف",
59 | bCancel: "إلغاء"
60 | },
61 | nav : {
62 | edittext: " ",
63 | edittitle: "تغيير التسجيل المختار",
64 | addtext:" ",
65 | addtitle: "إضافة تسجيل",
66 | deltext: " ",
67 | deltitle: "حذف التسجيل المختار",
68 | searchtext: " ",
69 | searchtitle: "بحث عن تسجيل",
70 | refreshtext: "",
71 | refreshtitle: "تحديث الجدول",
72 | alertcap: "تحذير",
73 | alerttext: "يرجى إختيار السطر",
74 | viewtext: "",
75 | viewtitle: "إظهار السطر المختار"
76 | },
77 | col : {
78 | caption: "إظهار/إخفاء الأعمدة",
79 | bSubmit: "تثبيث",
80 | bCancel: "إلغاء"
81 | },
82 | errors : {
83 | errcap : "خطأ",
84 | nourl : "لا يوجد عنوان محدد",
85 | norecords: "لا يوجد تسجيل للمعالجة",
86 | model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
87 | },
88 | formatter : {
89 | integer : {thousandsSeparator: " ", defaultValue: '0'},
90 | number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91 | currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92 | date : {
93 | dayNames: [
94 | "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
95 | "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
96 | ],
97 | monthNames: [
98 | "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
99 | "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
100 | ],
101 | AmPm : ["صباحا","مساءا","صباحا","مساءا"],
102 | S: function (j) {return j == 1 ? 'er' : 'e';},
103 | srcformat: 'Y-m-d',
104 | newformat: 'd/m/Y',
105 | parseRe : /[#%\\\/:_;.,\t\s-]/,
106 | masks : {
107 | ISO8601Long:"Y-m-d H:i:s",
108 | ISO8601Short:"Y-m-d",
109 | ShortDate: "n/j/Y",
110 | LongDate: "l, F d, Y",
111 | FullDateTime: "l, F d, Y g:i:s A",
112 | MonthDay: "F d",
113 | ShortTime: "g:i A",
114 | LongTime: "g:i:s A",
115 | SortableDateTime: "Y-m-d\\TH:i:s",
116 | UniversalSortableDateTime: "Y-m-d H:i:sO",
117 | YearMonth: "F, Y"
118 | },
119 | reformatAfterEdit : false
120 | },
121 | baseLinkUrl: '',
122 | showAction: '',
123 | target: '',
124 | checkbox : {disabled:true},
125 | idName : 'id'
126 | }
127 | });
128 | })(jQuery);
129 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-bg.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Bulgarian Translation
4 | * Tony Tomov tony@trirand.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "{0} - {1} от {2}",
14 | emptyrecords: "Няма запис(и)",
15 | loadtext: "Зареждам...",
16 | pgtext : "Стр. {0} от {1}"
17 | },
18 | search : {
19 | caption: "Търсене...",
20 | Find: "Намери",
21 | Reset: "Изчисти",
22 | odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"различно"},{ oper:'lt', text:"по-малко"},{ oper:'le', text:"по-малко или="},{ oper:'gt', text:"по-голямо"},{ oper:'ge', text:"по-голямо или ="},{ oper:'bw', text:"започва с"},{ oper:'bn', text:"не започва с"},{ oper:'in', text:"се намира в"},{ oper:'ni', text:"не се намира в"},{ oper:'ew', text:"завършва с"},{ oper:'en', text:"не завършава с"},{ oper:'cn', text:"съдържа"},{ oper:'nc', text:"не съдържа"},{ oper:'nu', text:'е NULL'},{ oper:'nn', text:'не е NULL'}],
23 | groupOps: [ { op: "AND", text: " И " }, { op: "OR", text: "ИЛИ" } ],
24 | operandTitle : "Натисни за избор на операнд.",
25 | resetTitle : "Изчисти стойността"
26 | },
27 | edit : {
28 | addCaption: "Нов Запис",
29 | editCaption: "Редакция Запис",
30 | bSubmit: "Запиши",
31 | bCancel: "Изход",
32 | bClose: "Затвори",
33 | saveData: "Данните са променени! Да съхраня ли промените?",
34 | bYes : "Да",
35 | bNo : "Не",
36 | bExit : "Отказ",
37 | msg: {
38 | required:"Полето е задължително",
39 | number:"Въведете валидно число!",
40 | minValue:"стойността трябва да е по-голяма или равна от",
41 | maxValue:"стойността трябва да е по-малка или равна от",
42 | email: "не е валиден ел. адрес",
43 | integer: "Въведете валидно цяло число",
44 | date: "Въведете валидна дата",
45 | url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
46 | nodefined : " е недефинирана!",
47 | novalue : " изисква връщане на стойност!",
48 | customarray : "Потреб. Функция трябва да върне масив!",
49 | customfcheck : "Потребителска функция е задължителна при този тип елемент!"
50 | }
51 | },
52 | view : {
53 | caption: "Преглед запис",
54 | bClose: "Затвори"
55 | },
56 | del : {
57 | caption: "Изтриване",
58 | msg: "Да изтрия ли избраният запис?",
59 | bSubmit: "Изтрий",
60 | bCancel: "Отказ"
61 | },
62 | nav : {
63 | edittext: " ",
64 | edittitle: "Редакция избран запис",
65 | addtext:" ",
66 | addtitle: "Добавяне нов запис",
67 | deltext: " ",
68 | deltitle: "Изтриване избран запис",
69 | searchtext: " ",
70 | searchtitle: "Търсене запис(и)",
71 | refreshtext: "",
72 | refreshtitle: "Обнови таблица",
73 | alertcap: "Предупреждение",
74 | alerttext: "Моля, изберете запис",
75 | viewtext: "",
76 | viewtitle: "Преглед избран запис"
77 | },
78 | col : {
79 | caption: "Избери колони",
80 | bSubmit: "Ок",
81 | bCancel: "Изход"
82 | },
83 | errors : {
84 | errcap : "Грешка",
85 | nourl : "Няма посочен url адрес",
86 | norecords: "Няма запис за обработка",
87 | model : "Модела не съответства на имената!"
88 | },
89 | formatter : {
90 | integer : {thousandsSeparator: " ", defaultValue: '0'},
91 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
93 | date : {
94 | dayNames: [
95 | "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
96 | "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
97 | ],
98 | monthNames: [
99 | "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
100 | "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
101 | ],
102 | AmPm : ["","","",""],
103 | S: function (j) {
104 | if(j==7 || j==8 || j== 27 || j== 28) {
105 | return 'ми';
106 | }
107 | return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
108 | },
109 | srcformat: 'Y-m-d',
110 | newformat: 'd/m/Y',
111 | parseRe : /[#%\\\/:_;.,\t\s-]/,
112 | masks : {
113 | ISO8601Long:"Y-m-d H:i:s",
114 | ISO8601Short:"Y-m-d",
115 | ShortDate: "n/j/Y",
116 | LongDate: "l, F d, Y",
117 | FullDateTime: "l, F d, Y g:i:s A",
118 | MonthDay: "F d",
119 | ShortTime: "g:i A",
120 | LongTime: "g:i:s A",
121 | SortableDateTime: "Y-m-d\\TH:i:s",
122 | UniversalSortableDateTime: "Y-m-d H:i:sO",
123 | YearMonth: "F, Y"
124 | },
125 | reformatAfterEdit : false
126 | },
127 | baseLinkUrl: '',
128 | showAction: '',
129 | target: '',
130 | checkbox : {disabled:true},
131 | idName : 'id'
132 | }
133 | });
134 | })(jQuery);
135 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-bg1251.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Bulgarian Translation
4 | * Tony Tomov tony@trirand.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "{0} - {1} �� {2}",
14 | emptyrecords: "���� �����(�)",
15 | loadtext: "��������...",
16 | pgtext : "���. {0} �� {1}"
17 | },
18 | search : {
19 | caption: "�������...",
20 | Find: "������",
21 | Reset: "�������",
22 | odata : [{ oper:'eq', text:'�����'}, { oper:'ne', text:'��������'}, { oper:'lt', text:'��-�����'}, { oper:'le', text:'��-����� ���='},{ oper:'gt', text:'��-������'},{ oper:'ge', text:'��-������ ��� ='}, { oper:'bw', text:'������� �'},{ oper:'bn', text:'�� ������� �'},{ oper:'in', text:'�� ������ �'},{ oper:'ni', text:'�� �� ������ �'},{ oper:'ew', text:'�������� �'},{ oper:'en', text:'�� ��������� �'},,{ oper:'cn', text:'�������'}, ,{ oper:'nc', text:'�� �������'} ],
23 | groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ]
24 | },
25 | edit : {
26 | addCaption: "��� �����",
27 | editCaption: "�������� �����",
28 | bSubmit: "������",
29 | bCancel: "�����",
30 | bClose: "�������",
31 | saveData: "������� �� ���������! �� ������� �� ���������?",
32 | bYes : "��",
33 | bNo : "��",
34 | bExit : "�����",
35 | msg: {
36 | required:"������ � ������������",
37 | number:"�������� ������� �����!",
38 | minValue:"���������� ������ �� � ��-������ ��� ����� ��",
39 | maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
40 | email: "�� � ������� ��. �����",
41 | integer: "�������� ������� ���� �����",
42 | date: "�������� ������� ����",
43 | url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
44 | nodefined : " � ������������!",
45 | novalue : " ������� ������� �� ��������!",
46 | customarray : "������. ������� ������ �� ����� �����!",
47 | customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
48 | }
49 | },
50 | view : {
51 | caption: "������� �����",
52 | bClose: "�������"
53 | },
54 | del : {
55 | caption: "���������",
56 | msg: "�� ������ �� ��������� �����?",
57 | bSubmit: "������",
58 | bCancel: "�����"
59 | },
60 | nav : {
61 | edittext: " ",
62 | edittitle: "�������� ������ �����",
63 | addtext:" ",
64 | addtitle: "�������� ��� �����",
65 | deltext: " ",
66 | deltitle: "��������� ������ �����",
67 | searchtext: " ",
68 | searchtitle: "������� �����(�)",
69 | refreshtext: "",
70 | refreshtitle: "������ �������",
71 | alertcap: "��������������",
72 | alerttext: "����, �������� �����",
73 | viewtext: "",
74 | viewtitle: "������� ������ �����"
75 | },
76 | col : {
77 | caption: "����� ������",
78 | bSubmit: "��",
79 | bCancel: "�����"
80 | },
81 | errors : {
82 | errcap : "������",
83 | nourl : "���� ������� url �����",
84 | norecords: "���� ����� �� ���������",
85 | model : "������ �� ����������� �� �������!"
86 | },
87 | formatter : {
88 | integer : {thousandsSeparator: " ", defaultValue: '0'},
89 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
91 | date : {
92 | dayNames: [
93 | "���", "���", "��", "��", "���", "���", "���",
94 | "������", "����������", "�������", "�����", "���������", "�����", "������"
95 | ],
96 | monthNames: [
97 | "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
98 | "������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
99 | ],
100 | AmPm : ["","","",""],
101 | S: function (j) {
102 | if(j==7 || j==8 || j== 27 || j== 28) {
103 | return '��';
104 | }
105 | return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
106 | },
107 | srcformat: 'Y-m-d',
108 | newformat: 'd/m/Y',
109 | parseRe : /[#%\\\/:_;.,\t\s-]/,
110 | masks : {
111 | ISO8601Long:"Y-m-d H:i:s",
112 | ISO8601Short:"Y-m-d",
113 | ShortDate: "n/j/Y",
114 | LongDate: "l, F d, Y",
115 | FullDateTime: "l, F d, Y g:i:s A",
116 | MonthDay: "F d",
117 | ShortTime: "g:i A",
118 | LongTime: "g:i:s A",
119 | SortableDateTime: "Y-m-d\\TH:i:s",
120 | UniversalSortableDateTime: "Y-m-d H:i:sO",
121 | YearMonth: "F, Y"
122 | },
123 | reformatAfterEdit : false
124 | },
125 | baseLinkUrl: '',
126 | showAction: '',
127 | target: '',
128 | checkbox : {disabled:true},
129 | idName : 'id'
130 | }
131 | });
132 | })(jQuery);
133 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-cs.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Czech Translation
4 | * Pavel Jirak pavel.jirak@jipas.cz
5 | * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz
6 | * http://trirand.com/blog/
7 | * Dual licensed under the MIT and GPL licenses:
8 | * http://www.opensource.org/licenses/mit-license.php
9 | * http://www.gnu.org/licenses/gpl.html
10 | **/
11 | $.jgrid = $.jgrid || {};
12 | $.extend($.jgrid,{
13 | defaults : {
14 | recordtext: "Zobrazeno {0} - {1} z {2} záznamů",
15 | emptyrecords: "Nenalezeny žádné záznamy",
16 | loadtext: "Načítám...",
17 | pgtext : "Strana {0} z {1}"
18 | },
19 | search : {
20 | caption: "Vyhledávám...",
21 | Find: "Hledat",
22 | Reset: "Reset",
23 | odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovno"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obsahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24 | groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
25 | operandTitle : "Click to select search operation.",
26 | resetTitle : "Reset Search Value"
27 | },
28 | edit : {
29 | addCaption: "Přidat záznam",
30 | editCaption: "Editace záznamu",
31 | bSubmit: "Uložit",
32 | bCancel: "Storno",
33 | bClose: "Zavřít",
34 | saveData: "Data byla změněna! Uložit změny?",
35 | bYes : "Ano",
36 | bNo : "Ne",
37 | bExit : "Zrušit",
38 | msg: {
39 | required:"Pole je vyžadováno",
40 | number:"Prosím, vložte validní číslo",
41 | minValue:"hodnota musí být větší než nebo rovná ",
42 | maxValue:"hodnota musí být menší než nebo rovná ",
43 | email: "není validní e-mail",
44 | integer: "Prosím, vložte celé číslo",
45 | date: "Prosím, vložte validní datum",
46 | url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')",
47 | nodefined : " není definován!",
48 | novalue : " je vyžadována návratová hodnota!",
49 | customarray : "Custom function mělá vrátit pole!",
50 | customfcheck : "Custom function by měla být přítomna v případě custom checking!"
51 | }
52 | },
53 | view : {
54 | caption: "Zobrazit záznam",
55 | bClose: "Zavřít"
56 | },
57 | del : {
58 | caption: "Smazat",
59 | msg: "Smazat vybraný(é) záznam(y)?",
60 | bSubmit: "Smazat",
61 | bCancel: "Storno"
62 | },
63 | nav : {
64 | edittext: " ",
65 | edittitle: "Editovat vybraný řádek",
66 | addtext:" ",
67 | addtitle: "Přidat nový řádek",
68 | deltext: " ",
69 | deltitle: "Smazat vybraný záznam ",
70 | searchtext: " ",
71 | searchtitle: "Najít záznamy",
72 | refreshtext: "",
73 | refreshtitle: "Obnovit tabulku",
74 | alertcap: "Varování",
75 | alerttext: "Prosím, vyberte řádek",
76 | viewtext: "",
77 | viewtitle: "Zobrazit vybraný řádek"
78 | },
79 | col : {
80 | caption: "Zobrazit/Skrýt sloupce",
81 | bSubmit: "Uložit",
82 | bCancel: "Storno"
83 | },
84 | errors : {
85 | errcap : "Chyba",
86 | nourl : "Není nastavena url",
87 | norecords: "Žádné záznamy ke zpracování",
88 | model : "Délka colNames <> colModel!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: " ", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Ne", "Po", "Út", "St", "Čt", "Pá", "So",
97 | "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"
98 | ],
99 | monthNames: [
100 | "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro",
101 | "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
102 | ],
103 | AmPm : ["do","od","DO","OD"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-da.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Danish Translation
4 | * Aesiras A/S
5 | * http://www.aesiras.dk
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Vis {0} - {1} of {2}",
14 | emptyrecords: "Ingen linjer fundet",
15 | loadtext: "Henter...",
16 | pgtext : "Side {0} af {1}"
17 | },
18 | search : {
19 | caption: "Søg...",
20 | Find: "Find",
21 | Reset: "Nulstil",
22 | odata: [{ oper:'eq', text:"lig"},{ oper:'ne', text:"forskellige fra"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lig"},{ oper:'gt', text:"større"},{ oper:'ge', text:"større eller lig"},{ oper:'bw', text:"begynder med"},{ oper:'bn', text:"begynder ikke med"},{ oper:'in', text:"findes i"},{ oper:'ni', text:"findes ikke i"},{ oper:'ew', text:"ender med"},{ oper:'en', text:"ender ikke med"},{ oper:'cn', text:"indeholder"},{ oper:'nc', text:"indeholder ikke"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Tilføj",
29 | editCaption: "Ret",
30 | bSubmit: "Send",
31 | bCancel: "Annuller",
32 | bClose: "Luk",
33 | saveData: "Data er ændret. Gem data?",
34 | bYes : "Ja",
35 | bNo : "Nej",
36 | bExit : "Fortryd",
37 | msg: {
38 | required:"Felt er nødvendigt",
39 | number:"Indtast venligst et validt tal",
40 | minValue:"værdi skal være større end eller lig med",
41 | maxValue:"værdi skal være mindre end eller lig med",
42 | email: "er ikke en gyldig email",
43 | integer: "Indtast venligst et gyldigt heltal",
44 | date: "Indtast venligst en gyldig datoværdi",
45 | url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')",
46 | nodefined : " er ikke defineret!",
47 | novalue : " returværdi kræves!",
48 | customarray : "Custom function should return array!",
49 | customfcheck : "Custom function should be present in case of custom checking!"
50 | }
51 | },
52 | view : {
53 | caption: "Vis linje",
54 | bClose: "Luk"
55 | },
56 | del : {
57 | caption: "Slet",
58 | msg: "Slet valgte linje(r)?",
59 | bSubmit: "Slet",
60 | bCancel: "Fortryd"
61 | },
62 | nav : {
63 | edittext: " ",
64 | edittitle: "Rediger valgte linje",
65 | addtext:" ",
66 | addtitle: "Tilføj ny linje",
67 | deltext: " ",
68 | deltitle: "Slet valgte linje",
69 | searchtext: " ",
70 | searchtitle: "Find linjer",
71 | refreshtext: "",
72 | refreshtitle: "Indlæs igen",
73 | alertcap: "Advarsel",
74 | alerttext: "Vælg venligst linje",
75 | viewtext: "",
76 | viewtitle: "Vis valgte linje"
77 | },
78 | col : {
79 | caption: "Vis/skjul kolonner",
80 | bSubmit: "Opdatere",
81 | bCancel: "Fortryd"
82 | },
83 | errors : {
84 | errcap : "Fejl",
85 | nourl : "Ingen url valgt",
86 | norecords: "Ingen linjer at behandle",
87 | model : "colNames og colModel har ikke samme længde!"
88 | },
89 | formatter : {
90 | integer : {thousandsSeparator: " ", defaultValue: '0'},
91 | number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
92 | currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
93 | date : {
94 | dayNames: [
95 | "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør",
96 | "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
97 | ],
98 | monthNames: [
99 | "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
100 | "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
101 | ],
102 | AmPm : ["","","",""],
103 | S: function (j) {return '.'},
104 | srcformat: 'Y-m-d',
105 | newformat: 'd/m/Y',
106 | parseRe : /[#%\\\/:_;.,\t\s-]/,
107 | masks : {
108 | ISO8601Long:"Y-m-d H:i:s",
109 | ISO8601Short:"Y-m-d",
110 | ShortDate: "j/n/Y",
111 | LongDate: "l d. F Y",
112 | FullDateTime: "l d F Y G:i:s",
113 | MonthDay: "d. F",
114 | ShortTime: "G:i",
115 | LongTime: "G:i:s",
116 | SortableDateTime: "Y-m-d\\TH:i:s",
117 | UniversalSortableDateTime: "Y-m-d H:i:sO",
118 | YearMonth: "F Y"
119 | },
120 | reformatAfterEdit : false
121 | },
122 | baseLinkUrl: '',
123 | showAction: '',
124 | target: '',
125 | checkbox : {disabled:true},
126 | idName : 'id'
127 | }
128 | });
129 | // DA
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-dk.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Danish Translation
4 | * Kaare Rasmussen kjs@jasonic.dk
5 | * http://jasonic.dk/blog
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = {
11 | defaults : {
12 | recordtext: "View {0} - {1} of {2}",
13 | emptyrecords: "No records to view",
14 | loadtext: "Loading...",
15 | pgtext : "Page {0} of {1}"
16 | },
17 | search : {
18 | caption: "Søg...",
19 | Find: "Find",
20 | Reset: "Nulstil",
21 | odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22 | groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23 | operandTitle : "Click to select search operation.",
24 | resetTitle : "Reset Search Value"
25 | },
26 | edit : {
27 | addCaption: "Tilføj",
28 | editCaption: "Ret",
29 | bSubmit: "Send",
30 | bCancel: "Annuller",
31 | bClose: "Luk",
32 | saveData: "Data has been changed! Save changes?",
33 | bYes : "Yes",
34 | bNo : "No",
35 | bExit : "Cancel",
36 | msg: {
37 | required:"Felt er nødvendigt",
38 | number:"Indtast venligst et validt tal",
39 | minValue:"værdi skal være større end eller lig med",
40 | maxValue:"værdi skal være mindre end eller lig med",
41 | email: "er ikke en valid email",
42 | integer: "Indtast venligst et validt heltalt",
43 | date: "Indtast venligst en valid datoværdi",
44 | url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45 | nodefined : " is not defined!",
46 | novalue : " return value is required!",
47 | customarray : "Custom function should return array!",
48 | customfcheck : "Custom function should be present in case of custom checking!"
49 | }
50 | },
51 | view : {
52 | caption: "View Record",
53 | bClose: "Close"
54 | },
55 | del : {
56 | caption: "Slet",
57 | msg: "Slet valgte række(r)?",
58 | bSubmit: "Slet",
59 | bCancel: "Annuller"
60 | },
61 | nav : {
62 | edittext: " ",
63 | edittitle: "Rediger valgte række",
64 | addtext:" ",
65 | addtitle: "Tilføj ny række",
66 | deltext: " ",
67 | deltitle: "Slet valgte række",
68 | searchtext: " ",
69 | searchtitle: "Find poster",
70 | refreshtext: "",
71 | refreshtitle: "Indlæs igen",
72 | alertcap: "Advarsel",
73 | alerttext: "Vælg venligst række",
74 | viewtext: "",
75 | viewtitle: "View selected row"
76 | },
77 | col : {
78 | caption: "Vis/skjul kolonner",
79 | bSubmit: "Send",
80 | bCancel: "Annuller"
81 | },
82 | errors : {
83 | errcap : "Fejl",
84 | nourl : "Ingel url valgt",
85 | norecords: "Ingen poster at behandle",
86 | model : "colNames og colModel har ikke samme længde!"
87 | },
88 | formatter : {
89 | integer : {thousandsSeparator: " ", defaultValue: '0'},
90 | number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91 | currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92 | date : {
93 | dayNames: [
94 | "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
95 | "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
96 | ],
97 | monthNames: [
98 | "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
99 | "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
100 | ],
101 | AmPm : ["","","",""],
102 | S: function (j) {return '.'},
103 | srcformat: 'Y-m-d',
104 | newformat: 'd/m/Y',
105 | parseRe : /[#%\\\/:_;.,\t\s-]/,
106 | masks : {
107 | ISO8601Long:"Y-m-d H:i:s",
108 | ISO8601Short:"Y-m-d",
109 | ShortDate: "j/n/Y",
110 | LongDate: "l d. F Y",
111 | FullDateTime: "l d F Y G:i:s",
112 | MonthDay: "d. F",
113 | ShortTime: "G:i",
114 | LongTime: "G:i:s",
115 | SortableDateTime: "Y-m-d\\TH:i:s",
116 | UniversalSortableDateTime: "Y-m-d H:i:sO",
117 | YearMonth: "F Y"
118 | },
119 | reformatAfterEdit : false
120 | },
121 | baseLinkUrl: '',
122 | showAction: '',
123 | target: '',
124 | checkbox : {disabled:true},
125 | idName : 'id'
126 | }
127 | };
128 | // DK
129 | })(jQuery);
130 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-fr.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid French Translation
4 | * Tony Tomov tony@trirand.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Enregistrements {0} - {1} sur {2}",
14 | emptyrecords: "Aucun enregistrement à afficher",
15 | loadtext: "Chargement...",
16 | pgtext : "Page {0} sur {1}"
17 | },
18 | search : {
19 | caption: "Recherche...",
20 | Find: "Chercher",
21 | Reset: "Réinitialiser",
22 | odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Ajouter",
29 | editCaption: "Editer",
30 | bSubmit: "Valider",
31 | bCancel: "Annuler",
32 | bClose: "Fermer",
33 | saveData: "Les données ont changé ! Enregistrer les modifications ?",
34 | bYes: "Oui",
35 | bNo: "Non",
36 | bExit: "Annuler",
37 | msg: {
38 | required: "Champ obligatoire",
39 | number: "Saisissez un nombre correct",
40 | minValue: "La valeur doit être supérieure ou égale à",
41 | maxValue: "La valeur doit être inférieure ou égale à",
42 | email: "n'est pas un email correct",
43 | integer: "Saisissez un entier correct",
44 | url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
45 | nodefined : " n'est pas défini!",
46 | novalue : " la valeur de retour est requise!",
47 | customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
48 | customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
49 | }
50 | },
51 | view : {
52 | caption: "Voir les enregistrement",
53 | bClose: "Fermer"
54 | },
55 | del : {
56 | caption: "Supprimer",
57 | msg: "Supprimer les enregistrements sélectionnés ?",
58 | bSubmit: "Supprimer",
59 | bCancel: "Annuler"
60 | },
61 | nav : {
62 | edittext: " ",
63 | edittitle: "Editer la ligne sélectionnée",
64 | addtext:" ",
65 | addtitle: "Ajouter une ligne",
66 | deltext: " ",
67 | deltitle: "Supprimer la ligne sélectionnée",
68 | searchtext: " ",
69 | searchtitle: "Chercher un enregistrement",
70 | refreshtext: "",
71 | refreshtitle: "Recharger le tableau",
72 | alertcap: "Avertissement",
73 | alerttext: "Veuillez sélectionner une ligne",
74 | viewtext: "",
75 | viewtitle: "Afficher la ligne sélectionnée"
76 | },
77 | col : {
78 | caption: "Afficher/Masquer les colonnes",
79 | bSubmit: "Valider",
80 | bCancel: "Annuler"
81 | },
82 | errors : {
83 | errcap : "Erreur",
84 | nourl : "Aucune adresse n'est paramétrée",
85 | norecords: "Aucun enregistrement à traiter",
86 | model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
87 | },
88 | formatter : {
89 | integer : {thousandsSeparator: " ", defaultValue: '0'},
90 | number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91 | currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92 | date : {
93 | dayNames: [
94 | "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
95 | "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
96 | ],
97 | monthNames: [
98 | "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
99 | "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
100 | ],
101 | AmPm : ["am","pm","AM","PM"],
102 | S: function (j) {return j == 1 ? 'er' : 'e';},
103 | srcformat: 'Y-m-d',
104 | newformat: 'd/m/Y',
105 | parseRe : /[#%\\\/:_;.,\t\s-]/,
106 | masks : {
107 | ISO8601Long:"Y-m-d H:i:s",
108 | ISO8601Short:"Y-m-d",
109 | ShortDate: "n/j/Y",
110 | LongDate: "l, F d, Y",
111 | FullDateTime: "l, F d, Y g:i:s A",
112 | MonthDay: "F d",
113 | ShortTime: "g:i A",
114 | LongTime: "g:i:s A",
115 | SortableDateTime: "Y-m-d\\TH:i:s",
116 | UniversalSortableDateTime: "Y-m-d H:i:sO",
117 | YearMonth: "F, Y"
118 | },
119 | reformatAfterEdit : false
120 | },
121 | baseLinkUrl: '',
122 | showAction: '',
123 | target: '',
124 | checkbox : {disabled:true},
125 | idName : 'id'
126 | }
127 | });
128 | })(jQuery);
129 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-he.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Hebrew Translation
4 | * Shuki Shukrun shukrun.shuki@gmail.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "מציג {0} - {1} מתוך {2}",
14 | emptyrecords: "אין רשומות להציג",
15 | loadtext: "טוען...",
16 | pgtext : "דף {0} מתוך {1}"
17 | },
18 | search : {
19 | caption: "מחפש...",
20 | Find: "חפש",
21 | Reset: "התחל",
22 | odata: [{ oper:'eq', text:"שווה"},{ oper:'ne', text:"לא שווה"},{ oper:'lt', text:"קטן"},{ oper:'le', text:"קטן או שווה"},{ oper:'gt', text:"גדול"},{ oper:'ge', text:"גדול או שווה"},{ oper:'bw', text:"מתחיל ב"},{ oper:'bn', text:"לא מתחיל ב"},{ oper:'in', text:"נמצא ב"},{ oper:'ni', text:"לא נמצא ב"},{ oper:'ew', text:"מסתיים ב"},{ oper:'en', text:"לא מסתיים ב"},{ oper:'cn', text:"מכיל"},{ oper:'nc', text:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" }],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "הוסף רשומה",
29 | editCaption: "ערוך רשומה",
30 | bSubmit: "שלח",
31 | bCancel: "בטל",
32 | bClose: "סגור",
33 | saveData: "נתונים השתנו! לשמור?",
34 | bYes : "כן",
35 | bNo : "לא",
36 | bExit : "בטל",
37 | msg: {
38 | required:"שדה חובה",
39 | number:"אנא, הכנס מספר תקין",
40 | minValue:"ערך צריך להיות גדול או שווה ל ",
41 | maxValue:"ערך צריך להיות קטן או שווה ל ",
42 | email: "היא לא כתובת איימל תקינה",
43 | integer: "אנא, הכנס מספר שלם",
44 | date: "אנא, הכנס תאריך תקין",
45 | url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')",
46 | nodefined : " is not defined!",
47 | novalue : " return value is required!",
48 | customarray : "Custom function should return array!",
49 | customfcheck : "Custom function should be present in case of custom checking!"
50 | }
51 | },
52 | view : {
53 | caption: "הצג רשומה",
54 | bClose: "סגור"
55 | },
56 | del : {
57 | caption: "מחק",
58 | msg: "האם למחוק את הרשומה/ות המסומנות?",
59 | bSubmit: "מחק",
60 | bCancel: "בטל"
61 | },
62 | nav : {
63 | edittext: "",
64 | edittitle: "ערוך שורה מסומנת",
65 | addtext:"",
66 | addtitle: "הוסף שורה חדשה",
67 | deltext: "",
68 | deltitle: "מחק שורה מסומנת",
69 | searchtext: "",
70 | searchtitle: "חפש רשומות",
71 | refreshtext: "",
72 | refreshtitle: "טען גריד מחדש",
73 | alertcap: "אזהרה",
74 | alerttext: "אנא, בחר שורה",
75 | viewtext: "",
76 | viewtitle: "הצג שורה מסומנת"
77 | },
78 | col : {
79 | caption: "הצג/הסתר עמודות",
80 | bSubmit: "שלח",
81 | bCancel: "בטל"
82 | },
83 | errors : {
84 | errcap : "שגיאה",
85 | nourl : "לא הוגדרה כתובת url",
86 | norecords: "אין רשומות לעבד",
87 | model : "אורך של colNames <> colModel!"
88 | },
89 | formatter : {
90 | integer : {thousandsSeparator: " ", defaultValue: '0'},
91 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93 | date : {
94 | dayNames: [
95 | "א", "ב", "ג", "ד", "ה", "ו", "ש",
96 | "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"
97 | ],
98 | monthNames: [
99 | "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ",
100 | "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"
101 | ],
102 | AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"],
103 | S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
104 | srcformat: 'Y-m-d',
105 | newformat: 'd/m/Y',
106 | parseRe : /[#%\\\/:_;.,\t\s-]/,
107 | masks : {
108 | ISO8601Long:"Y-m-d H:i:s",
109 | ISO8601Short:"Y-m-d",
110 | ShortDate: "n/j/Y",
111 | LongDate: "l, F d, Y",
112 | FullDateTime: "l, F d, Y g:i:s A",
113 | MonthDay: "F d",
114 | ShortTime: "g:i A",
115 | LongTime: "g:i:s A",
116 | SortableDateTime: "Y-m-d\\TH:i:s",
117 | UniversalSortableDateTime: "Y-m-d H:i:sO",
118 | YearMonth: "F, Y"
119 | },
120 | reformatAfterEdit : false
121 | },
122 | baseLinkUrl: '',
123 | showAction: '',
124 | target: '',
125 | checkbox : {disabled:true},
126 | idName : 'id'
127 | }
128 | });
129 | })(jQuery);
130 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-hu.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Hungarian Translation
4 | * Őrszigety Ádám udx6bs@freemail.hu
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 |
11 | $.jgrid = $.jgrid || {};
12 | $.extend($.jgrid,{
13 | defaults : {
14 | recordtext: "Oldal {0} - {1} / {2}",
15 | emptyrecords: "Nincs találat",
16 | loadtext: "Betöltés...",
17 | pgtext : "Oldal {0} / {1}"
18 | },
19 | search : {
20 | caption: "Keresés...",
21 | Find: "Keres",
22 | Reset: "Alapértelmezett",
23 | odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24 | groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
25 | operandTitle : "Click to select search operation.",
26 | resetTitle : "Reset Search Value"
27 | },
28 | edit : {
29 | addCaption: "Új tétel",
30 | editCaption: "Tétel szerkesztése",
31 | bSubmit: "Mentés",
32 | bCancel: "Mégse",
33 | bClose: "Bezárás",
34 | saveData: "A tétel megváltozott! Tétel mentése?",
35 | bYes : "Igen",
36 | bNo : "Nem",
37 | bExit : "Mégse",
38 | msg: {
39 | required:"Kötelező mező",
40 | number:"Kérjük, adjon meg egy helyes számot",
41 | minValue:"Nagyobb vagy egyenlőnek kell lenni mint ",
42 | maxValue:"Kisebb vagy egyenlőnek kell lennie mint",
43 | email: "hibás emailcím",
44 | integer: "Kérjük adjon meg egy helyes egész számot",
45 | date: "Kérjük adjon meg egy helyes dátumot",
46 | url: "nem helyes cím. Előtag kötelező ('http://' vagy 'https://')",
47 | nodefined : " nem definiált!",
48 | novalue : " visszatérési érték kötelező!!",
49 | customarray : "Custom function should return array!",
50 | customfcheck : "Custom function should be present in case of custom checking!"
51 |
52 | }
53 | },
54 | view : {
55 | caption: "Tétel megtekintése",
56 | bClose: "Bezárás"
57 | },
58 | del : {
59 | caption: "Törlés",
60 | msg: "Kiválaztott tétel(ek) törlése?",
61 | bSubmit: "Törlés",
62 | bCancel: "Mégse"
63 | },
64 | nav : {
65 | edittext: "",
66 | edittitle: "Tétel szerkesztése",
67 | addtext:"",
68 | addtitle: "Új tétel hozzáadása",
69 | deltext: "",
70 | deltitle: "Tétel törlése",
71 | searchtext: "",
72 | searchtitle: "Keresés",
73 | refreshtext: "",
74 | refreshtitle: "Frissítés",
75 | alertcap: "Figyelmeztetés",
76 | alerttext: "Kérem válasszon tételt.",
77 | viewtext: "",
78 | viewtitle: "Tétel megtekintése"
79 | },
80 | col : {
81 | caption: "Oszlopok kiválasztása",
82 | bSubmit: "Ok",
83 | bCancel: "Mégse"
84 | },
85 | errors : {
86 | errcap : "Hiba",
87 | nourl : "Nincs URL beállítva",
88 | norecords: "Nincs feldolgozásra váró tétel",
89 | model : "colNames és colModel hossza nem egyenlő!"
90 | },
91 | formatter : {
92 | integer : {thousandsSeparator: " ", defaultValue: '0'},
93 | number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
94 | currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
95 | date : {
96 | dayNames: [
97 | "Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo",
98 | "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"
99 | ],
100 | monthNames: [
101 | "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec",
102 | "Január", "Február", "Március", "Áprili", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"
103 | ],
104 | AmPm : ["de","du","DE","DU"],
105 | S: function (j) {return '.-ik';},
106 | srcformat: 'Y-m-d',
107 | newformat: 'Y/m/d',
108 | parseRe : /[#%\\\/:_;.,\t\s-]/,
109 | masks : {
110 | ISO8601Long:"Y-m-d H:i:s",
111 | ISO8601Short:"Y-m-d",
112 | ShortDate: "Y/j/n",
113 | LongDate: "Y. F hó d., l",
114 | FullDateTime: "l, F d, Y g:i:s A",
115 | MonthDay: "F d",
116 | ShortTime: "a g:i",
117 | LongTime: "a g:i:s",
118 | SortableDateTime: "Y-m-d\\TH:i:s",
119 | UniversalSortableDateTime: "Y-m-d H:i:sO",
120 | YearMonth: "Y, F"
121 | },
122 | reformatAfterEdit : false
123 | },
124 | baseLinkUrl: '',
125 | showAction: '',
126 | target: '',
127 | checkbox : {disabled:true},
128 | idName : 'id'
129 | }
130 | });
131 | })(jQuery);
132 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-is.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Icelandic Translation
4 | * jtm@hi.is Univercity of Iceland
5 | * Dual licensed under the MIT and GPL licenses:
6 | * http://www.opensource.org/licenses/mit-license.php
7 | * http://www.gnu.org/licenses/gpl.html
8 | **/
9 | $.jgrid = $.jgrid || {};
10 | $.extend($.jgrid,{
11 | defaults : {
12 | recordtext: "Skoða {0} - {1} af {2}",
13 | emptyrecords: "Engar færslur",
14 | loadtext: "Hleður...",
15 | pgtext : "Síða {0} af {1}"
16 | },
17 | search : {
18 | caption: "Leita...",
19 | Find: "Leita",
20 | Reset: "Endursetja",
21 | odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
22 | groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ],
23 | operandTitle : "Click to select search operation.",
24 | resetTitle : "Reset Search Value"
25 | },
26 | edit : {
27 | addCaption: "Bæta við færslu",
28 | editCaption: "Breyta færslu",
29 | bSubmit: "Vista",
30 | bCancel: "Hætta við",
31 | bClose: "Loka",
32 | saveData: "Gögn hafa breyst! Vista breytingar?",
33 | bYes : "Já",
34 | bNo : "Nei",
35 | bExit : "Hætta við",
36 | msg: {
37 | required:"Reitur er nauðsynlegur",
38 | number:"Vinsamlega settu inn tölu",
39 | minValue:"gildi verður að vera meira en eða jafnt og ",
40 | maxValue:"gildi verður að vera minna en eða jafnt og ",
41 | email: "er ekki löglegt email",
42 | integer: "Vinsamlega settu inn tölu",
43 | date: "Vinsamlega setti inn dagsetningu",
44 | url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
45 | nodefined : " er ekki skilgreint!",
46 | novalue : " skilagildi nauðsynlegt!",
47 | customarray : "Fall skal skila fylki!",
48 | customfcheck : "Fall skal vera skilgreint!"
49 | }
50 | },
51 | view : {
52 | caption: "Skoða færslu",
53 | bClose: "Loka"
54 | },
55 | del : {
56 | caption: "Eyða",
57 | msg: "Eyða völdum færslum ?",
58 | bSubmit: "Eyða",
59 | bCancel: "Hætta við"
60 | },
61 | nav : {
62 | edittext: " ",
63 | edittitle: "Breyta færslu",
64 | addtext:" ",
65 | addtitle: "Ný færsla",
66 | deltext: " ",
67 | deltitle: "Eyða færslu",
68 | searchtext: " ",
69 | searchtitle: "Leita",
70 | refreshtext: "",
71 | refreshtitle: "Endurhlaða",
72 | alertcap: "Viðvörun",
73 | alerttext: "Vinsamlega veldu færslu",
74 | viewtext: "",
75 | viewtitle: "Skoða valda færslu"
76 | },
77 | col : {
78 | caption: "Sýna / fela dálka",
79 | bSubmit: "Vista",
80 | bCancel: "Hætta við"
81 | },
82 | errors : {
83 | errcap : "Villa",
84 | nourl : "Vantar slóð",
85 | norecords: "Engar færslur valdar",
86 | model : "Lengd colNames <> colModel!"
87 | },
88 | formatter : {
89 | integer : {thousandsSeparator: " ", defaultValue: '0'},
90 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
92 | date : {
93 | dayNames: [
94 | "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
95 | "Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
96 | ],
97 | monthNames: [
98 | "Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
99 | "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
100 | ],
101 | AmPm : ["am","pm","AM","PM"],
102 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103 | srcformat: 'Y-m-d',
104 | newformat: 'd/m/Y',
105 | parseRe : /[#%\\\/:_;.,\t\s-]/,
106 | masks : {
107 | ISO8601Long:"Y-m-d H:i:s",
108 | ISO8601Short:"Y-m-d",
109 | ShortDate: "n/j/Y",
110 | LongDate: "l, F d, Y",
111 | FullDateTime: "l, F d, Y g:i:s A",
112 | MonthDay: "F d",
113 | ShortTime: "g:i A",
114 | LongTime: "g:i:s A",
115 | SortableDateTime: "Y-m-d\\TH:i:s",
116 | UniversalSortableDateTime: "Y-m-d H:i:sO",
117 | YearMonth: "F, Y"
118 | },
119 | reformatAfterEdit : false
120 | },
121 | baseLinkUrl: '',
122 | showAction: '',
123 | target: '',
124 | checkbox : {disabled:true},
125 | idName : 'id'
126 | }
127 | });
128 | })(jQuery);
129 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-it.js:
--------------------------------------------------------------------------------
1 | (function(a){a.jgrid = a.jgrid || {};a.extend(a.jgrid,{ defaults:{recordtext:"Visualizzati {0} - {1} di {2}",emptyrecords:"Nessun record da visualizzare",loadtext:"Caricamento...",pgtext:"Pagina {0} di {1}"},search:{caption:"Ricerca...",Find:"Cerca",Reset:"Pulisci", odata: [{ oper:'eq', text:"uguale"},{ oper:'ne', text:"diverso"},{ oper:'lt', text:"minore"},{ oper:'le', text:"minore o uguale"},{ oper:'gt', text:"maggiore"},{ oper:'ge', text:"maggiore o uguale"},{ oper:'bw', text:"inizia con"},{ oper:'bn', text:"non inizia con"},{ oper:'in', text:"in"},{ oper:'ni', text:"non in"},{ oper:'ew', text:"termina con"},{ oper:'en', text:"non termina con"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"non contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],groupOps:[{op:"AND",text:"tutto"},{op:"OR",text:"almeno uno"}], operandTitle : "Click to select search operation.",resetTitle : "Reset Search Value"},edit:{addCaption:"Aggiungi Record",editCaption:"Modifica Record",bSubmit:"Invia",bCancel:"Chiudi",bClose:"Chiudi",saveData:"Alcuni dati modificati! Salvare i cambiamenti?",bYes:"Si",bNo:"No",bExit:"Esci",msg:{required:"Campo richiesto",number:"Per favore, inserisci un valore valido",minValue:"il valore deve essere maggiore o uguale a ",maxValue:"il valore deve essere minore o uguale a",email:"e-mail non corretta",integer:"Per favore, inserisci un numero intero valido",date:"Per favore, inserisci una data valida",url:"URL non valido. Prefisso richiesto ('http://' or 'https://')",nodefined:" non � definito!",novalue:" valore di ritorno richiesto!",customarray:"La function custon deve tornare un array!",customfcheck:"La function custom deve esistere per il custom checking!"}},view:{caption:"Visualizzazione Record",bClose:"Chiudi"},del:{caption:"Cancella",msg:"Cancellare record selezionato/i?",bSubmit:"Cancella",bCancel:"Annulla"},nav:{edittext:" ",edittitle:"Modifica record selezionato",addtext:" ",addtitle:"Aggiungi nuovo record",deltext:" ",deltitle:"Cancella record selezionato",searchtext:" ",searchtitle:"Ricerca record",refreshtext:"",refreshtitle:"Aggiorna griglia",alertcap:"Attenzione",alerttext:"Per favore, seleziona un record",viewtext:"",viewtitle:"Visualizza riga selezionata"},col:{caption:"Mostra/Nascondi Colonne",bSubmit:"Invia",bCancel:"Annulla"},errors:{errcap:"Errore",nourl:"Url non settata",norecords:"Nessun record da elaborare",model:"Lunghezza di colNames <> colModel!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0,00"},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0,00"},date:{dayNames:["Dom","Lun","Mar","Mer","Gio","Ven","Sab","Domenica","Luned�","Marted�","Mercoled�","Gioved�","Venerd�","Sabato"],monthNames:["Gen","Feb","Mar","Apr","Mag","Gui","Lug","Ago","Set","Ott","Nov","Dic","Genneio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Movembre","Dicembre"],AmPm:["am","pm","AM","PM"],S:function(b){return b<11||b>13?["st","nd","rd","th"][Math.min((b-1)%10,3)]:"th"},srcformat:"Y-m-d",newformat:"d/m/Y",parseRe : /[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}});})(jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-kr.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid English Translation
4 | * Tony Tomov tony@trirand.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "보기 {0} - {1} / {2}",
14 | emptyrecords: "표시할 행이 없습니다",
15 | loadtext: "조회중...",
16 | pgtext : "페이지 {0} / {1}"
17 | },
18 | search : {
19 | caption: "검색...",
20 | Find: "찾기",
21 | Reset: "초기화",
22 | odata: [{ oper:'eq', text:"같다"},{ oper:'ne', text:"같지 않다"},{ oper:'lt', text:"작다"},{ oper:'le', text:"작거나 같다"},{ oper:'gt', text:"크다"},{ oper:'ge', text:"크거나 같다"},{ oper:'bw', text:"로 시작한다"},{ oper:'bn', text:"로 시작하지 않는다"},{ oper:'in', text:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ oper:'nc', text:"내에 존재하지 않는다"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "전부" }, { op: "OR", text: "임의" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "행 추가",
29 | editCaption: "행 수정",
30 | bSubmit: "전송",
31 | bCancel: "취소",
32 | bClose: "닫기",
33 | saveData: "자료가 변경되었습니다! 저장하시겠습니까?",
34 | bYes : "예",
35 | bNo : "아니오",
36 | bExit : "취소",
37 | msg: {
38 | required:"필수항목입니다",
39 | number:"유효한 번호를 입력해 주세요",
40 | minValue:"입력값은 크거나 같아야 합니다",
41 | maxValue:"입력값은 작거나 같아야 합니다",
42 | email: "유효하지 않은 이메일주소입니다",
43 | integer: "유효한 숫자를 입력하세요",
44 | date: "유효한 날짜를 입력하세요",
45 | url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')",
46 | nodefined : " 은 정의도지 않았습니다!",
47 | novalue : " 반환값이 필요합니다!",
48 | customarray : "사용자정의 함수는 배열을 반환해야 합니다!",
49 | customfcheck : "Custom function should be present in case of custom checking!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "행 조회",
55 | bClose: "닫기"
56 | },
57 | del : {
58 | caption: "삭제",
59 | msg: "선택된 행을 삭제하시겠습니까?",
60 | bSubmit: "삭제",
61 | bCancel: "취소"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "선택된 행 편집",
66 | addtext:"",
67 | addtitle: "행 삽입",
68 | deltext: "",
69 | deltitle: "선택된 행 삭제",
70 | searchtext: "",
71 | searchtitle: "행 찾기",
72 | refreshtext: "",
73 | refreshtitle: "그리드 갱신",
74 | alertcap: "경고",
75 | alerttext: "행을 선택하세요",
76 | viewtext: "",
77 | viewtitle: "선택된 행 조회"
78 | },
79 | col : {
80 | caption: "열을 선택하세요",
81 | bSubmit: "확인",
82 | bCancel: "취소"
83 | },
84 | errors : {
85 | errcap : "오류",
86 | nourl : "설정된 url이 없습니다",
87 | norecords: "처리할 행이 없습니다",
88 | model : "colNames의 길이가 colModel과 일치하지 않습니다!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: ",", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
97 | "일", "월", "화", "수", "목", "금", "토"
98 | ],
99 | monthNames: [
100 | "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
101 | "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'm-d-Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "Y/j/n",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-lt.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Lithuanian Translation
4 | * aur1mas aur1mas@devnet.lt
5 | * http://aur1mas.devnet.lt
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Peržiūrima {0} - {1} iš {2}",
14 | emptyrecords: "Įrašų nėra",
15 | loadtext: "Kraunama...",
16 | pgtext : "Puslapis {0} iš {1}"
17 | },
18 | search : {
19 | caption: "Paieška...",
20 | Find: "Ieškoti",
21 | Reset: "Atstatyti",
22 | odata: [{ oper:'eq', text:"lygu"},{ oper:'ne', text:"nelygu"},{ oper:'lt', text:"mažiau"},{ oper:'le', text:"mažiau arba lygu"},{ oper:'gt', text:"daugiau"},{ oper:'ge', text:"daugiau arba lygu"},{ oper:'bw', text:"prasideda"},{ oper:'bn', text:"neprasideda"},{ oper:'in', text:"reikšmė yra"},{ oper:'ni', text:"reikšmės nėra"},{ oper:'ew', text:"baigiasi"},{ oper:'en', text:"nesibaigia"},{ oper:'cn', text:"yra sudarytas"},{ oper:'nc', text:"nėra sudarytas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Sukurti įrašą",
29 | editCaption: "Redaguoti įrašą",
30 | bSubmit: "Išsaugoti",
31 | bCancel: "Atšaukti",
32 | bClose: "Uždaryti",
33 | saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
34 | bYes : "Taip",
35 | bNo : "Ne",
36 | bExit : "Atšaukti",
37 | msg: {
38 | required:"Privalomas laukas",
39 | number:"Įveskite tinkamą numerį",
40 | minValue:"reikšmė turi būti didesnė arba lygi ",
41 | maxValue:"reikšmė turi būti mažesnė arba lygi",
42 | email: "neteisingas el. pašto adresas",
43 | integer: "Įveskite teisingą sveikąjį skaičių",
44 | date: "Įveskite teisingą datą",
45 | url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
46 | nodefined : " nėra apibrėžta!",
47 | novalue : " turi būti gražinama kokia nors reikšmė!",
48 | customarray : "Custom f-ja turi grąžinti masyvą!",
49 | customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "Peržiūrėti įrašus",
55 | bClose: "Uždaryti"
56 | },
57 | del : {
58 | caption: "Ištrinti",
59 | msg: "Ištrinti pažymėtus įrašus(-ą)?",
60 | bSubmit: "Ištrinti",
61 | bCancel: "Atšaukti"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "Redaguoti pažymėtą eilutę",
66 | addtext:"",
67 | addtitle: "Pridėti naują eilutę",
68 | deltext: "",
69 | deltitle: "Ištrinti pažymėtą eilutę",
70 | searchtext: "",
71 | searchtitle: "Rasti įrašus",
72 | refreshtext: "",
73 | refreshtitle: "Perkrauti lentelę",
74 | alertcap: "Įspėjimas",
75 | alerttext: "Pasirinkite eilutę",
76 | viewtext: "",
77 | viewtitle: "Peržiūrėti pasirinktą eilutę"
78 | },
79 | col : {
80 | caption: "Pasirinkti stulpelius",
81 | bSubmit: "Gerai",
82 | bCancel: "Atšaukti"
83 | },
84 | errors : {
85 | errcap : "Klaida",
86 | nourl : "Url reikšmė turi būti perduota",
87 | norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
88 | model : "colNames skaičius <> colModel skaičiui!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: "", defaultValue: '0'},
92 | number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
97 | "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
98 | ],
99 | monthNames: [
100 | "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
101 | "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-mne.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Montenegrian Translation
4 | * Bild Studio info@bild-studio.net
5 | * http://www.bild-studio.com
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Pregled {0} - {1} od {2}",
14 | emptyrecords: "Ne postoji nijedan zapis",
15 | loadtext: "Učitivanje...",
16 | pgtext : "Strana {0} od {1}"
17 | },
18 | search : {
19 | caption: "Traženje...",
20 | Find: "Traži",
21 | Reset: "Resetuj",
22 | odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Dodaj zapis",
29 | editCaption: "Izmjeni zapis",
30 | bSubmit: "Pošalji",
31 | bCancel: "Odustani",
32 | bClose: "Zatvori",
33 | saveData: "Podatak je izmjenjen! Sačuvaj izmjene?",
34 | bYes : "Da",
35 | bNo : "Ne",
36 | bExit : "Odustani",
37 | msg: {
38 | required:"Polje je obavezno",
39 | number:"Unesite ispravan broj",
40 | minValue:"vrijednost mora biti veća od ili jednaka sa ",
41 | maxValue:"vrijednost mora biti manja ili jednaka sa",
42 | email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?",
43 | integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ",
44 | date: "Unesite ispravan datum",
45 | url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46 | nodefined : " nije definisan!",
47 | novalue : " zahtjevana je povratna vrijednost!",
48 | customarray : "Prilagođena funkcija treba da vrati niz!",
49 | customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "Pogledaj zapis",
55 | bClose: "Zatvori"
56 | },
57 | del : {
58 | caption: "Izbrisi",
59 | msg: "Izbrisi izabran(e) zapise(e)?",
60 | bSubmit: "Izbriši",
61 | bCancel: "Odbaci"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "Izmjeni izabrani red",
66 | addtext:"",
67 | addtitle: "Dodaj novi red",
68 | deltext: "",
69 | deltitle: "Izbriši izabran red",
70 | searchtext: "",
71 | searchtitle: "Nađi zapise",
72 | refreshtext: "",
73 | refreshtitle: "Ponovo učitaj podatke",
74 | alertcap: "Upozorenje",
75 | alerttext: "Izaberite red",
76 | viewtext: "",
77 | viewtitle: "Pogledaj izabrani red"
78 | },
79 | col : {
80 | caption: "Izaberi kolone",
81 | bSubmit: "OK",
82 | bCancel: "Odbaci"
83 | },
84 | errors : {
85 | errcap : "Greška",
86 | nourl : "Nije postavljen URL",
87 | norecords: "Nema zapisa za obradu",
88 | model : "Dužina modela colNames <> colModel!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: " ", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97 | "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98 | ],
99 | monthNames: [
100 | "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101 | "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-no.js:
--------------------------------------------------------------------------------
1 | (function(a){a.jgrid= a.jgrid || {};a.jgrid.defaults={recordtext:"Rad {0} - {1}, totalt {2}",loadtext:"Laster...",pgtext:"Side {0} av {1}"};a.jgrid.search={caption:"S�k...",Find:"Finn",Reset:"Nullstill",odata:[{oper:'eq', text:"lik"},{oper:'ne', text:"forskjellig fra"},{oper:'lt', text:"mindre enn"},{oper:'le', text:"mindre eller lik"},{oper:'gt', text:"st�rre enn"},{oper:'ge', text:" st�rre eller lik"},{oper:'bw', text:"starter med"},{oper:'ew', text:"slutter med"},{oper:'cn', text:"inneholder"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],operandTitle : "Click to select search operation.",resetTitle : "Reset Search Value"};a.jgrid.edit={addCaption:"Ny rad",editCaption:"Rediger",bSubmit:"Send",bCancel:"Avbryt",bClose:"Lukk",processData:"Laster...",msg:{required:"Felt er obligatorisk",number:"Legg inn et gyldig tall",minValue:"verdi m� v�re st�rre enn eller lik",maxValue:"verdi m� v�re mindre enn eller lik",email:"er ikke en gyldig e-post adresse",integer:"Legg inn et gyldig heltall",date:"Legg inn en gyldig dato",url:"er ikke en gyldig URL. Prefiks p�krevd ('http://' eller 'https://')",nodefined:" er ikke definert!",novalue:" returverdi er p�krevd!",customarray:"Tilpasset funksjon m� returnere en tabell!",customfcheck:"Tilpasset funksjon m� eksistere!"}};a.jgrid.view={caption:"�pne post",bClose:"Lukk"};a.jgrid.del={caption:"Slett",msg:"Slett valgte rad(er)?",bSubmit:"Slett",bCancel:"Avbryt",processData:"Behandler..."};a.jgrid.nav={edittext:" ",edittitle:"Rediger valgte rad(er)",addtext:" ",addtitle:"Legg til ny rad",deltext:" ",deltitle:"Slett valgte rad(er)",searchtext:" ",searchtitle:"S�k",refreshtext:"",refreshtitle:"Oppdater tabell",alertcap:"Advarsel",alerttext:"Velg rad",viewtext:" ",viewtitle:"�pne valgt rad"};a.jgrid.col={caption:"Vis/skjul kolonner",bSubmit:"Utf�r",bCancel:"Avbryt"};a.jgrid.errors={errcap:"Feil",nourl:"Ingen url er satt",norecords:"Ingen poster � behandle",model:"colNames og colModel har forskjellig lengde!"};a.jgrid.formatter={integer:{thousandsSeparator:" ",defaultValue:0},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaulValue:0},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaulValue:0},date:{dayNames:["s�.","ma.","ti.","on.","to.","fr.","l�.","S�ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L�rdag"],monthNames:["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des.","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],AmPm:["","","",""],S:function(b){return"."},srcformat:"Y-m-d H:i:s",newformat:"Y-m-d H:i:s",parseRe : /[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"j.n.Y",LongDate:"l j. F Y",FullDateTime:"l j. F Y kl. G.i.s",MonthDay:"j. F",ShortTime:"H:i",LongTime:"H:i:s",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"show",addParam:"",checkbox:{disabled:true}}})(jQuery);
2 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-sk.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Slovak Translation
4 | * Milan Cibulka
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Zobrazených {0} - {1} z {2} záznamov",
14 | emptyrecords: "Neboli nájdené žiadne záznamy",
15 | loadtext: "Načítám...",
16 | pgtext : "Strana {0} z {1}"
17 | },
18 | search : {
19 | caption: "Vyhľadávam...",
20 | Find: "Hľadať",
21 | Reset: "Reset",
22 | odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Pridať záznam",
29 | editCaption: "Editácia záznamov",
30 | bSubmit: "Uložiť",
31 | bCancel: "Storno",
32 | bClose: "Zavrieť",
33 | saveData: "Údaje boli zmenené! Uložiť zmeny?",
34 | bYes : "Ano",
35 | bNo : "Nie",
36 | bExit : "Zrušiť",
37 | msg: {
38 | required:"Pole je požadované",
39 | number:"Prosím, vložte valídne číslo",
40 | minValue:"hodnota musí býť väčšia ako alebo rovná ",
41 | maxValue:"hodnota musí býť menšia ako alebo rovná ",
42 | email: "nie je valídny e-mail",
43 | integer: "Prosím, vložte celé číslo",
44 | date: "Prosím, vložte valídny dátum",
45 | url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
46 | nodefined : " nie je definovaný!",
47 | novalue : " je vyžadovaná návratová hodnota!",
48 | customarray : "Custom function mala vrátiť pole!",
49 | customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
50 | }
51 | },
52 | view : {
53 | caption: "Zobraziť záznam",
54 | bClose: "Zavrieť"
55 | },
56 | del : {
57 | caption: "Zmazať",
58 | msg: "Zmazať vybraný(é) záznam(y)?",
59 | bSubmit: "Zmazať",
60 | bCancel: "Storno"
61 | },
62 | nav : {
63 | edittext: " ",
64 | edittitle: "Editovať vybraný riadok",
65 | addtext:" ",
66 | addtitle: "Pridať nový riadek",
67 | deltext: " ",
68 | deltitle: "Zmazať vybraný záznam ",
69 | searchtext: " ",
70 | searchtitle: "Nájsť záznamy",
71 | refreshtext: "",
72 | refreshtitle: "Obnoviť tabuľku",
73 | alertcap: "Varovanie",
74 | alerttext: "Prosím, vyberte riadok",
75 | viewtext: "",
76 | viewtitle: "Zobraziť vybraný riadok"
77 | },
78 | col : {
79 | caption: "Zobrazit/Skrýť stĺpce",
80 | bSubmit: "Uložiť",
81 | bCancel: "Storno"
82 | },
83 | errors : {
84 | errcap : "Chyba",
85 | nourl : "Nie je nastavená url",
86 | norecords: "Žiadne záznamy k spracovaniu",
87 | model : "Dĺžka colNames <> colModel!"
88 | },
89 | formatter : {
90 | integer : {thousandsSeparator: " ", defaultValue: '0'},
91 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
92 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93 | date : {
94 | dayNames: [
95 | "Ne", "Po", "Ut", "St", "Št", "Pi", "So",
96 | "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
97 | ],
98 | monthNames: [
99 | "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
100 | "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
101 | ],
102 | AmPm : ["do","od","DO","OD"],
103 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
104 | srcformat: 'Y-m-d',
105 | newformat: 'd/m/Y',
106 | parseRe : /[#%\\\/:_;.,\t\s-]/,
107 | masks : {
108 | ISO8601Long:"Y-m-d H:i:s",
109 | ISO8601Short:"Y-m-d",
110 | ShortDate: "n/j/Y",
111 | LongDate: "l, F d, Y",
112 | FullDateTime: "l, F d, Y g:i:s A",
113 | MonthDay: "F d",
114 | ShortTime: "g:i A",
115 | LongTime: "g:i:s A",
116 | SortableDateTime: "Y-m-d\\TH:i:s",
117 | UniversalSortableDateTime: "Y-m-d H:i:sO",
118 | YearMonth: "F, Y"
119 | },
120 | reformatAfterEdit : false
121 | },
122 | baseLinkUrl: '',
123 | showAction: '',
124 | target: '',
125 | checkbox : {disabled:true},
126 | idName : 'id'
127 | }
128 | });
129 | })(jQuery);
130 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-sr-latin.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Serbian latin Translation
4 | * Bild Studio info@bild-studio.net
5 | * http://www.bild-studio.com
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Pregled {0} - {1} od {2}",
14 | emptyrecords: "Ne postoji nijedan zapis",
15 | loadtext: "Učitavanje…",
16 | pgtext : "Strana {0} od {1}"
17 | },
18 | search : {
19 | caption: "Traženje...",
20 | Find: "Traži",
21 | Reset: "Resetuj",
22 | odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Dodaj zapis",
29 | editCaption: "Izmeni zapis",
30 | bSubmit: "Pošalji",
31 | bCancel: "Odustani",
32 | bClose: "Zatvori",
33 | saveData: "Podatak je izmenjen! Sačuvaj izmene?",
34 | bYes : "Da",
35 | bNo : "Ne",
36 | bExit : "Odustani",
37 | msg: {
38 | required: "Polje je obavezno",
39 | number: "Unesite ispravan broj",
40 | minValue: "vrednost mora biti veća od ili jednaka sa ",
41 | maxValue: "vrednost mora biti manja ili jednaka sa",
42 | email: "nije ispravna email adresa, nije valjda da ne umeš ukucati mail!?",
43 | integer: "Unesi celobrojnu vrednost ",
44 | date: "Unesite ispravan datum",
45 | url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
46 | nodefined : " nije definisan!",
47 | novalue : " zahtevana je povratna vrednost!",
48 | customarray : "Prilagođena funkcija treba da vrati niz!",
49 | customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provere!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "Pogledaj zapis",
55 | bClose: "Zatvori"
56 | },
57 | del : {
58 | caption: "Izbrisi",
59 | msg: "Izbrisi izabran(e) zapise(e)?",
60 | bSubmit: "Izbriši",
61 | bCancel: "Odbaci"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "Izmeni izabrani red",
66 | addtext:"",
67 | addtitle: "Dodaj novi red",
68 | deltext: "",
69 | deltitle: "Izbriši izabran red",
70 | searchtext: "",
71 | searchtitle: "Nađi zapise",
72 | refreshtext: "",
73 | refreshtitle: "Ponovo učitaj podatke",
74 | alertcap: "Upozorenje",
75 | alerttext: "Izaberite red",
76 | viewtext: "",
77 | viewtitle: "Pogledaj izabrani red"
78 | },
79 | col : {
80 | caption: "Izaberi kolone",
81 | bSubmit: "OK",
82 | bCancel: "Odbaci"
83 | },
84 | errors : {
85 | errcap : "Greška",
86 | nourl : "Nije postavljen URL",
87 | norecords: "Nema zapisa za obradu",
88 | model : "Dužina modela colNames <> colModel!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: " ", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
97 | "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
98 | ],
99 | monthNames: [
100 | "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
101 | "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-sr.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Serbian Translation
4 | * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "Преглед {0} - {1} од {2}",
14 | emptyrecords: "Не постоји ниједан запис",
15 | loadtext: "Учитавање...",
16 | pgtext : "Страна {0} од {1}"
17 | },
18 | search : {
19 | caption: "Тражење...",
20 | Find: "Тражи",
21 | Reset: "Ресетуј",
22 | odata: [{ oper:'eq', text:"једнако"},{ oper:'ne', text:"није једнако"},{ oper:'lt', text:"мање"},{ oper:'le', text:"мање или једнако"},{ oper:'gt', text:"веће"},{ oper:'ge', text:"веће или једнако"},{ oper:'bw', text:"почиње са"},{ oper:'bn', text:"не почиње са"},{ oper:'in', text:"је у"},{ oper:'ni', text:"није у"},{ oper:'ew', text:"завршава са"},{ oper:'en', text:"не завршава са"},{ oper:'cn', text:"садржи"},{ oper:'nc', text:"не садржи"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "Додај запис",
29 | editCaption: "Измени запис",
30 | bSubmit: "Пошаљи",
31 | bCancel: "Одустани",
32 | bClose: "Затвори",
33 | saveData: "Податак је измењен! Сачувај измене?",
34 | bYes : "Да",
35 | bNo : "Не",
36 | bExit : "Одустани",
37 | msg: {
38 | required:"Поље је обавезно",
39 | number:"Молим, унесите исправан број",
40 | minValue:"вредност мора бити већа од или једнака са ",
41 | maxValue:"вредност мора бити мања од или једнака са",
42 | email: "није исправна имејл адреса",
43 | integer: "Молим, унесите исправну целобројну вредност ",
44 | date: "Молим, унесите исправан датум",
45 | url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
46 | nodefined : " није дефинисан!",
47 | novalue : " захтевана је повратна вредност!",
48 | customarray : "Custom function should return array!",
49 | customfcheck : "Custom function should be present in case of custom checking!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "Погледај запис",
55 | bClose: "Затвори"
56 | },
57 | del : {
58 | caption: "Избриши",
59 | msg: "Избриши изабран(е) запис(е)?",
60 | bSubmit: "Ибриши",
61 | bCancel: "Одбаци"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "Измени изабрани ред",
66 | addtext:"",
67 | addtitle: "Додај нови ред",
68 | deltext: "",
69 | deltitle: "Избриши изабран ред",
70 | searchtext: "",
71 | searchtitle: "Нађи записе",
72 | refreshtext: "",
73 | refreshtitle: "Поново учитај податке",
74 | alertcap: "Упозорење",
75 | alerttext: "Молим, изаберите ред",
76 | viewtext: "",
77 | viewtitle: "Погледај изабрани ред"
78 | },
79 | col : {
80 | caption: "Изабери колоне",
81 | bSubmit: "ОК",
82 | bCancel: "Одбаци"
83 | },
84 | errors : {
85 | errcap : "Грешка",
86 | nourl : "Није постављен URL",
87 | norecords: "Нема записа за обраду",
88 | model : "Дужина модела colNames <> colModel!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: " ", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
97 | "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
98 | ],
99 | monthNames: [
100 | "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
101 | "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-th.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Thai Translation
4 | * Kittituch Manakul m.kittituch@Gmail.com
5 | * http://trirand.com/blog/
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | **/
10 | $.jgrid = $.jgrid || {};
11 | $.extend($.jgrid,{
12 | defaults : {
13 | recordtext: "แสดง {0} - {1} จาก {2}",
14 | emptyrecords: "ไม่พบข้อมูล",
15 | loadtext: "กำลังร้องขอข้อมูล...",
16 | pgtext : "หน้า {0} จาก {1}"
17 | },
18 | search : {
19 | caption: "กำลังค้นหา...",
20 | Find: "ค้นหา",
21 | Reset: "คืนค่ากลับ",
22 | odata: [{ oper:'eq', text:"เท่ากับ"},{ oper:'ne', text:"ไม่เท่ากับ"},{ oper:'lt', text:"น้อยกว่า"},{ oper:'le', text:"ไม่มากกว่า"},{ oper:'gt', text:"มากกกว่า"},{ oper:'ge', text:"ไม่น้อยกว่า"},{ oper:'bw', text:"ขึ้นต้นด้วย"},{ oper:'bn', text:"ไม่ขึ้นต้นด้วย"},{ oper:'in', text:"มีคำใดคำหนึ่งใน"},{ oper:'ni', text:"ไม่มีคำใดคำหนึ่งใน"},{ oper:'ew', text:"ลงท้ายด้วย"},{ oper:'en', text:"ไม่ลงท้ายด้วย"},{ oper:'cn', text:"มีคำว่า"},{ oper:'nc', text:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23 | groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ],
24 | operandTitle : "Click to select search operation.",
25 | resetTitle : "Reset Search Value"
26 | },
27 | edit : {
28 | addCaption: "เพิ่มข้อมูล",
29 | editCaption: "แก้ไขข้อมูล",
30 | bSubmit: "บันทึก",
31 | bCancel: "ยกเลิก",
32 | bClose: "ปิด",
33 | saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
34 | bYes : "บันทึก",
35 | bNo : "ละทิ้งการแก้ไข",
36 | bExit : "ยกเลิก",
37 | msg: {
38 | required:"ข้อมูลนี้จำเป็น",
39 | number:"กรุณากรอกหมายเลขให้ถูกต้อง",
40 | minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
41 | maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
42 | email: "อีเมลล์นี้ไม่ถูกต้อง",
43 | integer: "กรุณากรอกเป็นจำนวนเต็ม",
44 | date: "กรุณากรอกวันที่ให้ถูกต้อง",
45 | url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
46 | nodefined : "ไม่ได้ถูกกำหนดค่า!",
47 | novalue : "ต้องการการคืนค่า!",
48 | customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
49 | customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
50 |
51 | }
52 | },
53 | view : {
54 | caption: "เรียกดูข้อมูล",
55 | bClose: "ปิด"
56 | },
57 | del : {
58 | caption: "ลบข้อมูล",
59 | msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
60 | bSubmit: "ต้องการลบ",
61 | bCancel: "ยกเลิก"
62 | },
63 | nav : {
64 | edittext: "",
65 | edittitle: "แก้ไขข้อมูล",
66 | addtext:"",
67 | addtitle: "เพิ่มข้อมูล",
68 | deltext: "",
69 | deltitle: "ลบข้อมูล",
70 | searchtext: "",
71 | searchtitle: "ค้นหาข้อมูล",
72 | refreshtext: "",
73 | refreshtitle: "รีเฟรช",
74 | alertcap: "คำเตือน",
75 | alerttext: "กรุณาเลือกข้อมูล",
76 | viewtext: "",
77 | viewtitle: "ดูรายละเอียดข้อมูล"
78 | },
79 | col : {
80 | caption: "กรุณาเลือกคอลัมน์",
81 | bSubmit: "ตกลง",
82 | bCancel: "ยกเลิก"
83 | },
84 | errors : {
85 | errcap : "เกิดความผิดพลาด",
86 | nourl : "ไม่ได้กำหนด URL",
87 | norecords: "ไม่มีข้อมูลให้ดำเนินการ",
88 | model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
89 | },
90 | formatter : {
91 | integer : {thousandsSeparator: " ", defaultValue: '0'},
92 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
93 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
94 | date : {
95 | dayNames: [
96 | "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
97 | "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
98 | ],
99 | monthNames: [
100 | "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
101 | "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
102 | ],
103 | AmPm : ["am","pm","AM","PM"],
104 | S: function (j) {return ''},
105 | srcformat: 'Y-m-d',
106 | newformat: 'd/m/Y',
107 | parseRe : /[#%\\\/:_;.,\t\s-]/,
108 | masks : {
109 | ISO8601Long:"Y-m-d H:i:s",
110 | ISO8601Short:"Y-m-d",
111 | ShortDate: "n/j/Y",
112 | LongDate: "l, F d, Y",
113 | FullDateTime: "l, F d, Y g:i:s A",
114 | MonthDay: "F d",
115 | ShortTime: "g:i A",
116 | LongTime: "g:i:s A",
117 | SortableDateTime: "Y-m-d\\TH:i:s",
118 | UniversalSortableDateTime: "Y-m-d H:i:sO",
119 | YearMonth: "F, Y"
120 | },
121 | reformatAfterEdit : false
122 | },
123 | baseLinkUrl: '',
124 | showAction: '',
125 | target: '',
126 | checkbox : {disabled:true},
127 | idName : 'id'
128 | }
129 | });
130 | })(jQuery);
131 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jqGrid/i18n/grid.locale-tw.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | /**
3 | * jqGrid Chinese (Taiwan) Translation for v4.2
4 | * linquize
5 | * https://github.com/linquize/jqGrid
6 | * Dual licensed under the MIT and GPL licenses:
7 | * http://www.opensource.org/licenses/mit-license.php
8 | * http://www.gnu.org/licenses/gpl.html
9 | *
10 | **/
11 | $.jgrid = $.jgrid || {};
12 | $.extend($.jgrid,{
13 | defaults : {
14 | recordtext: "{0} - {1} 共 {2} 條",
15 | emptyrecords: "沒有記錄",
16 | loadtext: "載入中...",
17 | pgtext : " {0} 共 {1} 頁"
18 | },
19 | search : {
20 | caption: "搜尋...",
21 | Find: "搜尋",
22 | Reset: "重設",
23 | odata: [{ oper:'eq', text:"等於 "},{ oper:'ne', text:"不等於 "},{ oper:'lt', text:"小於 "},{ oper:'le', text:"小於等於 "},{ oper:'gt', text:"大於 "},{ oper:'ge', text:"大於等於 "},{ oper:'bw', text:"開始於 "},{ oper:'bn', text:"不開始於 "},{ oper:'in', text:"在其中 "},{ oper:'ni', text:"不在其中 "},{ oper:'ew', text:"結束於 "},{ oper:'en', text:"不結束於 "},{ oper:'cn', text:"包含 "},{ oper:'nc', text:"不包含 "},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24 | groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
25 | operandTitle : "Click to select search operation.",
26 | resetTitle : "Reset Search Value"
27 | },
28 | edit : {
29 | addCaption: "新增記錄",
30 | editCaption: "編輯記錄",
31 | bSubmit: "提交",
32 | bCancel: "取消",
33 | bClose: "關閉",
34 | saveData: "資料已改變,是否儲存?",
35 | bYes : "是",
36 | bNo : "否",
37 | bExit : "取消",
38 | msg: {
39 | required:"此欄必要",
40 | number:"請輸入有效的數字",
41 | minValue:"值必須大於等於 ",
42 | maxValue:"值必須小於等於 ",
43 | email: "不是有效的e-mail地址",
44 | integer: "請輸入有效整数",
45 | date: "請輸入有效時間",
46 | url: "網址無效。前綴必須為 ('http://' 或 'https://')",
47 | nodefined : " 未定義!",
48 | novalue : " 需要傳回值!",
49 | customarray : "自訂函數應傳回陣列!",
50 | customfcheck : "自訂檢查應有自訂函數!"
51 |
52 | }
53 | },
54 | view : {
55 | caption: "查看記錄",
56 | bClose: "關閉"
57 | },
58 | del : {
59 | caption: "刪除",
60 | msg: "刪除已選記錄?",
61 | bSubmit: "刪除",
62 | bCancel: "取消"
63 | },
64 | nav : {
65 | edittext: "",
66 | edittitle: "編輯已選列",
67 | addtext:"",
68 | addtitle: "新增列",
69 | deltext: "",
70 | deltitle: "刪除已選列",
71 | searchtext: "",
72 | searchtitle: "搜尋記錄",
73 | refreshtext: "",
74 | refreshtitle: "重新整理表格",
75 | alertcap: "警告",
76 | alerttext: "請選擇列",
77 | viewtext: "",
78 | viewtitle: "檢視已選列"
79 | },
80 | col : {
81 | caption: "選擇欄",
82 | bSubmit: "確定",
83 | bCancel: "取消"
84 | },
85 | errors : {
86 | errcap : "錯誤",
87 | nourl : "未設定URL",
88 | norecords: "無需要處理的記錄",
89 | model : "colNames 和 colModel 長度不同!"
90 | },
91 | formatter : {
92 | integer : {thousandsSeparator: " ", defaultValue: '0'},
93 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
94 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
95 | date : {
96 | dayNames: [
97 | "日", "一", "二", "三", "四", "五", "六",
98 | "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
99 | ],
100 | monthNames: [
101 | "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
102 | "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
103 | ],
104 | AmPm : ["上午","下午","上午","下午"],
105 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
106 | srcformat: 'Y-m-d',
107 | newformat: 'm-d-Y',
108 | parseRe : /[#%\\\/:_;.,\t\s-]/,
109 | masks : {
110 | ISO8601Long:"Y-m-d H:i:s",
111 | ISO8601Short:"Y-m-d",
112 | ShortDate: "Y/j/n",
113 | LongDate: "l, F d, Y",
114 | FullDateTime: "l, F d, Y g:i:s A",
115 | MonthDay: "F d",
116 | ShortTime: "g:i A",
117 | LongTime: "g:i:s A",
118 | SortableDateTime: "Y-m-d\\TH:i:s",
119 | UniversalSortableDateTime: "Y-m-d H:i:sO",
120 | YearMonth: "F, Y"
121 | },
122 | reformatAfterEdit : false
123 | },
124 | baseLinkUrl: '',
125 | showAction: '',
126 | target: '',
127 | checkbox : {disabled:true},
128 | idName : 'id'
129 | }
130 | });
131 | })(jQuery);
132 |
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.autosize.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | Autosize v1.18.9 - 2014-05-27
3 | Automatically adjust textarea height based on user input.
4 | (c) 2014 Jack Moore - http://www.jacklmoore.com/autosize
5 | license: http://www.opensource.org/licenses/mit-license.php
6 | */
7 | (function(e){var t,o={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},i='',n=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent"],s=e(i).data("autosize",!0)[0];s.style.lineHeight="99px","99px"===e(s).css("lineHeight")&&n.push("lineHeight"),s.style.lineHeight="",e.fn.autosize=function(i){return this.length?(i=e.extend({},o,i||{}),s.parentNode!==document.body&&e(document.body).append(s),this.each(function(){function o(){var t,o=window.getComputedStyle?window.getComputedStyle(u,null):!1;o?(t=u.getBoundingClientRect().width,(0===t||"number"!=typeof t)&&(t=parseInt(o.width,10)),e.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],function(e,i){t-=parseInt(o[i],10)})):t=p.width(),s.style.width=Math.max(t,0)+"px"}function a(){var a={};if(t=u,s.className=i.className,s.id=i.id,d=parseInt(p.css("maxHeight"),10),e.each(n,function(e,t){a[t]=p.css(t)}),e(s).css(a).attr("wrap",p.attr("wrap")),o(),window.chrome){var r=u.style.width;u.style.width="0px",u.offsetWidth,u.style.width=r}}function r(){var e,n;t!==u?a():o(),s.value=!u.value&&i.placeholder?(p.attr("placeholder")||"")+i.append:u.value+i.append,s.style.overflowY=u.style.overflowY,n=parseInt(u.style.height,10),s.scrollTop=0,s.scrollTop=9e4,e=s.scrollTop,d&&e>d?(u.style.overflowY="scroll",e=d):(u.style.overflowY="hidden",c>e&&(e=c)),e+=w,n!==e&&(u.style.height=e+"px",f&&i.callback.call(u,u))}function l(){clearTimeout(h),h=setTimeout(function(){var e=p.width();e!==g&&(g=e,r())},parseInt(i.resizeDelay,10))}var d,c,h,u=this,p=e(u),w=0,f=e.isFunction(i.callback),z={height:u.style.height,overflow:u.style.overflow,overflowY:u.style.overflowY,wordWrap:u.style.wordWrap,resize:u.style.resize},g=p.width(),y=p.css("resize");p.data("autosize")||(p.data("autosize",!0),("border-box"===p.css("box-sizing")||"border-box"===p.css("-moz-box-sizing")||"border-box"===p.css("-webkit-box-sizing"))&&(w=p.outerHeight()-p.height()),c=Math.max(parseInt(p.css("minHeight"),10)-w||0,p.height()),p.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"}),"vertical"===y?p.css("resize","none"):"both"===y&&p.css("resize","horizontal"),"onpropertychange"in u?"oninput"in u?p.on("input.autosize keyup.autosize",r):p.on("propertychange.autosize",function(){"value"===event.propertyName&&r()}):p.on("input.autosize",r),i.resizeDelay!==!1&&e(window).on("resize.autosize",l),p.on("autosize.resize",r),p.on("autosize.resizeIncludeStyle",function(){t=null,r()}),p.on("autosize.destroy",function(){t=null,clearTimeout(h),e(window).off("resize",l),p.off("autosize").off(".autosize").css(z).removeData("autosize")}),r())})):this}})(window.jQuery||window.$);
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.easy-pie-chart.min.js:
--------------------------------------------------------------------------------
1 | /**!
2 | * easyPieChart
3 | * Lightweight plugin to render simple, animated and retina optimized pie charts
4 | *
5 | * @license
6 | * @author Robert Fleischmann (http://robert-fleischmann.de)
7 | * @version 2.1.5
8 | **/
9 | (function(a,b){if(typeof exports==="object"){module.exports=b(require("jquery"))}else{if(typeof define==="function"&&define.amd){define(["jquery"],b)}else{b(a.jQuery)}}}(this,function(c){var a=function(e,n){var l;var f=document.createElement("canvas");e.appendChild(f);if(typeof(G_vmlCanvasManager)!=="undefined"){G_vmlCanvasManager.initElement(f)}var m=f.getContext("2d");f.width=f.height=n.size;var k=1;if(window.devicePixelRatio>1){k=window.devicePixelRatio;f.style.width=f.style.height=[n.size,"px"].join("");f.width=f.height=n.size*k;m.scale(k,k)}m.translate(n.size/2,n.size/2);m.rotate((-1/2+n.rotate/180)*Math.PI);var i=(n.size-n.lineWidth)/2;if(n.scaleColor&&n.scaleLength){i-=n.scaleLength+2}Date.now=Date.now||function(){return +(new Date())};var j=function(q,o,r){r=Math.min(Math.max(-1,r||0),1);var p=r<=0?true:false;m.beginPath();m.arc(0,0,i,0,Math.PI*2*r,p);m.strokeStyle=q;m.lineWidth=o;m.stroke()};var d=function(){var q;var p;m.lineWidth=1;m.fillStyle=n.scaleColor;m.save();for(var o=24;o>0;--o){if(o%6===0){p=n.scaleLength;q=0}else{p=n.scaleLength*0.6;q=n.scaleLength-p}m.fillRect(-n.size/2+q,0,p,1);m.rotate(Math.PI/12)}m.restore()};var h=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(o){window.setTimeout(o,1000/60)}}());var g=function(){if(n.scaleColor){d()}if(n.trackColor){j(n.trackColor,n.lineWidth,1)}};this.getCanvas=function(){return f};this.getCtx=function(){return m};this.clear=function(){m.clearRect(n.size/-2,n.size/-2,n.size,n.size)};this.draw=function(p){if(!!n.scaleColor||!!n.trackColor){if(m.getImageData&&m.putImageData){if(!l){g();l=m.getImageData(0,0,n.size*k,n.size*k)}else{m.putImageData(l,0,0)}}else{this.clear();g()}}else{this.clear()}m.lineCap=n.lineCap;var o;if(typeof(n.barColor)==="function"){o=n.barColor(p)}else{o=n.barColor}j(o,n.lineWidth,p/100)}.bind(this);this.animate=function(r,q){var o=Date.now();n.onStart(r,q);var p=function(){var t=Math.min(Date.now()-o,n.animate.duration);var s=n.easing(this,t,r,q-r,n.animate.duration);this.draw(s);n.onStep(r,q,s);if(t>=n.animate.duration){n.onStop(r,q)}else{h(p)}}.bind(this);h(p)}.bind(this)};var b=function(g,h){var d={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,animate:{duration:1000,enabled:true},easing:function(k,l,j,n,m){l=l/(m/2);if(l<1){return n/2*l*l+j}return -n/2*((--l)*(l-2)-1)+j},onStart:function(k,j){return},onStep:function(l,k,j){return},onStop:function(k,j){return}};if(typeof(a)!=="undefined"){d.renderer=a}else{if(typeof(SVGRenderer)!=="undefined"){d.renderer=SVGRenderer}else{throw new Error("Please load either the SVG- or the CanvasRenderer")}}var e={};var f=0;var i=function(){this.el=g;this.options=e;for(var j in d){if(d.hasOwnProperty(j)){e[j]=h&&typeof(h[j])!=="undefined"?h[j]:d[j];if(typeof(e[j])==="function"){e[j]=e[j].bind(this)}}}if(typeof(e.easing)==="string"&&typeof(jQuery)!=="undefined"&&jQuery.isFunction(jQuery.easing[e.easing])){e.easing=jQuery.easing[e.easing]}else{e.easing=d.easing}if(typeof(e.animate)==="number"){e.animate={duration:e.animate,enabled:true}}if(typeof(e.animate)==="boolean"&&!e.animate){e.animate={duration:1000,enabled:e.animate}}this.renderer=new e.renderer(g,e);this.renderer.draw(f);if(g.dataset&&g.dataset.percent){this.update(parseFloat(g.dataset.percent))}else{if(g.getAttribute&&g.getAttribute("data-percent")){this.update(parseFloat(g.getAttribute("data-percent")))}}g.style.width=g.style.height=e.size+"px";g.style.lineHeight=(e.size-1)+"px"}.bind(this);this.update=function(j){j=parseFloat(j);if(e.animate.enabled){this.renderer.animate(f,j)}else{this.renderer.draw(j)}f=j;return this}.bind(this);this.disableAnimation=function(){e.animate.enabled=false;return this};this.enableAnimation=function(){e.animate.enabled=true;return this};i()};c.fn.easyPieChart=function(d){return this.each(function(){var e;if(!c.data(this,"easyPieChart")){e=c.extend({},d,c(this).data());c.data(this,"easyPieChart",new b(this,e))}})}}));
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.easypiechart.min.js:
--------------------------------------------------------------------------------
1 | /**!
2 | * easyPieChart
3 | * Lightweight plugin to render simple, animated and retina optimized pie charts
4 | *
5 | * @license
6 | * @author Robert Fleischmann (http://robert-fleischmann.de)
7 | * @version 2.1.5
8 | **/
9 | (function(a,b){if(typeof exports==="object"){module.exports=b(require("jquery"))}else{if(typeof define==="function"&&define.amd){define(["jquery"],b)}else{b(a.jQuery)}}}(this,function(c){var a=function(e,n){var l;var f=document.createElement("canvas");e.appendChild(f);if(typeof(G_vmlCanvasManager)!=="undefined"){G_vmlCanvasManager.initElement(f)}var m=f.getContext("2d");f.width=f.height=n.size;var k=1;if(window.devicePixelRatio>1){k=window.devicePixelRatio;f.style.width=f.style.height=[n.size,"px"].join("");f.width=f.height=n.size*k;m.scale(k,k)}m.translate(n.size/2,n.size/2);m.rotate((-1/2+n.rotate/180)*Math.PI);var i=(n.size-n.lineWidth)/2;if(n.scaleColor&&n.scaleLength){i-=n.scaleLength+2}Date.now=Date.now||function(){return +(new Date())};var j=function(q,o,r){r=Math.min(Math.max(-1,r||0),1);var p=r<=0?true:false;m.beginPath();m.arc(0,0,i,0,Math.PI*2*r,p);m.strokeStyle=q;m.lineWidth=o;m.stroke()};var d=function(){var q;var p;m.lineWidth=1;m.fillStyle=n.scaleColor;m.save();for(var o=24;o>0;--o){if(o%6===0){p=n.scaleLength;q=0}else{p=n.scaleLength*0.6;q=n.scaleLength-p}m.fillRect(-n.size/2+q,0,p,1);m.rotate(Math.PI/12)}m.restore()};var h=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(o){window.setTimeout(o,1000/60)}}());var g=function(){if(n.scaleColor){d()}if(n.trackColor){j(n.trackColor,n.lineWidth,1)}};this.getCanvas=function(){return f};this.getCtx=function(){return m};this.clear=function(){m.clearRect(n.size/-2,n.size/-2,n.size,n.size)};this.draw=function(p){if(!!n.scaleColor||!!n.trackColor){if(m.getImageData&&m.putImageData){if(!l){g();l=m.getImageData(0,0,n.size*k,n.size*k)}else{m.putImageData(l,0,0)}}else{this.clear();g()}}else{this.clear()}m.lineCap=n.lineCap;var o;if(typeof(n.barColor)==="function"){o=n.barColor(p)}else{o=n.barColor}j(o,n.lineWidth,p/100)}.bind(this);this.animate=function(r,q){var o=Date.now();n.onStart(r,q);var p=function(){var t=Math.min(Date.now()-o,n.animate.duration);var s=n.easing(this,t,r,q-r,n.animate.duration);this.draw(s);n.onStep(r,q,s);if(t>=n.animate.duration){n.onStop(r,q)}else{h(p)}}.bind(this);h(p)}.bind(this)};var b=function(g,h){var d={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,animate:{duration:1000,enabled:true},easing:function(k,l,j,n,m){l=l/(m/2);if(l<1){return n/2*l*l+j}return -n/2*((--l)*(l-2)-1)+j},onStart:function(k,j){return},onStep:function(l,k,j){return},onStop:function(k,j){return}};if(typeof(a)!=="undefined"){d.renderer=a}else{if(typeof(SVGRenderer)!=="undefined"){d.renderer=SVGRenderer}else{throw new Error("Please load either the SVG- or the CanvasRenderer")}}var e={};var f=0;var i=function(){this.el=g;this.options=e;for(var j in d){if(d.hasOwnProperty(j)){e[j]=h&&typeof(h[j])!=="undefined"?h[j]:d[j];if(typeof(e[j])==="function"){e[j]=e[j].bind(this)}}}if(typeof(e.easing)==="string"&&typeof(jQuery)!=="undefined"&&jQuery.isFunction(jQuery.easing[e.easing])){e.easing=jQuery.easing[e.easing]}else{e.easing=d.easing}if(typeof(e.animate)==="number"){e.animate={duration:e.animate,enabled:true}}if(typeof(e.animate)==="boolean"&&!e.animate){e.animate={duration:1000,enabled:e.animate}}this.renderer=new e.renderer(g,e);this.renderer.draw(f);if(g.dataset&&g.dataset.percent){this.update(parseFloat(g.dataset.percent))}else{if(g.getAttribute&&g.getAttribute("data-percent")){this.update(parseFloat(g.getAttribute("data-percent")))}}g.style.width=g.style.height=e.size+"px";g.style.lineHeight=(e.size-1)+"px"}.bind(this);this.update=function(j){j=parseFloat(j);if(e.animate.enabled){this.renderer.animate(f,j)}else{this.renderer.draw(j)}f=j;return this}.bind(this);this.disableAnimation=function(){e.animate.enabled=false;return this};this.enableAnimation=function(){e.animate.enabled=true;return this};i()};c.fn.easyPieChart=function(d){return this.each(function(){var e;if(!c.data(this,"easyPieChart")){e=c.extend({},d,c(this).data());c.data(this,"easyPieChart",new b(this,e))}})}}));
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.gritter.min.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Gritter for jQuery
3 | * http://www.boedesign.com/
4 | *
5 | * Copyright (c) 2012 Jordan Boesch
6 | * Dual licensed under the MIT and GPL licenses.
7 | *
8 | * Date: February 24, 2012
9 | * Version: 1.7.4
10 | */
11 | (function(b){b.gritter={};b.gritter.options={position:"",class_name:"",fade_in_speed:"medium",fade_out_speed:1000,time:6000};b.gritter.add=function(f){try{return a.add(f||{})}catch(d){var c="Gritter Error: "+d;(typeof(console)!="undefined"&&console.error)?console.error(c,f):alert(c)}};b.gritter.remove=function(d,c){a.removeSpecific(d,c||{})};b.gritter.removeAll=function(c){a.stop(c||{})};var a={position:"",fade_in_speed:"",fade_out_speed:"",time:"",_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'',_tpl_title:'[[title]]',_tpl_item:'',_tpl_wrap:'',add:function(g){if(typeof(g)=="string"){g={text:g}}if(g.text===null){throw'You must supply "text" parameter.'}if(!this._is_setup){this._runSetup()}var k=g.title,n=g.text,e=g.image||"",l=g.sticky||false,m=g.class_name||b.gritter.options.class_name,j=b.gritter.options.position,d=g.time||"";this._verifyWrapper();this._item_count++;var f=this._item_count,i=this._tpl_item;b(["before_open","after_open","before_close","after_close"]).each(function(p,q){a["_"+q+"_"+f]=(b.isFunction(g[q]))?g[q]:function(){}});this._custom_timer=0;if(d){this._custom_timer=d}var c=(e!="")?'
':"",h=(e!="")?"gritter-with-image":"gritter-without-image";if(k){k=this._str_replace("[[title]]",k,this._tpl_title)}else{k=""}i=this._str_replace(["[[title]]","[[text]]","[[close]]","[[image]]","[[number]]","[[class_name]]","[[item_class]]"],[k,n,this._tpl_close,c,this._item_count,h,m],i);if(this["_before_open_"+f]()===false){return false}b("#gritter-notice-wrapper").addClass(j).append(i);var o=b("#gritter-item-"+this._item_count);o.fadeIn(this.fade_in_speed,function(){a["_after_open_"+f](b(this))});if(!l){this._setFadeTimer(o,f)}b(o).bind("mouseenter mouseleave",function(p){if(p.type=="mouseenter"){if(!l){a._restoreItemIfFading(b(this),f)}}else{if(!l){a._setFadeTimer(b(this),f)}}a._hoverState(b(this),p.type)});b(o).find(".gritter-close").click(function(){a.removeSpecific(f,{},null,true)});return f},_countRemoveWrapper:function(c,d,f){d.remove();this["_after_close_"+c](d,f);if(b(".gritter-item-wrapper").length==0){b("#gritter-notice-wrapper").remove()}},_fade:function(g,d,j,f){var j=j||{},i=(typeof(j.fade)!="undefined")?j.fade:true,c=j.speed||this.fade_out_speed,h=f;this["_before_close_"+d](g,h);if(f){g.unbind("mouseenter mouseleave")}if(i){g.animate({opacity:0},c,function(){g.animate({height:0},300,function(){a._countRemoveWrapper(d,g,h)})})}else{this._countRemoveWrapper(d,g)}},_hoverState:function(d,c){if(c=="mouseenter"){d.addClass("hover");d.find(".gritter-close").show()}else{d.removeClass("hover");d.find(".gritter-close").hide()}},removeSpecific:function(c,g,f,d){if(!f){var f=b("#gritter-item-"+c)}this._fade(f,c,g||{},d)},_restoreItemIfFading:function(d,c){clearTimeout(this["_int_id_"+c]);d.stop().css({opacity:"",height:""})},_runSetup:function(){for(opt in b.gritter.options){this[opt]=b.gritter.options[opt]}this._is_setup=1},_setFadeTimer:function(f,d){var c=(this._custom_timer)?this._custom_timer:this.time;this["_int_id_"+d]=setTimeout(function(){a._fade(f,d)},c)},stop:function(e){var c=(b.isFunction(e.before_close))?e.before_close:function(){};var f=(b.isFunction(e.after_close))?e.after_close:function(){};var d=b("#gritter-notice-wrapper");c(d);d.fadeOut(function(){b(this).remove();f()})},_str_replace:function(v,e,o,n){var k=0,h=0,t="",m="",g=0,q=0,l=[].concat(v),c=[].concat(e),u=o,d=c instanceof Array,p=u instanceof Array;u=[].concat(u);if(n){this.window[n]=0}for(k=0,g=u.length;k","/":"?","\\":"|"}};function a(d){if(typeof d.data=="undefined"){return}if(typeof d.data==="string"){d.data={keys:d.data}}if(!d.data||!d.data.keys||typeof d.data.keys!=="string"){return}var c=d.handler,e=d.data.keys.toLowerCase().split(" "),f=["text","password","number","email","url","range","date","month","week","time","datetime","datetime-local","search","color","tel"];d.handler=function(k){if(this!==k.target&&(/textarea|select/i.test(k.target.nodeName)||b.inArray(k.target.type,f)>-1)){return}var h=b.hotkeys.specialKeys[k.keyCode],m=(k.type==="keydown"||k.type==="keypress")&&String.fromCharCode(k.which).toLowerCase();modif="",possible={};if(k.altKey&&h!=="alt"){modif+="alt+"}if(k.ctrlKey&&h!=="ctrl"){modif+="ctrl+"}if(k.metaKey&&!k.ctrlKey&&h!=="meta"){modif+="meta+"}if(k.shiftKey&&h!=="shift"){modif+="shift+"}if(h){possible[modif+h]=true}if(m){possible[modif+m]=true;possible[modif+b.hotkeys.shiftNums[m]]=true;if(modif==="shift+"){possible[b.hotkeys.shiftNums[m]]=true}}for(var j=0,g=e.length;j').appendTo("body").attr({id:opts.boxId,'class':opts.boxClass}).css({'position':'absolute'}).hide();if($.fn.bgiframe){$('#'+opts.boxId).bgiframe();}}
2 | var inputlimiterKeyup=function(e){var $this=$(this),count=counter($this.val());if(!opts.allowExceed&&count>opts.limit){$this.val(truncater($this.val()));}
3 | if(opts.boxAttach){$('#'+opts.boxId).css({'width':$this.outerWidth()-($('#'+opts.boxId).outerWidth()-$('#'+opts.boxId).width())+'px','left':$this.offset().left+'px','top':($this.offset().top+$this.outerHeight())-1+'px','z-index':2000});}
4 | var charsRemaining=(opts.limit-count>0?opts.limit-count:0),remText=opts.remTextFilter(opts,charsRemaining),limitText=opts.limitTextFilter(opts);if(opts.limitTextShow){$('#'+opts.boxId).html(remText+' '+limitText);var textWidth=$("").appendTo("body").attr({id:'19cc9195583bfae1fad88e19d443be7a','class':opts.boxClass}).html(remText+' '+limitText).innerWidth();$("#19cc9195583bfae1fad88e19d443be7a").remove();if(textWidth>$('#'+opts.boxId).innerWidth()){$('#'+opts.boxId).html(remText+'
'+limitText);}
5 | $('#'+opts.boxId).show();}else{$('#'+opts.boxId).html(remText).show();}},inputlimiterKeypress=function(e){var count=counter($(this).val());if(!opts.allowExceed&&count>opts.limit){var modifierKeyPressed=e.ctrlKey||e.altKey||e.metaKey;if(!modifierKeyPressed&&(e.which>=32&&e.which<=122)&&this.selectionStart===this.selectionEnd){return false;}}},inputlimiterBlur=function(){var $this=$(this);count=counter($this.val());if(!opts.allowExceed&&count>opts.limit){$this.val(truncater($this.val()));}
6 | if(opts.boxAttach){$('#'+opts.boxId).fadeOut('fast');}else if(opts.remTextHideOnBlur){var limitText=opts.limitText;limitText=limitText.replace(/\%n/g,opts.limit);limitText=limitText.replace(/\%s/g,(opts.limit===1?'':'s'));$('#'+opts.boxId).html(limitText);}},counter=function(value){if(opts.limitBy.toLowerCase()==="words"){return(value.length>0?$.trim(value).replace(/\ +(?= )/g,'').split(' ').length:0);}
7 | var count=value.length,newlines=value.match(/\n/g);if(newlines&&opts.lineReturnCount>1){count+=newlines.length*(opts.lineReturnCount-1);}
8 | return count;},truncater=function(value){if(opts.limitBy.toLowerCase()==="words"){return $.trim(value).replace(/\ +(?= )/g,'').split(' ').splice(0,opts.limit).join(' ')+' ';}
9 | return value.substring(0,opts.limit);};$(this).each(function(i){var $this=$(this);if((!options||!options.limit)&&opts.useMaxlength&&parseInt($this.attr('maxlength'))>0&&parseInt($this.attr('maxlength'))!=opts.limit){$this.inputlimiter($.extend({},opts,{limit:parseInt($this.attr('maxlength'))}));}else{if(!opts.allowExceed&&opts.useMaxlength&&opts.limitBy.toLowerCase()==="characters"){$this.attr('maxlength',opts.limit);}
10 | $this.unbind('.inputlimiter');$this.bind('keyup.inputlimiter',inputlimiterKeyup);$this.bind('keypress.inputlimiter',inputlimiterKeypress);$this.bind('blur.inputlimiter',inputlimiterBlur);}});};$.fn.inputlimiter.remtextfilter=function(opts,charsRemaining){var remText=opts.remText;if(charsRemaining===0&&opts.remFullText!==null){remText=opts.remFullText;}
11 | remText=remText.replace(/\%n/g,charsRemaining);remText=remText.replace(/\%s/g,(opts.zeroPlural?(charsRemaining===1?'':'s'):(charsRemaining<=1?'':'s')));return remText;};$.fn.inputlimiter.limittextfilter=function(opts){var limitText=opts.limitText;limitText=limitText.replace(/\%n/g,opts.limit);limitText=limitText.replace(/\%s/g,(opts.limit<=1?'':'s'));return limitText;};$.fn.inputlimiter.defaults={limit:255,boxAttach:true,boxId:'limiterBox',boxClass:'limiterBox',remText:'%n character%s remaining.',remTextFilter:$.fn.inputlimiter.remtextfilter,remTextHideOnBlur:true,remFullText:null,limitTextShow:true,limitText:'Field limited to %n character%s.',limitTextFilter:$.fn.inputlimiter.limittextfilter,zeroPlural:true,allowExceed:false,useMaxlength:true,limitBy:'characters',lineReturnCount:1};})(jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.maskedinput.min.js:
--------------------------------------------------------------------------------
1 | /*
2 | Masked Input plugin for jQuery
3 | Copyright (c) 2007-2013 Josh Bush (digitalbush.com)
4 | Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
5 | Version: 1.3.1
6 | */
7 | (function(e){function t(){var e=document.createElement("input"),t="onpaste";return e.setAttribute(t,""),"function"==typeof e[t]?"paste":"input"}var n,a=t()+".mask",r=navigator.userAgent,i=/iphone/i.test(r),o=/android/i.test(r);e.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(e,t){var n;if(0!==this.length&&!this.is(":hidden"))return"number"==typeof e?(t="number"==typeof t?t:e,this.each(function(){this.setSelectionRange?this.setSelectionRange(e,t):this.createTextRange&&(n=this.createTextRange(),n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",e),n.select())})):(this[0].setSelectionRange?(e=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(n=document.selection.createRange(),e=0-n.duplicate().moveStart("character",-1e5),t=e+n.text.length),{begin:e,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(t,r){var c,l,s,u,f,h;return!t&&this.length>0?(c=e(this[0]),c.data(e.mask.dataName)()):(r=e.extend({placeholder:e.mask.placeholder,completed:null},r),l=e.mask.definitions,s=[],u=h=t.length,f=null,e.each(t.split(""),function(e,t){"?"==t?(h--,u=e):l[t]?(s.push(RegExp(l[t])),null===f&&(f=s.length-1)):s.push(null)}),this.trigger("unmask").each(function(){function c(e){for(;h>++e&&!s[e];);return e}function d(e){for(;--e>=0&&!s[e];);return e}function m(e,t){var n,a;if(!(0>e)){for(n=e,a=c(t);h>n;n++)if(s[n]){if(!(h>a&&s[n].test(R[a])))break;R[n]=R[a],R[a]=r.placeholder,a=c(a)}b(),x.caret(Math.max(f,e))}}function p(e){var t,n,a,i;for(t=e,n=r.placeholder;h>t;t++)if(s[t]){if(a=c(t),i=R[t],R[t]=n,!(h>a&&s[a].test(i)))break;n=i}}function g(e){var t,n,a,r=e.which;8===r||46===r||i&&127===r?(t=x.caret(),n=t.begin,a=t.end,0===a-n&&(n=46!==r?d(n):a=c(n-1),a=46===r?c(a):a),k(n,a),m(n,a-1),e.preventDefault()):27==r&&(x.val(S),x.caret(0,y()),e.preventDefault())}function v(t){var n,a,i,l=t.which,u=x.caret();t.ctrlKey||t.altKey||t.metaKey||32>l||l&&(0!==u.end-u.begin&&(k(u.begin,u.end),m(u.begin,u.end-1)),n=c(u.begin-1),h>n&&(a=String.fromCharCode(l),s[n].test(a)&&(p(n),R[n]=a,b(),i=c(n),o?setTimeout(e.proxy(e.fn.caret,x,i),0):x.caret(i),r.completed&&i>=h&&r.completed.call(x))),t.preventDefault())}function k(e,t){var n;for(n=e;t>n&&h>n;n++)s[n]&&(R[n]=r.placeholder)}function b(){x.val(R.join(""))}function y(e){var t,n,a=x.val(),i=-1;for(t=0,pos=0;h>t;t++)if(s[t]){for(R[t]=r.placeholder;pos++a.length)break}else R[t]===a.charAt(pos)&&t!==u&&(pos++,i=t);return e?b():u>i+1?(x.val(""),k(0,h)):(b(),x.val(x.val().substring(0,i+1))),u?t:f}var x=e(this),R=e.map(t.split(""),function(e){return"?"!=e?l[e]?r.placeholder:e:void 0}),S=x.val();x.data(e.mask.dataName,function(){return e.map(R,function(e,t){return s[t]&&e!=r.placeholder?e:null}).join("")}),x.attr("readonly")||x.one("unmask",function(){x.unbind(".mask").removeData(e.mask.dataName)}).bind("focus.mask",function(){clearTimeout(n);var e;S=x.val(),e=y(),n=setTimeout(function(){b(),e==t.length?x.caret(0,e):x.caret(e)},10)}).bind("blur.mask",function(){y(),x.val()!=S&&x.change()}).bind("keydown.mask",g).bind("keypress.mask",v).bind(a,function(){setTimeout(function(){var e=y(!0);x.caret(e),r.completed&&e==x.val().length&&r.completed.call(x)},0)}),y()}))}})})(jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.slimscroll.min.js:
--------------------------------------------------------------------------------
1 | /*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
2 | * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
3 | * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
4 | *
5 | * Version: 1.3.2
6 | *
7 | */
8 | (function(f){jQuery.fn.extend({slimScroll:function(g){var a=f.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:0.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:0.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},g);this.each(function(){function u(d){if(r){d=d||
9 | window.event;var c=0;d.wheelDelta&&(c=-d.wheelDelta/120);d.detail&&(c=d.detail/3);f(d.target||d.srcTarget||d.srcElement).closest("."+a.wrapperClass).is(b.parent())&&m(c,!0);d.preventDefault&&!k&&d.preventDefault();k||(d.returnValue=!1)}}function m(d,f,g){k=!1;var e=d,h=b.outerHeight()-c.outerHeight();f&&(e=parseInt(c.css("top"))+d*parseInt(a.wheelStep)/100*c.outerHeight(),e=Math.min(Math.max(e,0),h),e=0=b.outerHeight()?k=!0:(c.stop(!0,!0).fadeIn("fast"),a.railVisible&&h.stop(!0,!0).fadeIn("fast"))}function p(){a.alwaysVisible||(A=setTimeout(function(){a.disableFadeOut&&r||x||y||(c.fadeOut("slow"),h.fadeOut("slow"))},1E3))}var r,x,y,A,z,s,l,B,D=30,k=!1,b=f(this);if(b.parent().hasClass(a.wrapperClass)){var n=b.scrollTop(),c=b.parent().find("."+a.barClass),h=b.parent().find("."+
12 | a.railClass);w();if(f.isPlainObject(g)){if("height"in g&&"auto"==g.height){b.parent().css("height","auto");b.css("height","auto");var q=b.parent().parent().height();b.parent().css("height",q);b.css("height",q)}if("scrollTo"in g)n=parseInt(a.scrollTo);else if("scrollBy"in g)n+=parseInt(a.scrollBy);else if("destroy"in g){c.remove();h.remove();b.unwrap();return}m(n,!1,!0)}}else{a.height="auto"==g.height?b.parent().height():g.height;n=f("").addClass(a.wrapperClass).css({position:"relative",
13 | overflow:"hidden",width:a.width,height:a.height});b.css({overflow:"hidden",width:a.width,height:a.height});var h=f("").addClass(a.railClass).css({width:a.size,height:"100%",position:"absolute",top:0,display:a.alwaysVisible&&a.railVisible?"block":"none","border-radius":a.railBorderRadius,background:a.railColor,opacity:a.railOpacity,zIndex:90}),c=f("").addClass(a.barClass).css({background:a.color,width:a.size,position:"absolute",top:0,opacity:a.opacity,display:a.alwaysVisible?
14 | "block":"none","border-radius":a.borderRadius,BorderRadius:a.borderRadius,MozBorderRadius:a.borderRadius,WebkitBorderRadius:a.borderRadius,zIndex:99}),q="right"==a.position?{right:a.distance}:{left:a.distance};h.css(q);c.css(q);b.wrap(n);b.parent().append(c);b.parent().append(h);a.railDraggable&&c.bind("mousedown",function(a){var b=f(document);y=!0;t=parseFloat(c.css("top"));pageY=a.pageY;b.bind("mousemove.slimscroll",function(a){currTop=t+a.pageY-pageY;c.css("top",currTop);m(0,c.position().top,!1)});
15 | b.bind("mouseup.slimscroll",function(a){y=!1;p();b.unbind(".slimscroll")});return!1}).bind("selectstart.slimscroll",function(a){a.stopPropagation();a.preventDefault();return!1});h.hover(function(){v()},function(){p()});c.hover(function(){x=!0},function(){x=!1});b.hover(function(){r=!0;v();p()},function(){r=!1;p()});b.bind("touchstart",function(a,b){a.originalEvent.touches.length&&(z=a.originalEvent.touches[0].pageY)});b.bind("touchmove",function(b){k||b.originalEvent.preventDefault();b.originalEvent.touches.length&&
16 | (m((z-b.originalEvent.touches[0].pageY)/a.touchScrollStep,!0),z=b.originalEvent.touches[0].pageY)});w();"bottom"===a.start?(c.css({top:b.outerHeight()-c.outerHeight()}),m(0,!0)):"top"!==a.start&&(m(f(a.start).position().top,null,!0),a.alwaysVisible||c.hide());C()}});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/jquery/jquery.ui.touch-punch.min.js:
--------------------------------------------------------------------------------
1 | /*!
* jQuery UI Touch Punch 0.2.3
*
* Copyright 2011–2014, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function($){$.support.touch="ontouchend"in document;if(!$.support.touch){return}var mouseProto=$.ui.mouse.prototype,_mouseInit=mouseProto._mouseInit,_mouseDestroy=mouseProto._mouseDestroy,touchHandled;function simulateMouseEvent(event,simulatedType,prevent){if(event.originalEvent.touches.length>1){return}if(prevent!==false)event.preventDefault();var touch=event.originalEvent.changedTouches[0],simulatedEvent=document.createEvent("MouseEvents");simulatedEvent.initMouseEvent(simulatedType,true,true,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,false,false,false,false,0,null);event.target.dispatchEvent(simulatedEvent)}mouseProto._touchStart=function(event){var self=this;if(touchHandled||!self._mouseCapture(event.originalEvent.changedTouches[0])){return}touchHandled=true;self._touchMoved=false;simulateMouseEvent(event,"mouseover",false);simulateMouseEvent(event,"mousemove",false);simulateMouseEvent(event,"mousedown",false)};mouseProto._touchMove=function(event){if(!touchHandled){return}this._touchMoved=true;simulateMouseEvent(event,"mousemove")};mouseProto._touchEnd=function(event){if(!touchHandled){return}simulateMouseEvent(event,"mouseup");simulateMouseEvent(event,"mouseout");if(!this._touchMoved){simulateMouseEvent(event,"click")}touchHandled=false};mouseProto._mouseInit=function(){var self=this;self.element.bind({touchstart:$.proxy(self,"_touchStart"),touchmove:$.proxy(self,"_touchMove"),touchend:$.proxy(self,"_touchEnd")});_mouseInit.call(self)};mouseProto._mouseDestroy=function(){var self=this;self.element.unbind({touchstart:$.proxy(self,"_touchStart"),touchmove:$.proxy(self,"_touchMove"),touchend:$.proxy(self,"_touchEnd")});_mouseDestroy.call(self)}})(jQuery);
--------------------------------------------------------------------------------
/source/assets/js/lib/mvpready/mvpready-admin.js:
--------------------------------------------------------------------------------
1 | /* ========================================================
2 | *
3 | * MVP Ready - Lightweight & Responsive Admin Template
4 | *
5 | * ========================================================
6 | *
7 | * File: mvpready-admin.js
8 | * Theme Version: 1.1.0
9 | * Bootstrap Version: 3.1.1
10 | * Author: Jumpstart Themes
11 | * Website: http://mvpready.com
12 | *
13 | * ======================================================== */
14 |
15 | var mvpready_admin = function () {
16 |
17 | "use strict"
18 |
19 | var initLayoutToggles = function () {
20 | $('.navbar-toggle, .mainnav-toggle').click (function (e) {
21 | $(this).toggleClass ('is-open')
22 | })
23 | }
24 |
25 | var initNoticeBar = function () {
26 | $('.noticebar > li > a').click (function (e) {
27 | if (mvpready_core.isLayoutCollapsed ()) {
28 | window.location = $(this).prop ('href')
29 | }
30 | })
31 | }
32 |
33 | return {
34 | init: function () {
35 | // Layouts
36 | mvpready_core.navEnhancedInit ()
37 | mvpready_core.navHoverInit ({ delay: { show: 250, hide: 350 } })
38 | initLayoutToggles ()
39 | initNoticeBar ()
40 |
41 | // Components
42 | mvpready_core.initAccordions ()
43 | mvpready_core.initFormValidation ()
44 | mvpready_core.initTooltips ()
45 | mvpready_core.initBackToTop ()
46 | mvpready_core.initLightbox ()
47 | }
48 | }
49 |
50 | }()
51 |
52 | /*$(function () {
53 | mvpready_admin.init ()
54 | })
55 |
56 | $(document).ready(function() {
57 | mvpready_admin.init();
58 | })*/
--------------------------------------------------------------------------------
/source/assets/js/lib/ng-grid/ui-grid.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/js/lib/ng-grid/ui-grid.eot
--------------------------------------------------------------------------------
/source/assets/js/lib/ng-grid/ui-grid.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/source/assets/js/lib/ng-grid/ui-grid.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/js/lib/ng-grid/ui-grid.ttf
--------------------------------------------------------------------------------
/source/assets/js/lib/ng-grid/ui-grid.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/assets/js/lib/ng-grid/ui-grid.woff
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/.hg_archival.txt:
--------------------------------------------------------------------------------
1 | repo: 47fee8958cbc997b3d38b96f74e1c4e91b5ac6af
2 | node: 384f80de027071375dafb7a3de0e7a602df3e2c1
3 | branch: default
4 | latesttag: v1.1.4
5 | latesttagdistance: 4
6 |
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/.hgtags:
--------------------------------------------------------------------------------
1 | 857211ed56c68cb430f52aef367b96c447fd7b9f v1.0.x
2 | ed8e2acfe259a069acb82cd915752ec8b09e469f v1.1.3
3 | db219aad2f59036543ec81e460d4723cd3f0b085 v1.1.4
4 |
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | x2js
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "abdmob/x2js",
3 | "version": "1.1.5",
4 | "main": "xml2json.min.js",
5 | "description": "XML <=> JSON mapping/converting library",
6 | "license": "Apache Licence v2",
7 | "ignore": [
8 | ".hg*",
9 | ".project",
10 | "*.html",
11 | "**/*.txt"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/check_issues.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Check issues html
8 |
49 |
--------------------------------------------------------------------------------
/source/assets/js/lib/x2js-v1.1.5/demo.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
25 |
26 |
27 | X2JS Demo
28 |
29 |
30 |
31 |
XML:
32 |
33 |
34 |
35 |
36 |
JSON:
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/source/assets/js/modules/help/directives/movetop.directive.js:
--------------------------------------------------------------------------------
1 | angular.module('locApp.modules.help.controllers')
2 | .directive('sssMovetop', function() {
3 | return {
4 | link: function(scope, element) {
5 | element.on('click', function() {
6 | $('html, body').animate({scrollTop: 0}, 'fast');
7 | });
8 | }
9 | };
10 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/help/help.module.js:
--------------------------------------------------------------------------------
1 |
2 | // Module Namespace Defintions
3 | angular.module('locApp.modules.help.services', ['ngResource']);
4 | angular.module('locApp.modules.help.directives', ['locApp.modules.help.services']);
5 | angular.module('locApp.modules.help.controllers', ['locApp.modules.help.services']);
6 |
7 | // Module Definition
8 | angular.module('locApp.modules.help', [
9 | 'locApp',
10 | 'locApp.modules.help.controllers',
11 | 'ui.router',
12 | 'ui.sortable',
13 | 'ui.bootstrap',
14 | 'LocalStorageModule'
15 | ])
16 |
17 | .config(function($stateProvider, $urlRouterProvider) {
18 |
19 | // Define various states of module
20 | $stateProvider.state('help', {
21 | url: '/help',
22 | templateUrl: 'html/help.html'
23 | });
24 |
25 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/controllers/import.controller.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc controller
3 | * @name importController
4 | * @description
5 | * Coordinates services to handle file imports
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 |
9 | .controller('importController', ['$upload', '$scope', 'Import', 'ProfileHandler', 'Alert', function($upload, $scope, Import, ProfileHandler, Alert) {
10 |
11 | $scope.onFileSelect = function($files) {
12 | //$files: an array of files selected, each file has name, size, and type.
13 | for (var i = 0; i < $files.length; i++) {
14 | var file = $files[i];
15 | $scope.handleFile(file);
16 | }
17 | };
18 |
19 | /**
20 | * @ngdoc function
21 | * @name handleFile
22 | * @description
23 | * Places the information contained in file in the profile form. Throws
24 | * an error if the file does not contain proper JSON or if the data
25 | * is not a valid BIBFRAME profile
26 | * @param {type} file - the file to parse
27 | * @returns {string} The contents of the file as a text string
28 | */
29 | $scope.handleFile = function(file) {
30 | Import.handleFileSelect(file)
31 | .then(function(response) {
32 | try {
33 | var deserialized = angular.fromJson(response);
34 |
35 | if(ProfileHandler.validateProfile(deserialized)) {
36 | $scope.insertIntoForm(deserialized);
37 | }
38 | } catch(err) {
39 | if(err.message){
40 | if(err.message.indexOf("Unexpected token") !== -1) {
41 | err.message = "The selected file is not in the appropriate format. Files must be submitted in JSON format";
42 | }
43 | else if (err.message.indexOf("Unexpected end of input") !== -1){
44 | err.message = "The selected file contains no data";
45 | }
46 | }
47 | $scope.setMessage(Alert.showModal(err));
48 | //watched by the alert and export directives to know
49 | //when to display error messages
50 | $scope.toggleAlert();
51 | console.log("Alert Should Happen");
52 | }
53 | });
54 | //watched by the closeModal directive that handles closing the
55 | //import file modal dialog
56 | $scope.visible = !$scope.visible;
57 | };
58 | }]);
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/alert.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssAlert
4 | * @description
5 | * Directive for handling alert modals
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssAlert', function(httpResponse) {
9 | return {
10 | link: function(scope) {
11 | scope.alertVisible = false;
12 |
13 | scope.$watch("alertVisible", function() {
14 | if(scope.message == null || scope.message === ""){
15 | return;
16 | }
17 |
18 | //empty the error messages
19 | $('#alert_text').empty();
20 | // append the messages
21 | $('#alert_text').append(scope.message);
22 | //open modal with bootstrap click
23 | $('#alert_message').click();
24 | }, true);
25 |
26 | scope.$watch(function() {
27 | return httpResponse.alertError;
28 | }, function(newVal, oldVal) {
29 | if(httpResponse.errorMessage == null || httpResponse.errorMessage === "") {
30 | return;
31 | }
32 |
33 | //empty the error messages
34 | $('#alert_text').empty();
35 | // append the messages
36 | $('#alert_text').append(httpResponse.errorMessage);
37 | //open modal with bootstrap click
38 | $('#alert_message').click();
39 | //empty the message
40 | httpResponse.errorMessage = "";
41 | });
42 | }
43 | };
44 | });
45 |
46 |
47 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/changeColor.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssChangecolor
4 | * @description
5 | * Handles color changes for resource template headers
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssChangecolor', function() {
9 | return {
10 | link: function(scope, element) {
11 | var x;
12 | var y;
13 | //Split the mouse event into a mousedown and mouseup so that
14 | //firefox only changes the color when templates open up
15 | element.on("mousedown", function(e) {
16 | if(e.target.id === "resourceChoose") {
17 | e.originalEvent.cancelBubble = true;
18 | return;
19 | }
20 | x = e.clientX;
21 | y = e.clientY;
22 | });
23 | element.on("mouseup", function(e) {
24 | if(e.target.id === "resourceChoose") {
25 | e.originalEvent.cancelBubble = true;
26 | e.originalEvent.returnValue = false;
27 | if(e.originalEvent.stopPropation) e.originalEvent.stopPropagation();
28 | if(e.originalEvent.stopImmediatePropagation) e.originalEvent.stopImmediatePropagation();
29 | return;
30 | }
31 | var endX = e.clientX;
32 | var endY = e.clientY;
33 | if((Math.pow((x-endX),2) + Math.pow((y-endY),2)) < 100) {
34 | var target = e.originalEvent.target || e.originalEvent.srcElement;
35 | var panel = target.id ? $('#' + target.id).parents('.panel').first() : $(e.target).parent().parents('.panel').first();
36 | panel.toggleClass ('is-open');
37 | panel.siblings ().removeClass ('is-open');
38 | }
39 | });
40 | }
41 | };
42 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/closeChooseResource.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssClosechooseresource
4 | * @description
5 | * Handles closing the choose resource template modal
6 | */
7 |
8 | angular.module('locApp.modules.profile.controllers')
9 | .directive('sssClosechooseresource', function() {
10 | return {
11 | link: function(scope) {
12 | scope.resourceVisible = false;
13 |
14 | scope.$watch('resourceVisible', function() {
15 | $('#chooserClose').click();
16 | });
17 | }
18 | };
19 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/closeModal.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssClosemodal
4 | * @description
5 | * Handles closing of modals not handled by other directives
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssClosemodal', function() {
9 | return {
10 | link: function(scope) {
11 | scope.visible = false;
12 |
13 | scope.$watch('visible', function() {
14 | $('#importCloseButton').click();
15 | });
16 | }
17 | };
18 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/closeWarning.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssClosewarning
4 | * @description
5 | * Handles closing the warning modal
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssClosewarning', function() {
9 | return {
10 | link: function(scope) {
11 | scope.warningVisible = false;
12 | scope.$watch('warningVisible', function() {
13 | if($('#warning_close').is(':visible')) {
14 | $('#warning_close').click();
15 | } else {
16 | $('#warning_close').click();
17 | }
18 | $('.modal-backdrop').remove();
19 | });
20 | }
21 | };
22 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/datepicker.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssDatepicker
4 | * @description
5 | * Formats date fields as yyyy-mm-dd
6 | *
7 | */
8 | angular.module('locApp.modules.profile.controllers')
9 | .directive('sssDatepicker', function() {
10 | return {
11 | link: function(scope) {
12 | $('[name=date]').datepicker({format: 'yyyy-mm-dd'})
13 | .on('changeDate', function(ev) {
14 | scope.profile.date = $('[name=date]').val();
15 | }).data('datepicker');
16 | }
17 | };
18 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/delete.directive.js:
--------------------------------------------------------------------------------
1 | angular.module('locApp.modules.profile.controllers')
2 | .directive('sssDelete', function() {
3 | return {
4 | link: function(scope) {
5 | scope.deleteToggle = false;
6 |
7 | scope.$watch('deleteToggle', function() {
8 | if(!scope.confirm) return;
9 | //open modal with bootstrap click
10 | $('#delete_message').click();
11 | });
12 | }
13 | };
14 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/drop.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssDrop
4 | * @description
5 | * Handles the drag and drop feature
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssDrop', [function() {
9 | return function(scope, element) {
10 | element.on('dragover', function(e) {
11 | e.originalEvent.cancelBubble = true;
12 | if(e.preventDefault) e.preventDefault();
13 | });
14 |
15 | element.on('dragenter', function(e) {
16 | e.originalEvent.cancelBubble = true;
17 | if(e.preventDefault) e.preventDefault();
18 | });
19 |
20 | element.on('drop', function(e) {
21 | e.originalEvent.cancelBubble = true;
22 | if(e.preventDefault) e.preventDefault();
23 | var files = e.originalEvent.dataTransfer.files;
24 | scope.handleFile(files[0]);
25 | });
26 | };
27 | }]);
28 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/export.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssExport
4 | * @description
5 | * Handles profile exports
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssExport', function(ProfileHandler, FormHandler, Alert) {
9 | return {
10 | link: function(scope, element, attrs) {
11 | element.on('click', function() {
12 |
13 | if(scope.validateProfile()) {
14 | scope.validateDate();
15 | var raw = FormHandler.getFormData(scope.profile, attrs.sssExport === "brief");
16 | var name = ProfileHandler.getName(raw) + ".json";
17 | var json = angular.toJson(raw);
18 | // Need to URI encode for any '#' chars in, e.g. propertyURI
19 | var dataStr = "data:text/json; charset=utf-8," + encodeURIComponent(json);
20 | var downloadAnchorNode = document.createElement('a');
21 | downloadAnchorNode.setAttribute("href", dataStr);
22 | downloadAnchorNode.setAttribute("download", name);
23 | document.body.appendChild(downloadAnchorNode); // required for firefox
24 | downloadAnchorNode.click();
25 | downloadAnchorNode.remove();
26 | }
27 | //Make sure the alert dialogs appear
28 | scope.$digest();
29 | });
30 | }
31 | };
32 | });
33 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/loading.directive.js:
--------------------------------------------------------------------------------
1 | angular.module('locApp.modules.profile.controllers')
2 | .directive('sssLoading', function() {
3 | return {
4 | link: function(scope) {
5 | scope.finishedLoading = false;
6 |
7 | scope.$watch('finishedLoading', function() {
8 | if(scope.finishedLoading) {
9 | $('#spinner').hide();
10 |
11 | }
12 | else {
13 | $('#spinner').show();
14 | }
15 | });
16 | }
17 | };
18 | });
19 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/override.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssOverride
4 | * @description
5 | * Handles warning messages
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssOverride', function() {
9 | return {
10 | link: function(scope) {
11 | scope.overrideVisible = false;
12 |
13 | scope.$watch('overrideVisible', function() {
14 | if(scope.message == null || scope.message === "") {
15 | return;
16 | }
17 |
18 | //open modal with bootstrap click
19 | $('#override_message').click();
20 | });
21 | }
22 | };
23 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/profile.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssField
4 | * @description
5 | * Handles opening and closing the accordion sections
6 | */
7 |
8 | angular.module('locApp.modules.profile.controllers')
9 | .directive('sssField', function($timeout, $compile, Server, localStorageService) {
10 | return {
11 |
12 | link: function(scope, element, attrs) {
13 | var buildItem = function(html) {
14 | if(scope.chain && !scope.loading) {
15 | scope.continueImport();
16 | }
17 | else {
18 | scope.parentId = parseInt(attrs.item);
19 | var item = $(html).appendTo(element);
20 | $compile(item)(scope);
21 |
22 | // if were adding a new item open it.
23 | if(scope.addNew) {
24 | var panel = item.parent('.panel');
25 | panel.toggleClass ('is-open');
26 | panel.siblings ().removeClass ('is-open');
27 | panel.siblings().children('.collapse').removeClass('in');
28 | panel.children('.collapse').toggleClass('in');
29 | panel.siblings().children('.panel-heading').children().children().addClass('collapsed');
30 | item.children().children().removeClass('collapsed');
31 | scope.addNew = false;
32 | }
33 |
34 | }
35 | scope.incLoading();
36 | };
37 |
38 | var html = localStorageService.get(attrs.html);
39 |
40 | scope.incLoadCount();
41 |
42 | //console.log("Load timer: " + (scope.loadCount - scope.loaded));
43 |
44 | if(html) {
45 | $timeout(function() {
46 | buildItem(html);
47 | }, scope.loadCount - scope.loaded);
48 | }
49 | else {
50 | Server.get(attrs.html, {})
51 | .then(function(result){
52 | $timeout(function() {
53 | buildItem(result);
54 | localStorageService.set(attrs.html, result);
55 | }, scope.loadCount - scope.loaded);
56 | });
57 | }
58 |
59 |
60 | }
61 | };
62 | });
63 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/directives/warning.directive.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc directive
3 | * @name sssWarning
4 | * @description
5 | * Handles displaying general warning messages.
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .directive('sssWarning', function() {
9 | return {
10 | link: function(scope) {
11 | scope.warnVisible = false;
12 |
13 | scope.$watch('warnVisible', function() {
14 | if(scope.message == null || scope.message === "") {
15 | return;
16 | }
17 |
18 | //open modal with bootstrap click
19 | $('#warning_message').click();
20 | });
21 | }
22 | };
23 | });
24 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/profile.module.js:
--------------------------------------------------------------------------------
1 |
2 | // Module Namespace Defintions
3 | angular.module('locApp.modules.profile.services', ['ngResource']);
4 | angular.module('locApp.modules.profile.directives', ['locApp.modules.profile.services']);
5 | angular.module('locApp.modules.profile.controllers', ['locApp.modules.profile.services']);
6 |
7 | // Module Definition
8 | angular.module('locApp.modules.profile', [
9 | 'locApp',
10 | 'locApp.modules.profile.controllers',
11 | 'ui.router',
12 | 'ui.sortable',
13 | 'ui.bootstrap',
14 | 'LocalStorageModule',
15 | 'angularFileUpload'
16 | ])
17 |
18 | .config(function($stateProvider, $urlRouterProvider) {
19 |
20 | // Reroute root of module to list controller
21 | $urlRouterProvider
22 | .when('/profile', '/profile/list');
23 |
24 | // Define various states of module
25 | $stateProvider
26 | .state('profile', {
27 | url: '/profile',
28 | templateUrl: 'html/profile.html'
29 | })
30 | .state('profile.list', {
31 | parent: 'profile',
32 | url: '/list',
33 | templateUrl: 'html/profileList.html',
34 | controller: 'profileListController'
35 | })
36 | .state('profile.create', {
37 | parent: 'profile',
38 | url: '/create',
39 | templateUrl: 'html/profileForm.html',
40 | controller: 'profileController'
41 | })
42 | .state('profile.ontologies', {
43 | parent: 'profile',
44 | url: '/ontologies',
45 | templateUrl: 'html/ontologies.html',
46 | controller: 'ontologiesController'
47 | })
48 | .state('profile.ontologies.edit', {
49 | parent: 'profile',
50 | url: '/ontologies/{id}',
51 | templateUrl: 'html/ontologiesForm.html',
52 | controller: 'ontologiesController'
53 | })
54 | .state('profile.ontologies.create', {
55 | parent: 'profile',
56 | url: '/ontologies/create',
57 | templateUrl: 'html/ontologiesForm.html',
58 | controller: 'ontologiesController'
59 | })
60 | .state('profile.edit', {
61 | parent: 'profile',
62 | url: '/{id}',
63 | templateUrl: 'html/profileForm.html',
64 | controller: 'profileController'
65 | });
66 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/resourcetemplate/propertytemplate/valueconstraint/valuedatatype/controllers/valueDataType.controller.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc controller
3 | * @name ValueDataTypeController
4 | * @description
5 | * Handles the scope variable for value data types
6 | */
7 | angular.module('locApp.modules.profile.controllers')
8 | .controller('ValueDataTypeController', function($scope) {
9 | $scope.valueDataType = {};
10 |
11 | if($scope.importy){
12 | // override fields
13 | $scope.valueDataType = $scope.valueConstraint.valueDataType;
14 | }
15 | else {
16 | $scope.valueConstraint.valueDataType = $scope.valueDataType;
17 | }
18 | });
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/alert.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name Alert
4 | * @description
5 | * Handles alert message parsing
6 | */
7 | angular.module('locApp.modules.profile.services').factory('Alert', function() {
8 |
9 | alertService = {};
10 |
11 | /**
12 | * @ngdoc function
13 | * @name showModal
14 | * @description
15 | * Returns the contents of data as a string for presenting on a web page
16 | * @param {Object} data - Either the message or an object containing the message
17 | * @returns {string} Either the message or the message contained in data
18 | */
19 | alertService.showModal = function(data) {
20 | var message = "";
21 |
22 | // Check if the error is an array, if so then format it
23 | if(data instanceof Array){
24 | angular.forEach(data, function(value) {
25 | message = message.concat(value + '
');
26 | });
27 | }
28 | else if(data instanceof SyntaxError) {
29 | message = data.message;
30 | }
31 | else {
32 | message = data;
33 | }
34 |
35 | return message;
36 | };
37 |
38 | return alertService;
39 | });
40 |
41 |
42 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/formHandler.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name FormHandler
4 | * @description
5 | * Turns the information in the form into data angular can handle
6 | */
7 | angular.module('locApp.modules.profile.services')
8 | .factory('FormHandler', function() {
9 | var handler = {};
10 |
11 | var removeDefaults = function(profile) {
12 | // TODO: add things
13 | angular.forEach(profile.resourceTemplates, function(resource){
14 | angular.forEach(resource.propertyTemplates, function(properties){
15 | if(properties.mandatory === 'false'){
16 | delete properties.mandatory;
17 | }
18 | if(properties.repeatable === 'true') {
19 | delete properties.repeatable;
20 | }
21 | if(properties.type === 'literal') {
22 | delete properties.type;
23 | }
24 | });
25 | });
26 | };
27 |
28 | var removeSchemaUrls = function(profile) {
29 | if (profile.schema) delete profile.schema;
30 | angular.forEach(profile.resourceTemplates, function(resource){
31 | if (resource.schema) delete resource.schema;
32 | })
33 | }
34 |
35 | /**
36 | * @ngdoc function
37 | * @name getFormData
38 | * @description
39 | * Returns the data held in the profile form as a javascript object
40 | * @param {type} profile - the profile from which to grab the data
41 | * @returns {obj} - a javascript object representing the profile
42 | */
43 | handler.getFormData = function(profile, removeDefault) {
44 | // TODO: add things here
45 | if(removeDefault) removeDefaults(profile);
46 | removeSchemaUrls(profile);
47 |
48 | obj = {};
49 | obj.Profile = profile;
50 | return obj;
51 | };
52 |
53 | return handler;
54 | });
55 |
56 |
57 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/httpResponse.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name httpResponse
4 | * @description
5 | * Catches errors in http responses
6 | */
7 | angular.module('locApp.modules.profile.services')
8 | .factory('httpResponse', function($q) {
9 | var responseService = {};
10 |
11 | responseService.alertError = false;
12 | responseService.errorMessage = "";
13 |
14 | /**
15 | * @ngdoc function
16 | * @name requestError
17 | * @description
18 | * Toggles alertError, and sets errorMessage. Used for requests sent to the server
19 | */
20 | responseService.requestError = function() {
21 | //watched by the alert directive to know when to show messages
22 | responseService.alertError = !responseService.alertError;
23 | responseService.errorMessage = "The http request could not be sent. Check your connection and refresh the page.";
24 | };
25 |
26 | /**
27 | * @ngdoc function
28 | * @name responseError
29 | * @description
30 | * Toggles alertError, and sets errorMessage. Used when the server response returns
31 | * an error
32 | */
33 | responseService.responseError = function(rejection) {
34 | //watched by the alert directive to know when to show messages
35 | console.log(rejection);
36 | if(rejection.message !== undefined){
37 | if(rejection.message.match(/Syntax error/) || rejection.message.match(/Unexpected token/) || rejection.message.match(/JSON.parse/)) {
38 | responseService.alertError = !responseService.alertError;
39 | responseService.errorMessage = "There was an error parsing the response. Please review the file and try again.";
40 | } else {
41 | responseService.alertError = !responseService.alertError;
42 | responseService.errorMessage = rejection.message;
43 | }
44 | }
45 | return $q.reject(rejection);
46 | };
47 |
48 | return responseService;
49 | });
50 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/import.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name Import
4 | * @description
5 | * Handles file reading on import
6 | */
7 | angular.module('locApp.modules.profile.services')
8 | .factory('Import', function($resource, $q, $http, $upload) {
9 |
10 | importService = {};
11 |
12 | /**
13 | * @ngdoc function
14 | * @name handleFileSelect
15 | * @description
16 | * Event handler for a file input element. Returns the string contained
17 | * in the file selected
18 | * @param {File} file - the file to parse
19 | * @returns {Promise} Promise containing either the file's contents or an error message
20 | */
21 | importService.handleFileSelect = function(file) {
22 | var json;
23 | var deferred = $q.defer();
24 |
25 | if(window.File && window.FileReader) {
26 | var fileReader = new FileReader();
27 |
28 | fileReader.onload = function(e) {
29 | json = e.target.result;
30 | };
31 |
32 | fileReader.readAsText(file);
33 |
34 | //Give the file reader time to read the file, and return
35 | //a promise with either the file's contents or an error message
36 | setTimeout(function() {
37 | if(json === undefined) {
38 | deferred.reject("Unable to parse file");
39 | } else {
40 | deferred.resolve(json);
41 | }
42 | }, 1000);
43 |
44 | return deferred.promise;
45 | } else {
46 | //For older browsers, send the file to the server. The import
47 | //URL bounces back the contents contained in the post
48 |
49 | $upload.upload({
50 | url: serverPath + 'server/import', //upload.php script, node.js route, or servlet url
51 | method: 'POST',
52 | file: file
53 | }).success(function(data, status, headers, config) {
54 | deferred.resolve(data);
55 | });
56 |
57 | return deferred.promise;
58 | }
59 |
60 | };
61 |
62 | return importService;
63 | });
64 |
65 |
66 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/scrub.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name Scrub
4 | * @description
5 | * keeps track of an entities child elements
6 | */
7 | angular.module('locApp.modules.profile.services')
8 | .factory('Scrub', function() {
9 | var scrubService = {};
10 |
11 |
12 | var importIndex = -0.5;
13 |
14 | /**
15 | * @ngdoc function
16 | * @name getIndex
17 | * @description
18 | * Maintains a unique index of the entity's child elements so that they
19 | * may be moved and deleted easily
20 | * @returns {Number} - the index
21 | */
22 | scrubService.getIndex = function() {
23 | importIndex += 0.5;
24 | return importIndex;
25 | };
26 |
27 | return scrubService;
28 | });
29 |
30 |
31 |
--------------------------------------------------------------------------------
/source/assets/js/modules/profile/services/search.service.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @ngdoc service
3 | * @name Search
4 | * @description
5 | * Handles search requests that are sent to the server
6 | */
7 | angular.module('locApp.modules.profile.services')
8 |
9 | .factory('Search', function($http, $q) {
10 | var search = {};
11 |
12 | /**
13 | * @ngdoc function
14 | * @name runSearch
15 | * @description
16 | * Returns a promise containing the server's response to the given
17 | * search query.
18 | * @param {string} text - the query the search uses
19 | * @returns {promise} Promise containing the server's response to
20 | * the query
21 | */
22 | search.runSearch = function(text) {
23 | var deferred = $q.defer();
24 | //Pass the search parameter to the list routine, which will
25 | //only return the results that contain text
26 | $http({
27 | url: serverPath + 'server/list/' + text,
28 | method: "GET"
29 | }).
30 | success(function(response) {
31 | deferred.resolve(response);
32 | }).
33 | error(function() {
34 | deferred.reject("There was an error with the search");
35 | });
36 |
37 | return deferred.promise;
38 | };
39 |
40 | return search;
41 | });
42 |
43 |
--------------------------------------------------------------------------------
/source/assets/js/ng-app.js:
--------------------------------------------------------------------------------
1 | angular.module('locApp', [
2 | 'ui.router',
3 | 'ui.grid',
4 | 'ui.grid.pagination',
5 | 'locApp.modules.profile',
6 | 'locApp.modules.help',
7 | 'ui.sortable',
8 | 'ui.bootstrap',
9 | 'LocalStorageModule',
10 | 'angularFileUpload',
11 | 'angularSpinner'
12 | ])
13 |
14 | .config(function($httpProvider, $urlRouterProvider, $tooltipProvider, localStorageServiceProvider) {
15 | $httpProvider.interceptors.push('httpResponse');
16 | $urlRouterProvider.otherwise("/profile");
17 | localStorageServiceProvider.setPrefix('locApp');
18 |
19 | if(!$httpProvider.defaults.headers.get){
20 | $httpProvider.defaults.headers.get = {}
21 | }
22 | $httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
23 | $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
24 |
25 | if(is_ie8) {
26 | $tooltipProvider.options({
27 | animation: false
28 | });
29 | }
30 | });
31 |
--------------------------------------------------------------------------------
/source/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/favicon.ico
--------------------------------------------------------------------------------
/source/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/source/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/source/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/source/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/source/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/source/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/source/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lcnetdev/profile-edit/a4dd1227c697d3992cfa64cae14ad564b8747509/source/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/source/html/ontologies.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/source/html/ontologiesForm.html:
--------------------------------------------------------------------------------
1 |
58 |
59 |
60 |
61 |
62 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/source/html/profile.html:
--------------------------------------------------------------------------------
1 |
BIBFRAME Profile Editor
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/source/html/profileList.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/source/html/template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
16 |
17 |
18 |
19 |
20 |
21 | url is invalid
22 |
23 |
24 |
--------------------------------------------------------------------------------
/source/html/value.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
11 |
12 | url is invalid
13 |
14 |
15 |
--------------------------------------------------------------------------------
/source/html/valueDataType.html:
--------------------------------------------------------------------------------
1 |
2 |
Value Data Type
3 |
57 |
58 |
--------------------------------------------------------------------------------
/source/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "profile-editor",
3 | "version": "1.3.0",
4 | "description": "Bibframe Profile Editor",
5 | "main": "Gruntfile.js",
6 | "dependencies": {
7 | "angular-local-storage": "~0.2.2",
8 | "angular-spinner": "~0.6.1",
9 | "findup-sync": "^2.0.0",
10 | "grunt": "^1.0.4",
11 | "grunt-contrib-uglify-es": "^3.3.0",
12 | "lodash": ">=4.17.15",
13 | "spin.js": "~2.3.1",
14 | "taffydb": "^2.7.3",
15 | "uglify-es": "^3.3.9"
16 | },
17 | "devDependencies": {
18 | "eslint": ">=6.1.0",
19 | "eslint-plugin-angular": ">=4.0.1",
20 | "grunt-cli": "^1.3.1",
21 | "grunt-contrib-cssmin": "^2.2.1",
22 | "grunt-contrib-uglify": "^3.4.0",
23 | "grunt-jsdoc": "^2.4.0",
24 | "grunt-ng-annotate": "^3.0.0",
25 | "grunt-ngdocs": "^0.2.11",
26 | "grunt-plato": "^1.4.0"
27 | },
28 | "scripts": {
29 | "test": "grunt test",
30 | "grunt-dev": "grunt ngAnnotate uglify",
31 | "lint": "eslint assets/js/modules/*"
32 | },
33 | "author": "rsmith, rsegura",
34 | "license": "CC0-1.0",
35 | "repository": {
36 | "type": "git",
37 | "url": "git+https://github.com/lcnetdev/profile-edit.git"
38 | },
39 | "keywords": [
40 | "bibframe"
41 | ],
42 | "bugs": {
43 | "url": "https://github.com/lcnetdev/profile-edit/issues"
44 | },
45 | "homepage": "https://github.com/lcnetdev/profile-edit#readme"
46 | }
47 |
--------------------------------------------------------------------------------
/source/sonar-project.properties:
--------------------------------------------------------------------------------
1 | sonar.projectKey=US-LOC-ProfileEditor
2 | sonar.projectName=US-LOC-ProfileEditor
3 | sonar.projectVersion=1.0
4 |
5 | # optional description
6 | sonar.projectDescription=US-LOC-ProfileEditor
7 | sonar.sourceEncoding=UTF-8
8 |
9 | sonar.modules=assets
10 |
11 | assets.sonar.sources=js/modules/profile
12 | assets.sonar.projectName=US-LOC-ProfileEditorProfiles-Client
13 | assets.sonar.projectBaseDir=source/assets
14 | assets.sonar.exclusions=**/dist/**/*.*
15 |
--------------------------------------------------------------------------------