@atlassian/aui 9.3.21 → 9.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +7 -9
- package/dist/aui/aui-css-deprecations.js +1 -1
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css +1 -353
- package/dist/aui/aui-prototyping-darkmode.css +1 -262
- package/dist/aui/aui-prototyping.css +10 -10
- package/dist/aui/aui-prototyping.js +7 -7
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +10 -10
- package/dist/aui/aui-prototyping.nodeps.js +9 -9
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/entry/aui.batch.components.js +21 -21
- package/entry/aui.batch.page.js +3 -3
- package/entry/aui.batch.patterns.js +20 -20
- package/entry/aui.batch.prototyping.js +3 -11
- package/entry/aui.component.nav.js +1 -1
- package/entry/aui.component.progressbar.js +4 -1
- package/entry/aui.side-effects.js +2 -2
- package/entry/behaviours/aui.behaviour.format.js +1 -1
- package/entry/behaviours/aui.behaviour.i18n.js +1 -1
- package/entry/behaviours/aui.behaviour.keyboard-shortcuts.js +1 -1
- package/entry/behaviours/aui.behaviour.progressive-data-set.js +1 -1
- package/entry/behaviours/aui.behaviour.version.js +1 -1
- package/entry/deprecated/aui.component.inline-dialog1.js +1 -1
- package/package.json +3 -7
- package/src/js/aui/alphanum.js +1 -1
- package/src/js/aui/banner.js +2 -2
- package/src/js/aui/blanket.js +7 -11
- package/src/js/aui/button.js +5 -5
- package/src/js/aui/checkbox-multiselect.js +79 -76
- package/src/js/aui/clone.js +1 -1
- package/src/js/aui/close-button.js +2 -6
- package/src/js/aui/contain-dropdown.js +5 -5
- package/src/js/aui/contains.js +1 -1
- package/src/js/aui/cookie.js +12 -16
- package/src/js/aui/date-picker.js +84 -69
- package/src/js/aui/debounce.js +5 -8
- package/src/js/aui/dialog.js +206 -172
- package/src/js/aui/dialog2.js +9 -8
- package/src/js/aui/dropdown2.js +211 -181
- package/src/js/aui/escape-html.js +2 -2
- package/src/js/aui/escape.js +1 -1
- package/src/js/aui/event.js +4 -8
- package/src/js/aui/expander.js +9 -7
- package/src/js/aui/flag.js +15 -17
- package/src/js/aui/focus-manager.js +19 -18
- package/src/js/aui/form-notification.js +14 -13
- package/src/js/aui/form-validation/basic-validators.js +39 -30
- package/src/js/aui/form-validation/validator-register.js +9 -5
- package/src/js/aui/form-validation.js +17 -14
- package/src/js/aui/format.js +9 -6
- package/src/js/aui/forms/create-forms-component-body.js +6 -9
- package/src/js/aui/forms/custom-checkbox.js +2 -6
- package/src/js/aui/forms/custom-radio.js +2 -6
- package/src/js/aui/forms.js +4 -8
- package/src/js/aui/header-async.js +1 -1
- package/src/js/aui/header.js +2 -2
- package/src/js/aui/i18n.js +2 -5
- package/src/js/aui/index-of.js +1 -1
- package/src/js/aui/inline-dialog.js +171 -117
- package/src/js/aui/inline-dialog2.js +60 -50
- package/src/js/aui/internal/add-id.js +1 -1
- package/src/js/aui/internal/alignment.js +57 -49
- package/src/js/aui/internal/amdify.js +0 -1
- package/src/js/aui/internal/animation.js +2 -5
- package/src/js/aui/internal/attributes.js +2 -3
- package/src/js/aui/internal/browser.js +5 -6
- package/src/js/aui/internal/constants.js +1 -3
- package/src/js/aui/internal/deduplicateIDs.js +8 -7
- package/src/js/aui/internal/deprecation/deprecated-adg2-icons.js +132 -132
- package/src/js/aui/internal/deprecation.js +53 -31
- package/src/js/aui/internal/detect-children-change.js +3 -2
- package/src/js/aui/internal/elements.js +2 -5
- package/src/js/aui/internal/enforcer.js +11 -13
- package/src/js/aui/internal/globalize.js +3 -3
- package/src/js/aui/internal/has-touch.js +1 -2
- package/src/js/aui/internal/header/create-header.js +54 -28
- package/src/js/aui/internal/i18n/aui.js +8 -5
- package/src/js/aui/internal/i18n/aui_af.js +31 -31
- package/src/js/aui/internal/i18n/aui_ar.js +31 -31
- package/src/js/aui/internal/i18n/aui_ar_DZ.js +31 -31
- package/src/js/aui/internal/i18n/aui_az.js +31 -31
- package/src/js/aui/internal/i18n/aui_bg.js +31 -31
- package/src/js/aui/internal/i18n/aui_bs.js +31 -31
- package/src/js/aui/internal/i18n/aui_ca.js +31 -31
- package/src/js/aui/internal/i18n/aui_cs.js +31 -31
- package/src/js/aui/internal/i18n/aui_da.js +31 -31
- package/src/js/aui/internal/i18n/aui_de.js +31 -31
- package/src/js/aui/internal/i18n/aui_el.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_AU.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_GB.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_NZ.js +31 -31
- package/src/js/aui/internal/i18n/aui_eo.js +31 -31
- package/src/js/aui/internal/i18n/aui_es.js +31 -31
- package/src/js/aui/internal/i18n/aui_et.js +31 -31
- package/src/js/aui/internal/i18n/aui_eu.js +31 -31
- package/src/js/aui/internal/i18n/aui_fa.js +31 -31
- package/src/js/aui/internal/i18n/aui_fi.js +31 -31
- package/src/js/aui/internal/i18n/aui_fo.js +31 -31
- package/src/js/aui/internal/i18n/aui_fr.js +31 -31
- package/src/js/aui/internal/i18n/aui_fr_CH.js +31 -31
- package/src/js/aui/internal/i18n/aui_gl.js +31 -31
- package/src/js/aui/internal/i18n/aui_he.js +31 -31
- package/src/js/aui/internal/i18n/aui_hr.js +31 -31
- package/src/js/aui/internal/i18n/aui_hu.js +31 -31
- package/src/js/aui/internal/i18n/aui_hy.js +31 -31
- package/src/js/aui/internal/i18n/aui_id.js +31 -31
- package/src/js/aui/internal/i18n/aui_is.js +31 -31
- package/src/js/aui/internal/i18n/aui_it.js +31 -31
- package/src/js/aui/internal/i18n/aui_ja.js +31 -31
- package/src/js/aui/internal/i18n/aui_ko.js +31 -31
- package/src/js/aui/internal/i18n/aui_kz.js +31 -31
- package/src/js/aui/internal/i18n/aui_lt.js +31 -31
- package/src/js/aui/internal/i18n/aui_lv.js +31 -31
- package/src/js/aui/internal/i18n/aui_ml.js +31 -31
- package/src/js/aui/internal/i18n/aui_ms.js +31 -31
- package/src/js/aui/internal/i18n/aui_nl.js +31 -31
- package/src/js/aui/internal/i18n/aui_no.js +31 -31
- package/src/js/aui/internal/i18n/aui_pl.js +31 -31
- package/src/js/aui/internal/i18n/aui_pt.js +31 -31
- package/src/js/aui/internal/i18n/aui_pt_BR.js +31 -31
- package/src/js/aui/internal/i18n/aui_rm.js +31 -31
- package/src/js/aui/internal/i18n/aui_ro.js +31 -31
- package/src/js/aui/internal/i18n/aui_ru.js +31 -31
- package/src/js/aui/internal/i18n/aui_sk.js +31 -31
- package/src/js/aui/internal/i18n/aui_sl.js +31 -31
- package/src/js/aui/internal/i18n/aui_sq.js +31 -31
- package/src/js/aui/internal/i18n/aui_sr.js +31 -31
- package/src/js/aui/internal/i18n/aui_sr_SR.js +31 -31
- package/src/js/aui/internal/i18n/aui_sv.js +31 -31
- package/src/js/aui/internal/i18n/aui_ta.js +31 -31
- package/src/js/aui/internal/i18n/aui_th.js +31 -31
- package/src/js/aui/internal/i18n/aui_tj.js +31 -31
- package/src/js/aui/internal/i18n/aui_tr.js +31 -31
- package/src/js/aui/internal/i18n/aui_uk.js +31 -31
- package/src/js/aui/internal/i18n/aui_vi.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_CN.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_HK.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_TW.js +31 -31
- package/src/js/aui/internal/log.js +2 -6
- package/src/js/aui/internal/mediaQuery.js +2 -3
- package/src/js/aui/internal/select/option.js +3 -3
- package/src/js/aui/internal/select/suggestion-model.js +1 -1
- package/src/js/aui/internal/select/suggestions-model.js +4 -5
- package/src/js/aui/internal/select/suggestions-view.js +17 -12
- package/src/js/aui/internal/state.js +2 -3
- package/src/js/aui/is-clipped.js +2 -2
- package/src/js/aui/key-code.js +1 -1
- package/src/js/aui/label.js +6 -6
- package/src/js/aui/layer.js +100 -98
- package/src/js/aui/messages.js +51 -38
- package/src/js/aui/navigation.js +7 -9
- package/src/js/aui/on-text-resize.js +7 -5
- package/src/js/aui/params.js +11 -8
- package/src/js/aui/polyfills/custom-event.js +7 -7
- package/src/js/aui/polyfills/placeholder.js +4 -4
- package/src/js/aui/populate-parameters.js +4 -4
- package/src/js/aui/progress-indicator.js +35 -27
- package/src/js/aui/progressive-data-set.js +13 -8
- package/src/js/aui/query-input.js +1 -1
- package/src/js/aui/restful-table/class-names.js +1 -1
- package/src/js/aui/restful-table/data-keys.js +1 -1
- package/src/js/aui/restful-table/edit-row.js +63 -63
- package/src/js/aui/restful-table/entry-model.js +6 -13
- package/src/js/aui/restful-table/event-handlers.js +4 -8
- package/src/js/aui/restful-table/event-names.js +1 -1
- package/src/js/aui/restful-table/row.js +41 -23
- package/src/js/aui/restful-table.js +101 -72
- package/src/js/aui/result-set.js +5 -5
- package/src/js/aui/results-list.js +3 -3
- package/src/js/aui/select.js +65 -49
- package/src/js/aui/select2.js +14 -6
- package/src/js/aui/sidebar.js +81 -51
- package/src/js/aui/spin.js +61 -49
- package/src/js/aui/spinner.js +11 -12
- package/src/js/aui/tables-sortable.js +21 -10
- package/src/js/aui/tabs.js +108 -77
- package/src/js/aui/to-init.js +1 -1
- package/src/js/aui/toggle.js +55 -43
- package/src/js/aui/tooltip.js +32 -31
- package/src/js/aui/trigger.js +20 -18
- package/src/js/aui/truncating-progressive-data-set.js +1 -1
- package/src/js/aui/unbind-text-resize.js +1 -1
- package/src/js/aui/unique-id.js +1 -1
- package/src/js/aui/when-i-type.js +66 -39
- package/src/js/aui-css-deprecations.js +50 -50
- package/src/js/jquery/jquery.hotkeys.js +124 -49
- package/src/js/jquery/jquery.moveto.js +18 -12
- package/src/less/adg-fancy-file-input.less +2 -3
- package/src/less/adg-header-quicksearch.less +4 -1
- package/src/less/adg-iconfont.less +242 -242
- package/src/less/adgs-icons.less +262 -262
- package/src/less/aui-appheader.less +10 -6
- package/src/less/aui-buttons.less +6 -5
- package/src/less/aui-date-picker.less +9 -6
- package/src/less/aui-experimental-expander.less +8 -8
- package/src/less/aui-experimental-labels.less +4 -3
- package/src/less/aui-experimental-progress-indicator.less +10 -4
- package/src/less/aui-experimental-progress-tracker.less +9 -6
- package/src/less/aui-experimental-restfultable.less +11 -3
- package/src/less/aui-experimental-tables-sortable.less +5 -3
- package/src/less/aui-experimental-tooltip.less +1 -1
- package/src/less/aui-link.less +0 -1
- package/src/less/aui-lozenge.less +6 -3
- package/src/less/aui-navigation.less +13 -13
- package/src/less/aui-page-layout.less +3 -4
- package/src/less/aui-page-typography.less +8 -3
- package/src/less/aui-reset.less +22 -6
- package/src/less/aui-select2.less +11 -8
- package/src/less/aui-sidebar-badges.less +1 -2
- package/src/less/aui-sidebar-config.less +7 -2
- package/src/less/aui-sidebar-grouping.less +16 -6
- package/src/less/aui-sidebar-navigation.less +7 -5
- package/src/less/aui-sidebar-skeleton.less +4 -3
- package/src/less/aui-skip-link.less +2 -1
- package/src/less/aui-spinner.less +2 -2
- package/src/less/aui-toggle.less +2 -2
- package/src/less/aui-toolbar2.less +1 -1
- package/src/less/checkbox-multiselect.less +13 -13
- package/src/less/dialog.less +3 -3
- package/src/less/dialog2.less +12 -11
- package/src/less/dropdown2-temp.css +4 -4
- package/src/less/dropdown2.less +3 -3
- package/src/less/form-notification.less +10 -6
- package/src/less/forms-current.less +6 -5
- package/src/less/forms-legacy.less +4 -2
- package/src/less/forms-radios-and-checkboxes.less +9 -11
- package/src/less/forms.less +2 -4
- package/src/less/iconfont-mixin.less +7 -4
- package/src/less/imports/aui-theme/adg/adg-colors.less +40 -40
- package/src/less/imports/aui-theme/adg/adg-neutral-dark.less +20 -20
- package/src/less/imports/aui-theme/adg/adg-neutral-light.less +20 -20
- package/src/less/imports/aui-theme/components/buttons.less +5 -1
- package/src/less/imports/aui-theme/components/dropdown.less +3 -1
- package/src/less/imports/aui-theme/components/form-notification.less +2 -1
- package/src/less/imports/aui-theme/components/forms.less +16 -1
- package/src/less/imports/aui-theme/components/inline-dialog2.less +1 -1
- package/src/less/imports/aui-theme/components/navigation.less +3 -3
- package/src/less/imports/aui-theme/components/progress-tracker.less +6 -2
- package/src/less/imports/aui-theme/components/tables.less +3 -2
- package/src/less/imports/aui-theme/components/toggle.less +8 -3
- package/src/less/imports/aui-theme/core/colors.less +12 -4
- package/src/less/imports/aui-theme/core/icons.less +22 -22
- package/src/less/imports/aui-theme/core/text.less +6 -3
- package/src/less/imports/mixins/dropdown2-trigger-chevron-icon.less +0 -1
- package/src/less/imports/mixins/focus.less +12 -4
- package/src/less/imports/mixins/media-queries.less +2 -2
- package/src/less/imports/mixins/shadows.less +3 -1
- package/src/less/imports/mixins/tab-indicator.less +2 -2
- package/src/less/imports/mixins.less +11 -4
- package/src/less/inline-dialog.less +21 -19
- package/src/less/layer.less +0 -2
- package/src/less/messages.less +2 -1
- package/src/less/single-select.less +14 -9
- package/src/less/tables.less +3 -2
- package/src/less/tabs.less +4 -3
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.css +0 -797
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.js +0 -26
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-theme-import-map.js +0 -51
- package/entry/token-themes-generated/npm/themes/dark-future.js +0 -7
- package/entry/token-themes-generated/npm/themes/dark-new-input-border.js +0 -7
- package/entry/token-themes-generated/npm/themes/dark.js +0 -395
- package/entry/token-themes-generated/npm/themes/legacy-dark.js +0 -395
- package/entry/token-themes-generated/npm/themes/legacy-light.js +0 -395
- package/entry/token-themes-generated/npm/themes/light-future.js +0 -7
- package/entry/token-themes-generated/npm/themes/light-new-input-border.js +0 -7
- package/entry/token-themes-generated/npm/themes/light.js +0 -395
- package/entry/token-themes-generated/npm/themes/shape.js +0 -15
- package/entry/token-themes-generated/npm/themes/spacing.js +0 -27
- package/entry/token-themes-generated/npm/themes/typography-adg3.js +0 -50
- package/entry/token-themes-generated/npm/themes/typography-minor3.js +0 -41
|
@@ -4,7 +4,7 @@ import globalize from './globalize';
|
|
|
4
4
|
var has = Object.prototype.hasOwnProperty;
|
|
5
5
|
var deprecationCalls = [];
|
|
6
6
|
|
|
7
|
-
function toSentenceCase
|
|
7
|
+
function toSentenceCase(str) {
|
|
8
8
|
str += '';
|
|
9
9
|
|
|
10
10
|
if (!str) {
|
|
@@ -14,7 +14,7 @@ function toSentenceCase (str) {
|
|
|
14
14
|
return str.charAt(0).toUpperCase() + str.substring(1);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
function getDeprecatedLocation
|
|
17
|
+
function getDeprecatedLocation(printFrameOffset) {
|
|
18
18
|
var err = new Error();
|
|
19
19
|
var stack = err.stack || err.stacktrace;
|
|
20
20
|
var stackMessage = (stack && stack.replace(/^Error\n/, '')) || '';
|
|
@@ -26,7 +26,7 @@ function getDeprecatedLocation (printFrameOffset) {
|
|
|
26
26
|
return stackMessage;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
function logger
|
|
29
|
+
function logger() {
|
|
30
30
|
if (typeof console !== 'undefined' && console.warn) {
|
|
31
31
|
Function.prototype.apply.call(console.warn, console, arguments);
|
|
32
32
|
}
|
|
@@ -53,7 +53,7 @@ function logger () {
|
|
|
53
53
|
* the stack frame to print, the default is 0. For example, 0 will log it for the line of the calling function,
|
|
54
54
|
* -1 will print the location the logger was called from
|
|
55
55
|
*/
|
|
56
|
-
function getShowDeprecationMessage
|
|
56
|
+
function getShowDeprecationMessage(displayName, options) {
|
|
57
57
|
// This can be used internally to pas in a showmessage fn
|
|
58
58
|
if (typeof displayName === 'function') {
|
|
59
59
|
return displayName;
|
|
@@ -63,18 +63,26 @@ function getShowDeprecationMessage (displayName, options) {
|
|
|
63
63
|
options = options || {};
|
|
64
64
|
|
|
65
65
|
return function (printFrameOffset) {
|
|
66
|
-
var deprecatedLocation =
|
|
66
|
+
var deprecatedLocation =
|
|
67
|
+
getDeprecatedLocation(printFrameOffset ? printFrameOffset : 1) || '';
|
|
67
68
|
// Only log once if the stack frame doesn't exist to avoid spamming the console/test output
|
|
68
69
|
if (!called || deprecationCalls.indexOf(deprecatedLocation) === -1) {
|
|
69
70
|
deprecationCalls.push(deprecatedLocation);
|
|
70
71
|
|
|
71
72
|
called = true;
|
|
72
73
|
|
|
73
|
-
var deprecationType =
|
|
74
|
+
var deprecationType = options.deprecationType + ' ' || '';
|
|
74
75
|
|
|
75
|
-
var message =
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
var message =
|
|
77
|
+
'DEPRECATED ' +
|
|
78
|
+
deprecationType +
|
|
79
|
+
'- ' +
|
|
80
|
+
toSentenceCase(displayName) +
|
|
81
|
+
' has been deprecated' +
|
|
82
|
+
(options.sinceVersion ? ' since ' + options.sinceVersion : '') +
|
|
83
|
+
' and will be removed in ' +
|
|
84
|
+
(options.removeInVersion || 'a future release') +
|
|
85
|
+
'.';
|
|
78
86
|
|
|
79
87
|
if (options.alternativeName) {
|
|
80
88
|
message += ' Use ' + options.alternativeName + ' instead. ';
|
|
@@ -85,7 +93,9 @@ function getShowDeprecationMessage (displayName, options) {
|
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
if (deprecatedLocation === '') {
|
|
88
|
-
deprecatedLocation =
|
|
96
|
+
deprecatedLocation =
|
|
97
|
+
' \n ' +
|
|
98
|
+
'No stack trace of the deprecated usage is available in your current browser.';
|
|
89
99
|
} else {
|
|
90
100
|
deprecatedLocation = ' \n ' + deprecatedLocation;
|
|
91
101
|
}
|
|
@@ -100,16 +110,19 @@ function getShowDeprecationMessage (displayName, options) {
|
|
|
100
110
|
};
|
|
101
111
|
}
|
|
102
112
|
|
|
103
|
-
function logCssDeprecation
|
|
113
|
+
function logCssDeprecation(selectorMap, newNode) {
|
|
104
114
|
var displayName = selectorMap.options.displayName;
|
|
105
115
|
displayName = displayName ? ' (' + displayName + ')' : '';
|
|
106
116
|
|
|
107
|
-
var options = $.extend(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
117
|
+
var options = $.extend(
|
|
118
|
+
{
|
|
119
|
+
deprecationType: 'CSS',
|
|
120
|
+
extraObject: newNode,
|
|
121
|
+
},
|
|
122
|
+
selectorMap.options
|
|
123
|
+
);
|
|
111
124
|
|
|
112
|
-
getShowDeprecationMessage('
|
|
125
|
+
getShowDeprecationMessage("'" + selectorMap.selector + "' pattern" + displayName, options)();
|
|
113
126
|
}
|
|
114
127
|
|
|
115
128
|
/**
|
|
@@ -123,7 +136,10 @@ function deprecateFunctionExpression(fn, displayName, options) {
|
|
|
123
136
|
options = options || {};
|
|
124
137
|
options.deprecationType = options.deprecationType || 'JS';
|
|
125
138
|
|
|
126
|
-
var showDeprecationMessage = getShowDeprecationMessage(
|
|
139
|
+
var showDeprecationMessage = getShowDeprecationMessage(
|
|
140
|
+
displayName || fn.name || 'this function',
|
|
141
|
+
options
|
|
142
|
+
);
|
|
127
143
|
return function () {
|
|
128
144
|
showDeprecationMessage();
|
|
129
145
|
return fn.apply(this, arguments);
|
|
@@ -148,11 +164,10 @@ function deprecateConstructor(constructorFn, displayName, options) {
|
|
|
148
164
|
return deprecatedConstructor;
|
|
149
165
|
}
|
|
150
166
|
|
|
151
|
-
|
|
152
167
|
var supportsProperties = false;
|
|
153
168
|
try {
|
|
154
169
|
if (Object.defineProperty) {
|
|
155
|
-
Object.defineProperty({}, 'blam', {get: function () {}, set: function () {}});
|
|
170
|
+
Object.defineProperty({}, 'blam', { get: function () {}, set: function () {} });
|
|
156
171
|
supportsProperties = true;
|
|
157
172
|
}
|
|
158
173
|
} catch (e) {
|
|
@@ -160,11 +175,11 @@ try {
|
|
|
160
175
|
}
|
|
161
176
|
|
|
162
177
|
/**
|
|
163
|
-
* Wraps a "value" object property in a deprecation warning in browsers supporting Object.defineProperty
|
|
164
|
-
* @param {Object} obj the object containing the property
|
|
165
|
-
* @param {string} prop the name of the property to deprecate
|
|
166
|
-
* @param {DeprecationOptions} options
|
|
167
|
-
*/
|
|
178
|
+
* Wraps a "value" object property in a deprecation warning in browsers supporting Object.defineProperty
|
|
179
|
+
* @param {Object} obj the object containing the property
|
|
180
|
+
* @param {string} prop the name of the property to deprecate
|
|
181
|
+
* @param {DeprecationOptions} options
|
|
182
|
+
*/
|
|
168
183
|
function deprecateValueProperty(obj, prop, options) {
|
|
169
184
|
if (supportsProperties) {
|
|
170
185
|
var oldVal = obj[prop];
|
|
@@ -182,7 +197,7 @@ function deprecateValueProperty(obj, prop, options) {
|
|
|
182
197
|
oldVal = val;
|
|
183
198
|
showDeprecationMessage();
|
|
184
199
|
return val;
|
|
185
|
-
}
|
|
200
|
+
},
|
|
186
201
|
});
|
|
187
202
|
}
|
|
188
203
|
}
|
|
@@ -220,21 +235,28 @@ function deprecateAllProperties(obj, objDisplayPrefix, options) {
|
|
|
220
235
|
if (has.call(obj, attr)) {
|
|
221
236
|
options.deprecationType = options.deprecationType || 'JS';
|
|
222
237
|
options.displayName = objDisplayPrefix + attr;
|
|
223
|
-
options.alternativeName =
|
|
238
|
+
options.alternativeName =
|
|
239
|
+
options.alternativeNamePrefix && options.alternativeNamePrefix + attr;
|
|
224
240
|
deprecateObjectProperty(obj, attr, $.extend({}, options));
|
|
225
241
|
}
|
|
226
242
|
}
|
|
227
243
|
}
|
|
228
244
|
|
|
229
245
|
function matchesSelector(el, selector) {
|
|
230
|
-
return (
|
|
246
|
+
return (
|
|
247
|
+
el.matches ||
|
|
248
|
+
el.msMatchesSelector ||
|
|
249
|
+
el.webkitMatchesSelector ||
|
|
250
|
+
el.mozMatchesSelector ||
|
|
251
|
+
el.oMatchesSelector
|
|
252
|
+
).call(el, selector);
|
|
231
253
|
}
|
|
232
254
|
|
|
233
255
|
function handleAddingSelector(options) {
|
|
234
256
|
return function (selector) {
|
|
235
257
|
var selectorMap = {
|
|
236
258
|
selector: selector,
|
|
237
|
-
options: options || {}
|
|
259
|
+
options: options || {},
|
|
238
260
|
};
|
|
239
261
|
|
|
240
262
|
// Search if matches have already been added
|
|
@@ -294,7 +316,7 @@ function observeFutureChange(selectorMap) {
|
|
|
294
316
|
|
|
295
317
|
var config = {
|
|
296
318
|
childList: true,
|
|
297
|
-
subtree: true
|
|
319
|
+
subtree: true,
|
|
298
320
|
};
|
|
299
321
|
|
|
300
322
|
observer.observe(document, config);
|
|
@@ -308,7 +330,7 @@ globalize('deprecate', {
|
|
|
308
330
|
prop: deprecateObjectProperty,
|
|
309
331
|
obj: deprecateAllProperties,
|
|
310
332
|
propertyDeprecationSupported: supportsProperties,
|
|
311
|
-
getMessageLogger: getShowDeprecationMessage
|
|
333
|
+
getMessageLogger: getShowDeprecationMessage,
|
|
312
334
|
});
|
|
313
335
|
|
|
314
336
|
export {
|
|
@@ -318,5 +340,5 @@ export {
|
|
|
318
340
|
deprecateObjectProperty as prop,
|
|
319
341
|
deprecateAllProperties as obj,
|
|
320
342
|
supportsProperties as propertyDeprecationSupported,
|
|
321
|
-
getShowDeprecationMessage as getMessageLogger
|
|
343
|
+
getShowDeprecationMessage as getMessageLogger,
|
|
322
344
|
};
|
|
@@ -16,10 +16,11 @@ function isChildrenChanged(mutationList) {
|
|
|
16
16
|
* @param callback Function to be called when children change happened. Gets unsubscribe function as argument.
|
|
17
17
|
*/
|
|
18
18
|
export function onChildrenChange(element, callback) {
|
|
19
|
-
|
|
20
19
|
let isCompleteOnInit = false;
|
|
21
20
|
|
|
22
|
-
callback(() => {
|
|
21
|
+
callback(() => {
|
|
22
|
+
isCompleteOnInit = true;
|
|
23
|
+
});
|
|
23
24
|
|
|
24
25
|
if (isCompleteOnInit) {
|
|
25
26
|
return;
|
|
@@ -5,7 +5,7 @@ const DELAY = 12;
|
|
|
5
5
|
// an element can be detached and then attached multiple times
|
|
6
6
|
// in some situations -- e.g., when re-appending an element to
|
|
7
7
|
// another place in the DOM.
|
|
8
|
-
function ifGone
|
|
8
|
+
function ifGone(element) {
|
|
9
9
|
let deferred = new $.Deferred();
|
|
10
10
|
if (element) {
|
|
11
11
|
setTimeout(() => {
|
|
@@ -19,7 +19,4 @@ function ifGone (element) {
|
|
|
19
19
|
return deferred.promise();
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export {
|
|
23
|
-
DELAY,
|
|
24
|
-
ifGone,
|
|
25
|
-
}
|
|
22
|
+
export { DELAY, ifGone };
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import * as logger from './log'
|
|
1
|
+
import * as logger from './log';
|
|
2
2
|
|
|
3
|
-
function enforcer
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var errorMessage = attributeName + ' wasn\'t defined';
|
|
3
|
+
function enforcer(element) {
|
|
4
|
+
function attributeExists(attributeName) {
|
|
5
|
+
var errorMessage = attributeName + " wasn't defined";
|
|
7
6
|
|
|
8
7
|
return satisfiesRules(function () {
|
|
9
|
-
return element.hasAttribute(attributeName)
|
|
8
|
+
return element.hasAttribute(attributeName);
|
|
10
9
|
}, errorMessage);
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
function refersTo
|
|
14
|
-
|
|
15
|
-
if (!attributeExists(attributeName, element)){
|
|
12
|
+
function refersTo(attributeName) {
|
|
13
|
+
if (!attributeExists(attributeName, element)) {
|
|
16
14
|
return false;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
var desiredId = element.getAttribute(attributeName);
|
|
20
|
-
var errorMessage = 'an element with id set to "' + desiredId
|
|
18
|
+
var errorMessage = 'an element with id set to "' + desiredId + '" was not found';
|
|
21
19
|
|
|
22
20
|
return satisfiesRules(function () {
|
|
23
21
|
return document.getElementById(desiredId);
|
|
@@ -32,7 +30,7 @@ function enforcer (element) {
|
|
|
32
30
|
return refersTo('aria-owns');
|
|
33
31
|
}
|
|
34
32
|
|
|
35
|
-
function satisfiesRules
|
|
33
|
+
function satisfiesRules(predicate, message) {
|
|
36
34
|
if (!predicate()) {
|
|
37
35
|
if (element) {
|
|
38
36
|
logger.error(message, element);
|
|
@@ -49,8 +47,8 @@ function enforcer (element) {
|
|
|
49
47
|
refersTo: refersTo,
|
|
50
48
|
satisfiesRules: satisfiesRules,
|
|
51
49
|
ariaControls: ariaControls,
|
|
52
|
-
ariaOwns: ariaOwns
|
|
53
|
-
}
|
|
50
|
+
ariaOwns: ariaOwns,
|
|
51
|
+
};
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export default enforcer;
|
|
@@ -20,13 +20,13 @@ function initNamespace() {
|
|
|
20
20
|
* @param {any} value Value to expose globally
|
|
21
21
|
* @returns exposed value
|
|
22
22
|
*/
|
|
23
|
-
export default function globalize
|
|
23
|
+
export default function globalize(name, value) {
|
|
24
24
|
initNamespace();
|
|
25
25
|
|
|
26
|
-
return window[NAMESPACE][name] = value;
|
|
26
|
+
return (window[NAMESPACE][name] = value);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export function putOnI18nIfAbsent
|
|
29
|
+
export function putOnI18nIfAbsent(name, value) {
|
|
30
30
|
initNamespace();
|
|
31
31
|
|
|
32
32
|
if (typeof window[NAMESPACE][I18N_OBJECT_NAME] !== 'object') {
|
|
@@ -7,7 +7,7 @@ import template from 'skatejs-template-html';
|
|
|
7
7
|
|
|
8
8
|
const $window = $(window);
|
|
9
9
|
|
|
10
|
-
function Header
|
|
10
|
+
function Header(element) {
|
|
11
11
|
var that = this;
|
|
12
12
|
|
|
13
13
|
this.element = element;
|
|
@@ -29,7 +29,7 @@ function Header (element) {
|
|
|
29
29
|
return function (selector) {
|
|
30
30
|
return $header.find(selector);
|
|
31
31
|
};
|
|
32
|
-
}()
|
|
32
|
+
})();
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
Header.prototype = {
|
|
@@ -37,9 +37,11 @@ Header.prototype = {
|
|
|
37
37
|
var that = this;
|
|
38
38
|
|
|
39
39
|
this.element.setAttribute('data-aui-responsive', 'true');
|
|
40
|
-
this.$headerFind('.aui-button')
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
this.$headerFind('.aui-button')
|
|
41
|
+
.parent()
|
|
42
|
+
.each(function () {
|
|
43
|
+
that.primaryButtonsWidth += $(this).outerWidth(true);
|
|
44
|
+
});
|
|
43
45
|
|
|
44
46
|
// remember the widths of all the menu items
|
|
45
47
|
this.$headerFind('.aui-nav > li > a:not(.aui-button)').each(function () {
|
|
@@ -49,16 +51,19 @@ Header.prototype = {
|
|
|
49
51
|
that.totalWidth += outerWidth;
|
|
50
52
|
that.menuItems.push({
|
|
51
53
|
$element: $this,
|
|
52
|
-
outerWidth: outerWidth
|
|
54
|
+
outerWidth: outerWidth,
|
|
53
55
|
});
|
|
54
56
|
});
|
|
55
57
|
|
|
56
58
|
/** The zero based index of the right-most visible nav menu item. */
|
|
57
59
|
this.rightMostNavItemIndex = this.menuItems.length - 1;
|
|
58
60
|
|
|
59
|
-
$window.on(
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
$window.on(
|
|
62
|
+
'resize',
|
|
63
|
+
(this._resizeHandler = debounce(function () {
|
|
64
|
+
that.constructResponsiveDropdown();
|
|
65
|
+
}, 100))
|
|
66
|
+
);
|
|
62
67
|
|
|
63
68
|
// So that the header logo doesn't mess things up. (size is unknown before the image loads)
|
|
64
69
|
var $logoImg = this.$applicationLogo.find('img');
|
|
@@ -83,10 +88,15 @@ Header.prototype = {
|
|
|
83
88
|
// calculate widths based on the current state of the page
|
|
84
89
|
calculateAvailableWidth: function () {
|
|
85
90
|
// if there is no secondary nav, use the right of the screen as the boundary instead
|
|
86
|
-
var rightMostBoundary = this.$secondaryNav.is(':visible')
|
|
91
|
+
var rightMostBoundary = this.$secondaryNav.is(':visible')
|
|
92
|
+
? this.$secondaryNav.offset().left
|
|
93
|
+
: this.$element.outerWidth();
|
|
87
94
|
|
|
88
95
|
// the right most side of the primary nav, this is assumed to exists if this code is running
|
|
89
|
-
var primaryNavRight =
|
|
96
|
+
var primaryNavRight =
|
|
97
|
+
this.$applicationLogo.offset().left +
|
|
98
|
+
this.$applicationLogo.outerWidth(true) +
|
|
99
|
+
this.primaryButtonsWidth;
|
|
90
100
|
|
|
91
101
|
return rightMostBoundary - primaryNavRight;
|
|
92
102
|
},
|
|
@@ -126,9 +136,13 @@ Header.prototype = {
|
|
|
126
136
|
}
|
|
127
137
|
|
|
128
138
|
if (newRightMostNavItemIndex < this.rightMostNavItemIndex) {
|
|
129
|
-
this.moveToResponsiveDropdown(
|
|
139
|
+
this.moveToResponsiveDropdown(
|
|
140
|
+
this.rightMostNavItemIndex - newRightMostNavItemIndex
|
|
141
|
+
);
|
|
130
142
|
} else if (this.rightMostNavItemIndex < newRightMostNavItemIndex) {
|
|
131
|
-
this.moveOutOfResponsiveDropdown(
|
|
143
|
+
this.moveOutOfResponsiveDropdown(
|
|
144
|
+
newRightMostNavItemIndex - this.rightMostNavItemIndex
|
|
145
|
+
);
|
|
132
146
|
}
|
|
133
147
|
}
|
|
134
148
|
},
|
|
@@ -177,7 +191,9 @@ Header.prototype = {
|
|
|
177
191
|
var $navItemTrigger = $navItem.children('a');
|
|
178
192
|
|
|
179
193
|
if ($navItemTrigger.attr('aria-controls')) {
|
|
180
|
-
var $navItemDropdown = $(
|
|
194
|
+
var $navItemDropdown = $(
|
|
195
|
+
document.getElementById($navItemTrigger.attr('aria-controls'))
|
|
196
|
+
);
|
|
181
197
|
$navItemDropdown.removeClass('aui-dropdown2-sub-menu');
|
|
182
198
|
$navItem.append($navItemDropdown);
|
|
183
199
|
}
|
|
@@ -208,27 +224,37 @@ Header.prototype = {
|
|
|
208
224
|
var moreDropdownItemEl = document.createElement('aui-item-link');
|
|
209
225
|
moreDropdownItemEl.setAttribute('href', $navItemTrigger.attr('href'));
|
|
210
226
|
if ($navItemTrigger.attr('aria-controls')) {
|
|
211
|
-
var $navItemDropdown = $(
|
|
227
|
+
var $navItemDropdown = $(
|
|
228
|
+
document.getElementById($navItemTrigger.attr('aria-controls'))
|
|
229
|
+
);
|
|
212
230
|
moreDropdownItemEl.setAttribute('for', $navItemTrigger.attr('aria-controls'));
|
|
213
231
|
$navItemDropdown.addClass('aui-dropdown2-sub-menu');
|
|
214
232
|
$navItemDropdown.appendTo('body');
|
|
215
233
|
}
|
|
216
|
-
if ($navItemTrigger.get(0).hasAttribute('data-aui-extra-classes')) {
|
|
217
|
-
|
|
234
|
+
if ($navItemTrigger.get(0).hasAttribute('data-aui-extra-classes')) {
|
|
235
|
+
// an opt-in behaviour
|
|
236
|
+
const extraClasses = Array.from($navItemTrigger.get(0).classList).filter(
|
|
237
|
+
(cls) => !cls.startsWith('aui-')
|
|
238
|
+
);
|
|
218
239
|
moreDropdownItemEl.setAttribute('extra-classes', extraClasses.join(' '));
|
|
219
240
|
}
|
|
220
241
|
skate.init(moreDropdownItemEl);
|
|
221
242
|
template.wrap(moreDropdownItemEl).textContent = $navItemTrigger.text();
|
|
222
243
|
|
|
223
244
|
$navItem.detach();
|
|
224
|
-
moreDropdownSectionEl.insertBefore(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
245
|
+
moreDropdownSectionEl.insertBefore(
|
|
246
|
+
moreDropdownItemEl,
|
|
247
|
+
moreDropdownSectionEl.firstChild
|
|
248
|
+
);
|
|
249
|
+
this.element.dispatchEvent(
|
|
250
|
+
new CustomEvent('aui-responsive-menu-item-created', {
|
|
251
|
+
bubbles: true,
|
|
252
|
+
detail: {
|
|
253
|
+
originalItem: $navItem[0],
|
|
254
|
+
newItem: moreDropdownItemEl,
|
|
255
|
+
},
|
|
256
|
+
})
|
|
257
|
+
);
|
|
232
258
|
}
|
|
233
259
|
|
|
234
260
|
this.rightMostNavItemIndex -= numItems;
|
|
@@ -236,9 +262,9 @@ Header.prototype = {
|
|
|
236
262
|
|
|
237
263
|
// function that handles show everything
|
|
238
264
|
showAll: function () {
|
|
239
|
-
this.moveOutOfResponsiveDropdown(
|
|
265
|
+
this.moveOutOfResponsiveDropdown(this.menuItems.length - 1 - this.rightMostNavItemIndex);
|
|
240
266
|
this.hideResponsiveDropdown();
|
|
241
|
-
}
|
|
267
|
+
},
|
|
242
268
|
};
|
|
243
269
|
|
|
244
270
|
function createTriggerAndAssociate(dropdown) {
|
|
@@ -255,7 +281,7 @@ function createTriggerAndAssociate(dropdown) {
|
|
|
255
281
|
/**
|
|
256
282
|
* Initialise a Header, or return an existing Header for an element.
|
|
257
283
|
*/
|
|
258
|
-
function createHeader
|
|
284
|
+
function createHeader(element) {
|
|
259
285
|
let header = element._header;
|
|
260
286
|
if (!(header instanceof Header)) {
|
|
261
287
|
header = new Header(element);
|
|
@@ -35,11 +35,14 @@ export default {
|
|
|
35
35
|
'aui.validation.message.min': 'Enter a value greater than or equal to {0}',
|
|
36
36
|
'aui.validation.message.max': 'Enter a value less than or equal to {0}',
|
|
37
37
|
'aui.validation.message.dateformat': 'Enter a valid date',
|
|
38
|
-
'aui.validation.message.minchecked':
|
|
39
|
-
|
|
38
|
+
'aui.validation.message.minchecked':
|
|
39
|
+
'Tick at least {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.',
|
|
40
|
+
'aui.validation.message.maxchecked':
|
|
41
|
+
'Tick at most {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.',
|
|
40
42
|
'aui.checkboxmultiselect.clear.selected': 'Clear selected items',
|
|
41
43
|
'aui.select.no.suggestions': 'No suggestions',
|
|
42
|
-
'aui.select.new.suggestions':
|
|
44
|
+
'aui.select.new.suggestions':
|
|
45
|
+
'New suggestions added. Please use the up and down arrows to select.',
|
|
43
46
|
'aui.select.new.value': 'new value',
|
|
44
47
|
'aui.toggle.on': 'On',
|
|
45
48
|
'aui.toggle.off': 'Off',
|
|
@@ -72,5 +75,5 @@ export default {
|
|
|
72
75
|
'ajs.datepicker.localisations.month-names.november': 'November',
|
|
73
76
|
'ajs.datepicker.localisations.month-names.december': 'December',
|
|
74
77
|
'ajs.datepicker.localisations.show-month-after-year': false,
|
|
75
|
-
'ajs.datepicker.localisations.year-suffix': ''
|
|
76
|
-
}
|
|
78
|
+
'ajs.datepicker.localisations.year-suffix': '',
|
|
79
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
2
|
+
'ajs.datepicker.localisations.day-names.sunday': 'Sondag',
|
|
3
|
+
'ajs.datepicker.localisations.day-names.monday': 'Maandag',
|
|
4
|
+
'ajs.datepicker.localisations.day-names.tuesday': 'Dinsdag',
|
|
5
|
+
'ajs.datepicker.localisations.day-names.wednesday': 'Woensdag',
|
|
6
|
+
'ajs.datepicker.localisations.day-names.thursday': 'Donderdag',
|
|
7
|
+
'ajs.datepicker.localisations.day-names.friday': 'Vrydag',
|
|
8
|
+
'ajs.datepicker.localisations.day-names.saturday': 'Saterdag',
|
|
9
|
+
'ajs.datepicker.localisations.day-names-min.sunday': 'Son',
|
|
10
|
+
'ajs.datepicker.localisations.day-names-min.monday': 'Maa',
|
|
11
|
+
'ajs.datepicker.localisations.day-names-min.tuesday': 'Din',
|
|
12
|
+
'ajs.datepicker.localisations.day-names-min.wednesday': 'Woe',
|
|
13
|
+
'ajs.datepicker.localisations.day-names-min.thursday': 'Don',
|
|
14
|
+
'ajs.datepicker.localisations.day-names-min.friday': 'Vry',
|
|
15
|
+
'ajs.datepicker.localisations.day-names-min.saturday': 'Sat',
|
|
16
|
+
'ajs.datepicker.localisations.first-day': 1,
|
|
17
|
+
'ajs.datepicker.localisations.is-RTL': false,
|
|
18
|
+
'ajs.datepicker.localisations.month-names.january': 'Januarie',
|
|
19
|
+
'ajs.datepicker.localisations.month-names.february': 'Februarie',
|
|
20
|
+
'ajs.datepicker.localisations.month-names.march': 'Maart',
|
|
21
|
+
'ajs.datepicker.localisations.month-names.april': 'April',
|
|
22
|
+
'ajs.datepicker.localisations.month-names.may': 'Mei',
|
|
23
|
+
'ajs.datepicker.localisations.month-names.june': 'Junie',
|
|
24
|
+
'ajs.datepicker.localisations.month-names.july': 'Julie',
|
|
25
|
+
'ajs.datepicker.localisations.month-names.august': 'Augustus',
|
|
26
|
+
'ajs.datepicker.localisations.month-names.september': 'September',
|
|
27
|
+
'ajs.datepicker.localisations.month-names.october': 'Oktober',
|
|
28
|
+
'ajs.datepicker.localisations.month-names.november': 'November',
|
|
29
|
+
'ajs.datepicker.localisations.month-names.december': 'Desember',
|
|
30
|
+
'ajs.datepicker.localisations.show-month-after-year': false,
|
|
31
|
+
'ajs.datepicker.localisations.year-suffix': '',
|
|
32
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
2
|
+
'ajs.datepicker.localisations.day-names.sunday': 'الأحد',
|
|
3
|
+
'ajs.datepicker.localisations.day-names.monday': 'الاثنين',
|
|
4
|
+
'ajs.datepicker.localisations.day-names.tuesday': 'الثلاثاء',
|
|
5
|
+
'ajs.datepicker.localisations.day-names.wednesday': 'الأربعاء',
|
|
6
|
+
'ajs.datepicker.localisations.day-names.thursday': 'الخميس',
|
|
7
|
+
'ajs.datepicker.localisations.day-names.friday': 'الجمعة',
|
|
8
|
+
'ajs.datepicker.localisations.day-names.saturday': 'السبت',
|
|
9
|
+
'ajs.datepicker.localisations.day-names-min.sunday': 'الأحد',
|
|
10
|
+
'ajs.datepicker.localisations.day-names-min.monday': 'الاثنين',
|
|
11
|
+
'ajs.datepicker.localisations.day-names-min.tuesday': 'الثلاثاء',
|
|
12
|
+
'ajs.datepicker.localisations.day-names-min.wednesday': 'الأربعاء',
|
|
13
|
+
'ajs.datepicker.localisations.day-names-min.thursday': 'الخميس',
|
|
14
|
+
'ajs.datepicker.localisations.day-names-min.friday': 'الجمعة',
|
|
15
|
+
'ajs.datepicker.localisations.day-names-min.saturday': 'السبت',
|
|
16
|
+
'ajs.datepicker.localisations.first-day': 6,
|
|
17
|
+
'ajs.datepicker.localisations.is-RTL': true,
|
|
18
|
+
'ajs.datepicker.localisations.month-names.january': 'كانون الثاني',
|
|
19
|
+
'ajs.datepicker.localisations.month-names.february': 'شباط',
|
|
20
|
+
'ajs.datepicker.localisations.month-names.march': 'آذار',
|
|
21
|
+
'ajs.datepicker.localisations.month-names.april': 'نيسان',
|
|
22
|
+
'ajs.datepicker.localisations.month-names.may': 'مايو',
|
|
23
|
+
'ajs.datepicker.localisations.month-names.june': 'حزيران',
|
|
24
|
+
'ajs.datepicker.localisations.month-names.july': 'تموز',
|
|
25
|
+
'ajs.datepicker.localisations.month-names.august': 'آب',
|
|
26
|
+
'ajs.datepicker.localisations.month-names.september': 'أيلول',
|
|
27
|
+
'ajs.datepicker.localisations.month-names.october': 'تشرين الأول',
|
|
28
|
+
'ajs.datepicker.localisations.month-names.november': 'تشرين الثاني',
|
|
29
|
+
'ajs.datepicker.localisations.month-names.december': 'كانون الأول',
|
|
30
|
+
'ajs.datepicker.localisations.show-month-after-year': false,
|
|
31
|
+
'ajs.datepicker.localisations.year-suffix': '',
|
|
32
|
+
};
|