alloy 2.0.2 → 3.0.0
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/.eslintignore +0 -1
- package/.eslintrc.js +2 -1
- package/.github/dependabot.yml +4 -0
- package/.github/workflows/build.yml +12 -9
- package/.github/workflows/cla.yaml +1 -1
- package/.github/workflows/publish.yml +44 -5
- package/Alloy/builtins/moment/lang/af.js +52 -42
- package/Alloy/builtins/moment/lang/ar-dz.js +151 -42
- package/Alloy/builtins/moment/lang/ar-kw.js +42 -34
- package/Alloy/builtins/moment/lang/ar-ly.js +142 -81
- package/Alloy/builtins/moment/lang/ar-ma.js +43 -34
- package/Alloy/builtins/moment/lang/ar-ps.js +123 -0
- package/Alloy/builtins/moment/lang/ar-sa.js +77 -64
- package/Alloy/builtins/moment/lang/ar-tn.js +17 -9
- package/Alloy/builtins/moment/lang/ar.js +161 -95
- package/Alloy/builtins/moment/lang/az.js +54 -45
- package/Alloy/builtins/moment/lang/be.js +73 -51
- package/Alloy/builtins/moment/lang/bg.js +50 -41
- package/Alloy/builtins/moment/lang/bm.js +43 -38
- package/Alloy/builtins/moment/lang/bn-bd.js +140 -0
- package/Alloy/builtins/moment/lang/bn.js +78 -66
- package/Alloy/builtins/moment/lang/bo.js +83 -66
- package/Alloy/builtins/moment/lang/br.js +119 -47
- package/Alloy/builtins/moment/lang/bs.js +64 -43
- package/Alloy/builtins/moment/lang/ca.js +80 -56
- package/Alloy/builtins/moment/lang/cs.js +89 -68
- package/Alloy/builtins/moment/lang/cv.js +47 -35
- package/Alloy/builtins/moment/lang/cy.js +44 -14
- package/Alloy/builtins/moment/lang/da.js +44 -39
- package/Alloy/builtins/moment/lang/de-at.js +57 -42
- package/Alloy/builtins/moment/lang/de-ch.js +54 -42
- package/Alloy/builtins/moment/lang/de.js +56 -42
- package/Alloy/builtins/moment/lang/dv.js +65 -62
- package/Alloy/builtins/moment/lang/el.js +67 -49
- package/Alloy/builtins/moment/lang/en-au.js +56 -43
- package/Alloy/builtins/moment/lang/en-ca.js +53 -40
- package/Alloy/builtins/moment/lang/en-gb.js +56 -43
- package/Alloy/builtins/moment/lang/en-ie.js +56 -43
- package/Alloy/builtins/moment/lang/en-il.js +53 -39
- package/Alloy/builtins/moment/lang/en-in.js +79 -0
- package/Alloy/builtins/moment/lang/en-nz.js +56 -43
- package/Alloy/builtins/moment/lang/en-sg.js +79 -0
- package/Alloy/builtins/moment/lang/eo.js +49 -40
- package/Alloy/builtins/moment/lang/es-do.js +81 -53
- package/Alloy/builtins/moment/lang/es-mx.js +121 -0
- package/Alloy/builtins/moment/lang/es-us.js +83 -53
- package/Alloy/builtins/moment/lang/es.js +88 -58
- package/Alloy/builtins/moment/lang/et.js +60 -50
- package/Alloy/builtins/moment/lang/eu.js +56 -45
- package/Alloy/builtins/moment/lang/fa.js +88 -69
- package/Alloy/builtins/moment/lang/fi.js +75 -48
- package/Alloy/builtins/moment/lang/fil.js +69 -0
- package/Alloy/builtins/moment/lang/fo.js +48 -39
- package/Alloy/builtins/moment/lang/fr-ca.js +46 -38
- package/Alloy/builtins/moment/lang/fr-ch.js +49 -41
- package/Alloy/builtins/moment/lang/fr.js +78 -41
- package/Alloy/builtins/moment/lang/fy.js +51 -39
- package/Alloy/builtins/moment/lang/ga.js +48 -18
- package/Alloy/builtins/moment/lang/gd.js +82 -51
- package/Alloy/builtins/moment/lang/gl.js +56 -46
- package/Alloy/builtins/moment/lang/gom-deva.js +137 -0
- package/Alloy/builtins/moment/lang/gom-latn.js +71 -58
- package/Alloy/builtins/moment/lang/gu.js +30 -20
- package/Alloy/builtins/moment/lang/he.js +52 -43
- package/Alloy/builtins/moment/lang/hi.js +120 -64
- package/Alloy/builtins/moment/lang/hr.js +57 -43
- package/Alloy/builtins/moment/lang/hu.js +64 -44
- package/Alloy/builtins/moment/lang/hy-am.js +47 -36
- package/Alloy/builtins/moment/lang/id.js +46 -40
- package/Alloy/builtins/moment/lang/is.js +63 -43
- package/Alloy/builtins/moment/lang/it-ch.js +42 -35
- package/Alloy/builtins/moment/lang/it.js +91 -42
- package/Alloy/builtins/moment/lang/ja.js +113 -45
- package/Alloy/builtins/moment/lang/jv.js +46 -40
- package/Alloy/builtins/moment/lang/ka.js +66 -51
- package/Alloy/builtins/moment/lang/kk.js +47 -40
- package/Alloy/builtins/moment/lang/km.js +37 -32
- package/Alloy/builtins/moment/lang/kn.js +74 -64
- package/Alloy/builtins/moment/lang/ko.js +50 -44
- package/Alloy/builtins/moment/lang/ku-kmr.js +125 -0
- package/Alloy/builtins/moment/lang/ku.js +94 -83
- package/Alloy/builtins/moment/lang/ky.js +49 -40
- package/Alloy/builtins/moment/lang/lb.js +43 -30
- package/Alloy/builtins/moment/lang/lo.js +46 -38
- package/Alloy/builtins/moment/lang/lt.js +82 -63
- package/Alloy/builtins/moment/lang/lv.js +60 -51
- package/Alloy/builtins/moment/lang/me.js +53 -36
- package/Alloy/builtins/moment/lang/mi.js +17 -9
- package/Alloy/builtins/moment/lang/mk.js +47 -39
- package/Alloy/builtins/moment/lang/ml.js +54 -41
- package/Alloy/builtins/moment/lang/mn.js +48 -40
- package/Alloy/builtins/moment/lang/mr.js +143 -88
- package/Alloy/builtins/moment/lang/ms-my.js +45 -39
- package/Alloy/builtins/moment/lang/ms.js +44 -39
- package/Alloy/builtins/moment/lang/mt.js +47 -39
- package/Alloy/builtins/moment/lang/my.js +40 -30
- package/Alloy/builtins/moment/lang/nb.js +46 -36
- package/Alloy/builtins/moment/lang/ne.js +75 -65
- package/Alloy/builtins/moment/lang/nl-be.js +73 -46
- package/Alloy/builtins/moment/lang/nl.js +75 -46
- package/Alloy/builtins/moment/lang/nn.js +45 -34
- package/Alloy/builtins/moment/lang/oc-lnc.js +96 -0
- package/Alloy/builtins/moment/lang/pa-in.js +73 -63
- package/Alloy/builtins/moment/lang/pl.js +69 -43
- package/Alloy/builtins/moment/lang/pt-br.js +43 -34
- package/Alloy/builtins/moment/lang/pt.js +48 -38
- package/Alloy/builtins/moment/lang/ro.js +52 -39
- package/Alloy/builtins/moment/lang/ru.js +104 -61
- package/Alloy/builtins/moment/lang/sd.js +57 -62
- package/Alloy/builtins/moment/lang/se.js +42 -33
- package/Alloy/builtins/moment/lang/si.js +50 -40
- package/Alloy/builtins/moment/lang/sk.js +54 -53
- package/Alloy/builtins/moment/lang/sl.js +51 -41
- package/Alloy/builtins/moment/lang/sq.js +50 -41
- package/Alloy/builtins/moment/lang/sr-cyrl.js +71 -43
- package/Alloy/builtins/moment/lang/sr.js +74 -44
- package/Alloy/builtins/moment/lang/ss.js +50 -42
- package/Alloy/builtins/moment/lang/sv.js +52 -41
- package/Alloy/builtins/moment/lang/sw.js +47 -39
- package/Alloy/builtins/moment/lang/ta.js +78 -64
- package/Alloy/builtins/moment/lang/te.js +54 -43
- package/Alloy/builtins/moment/lang/tet.js +51 -38
- package/Alloy/builtins/moment/lang/tg.js +51 -38
- package/Alloy/builtins/moment/lang/th.js +47 -37
- package/Alloy/builtins/moment/lang/tk.js +102 -0
- package/Alloy/builtins/moment/lang/tl-ph.js +41 -34
- package/Alloy/builtins/moment/lang/tlh.js +69 -55
- package/Alloy/builtins/moment/lang/tr.js +83 -59
- package/Alloy/builtins/moment/lang/tzl.js +67 -57
- package/Alloy/builtins/moment/lang/tzm-latn.js +41 -33
- package/Alloy/builtins/moment/lang/tzm.js +40 -32
- package/Alloy/builtins/moment/lang/ug-cn.js +13 -9
- package/Alloy/builtins/moment/lang/uk.js +82 -57
- package/Alloy/builtins/moment/lang/ur.js +58 -62
- package/Alloy/builtins/moment/lang/uz-latn.js +46 -38
- package/Alloy/builtins/moment/lang/uz.js +43 -38
- package/Alloy/builtins/moment/lang/vi.js +56 -43
- package/Alloy/builtins/moment/lang/x-pseudo.js +61 -44
- package/Alloy/builtins/moment/lang/yo.js +45 -40
- package/Alloy/builtins/moment/lang/zh-cn.js +68 -46
- package/Alloy/builtins/moment/lang/zh-hk.js +61 -51
- package/Alloy/builtins/moment/lang/zh-mo.js +111 -0
- package/Alloy/builtins/moment/lang/zh-tw.js +57 -49
- package/Alloy/builtins/moment.js +2587 -1501
- package/Alloy/commands/compile/ast/controller.js +6 -2
- package/Alloy/commands/compile/compilerUtils.js +6 -8
- package/Alloy/commands/compile/parsers/Alloy.Abstract.FixedSpace.js +2 -11
- package/Alloy/commands/compile/parsers/Alloy.Abstract.FlexSpace.js +2 -11
- package/Alloy/commands/compile/parsers/Alloy.Abstract.Option.js +2 -2
- package/Alloy/commands/compile/parsers/Alloy.Abstract._ItemContainer.js +9 -2
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.ContentView.js +13 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar._ProxyProperty.js +13 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.js +35 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.DrawerLayout._ProxyProperty.js +0 -1
- package/Alloy/commands/compile/parsers/Ti.UI.AttributedString.js +0 -5
- package/Alloy/commands/compile/parsers/Ti.UI.Button.js +2 -11
- package/Alloy/commands/compile/parsers/Ti.UI.NavigationWindow.js +0 -15
- package/Alloy/commands/compile/parsers/Ti.UI.OptionBar.js +0 -5
- package/Alloy/commands/compile/parsers/Ti.UI.PickerColumn.js +1 -1
- package/Alloy/commands/compile/parsers/Ti.UI.TabbedBar.js +0 -9
- package/Alloy/commands/compile/parsers/Ti.UI.Toolbar.js +0 -6
- package/Alloy/commands/generate/targets/widget.js +1 -1
- package/Alloy/commands/info/index.js +2 -2
- package/Alloy/common/constants.js +5 -3
- package/Alloy/lib/alloy/backbone/1.6.0/backbone.js +2155 -0
- package/Alloy/lib/alloy/underscore.js +1722 -1372
- package/Alloy/template/README +3 -9
- package/Alloy/template/app.tss +5 -12
- package/Alloy/template/controller.js +1 -1
- package/Alloy/template/gitignore.txt +3 -0
- package/Alloy/template/lib/alloy.js +0 -17
- package/Alloy/template/style.tss +0 -3
- package/Alloy/template/view.xml +4 -3
- package/Alloy/template/widget/style.tss +1 -2
- package/Alloy/tiapp.js +1 -11
- package/Alloy/utils.js +1 -1
- package/CHANGELOG.md +16 -0
- package/README.md +16 -0
- package/package.json +23 -46
- package/samples/lib/testUtils.js +1 -1
- package/test/lib/testUtils.js +1 -1
- package/test/projects/HarnessTemplate/tiapp.xml +1 -15
- package/test/specs/compile.js +3 -2
- package/test/specs/compilefile.js +3 -3
- package/test/specs/new.js +1 -1
- package/test/specs/optimizer.js +10 -13
- package/Alloy/commands/compile/parsers/Ti.UI.iPhone.NavigationGroup.js +0 -58
- package/dangerfile.js +0 -20
- package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/app.tss +0 -11
- package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/requiredlabel.tss +0 -4
- package/samples/apps/advanced/complex_styling/views/mobileweb/label.xml +0 -3
- package/samples/apps/advanced/device_query/_generated/mobileweb/alloy/controllers/index.js +0 -60
- package/samples/apps/advanced/dynamic_styling/views/mobileweb/features/autoStyle.xml +0 -54
- package/samples/apps/advanced/form_factor/_generated/mobileweb/alloy/controllers/index.js +0 -121
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/animatedDialog.js +0 -44
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/baseDialog.js +0 -88
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/index.js +0 -59
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/detail.js +0 -102
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/index.js +0 -35
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/master.js +0 -53
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/row.js +0 -67
- package/samples/apps/advanced/native_modules/_generated/mobileweb/alloy/controllers/index.js +0 -37
- package/samples/apps/advanced/platform_folders/_generated/mobileweb/alloy/controllers/index.js +0 -60
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/index.js +0 -207
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/proxy.js +0 -51
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/window.js +0 -49
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row.js +0 -46
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row_bind.js +0 -46
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/section.js +0 -59
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row.js +0 -14
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row_bind.js +0 -14
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/section.js +0 -14
- package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/dialog.js +0 -112
- package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/index.js +0 -118
- package/samples/apps/basics/builtins/_generated/mobileweb/alloy/controllers/index.js +0 -102
- package/samples/apps/basics/config_json/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/CustomView.js +0 -60
- package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/index.js +0 -57
- package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/index.js +0 -40
- package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/item.js +0 -45
- package/samples/apps/basics/markup_events/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/bottom.js +0 -42
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/middle.js +0 -45
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/theRest.js +0 -41
- package/samples/apps/basics/simple/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/models/journal/views/mobileweb/index.xml +0 -19
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/00.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/01.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/02.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/03.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/04.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/05.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/06.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/07.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/08.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/09.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/10.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/11.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/spinner.png +0 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Spanish (United States) [es-us]
|
|
3
|
+
//! author : bustta : https://github.com/bustta
|
|
4
|
+
//! author : chrisrodz : https://github.com/chrisrodz
|
|
2
5
|
|
|
3
6
|
;(function (global, factory) {
|
|
4
7
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,16 +10,35 @@
|
|
|
7
10
|
factory(global.moment)
|
|
8
11
|
}(this, (function (moment) { 'use strict';
|
|
9
12
|
|
|
13
|
+
//! moment.js locale configuration
|
|
10
14
|
|
|
11
|
-
var monthsShortDot =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
var monthsShortDot =
|
|
16
|
+
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
17
|
+
'_'
|
|
18
|
+
),
|
|
19
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
20
|
+
monthsParse = [
|
|
21
|
+
/^ene/i,
|
|
22
|
+
/^feb/i,
|
|
23
|
+
/^mar/i,
|
|
24
|
+
/^abr/i,
|
|
25
|
+
/^may/i,
|
|
26
|
+
/^jun/i,
|
|
27
|
+
/^jul/i,
|
|
28
|
+
/^ago/i,
|
|
29
|
+
/^sep/i,
|
|
30
|
+
/^oct/i,
|
|
31
|
+
/^nov/i,
|
|
32
|
+
/^dic/i,
|
|
33
|
+
],
|
|
34
|
+
monthsRegex =
|
|
35
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
16
36
|
|
|
17
37
|
var esUs = moment.defineLocale('es-us', {
|
|
18
|
-
months
|
|
19
|
-
|
|
38
|
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
|
39
|
+
'_'
|
|
40
|
+
),
|
|
41
|
+
monthsShort: function (m, format) {
|
|
20
42
|
if (!m) {
|
|
21
43
|
return monthsShortDot;
|
|
22
44
|
} else if (/-MMM-/.test(format)) {
|
|
@@ -27,63 +49,71 @@
|
|
|
27
49
|
},
|
|
28
50
|
monthsRegex: monthsRegex,
|
|
29
51
|
monthsShortRegex: monthsRegex,
|
|
30
|
-
monthsStrictRegex:
|
|
31
|
-
|
|
52
|
+
monthsStrictRegex:
|
|
53
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
54
|
+
monthsShortStrictRegex:
|
|
55
|
+
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
32
56
|
monthsParse: monthsParse,
|
|
33
57
|
longMonthsParse: monthsParse,
|
|
34
58
|
shortMonthsParse: monthsParse,
|
|
35
|
-
weekdays
|
|
36
|
-
weekdaysShort
|
|
37
|
-
weekdaysMin
|
|
38
|
-
weekdaysParseExact
|
|
39
|
-
longDateFormat
|
|
40
|
-
LT
|
|
41
|
-
LTS
|
|
42
|
-
L
|
|
43
|
-
LL
|
|
44
|
-
LLL
|
|
45
|
-
LLLL
|
|
59
|
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
60
|
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
61
|
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
62
|
+
weekdaysParseExact: true,
|
|
63
|
+
longDateFormat: {
|
|
64
|
+
LT: 'h:mm A',
|
|
65
|
+
LTS: 'h:mm:ss A',
|
|
66
|
+
L: 'MM/DD/YYYY',
|
|
67
|
+
LL: 'D [de] MMMM [de] YYYY',
|
|
68
|
+
LLL: 'D [de] MMMM [de] YYYY h:mm A',
|
|
69
|
+
LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
|
|
46
70
|
},
|
|
47
|
-
calendar
|
|
48
|
-
sameDay
|
|
49
|
-
return '[hoy a la' + (
|
|
71
|
+
calendar: {
|
|
72
|
+
sameDay: function () {
|
|
73
|
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
50
74
|
},
|
|
51
|
-
nextDay
|
|
52
|
-
return '[mañana a la' + (
|
|
75
|
+
nextDay: function () {
|
|
76
|
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
53
77
|
},
|
|
54
|
-
nextWeek
|
|
55
|
-
return 'dddd [a la' + (
|
|
78
|
+
nextWeek: function () {
|
|
79
|
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
56
80
|
},
|
|
57
|
-
lastDay
|
|
58
|
-
return '[ayer a la' + (
|
|
81
|
+
lastDay: function () {
|
|
82
|
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
59
83
|
},
|
|
60
|
-
lastWeek
|
|
61
|
-
return
|
|
84
|
+
lastWeek: function () {
|
|
85
|
+
return (
|
|
86
|
+
'[el] dddd [pasado a la' +
|
|
87
|
+
(this.hours() !== 1 ? 's' : '') +
|
|
88
|
+
'] LT'
|
|
89
|
+
);
|
|
62
90
|
},
|
|
63
|
-
sameElse
|
|
91
|
+
sameElse: 'L',
|
|
92
|
+
},
|
|
93
|
+
relativeTime: {
|
|
94
|
+
future: 'en %s',
|
|
95
|
+
past: 'hace %s',
|
|
96
|
+
s: 'unos segundos',
|
|
97
|
+
ss: '%d segundos',
|
|
98
|
+
m: 'un minuto',
|
|
99
|
+
mm: '%d minutos',
|
|
100
|
+
h: 'una hora',
|
|
101
|
+
hh: '%d horas',
|
|
102
|
+
d: 'un día',
|
|
103
|
+
dd: '%d días',
|
|
104
|
+
w: 'una semana',
|
|
105
|
+
ww: '%d semanas',
|
|
106
|
+
M: 'un mes',
|
|
107
|
+
MM: '%d meses',
|
|
108
|
+
y: 'un año',
|
|
109
|
+
yy: '%d años',
|
|
64
110
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
m : 'un minuto',
|
|
71
|
-
mm : '%d minutos',
|
|
72
|
-
h : 'una hora',
|
|
73
|
-
hh : '%d horas',
|
|
74
|
-
d : 'un día',
|
|
75
|
-
dd : '%d días',
|
|
76
|
-
M : 'un mes',
|
|
77
|
-
MM : '%d meses',
|
|
78
|
-
y : 'un año',
|
|
79
|
-
yy : '%d años'
|
|
111
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
112
|
+
ordinal: '%dº',
|
|
113
|
+
week: {
|
|
114
|
+
dow: 0, // Sunday is the first day of the week.
|
|
115
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
80
116
|
},
|
|
81
|
-
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
|
82
|
-
ordinal : '%dº',
|
|
83
|
-
week : {
|
|
84
|
-
dow : 0, // Sunday is the first day of the week.
|
|
85
|
-
doy : 6 // The week that contains Jan 6th is the first week of the year.
|
|
86
|
-
}
|
|
87
117
|
});
|
|
88
118
|
|
|
89
119
|
return esUs;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Spanish [es]
|
|
3
|
+
//! author : Julio Napurí : https://github.com/julionc
|
|
2
4
|
|
|
3
5
|
;(function (global, factory) {
|
|
4
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,16 +9,35 @@
|
|
|
7
9
|
factory(global.moment)
|
|
8
10
|
}(this, (function (moment) { 'use strict';
|
|
9
11
|
|
|
12
|
+
//! moment.js locale configuration
|
|
10
13
|
|
|
11
|
-
var monthsShortDot =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
var monthsShortDot =
|
|
15
|
+
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
19
|
+
monthsParse = [
|
|
20
|
+
/^ene/i,
|
|
21
|
+
/^feb/i,
|
|
22
|
+
/^mar/i,
|
|
23
|
+
/^abr/i,
|
|
24
|
+
/^may/i,
|
|
25
|
+
/^jun/i,
|
|
26
|
+
/^jul/i,
|
|
27
|
+
/^ago/i,
|
|
28
|
+
/^sep/i,
|
|
29
|
+
/^oct/i,
|
|
30
|
+
/^nov/i,
|
|
31
|
+
/^dic/i,
|
|
32
|
+
],
|
|
33
|
+
monthsRegex =
|
|
34
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
16
35
|
|
|
17
36
|
var es = moment.defineLocale('es', {
|
|
18
|
-
months
|
|
19
|
-
|
|
37
|
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
|
38
|
+
'_'
|
|
39
|
+
),
|
|
40
|
+
monthsShort: function (m, format) {
|
|
20
41
|
if (!m) {
|
|
21
42
|
return monthsShortDot;
|
|
22
43
|
} else if (/-MMM-/.test(format)) {
|
|
@@ -25,65 +46,74 @@
|
|
|
25
46
|
return monthsShortDot[m.month()];
|
|
26
47
|
}
|
|
27
48
|
},
|
|
28
|
-
monthsRegex
|
|
29
|
-
monthsShortRegex
|
|
30
|
-
monthsStrictRegex
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
monthsRegex: monthsRegex,
|
|
50
|
+
monthsShortRegex: monthsRegex,
|
|
51
|
+
monthsStrictRegex:
|
|
52
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
53
|
+
monthsShortStrictRegex:
|
|
54
|
+
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
55
|
+
monthsParse: monthsParse,
|
|
56
|
+
longMonthsParse: monthsParse,
|
|
57
|
+
shortMonthsParse: monthsParse,
|
|
58
|
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
59
|
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
60
|
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
61
|
+
weekdaysParseExact: true,
|
|
62
|
+
longDateFormat: {
|
|
63
|
+
LT: 'H:mm',
|
|
64
|
+
LTS: 'H:mm:ss',
|
|
65
|
+
L: 'DD/MM/YYYY',
|
|
66
|
+
LL: 'D [de] MMMM [de] YYYY',
|
|
67
|
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
|
68
|
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
|
46
69
|
},
|
|
47
|
-
calendar
|
|
48
|
-
sameDay
|
|
49
|
-
return '[hoy a la' + (
|
|
70
|
+
calendar: {
|
|
71
|
+
sameDay: function () {
|
|
72
|
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
50
73
|
},
|
|
51
|
-
nextDay
|
|
52
|
-
return '[mañana a la' + (
|
|
74
|
+
nextDay: function () {
|
|
75
|
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
53
76
|
},
|
|
54
|
-
nextWeek
|
|
55
|
-
return 'dddd [a la' + (
|
|
77
|
+
nextWeek: function () {
|
|
78
|
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
56
79
|
},
|
|
57
|
-
lastDay
|
|
58
|
-
return '[ayer a la' + (
|
|
80
|
+
lastDay: function () {
|
|
81
|
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
59
82
|
},
|
|
60
|
-
lastWeek
|
|
61
|
-
return
|
|
83
|
+
lastWeek: function () {
|
|
84
|
+
return (
|
|
85
|
+
'[el] dddd [pasado a la' +
|
|
86
|
+
(this.hours() !== 1 ? 's' : '') +
|
|
87
|
+
'] LT'
|
|
88
|
+
);
|
|
62
89
|
},
|
|
63
|
-
sameElse
|
|
90
|
+
sameElse: 'L',
|
|
91
|
+
},
|
|
92
|
+
relativeTime: {
|
|
93
|
+
future: 'en %s',
|
|
94
|
+
past: 'hace %s',
|
|
95
|
+
s: 'unos segundos',
|
|
96
|
+
ss: '%d segundos',
|
|
97
|
+
m: 'un minuto',
|
|
98
|
+
mm: '%d minutos',
|
|
99
|
+
h: 'una hora',
|
|
100
|
+
hh: '%d horas',
|
|
101
|
+
d: 'un día',
|
|
102
|
+
dd: '%d días',
|
|
103
|
+
w: 'una semana',
|
|
104
|
+
ww: '%d semanas',
|
|
105
|
+
M: 'un mes',
|
|
106
|
+
MM: '%d meses',
|
|
107
|
+
y: 'un año',
|
|
108
|
+
yy: '%d años',
|
|
64
109
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
m : 'un minuto',
|
|
71
|
-
mm : '%d minutos',
|
|
72
|
-
h : 'una hora',
|
|
73
|
-
hh : '%d horas',
|
|
74
|
-
d : 'un día',
|
|
75
|
-
dd : '%d días',
|
|
76
|
-
M : 'un mes',
|
|
77
|
-
MM : '%d meses',
|
|
78
|
-
y : 'un año',
|
|
79
|
-
yy : '%d años'
|
|
110
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
111
|
+
ordinal: '%dº',
|
|
112
|
+
week: {
|
|
113
|
+
dow: 1, // Monday is the first day of the week.
|
|
114
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
80
115
|
},
|
|
81
|
-
|
|
82
|
-
ordinal : '%dº',
|
|
83
|
-
week : {
|
|
84
|
-
dow : 1, // Monday is the first day of the week.
|
|
85
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
86
|
-
}
|
|
116
|
+
invalidDate: 'Fecha inválida',
|
|
87
117
|
});
|
|
88
118
|
|
|
89
119
|
return es;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Estonian [et]
|
|
3
|
+
//! author : Henry Kehlmann : https://github.com/madhenry
|
|
4
|
+
//! improvements : Illimar Tambek : https://github.com/ragulka
|
|
2
5
|
|
|
3
6
|
;(function (global, factory) {
|
|
4
7
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,20 +10,21 @@
|
|
|
7
10
|
factory(global.moment)
|
|
8
11
|
}(this, (function (moment) { 'use strict';
|
|
9
12
|
|
|
13
|
+
//! moment.js locale configuration
|
|
10
14
|
|
|
11
15
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
12
16
|
var format = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
|
18
|
+
ss: [number + 'sekundi', number + 'sekundit'],
|
|
19
|
+
m: ['ühe minuti', 'üks minut'],
|
|
20
|
+
mm: [number + ' minuti', number + ' minutit'],
|
|
21
|
+
h: ['ühe tunni', 'tund aega', 'üks tund'],
|
|
22
|
+
hh: [number + ' tunni', number + ' tundi'],
|
|
23
|
+
d: ['ühe päeva', 'üks päev'],
|
|
24
|
+
M: ['kuu aja', 'kuu aega', 'üks kuu'],
|
|
25
|
+
MM: [number + ' kuu', number + ' kuud'],
|
|
26
|
+
y: ['ühe aasta', 'aasta', 'üks aasta'],
|
|
27
|
+
yy: [number + ' aasta', number + ' aastat'],
|
|
24
28
|
};
|
|
25
29
|
if (withoutSuffix) {
|
|
26
30
|
return format[key][2] ? format[key][2] : format[key][1];
|
|
@@ -29,49 +33,55 @@
|
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
var et = moment.defineLocale('et', {
|
|
32
|
-
months
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
|
|
37
|
+
'_'
|
|
38
|
+
),
|
|
39
|
+
monthsShort:
|
|
40
|
+
'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
|
|
41
|
+
weekdays:
|
|
42
|
+
'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
|
|
43
|
+
'_'
|
|
44
|
+
),
|
|
45
|
+
weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
|
|
46
|
+
weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
|
|
47
|
+
longDateFormat: {
|
|
48
|
+
LT: 'H:mm',
|
|
49
|
+
LTS: 'H:mm:ss',
|
|
50
|
+
L: 'DD.MM.YYYY',
|
|
51
|
+
LL: 'D. MMMM YYYY',
|
|
52
|
+
LLL: 'D. MMMM YYYY H:mm',
|
|
53
|
+
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
|
44
54
|
},
|
|
45
|
-
calendar
|
|
46
|
-
sameDay
|
|
47
|
-
nextDay
|
|
48
|
-
nextWeek
|
|
49
|
-
lastDay
|
|
50
|
-
lastWeek
|
|
51
|
-
sameElse
|
|
55
|
+
calendar: {
|
|
56
|
+
sameDay: '[Täna,] LT',
|
|
57
|
+
nextDay: '[Homme,] LT',
|
|
58
|
+
nextWeek: '[Järgmine] dddd LT',
|
|
59
|
+
lastDay: '[Eile,] LT',
|
|
60
|
+
lastWeek: '[Eelmine] dddd LT',
|
|
61
|
+
sameElse: 'L',
|
|
52
62
|
},
|
|
53
|
-
relativeTime
|
|
54
|
-
future
|
|
55
|
-
past
|
|
56
|
-
s
|
|
57
|
-
ss
|
|
58
|
-
m
|
|
59
|
-
mm
|
|
60
|
-
h
|
|
61
|
-
hh
|
|
62
|
-
d
|
|
63
|
-
dd
|
|
64
|
-
M
|
|
65
|
-
MM
|
|
66
|
-
y
|
|
67
|
-
yy
|
|
63
|
+
relativeTime: {
|
|
64
|
+
future: '%s pärast',
|
|
65
|
+
past: '%s tagasi',
|
|
66
|
+
s: processRelativeTime,
|
|
67
|
+
ss: processRelativeTime,
|
|
68
|
+
m: processRelativeTime,
|
|
69
|
+
mm: processRelativeTime,
|
|
70
|
+
h: processRelativeTime,
|
|
71
|
+
hh: processRelativeTime,
|
|
72
|
+
d: processRelativeTime,
|
|
73
|
+
dd: '%d päeva',
|
|
74
|
+
M: processRelativeTime,
|
|
75
|
+
MM: processRelativeTime,
|
|
76
|
+
y: processRelativeTime,
|
|
77
|
+
yy: processRelativeTime,
|
|
68
78
|
},
|
|
69
79
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
70
|
-
ordinal
|
|
71
|
-
week
|
|
72
|
-
dow
|
|
73
|
-
doy
|
|
74
|
-
}
|
|
80
|
+
ordinal: '%d.',
|
|
81
|
+
week: {
|
|
82
|
+
dow: 1, // Monday is the first day of the week.
|
|
83
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
84
|
+
},
|
|
75
85
|
});
|
|
76
86
|
|
|
77
87
|
return et;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Basque [eu]
|
|
3
|
+
//! author : Eneko Illarramendi : https://github.com/eillarra
|
|
2
4
|
|
|
3
5
|
;(function (global, factory) {
|
|
4
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,57 +9,66 @@
|
|
|
7
9
|
factory(global.moment)
|
|
8
10
|
}(this, (function (moment) { 'use strict';
|
|
9
11
|
|
|
12
|
+
//! moment.js locale configuration
|
|
10
13
|
|
|
11
14
|
var eu = moment.defineLocale('eu', {
|
|
12
|
-
months
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
monthsParseExact: true,
|
|
23
|
+
weekdays:
|
|
24
|
+
'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
|
|
25
|
+
'_'
|
|
26
|
+
),
|
|
27
|
+
weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
|
|
28
|
+
weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
|
|
29
|
+
weekdaysParseExact: true,
|
|
30
|
+
longDateFormat: {
|
|
31
|
+
LT: 'HH:mm',
|
|
32
|
+
LTS: 'HH:mm:ss',
|
|
33
|
+
L: 'YYYY-MM-DD',
|
|
34
|
+
LL: 'YYYY[ko] MMMM[ren] D[a]',
|
|
35
|
+
LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
|
|
36
|
+
LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
|
|
37
|
+
l: 'YYYY-M-D',
|
|
38
|
+
ll: 'YYYY[ko] MMM D[a]',
|
|
39
|
+
lll: 'YYYY[ko] MMM D[a] HH:mm',
|
|
40
|
+
llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
|
|
30
41
|
},
|
|
31
|
-
calendar
|
|
32
|
-
sameDay
|
|
33
|
-
nextDay
|
|
34
|
-
nextWeek
|
|
35
|
-
lastDay
|
|
36
|
-
lastWeek
|
|
37
|
-
sameElse
|
|
42
|
+
calendar: {
|
|
43
|
+
sameDay: '[gaur] LT[etan]',
|
|
44
|
+
nextDay: '[bihar] LT[etan]',
|
|
45
|
+
nextWeek: 'dddd LT[etan]',
|
|
46
|
+
lastDay: '[atzo] LT[etan]',
|
|
47
|
+
lastWeek: '[aurreko] dddd LT[etan]',
|
|
48
|
+
sameElse: 'L',
|
|
38
49
|
},
|
|
39
|
-
relativeTime
|
|
40
|
-
future
|
|
41
|
-
past
|
|
42
|
-
s
|
|
43
|
-
ss
|
|
44
|
-
m
|
|
45
|
-
mm
|
|
46
|
-
h
|
|
47
|
-
hh
|
|
48
|
-
d
|
|
49
|
-
dd
|
|
50
|
-
M
|
|
51
|
-
MM
|
|
52
|
-
y
|
|
53
|
-
yy
|
|
50
|
+
relativeTime: {
|
|
51
|
+
future: '%s barru',
|
|
52
|
+
past: 'duela %s',
|
|
53
|
+
s: 'segundo batzuk',
|
|
54
|
+
ss: '%d segundo',
|
|
55
|
+
m: 'minutu bat',
|
|
56
|
+
mm: '%d minutu',
|
|
57
|
+
h: 'ordu bat',
|
|
58
|
+
hh: '%d ordu',
|
|
59
|
+
d: 'egun bat',
|
|
60
|
+
dd: '%d egun',
|
|
61
|
+
M: 'hilabete bat',
|
|
62
|
+
MM: '%d hilabete',
|
|
63
|
+
y: 'urte bat',
|
|
64
|
+
yy: '%d urte',
|
|
54
65
|
},
|
|
55
66
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
56
|
-
ordinal
|
|
57
|
-
week
|
|
58
|
-
dow
|
|
59
|
-
doy
|
|
60
|
-
}
|
|
67
|
+
ordinal: '%d.',
|
|
68
|
+
week: {
|
|
69
|
+
dow: 1, // Monday is the first day of the week.
|
|
70
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
71
|
+
},
|
|
61
72
|
});
|
|
62
73
|
|
|
63
74
|
return eu;
|