All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
package.dist.prod.config.FormatSettings.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/config/FormatSettings.ts"],
"sourcesContent": ["import LegacyDateFormats from \"../features/LegacyDateFormats.js\";\nimport type { LegacyDateCalendarCustomizing } from \"../features/LegacyDateFormats.js\";\nimport { getFormatSettings } from \"../InitialConfiguration.js\";\nimport { getFeature } from \"../FeaturesRegistry.js\";\n\ntype FormatSettings = {\n\tfirstDayOfWeek?: number,\n\tlegacyDateCalendarCustomizing?: LegacyDateCalendarCustomizing,\n};\n\nlet formatSettings: FormatSettings;\n\n/**\n * Returns the first day of the week from the configured format settings or based on the current locale.\n * @public\n * @returns {Number} 0 (Sunday) through 6 (Saturday)\n */\nconst getFirstDayOfWeek = (): number | undefined => {\n\tif (formatSettings === undefined) {\n\t\tformatSettings = getFormatSettings();\n\t}\n\n\treturn formatSettings.firstDayOfWeek;\n};\n\nconst legacyDateFormats = getFeature(\"LegacyDateFormats\");\n\nconst getLegacyDateCalendarCustomizing = legacyDateFormats ? LegacyDateFormats.getLegacyDateCalendarCustomizing : () => { return []; };\n\nexport {\n\tgetFirstDayOfWeek,\n\tgetLegacyDateCalendarCustomizing,\n};\n\nexport type { FormatSettings };\n"],
"mappings": "aAAA,OAAOA,MAAuB,mCAE9B,OAAS,qBAAAC,MAAyB,6BAClC,OAAS,cAAAC,MAAkB,yBAO3B,IAAIC,EAOJ,MAAMC,EAAoB,KACrBD,IAAmB,SACtBA,EAAiBF,EAAkB,GAG7BE,EAAe,gBAGjBE,EAAoBH,EAAqC,mBAAmB,EAE5EI,EAAmCD,EAAoBL,EAAkB,iCAAmC,IAAe,CAAC,EAElI,OACCI,KAAA,kBACAE,KAAA",
"names": ["LegacyDateFormats", "getFormatSettings", "getFeature", "formatSettings", "getFirstDayOfWeek", "legacyDateFormats", "getLegacyDateCalendarCustomizing"]
}