@microsoft/sp-core-library
Advanced tools
Comparing version 1.5.1 to 1.6.0-plusbeta
@@ -5,2 +5,19 @@ { | ||
{ | ||
"version": "1.6.0", | ||
"tag": "@microsoft/sp-core-library_v1.6.0", | ||
"date": "Mon, 27 Aug 2018 18:06:28 GMT", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Add Text.replaceAll() API" | ||
} | ||
], | ||
"dependency": [ | ||
{ | ||
"comment": "Updating dependency \"@ms/sp-build-internal-web\" from `~0.21.7` to `~0.21.8`" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "1.5.1", | ||
@@ -7,0 +24,0 @@ "tag": "@microsoft/sp-core-library_v1.5.1", |
# Change Log - @microsoft/sp-core-library | ||
This log was last generated on Tue, 26 Jun 2018 14:50:55 GMT and should not be manually modified. | ||
This log was last generated on Mon, 27 Aug 2018 20:46:09 GMT and should not be manually modified. | ||
## 1.6.0 | ||
Mon, 27 Aug 2018 18:06:28 GMT | ||
### Updates | ||
- Add Text.replaceAll() API | ||
## 1.5.1 | ||
@@ -6,0 +13,0 @@ Tue, 26 Jun 2018 14:50:55 GMT |
@@ -5,3 +5,3 @@ { | ||
"componentType": "Library", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"manifestVersion": 2, | ||
@@ -20,3 +20,3 @@ "loaderConfig": { | ||
"type": "component", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a" | ||
@@ -23,0 +23,0 @@ } |
@@ -432,9 +432,16 @@ /** | ||
export declare class ServiceKey<T> { | ||
private static _lastId; | ||
/** | ||
* A unique identifier for this service. | ||
* A unique identifier for this service key. | ||
* | ||
* @remarks | ||
* The identifier is a currently generated by incrementing an integer counter; however | ||
* this may change in the future. | ||
* This identifier is an automatically generated string that will be unique for the lifetime | ||
* of the page. Callers should not make assumptions about the formatting of this string. It is | ||
* currently based on a global counter, but this may change in the future. | ||
* | ||
* The ServiceScope uses this identifier internally as a dictionary key for finding services. | ||
* The ServiceKey is meant to be unique, even if multiple instances of the same library are | ||
* loaded on the same page, even if the same name was passed to ServiceKey.create(). | ||
* This is because each call to ServiceKey.create() could potentially provide a different | ||
* defaultCreator implementation, whereas one of the design goals of ServiceScope is that | ||
* the order in which libraries are loaded should never affect the resulting tree of scopes. | ||
*/ | ||
@@ -784,2 +791,14 @@ readonly id: string; | ||
static format(s: string, ...values: any[]): string; | ||
/** | ||
* Returns the input string, with all instances of searchValue replaced by replaceValue. | ||
* | ||
* @remarks | ||
* Note that JavaScript's string.replace() only replaces the first match, unless a | ||
* global RegExp is provided. | ||
* | ||
* @param input - The string to be modified | ||
* @param searchValue - The value to search for | ||
* @param replaceValue - The replacement text | ||
*/ | ||
static replaceAll(input: string, searchValue: string, replaceValue: string): string; | ||
} | ||
@@ -786,0 +805,0 @@ |
@@ -1,2 +0,2 @@ | ||
define("7263c7d0-1d6a-45ec-8d85-d4d1d234171b_1.5.1", ["@microsoft/sp-lodash-subset"], function(__WEBPACK_EXTERNAL_MODULE_2__) { return /******/ (function(modules) { // webpackBootstrap | ||
define("7263c7d0-1d6a-45ec-8d85-d4d1d234171b_1.6.0", ["@microsoft/sp-lodash-subset"], function(__WEBPACK_EXTERNAL_MODULE_2__) { return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
@@ -143,6 +143,8 @@ /******/ var installedModules = {}; | ||
// CONCATENATED MODULE: ./lib/SPCoreLibraryStrings.resx.js | ||
var strings = ( false) ? | ||
var key = '_gIErrcTokcw+/VVwa+ReIA'; | ||
var allStrings = ( false) ? | ||
require("./resx-strings/en-us.json") : | ||
__webpack_require__(1); | ||
/* harmony default export */ var SPCoreLibraryStrings_resx = (strings['_gIErrcTokcw+/VVwa+ReIA']); | ||
var strings = allStrings[key]; | ||
/* harmony default export */ var SPCoreLibraryStrings_resx = (strings); | ||
@@ -180,2 +182,5 @@ // CONCATENATED MODULE: ./lib/Text.js | ||
}; | ||
Text.replaceAll = function (input, searchValue, replaceValue) { | ||
return input.split(searchValue).join(replaceValue); | ||
}; | ||
Text.FORMAT_REGEX = /\{\d+\}/g; | ||
@@ -665,2 +670,4 @@ Text.FORMAT_ARGS_REGEX = /[\{\}]/g; | ||
var SERVICEKEY_LASTID_WINDOW_VAR = '_SPFX_ServiceKey_lastId'; | ||
var ServiceKey_ServiceKey = (function () { | ||
@@ -681,7 +688,17 @@ function ServiceKey(id, name, defaultCreator) { | ||
lib_Validate.isNotNullOrUndefined(defaultCreator, 'defaultCreator'); | ||
ServiceKey._lastId++; | ||
var id = ServiceKey._lastId.toString(); | ||
var numericId; | ||
var lastId = window[SERVICEKEY_LASTID_WINDOW_VAR]; | ||
if (lastId !== undefined && typeof (lastId) === 'number') { | ||
numericId = lastId + 1; | ||
if (numericId === lastId) { | ||
throw new Error('ServiceKey.createCustom() counter overflow'); | ||
} | ||
} | ||
else { | ||
numericId = 1; | ||
} | ||
window[SERVICEKEY_LASTID_WINDOW_VAR] = numericId; | ||
var id = lib_Text.replaceAll(name, ' ', '') + '_' + numericId; | ||
return new ServiceKey(id, name, defaultCreator); | ||
}; | ||
ServiceKey._lastId = 0; | ||
return ServiceKey; | ||
@@ -1204,3 +1221,3 @@ }()); | ||
if (this._raisedEvents.has(eventName)) { | ||
eventHandler.apply(observer, this._raisedEvents.get(eventName)); | ||
eventHandler.call(observer, this._raisedEvents.get(eventName)); | ||
} | ||
@@ -1207,0 +1224,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
define("7263c7d0-1d6a-45ec-8d85-d4d1d234171b_1.5.1", ["resx-strings","@microsoft/sp-lodash-subset"], function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_2__) { return /******/ (function(modules) { // webpackBootstrap | ||
define("7263c7d0-1d6a-45ec-8d85-d4d1d234171b_1.6.0", ["resx-strings","@microsoft/sp-lodash-subset"], function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_2__) { return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
@@ -74,6 +74,8 @@ /******/ var installedModules = {}; | ||
// CONCATENATED MODULE: ./lib/SPCoreLibraryStrings.resx.js | ||
var strings = ( false) ? | ||
var key = '_gIErrcTokcw+/VVwa+ReIA'; | ||
var allStrings = ( false) ? | ||
require("./resx-strings/en-us.json") : | ||
__webpack_require__(1); | ||
/* harmony default export */ var SPCoreLibraryStrings_resx = (strings['_gIErrcTokcw+/VVwa+ReIA']); | ||
var strings = allStrings[key]; | ||
/* harmony default export */ var SPCoreLibraryStrings_resx = (strings); | ||
@@ -111,2 +113,5 @@ // CONCATENATED MODULE: ./lib/Text.js | ||
}; | ||
Text.replaceAll = function (input, searchValue, replaceValue) { | ||
return input.split(searchValue).join(replaceValue); | ||
}; | ||
Text.FORMAT_REGEX = /\{\d+\}/g; | ||
@@ -596,2 +601,4 @@ Text.FORMAT_ARGS_REGEX = /[\{\}]/g; | ||
var SERVICEKEY_LASTID_WINDOW_VAR = '_SPFX_ServiceKey_lastId'; | ||
var ServiceKey_ServiceKey = (function () { | ||
@@ -612,7 +619,17 @@ function ServiceKey(id, name, defaultCreator) { | ||
lib_Validate.isNotNullOrUndefined(defaultCreator, 'defaultCreator'); | ||
ServiceKey._lastId++; | ||
var id = ServiceKey._lastId.toString(); | ||
var numericId; | ||
var lastId = window[SERVICEKEY_LASTID_WINDOW_VAR]; | ||
if (lastId !== undefined && typeof (lastId) === 'number') { | ||
numericId = lastId + 1; | ||
if (numericId === lastId) { | ||
throw new Error('ServiceKey.createCustom() counter overflow'); | ||
} | ||
} | ||
else { | ||
numericId = 1; | ||
} | ||
window[SERVICEKEY_LASTID_WINDOW_VAR] = numericId; | ||
var id = lib_Text.replaceAll(name, ' ', '') + '_' + numericId; | ||
return new ServiceKey(id, name, defaultCreator); | ||
}; | ||
ServiceKey._lastId = 0; | ||
return ServiceKey; | ||
@@ -1135,3 +1152,3 @@ }()); | ||
if (this._raisedEvents.has(eventName)) { | ||
eventHandler.apply(observer, this._raisedEvents.get(eventName)); | ||
eventHandler.call(observer, this._raisedEvents.get(eventName)); | ||
} | ||
@@ -1138,0 +1155,0 @@ }; |
@@ -0,0 +0,0 @@ export { default as MockRandomNumberGenerator } from './MockRandomNumberGenerator'; |
@@ -0,0 +0,0 @@ export { default as MockRandomNumberGenerator } from './MockRandomNumberGenerator'; |
@@ -0,0 +0,0 @@ import { ServiceScope, IRandomNumberGenerator } from '../index'; |
@@ -0,0 +0,0 @@ var MockRandomNumberGenerator = (function () { |
@@ -0,0 +0,0 @@ import { ServiceScope, ITimeProvider } from '../index'; |
@@ -0,0 +0,0 @@ var MockTimeProvider = (function () { |
@@ -0,0 +0,0 @@ import { ServiceScope, ServiceKey } from '../index'; |
@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -0,0 +0,0 @@ import Version from './Version'; |
@@ -0,0 +0,0 @@ import Version from './Version'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var DeferredClass = (function () { |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var DisplayMode; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import Validate from './Validate'; |
@@ -0,0 +0,0 @@ import { IDisposable } from '../IDisposable'; |
@@ -0,0 +0,0 @@ import { ISPEventObserver } from './ISPEventObserver'; |
@@ -0,0 +0,0 @@ import Validate from '../Validate'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var SPEventArgs = (function () { |
@@ -0,0 +0,0 @@ import { ISPEventObserver } from './ISPEventObserver'; |
@@ -39,3 +39,3 @@ import Validate from '../Validate'; | ||
if (this._raisedEvents.has(eventName)) { | ||
eventHandler.apply(observer, this._raisedEvents.get(eventName)); | ||
eventHandler.call(observer, this._raisedEvents.get(eventName)); | ||
} | ||
@@ -42,0 +42,0 @@ }; |
@@ -0,0 +0,0 @@ import { IRandomNumberGenerator } from './serviceScope/provider/RandomNumberGenerator'; |
@@ -0,0 +0,0 @@ import Validate from './Validate'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var JsonUtilities = (function () { |
@@ -0,0 +0,0 @@ import ILogHandler from './ILogHandler'; |
@@ -0,0 +0,0 @@ import Text from '../Text'; |
@@ -0,0 +0,0 @@ import { default as ServiceScope } from '../serviceScope/ServiceScope'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import DefaultLogHandler from './DefaultLogHandler'; |
define([], function() { | ||
var strings = { | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "invalidEnvironmentTypeError", | ||
"invalidGuidStringError": "invalidGuidStringError", | ||
"isFalseValidateError": "isFalseValidateError", | ||
"isNullValidateError": "isNullValidateError", | ||
"isUndefinedValidateError": "isUndefinedValidateError", | ||
"isEmptyStringValidateError": "isEmptyStringValidateError", | ||
"isDisposedValidateError": "isDisposedValidateError", | ||
"invalidVersionStringError": "invalidVersionStringError", | ||
"logVerboseLevelMessage": "logVerboseLevelMessage", | ||
"logInfoLevelMessage": "logInfoLevelMessage", | ||
"logWarningLevelMessage": "logWarningLevelMessage", | ||
"logErrorLevelMessage": "logErrorLevelMessage", | ||
"serviceScopeConsumingBeforeFinished": "serviceScopeConsumingBeforeFinished", | ||
"serviceScopeConsumingDuringAutoCreation": "serviceScopeConsumingDuringAutoCreation", | ||
"serviceScopeAlreadyFinishedError": "serviceScopeAlreadyFinishedError", | ||
"serviceScopeProvideServiceAfterFinishedError": "serviceScopeProvideServiceAfterFinishedError", | ||
"serviceScopeProvideServiceThatAlreadyExists": "serviceScopeProvideServiceThatAlreadyExists", | ||
"spErrorInnerErrorText": "spErrorInnerErrorText", | ||
"spErrorCallStackText": "spErrorCallStackText", | ||
"spErrorLogPropertiesText": "spErrorLogPropertiesText", | ||
"dynamicDataManagerSourceAlreadyExists": "dynamicDataManagerSourceAlreadyExists", | ||
"dynamicDataManagerSourceDoesntExist": "dynamicDataManagerSourceDoesntExist" | ||
"invalidEnvironmentTypeError": "***EnvironmentType is invalid", | ||
"invalidGuidStringError": "***Invalid GUID string: \"{0}\"", | ||
"isFalseValidateError": "***The value for \"{0}\" is false", | ||
"isNullValidateError": "***The value for \"{0}\" must not be null", | ||
"isUndefinedValidateError": "***The value for \"{0}\" must not be undefined", | ||
"isEmptyStringValidateError": "***The value for \"{0}\" must not be an empty string", | ||
"isDisposedValidateError": "***The \"{0}\" object cannot be used because it has been disposed.", | ||
"invalidVersionStringError": "***Invalid version string: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VERBOSE {1}", | ||
"logInfoLevelMessage": "***{0}: {1}", | ||
"logWarningLevelMessage": "***{0}: WARNING {1}", | ||
"logErrorLevelMessage": "***{0}: ERROR: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Cannot consume services because the scope is not finished yet", | ||
"serviceScopeConsumingDuringAutoCreation": "***Cannot consume services during ServiceScope autocreation", | ||
"serviceScopeAlreadyFinishedError": "***The ServiceScope is already finished", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Cannot register service because the scope is already finished", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***The service key \"{0}\" has already been registered in this scope", | ||
"spErrorInnerErrorText": "***INNERERROR:", | ||
"spErrorCallStackText": "***CALLSTACK:", | ||
"spErrorLogPropertiesText": "***LOGPROPERTIES:", | ||
"dynamicDataManagerSourceAlreadyExists": "***A source with id \"{0}\" already exists.", | ||
"dynamicDataManagerSourceDoesntExist": "***No source with id \"{0}\" found." | ||
} | ||
@@ -27,0 +27,0 @@ }; |
{ | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "invalidEnvironmentTypeError", | ||
"invalidGuidStringError": "invalidGuidStringError", | ||
"isFalseValidateError": "isFalseValidateError", | ||
"isNullValidateError": "isNullValidateError", | ||
"isUndefinedValidateError": "isUndefinedValidateError", | ||
"isEmptyStringValidateError": "isEmptyStringValidateError", | ||
"isDisposedValidateError": "isDisposedValidateError", | ||
"invalidVersionStringError": "invalidVersionStringError", | ||
"logVerboseLevelMessage": "logVerboseLevelMessage", | ||
"logInfoLevelMessage": "logInfoLevelMessage", | ||
"logWarningLevelMessage": "logWarningLevelMessage", | ||
"logErrorLevelMessage": "logErrorLevelMessage", | ||
"serviceScopeConsumingBeforeFinished": "serviceScopeConsumingBeforeFinished", | ||
"serviceScopeConsumingDuringAutoCreation": "serviceScopeConsumingDuringAutoCreation", | ||
"serviceScopeAlreadyFinishedError": "serviceScopeAlreadyFinishedError", | ||
"serviceScopeProvideServiceAfterFinishedError": "serviceScopeProvideServiceAfterFinishedError", | ||
"serviceScopeProvideServiceThatAlreadyExists": "serviceScopeProvideServiceThatAlreadyExists", | ||
"spErrorInnerErrorText": "spErrorInnerErrorText", | ||
"spErrorCallStackText": "spErrorCallStackText", | ||
"spErrorLogPropertiesText": "spErrorLogPropertiesText", | ||
"dynamicDataManagerSourceAlreadyExists": "dynamicDataManagerSourceAlreadyExists", | ||
"dynamicDataManagerSourceDoesntExist": "dynamicDataManagerSourceDoesntExist" | ||
"invalidEnvironmentTypeError": "***EnvironmentType is invalid", | ||
"invalidGuidStringError": "***Invalid GUID string: \"{0}\"", | ||
"isFalseValidateError": "***The value for \"{0}\" is false", | ||
"isNullValidateError": "***The value for \"{0}\" must not be null", | ||
"isUndefinedValidateError": "***The value for \"{0}\" must not be undefined", | ||
"isEmptyStringValidateError": "***The value for \"{0}\" must not be an empty string", | ||
"isDisposedValidateError": "***The \"{0}\" object cannot be used because it has been disposed.", | ||
"invalidVersionStringError": "***Invalid version string: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VERBOSE {1}", | ||
"logInfoLevelMessage": "***{0}: {1}", | ||
"logWarningLevelMessage": "***{0}: WARNING {1}", | ||
"logErrorLevelMessage": "***{0}: ERROR: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Cannot consume services because the scope is not finished yet", | ||
"serviceScopeConsumingDuringAutoCreation": "***Cannot consume services during ServiceScope autocreation", | ||
"serviceScopeAlreadyFinishedError": "***The ServiceScope is already finished", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Cannot register service because the scope is already finished", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***The service key \"{0}\" has already been registered in this scope", | ||
"spErrorInnerErrorText": "***INNERERROR:", | ||
"spErrorCallStackText": "***CALLSTACK:", | ||
"spErrorLogPropertiesText": "***LOGPROPERTIES:", | ||
"dynamicDataManagerSourceAlreadyExists": "***A source with id \"{0}\" already exists.", | ||
"dynamicDataManagerSourceDoesntExist": "***No source with id \"{0}\" found." | ||
} | ||
} |
{ | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": { | ||
"comment": "Error to show when the Environment class is initialized with an invalid EnvironmentType.", | ||
"value": "EnvironmentType is invalid" | ||
}, | ||
"invalidGuidStringError": { | ||
"comment": "Error to show when the Guid class fails to parse an invalid Guid. The {0} placeholder is the input guid string.", | ||
"value": "Invalid GUID string: \"{0}\"" | ||
}, | ||
"isFalseValidateError": { | ||
"comment": "Error to show when the Validate.isTrue() returns false. The {0} placeholder is the input's variable name.", | ||
"value": "The value for \"{0}\" is false" | ||
}, | ||
"isNullValidateError": { | ||
"comment": "Error to show when the Validate.isNotNullOrUndefined() is called on a null value. The {0} placeholder is the input's variable name.", | ||
"value": "The value for \"{0}\" must not be null" | ||
}, | ||
"isUndefinedValidateError": { | ||
"comment": "Error to show when the Validate.isNotNullOrUndefined() is called on an undefined value. The {0} placeholder is the input's variable name.", | ||
"value": "The value for \"{0}\" must not be undefined" | ||
}, | ||
"isEmptyStringValidateError": { | ||
"comment": "Error to show when the Validate.isNonemptyString() returns false. The {0} placeholder is the input's variable name.", | ||
"value": "The value for \"{0}\" must not be an empty string" | ||
}, | ||
"isDisposedValidateError": { | ||
"comment": "Error to show when the Validate.isNotDisposed() returns false. The {0} placeholder is the input's class name.", | ||
"value": "The \"{0}\" object cannot be used because it has been disposed." | ||
}, | ||
"invalidVersionStringError": { | ||
"comment": "Error to show when the Version class fails to parse an invalid Version string. The {0} placeholder is the input version string.", | ||
"value": "Invalid version string: \"{0}\"" | ||
}, | ||
"logVerboseLevelMessage": { | ||
"comment": "Text used when logging a verbose level message. The {0} placeholder is the source of the log call. The {1} placeholder is the message to be logged. Example: \"SomeComponent: VERBOSE The page finished loading\"", | ||
"value": "{0}: VERBOSE {1}" | ||
}, | ||
"logInfoLevelMessage": { | ||
"comment": "Text used when logging a info level message. The {0} placeholder is the source of the log call. The {1} placeholder is the message to be logged. Example: \"SomeComponent: The page finished loading\"", | ||
"value": "{0}: {1}" | ||
}, | ||
"logWarningLevelMessage": { | ||
"comment": "Text used when logging a warning level message. The {0} placeholder is the source of the log call. The {1} placeholder is the message to be logged. Example: \"SomeComponent: WARNING The page finished loading\"", | ||
"value": "{0}: WARNING {1}" | ||
}, | ||
"logErrorLevelMessage": { | ||
"comment": "Text used when logging a error level message. The {0} placeholder is the source of the log call. The {1} placeholder is the error's message. Example: \"SomeComponent: ERROR The page finished loading\"", | ||
"value": "{0}: ERROR: {1}" | ||
}, | ||
"serviceScopeConsumingBeforeFinished": { | ||
"comment": "Error to show when someone attempts to consume a ServiceScope service before the finish() function has been called", | ||
"value": "Cannot consume services because the scope is not finished yet" | ||
}, | ||
"serviceScopeConsumingDuringAutoCreation": { | ||
"comment": "The ServiceScope will automatically create a service if it hasn't been registered yet. During this process, the ServiceScope.consume() function may not be used. This is a safeguard to prevent errors due to a circular dependency.", | ||
"value": "Cannot consume services during ServiceScope autocreation" | ||
}, | ||
"serviceScopeAlreadyFinishedError": { | ||
"comment": "Error to show when someone attempts to call finish on the ServiceScope after it has finished.", | ||
"value": "The ServiceScope is already finished" | ||
}, | ||
"serviceScopeProvideServiceAfterFinishedError": { | ||
"comment": "After the ServiceScope.finish() function has been called, developers are no long allowed to call provide(). This is a safeguard to prevent mistakes.", | ||
"value": "Cannot register service because the scope is already finished" | ||
}, | ||
"serviceScopeProvideServiceThatAlreadyExists": { | ||
"comment": "Attempts to register the same service more than once. The {0} placeholder is the service key's name.", | ||
"value": "The service key \"{0}\" has already been registered in this scope" | ||
}, | ||
"spErrorInnerErrorText": { | ||
"comment": "[Tag:ODSP-SPPPLAT-WebPartInfra]Text used to label an optional nested error object.", | ||
"value": "INNERERROR:" | ||
}, | ||
"spErrorCallStackText": { | ||
"comment": "[Tag:ODSP-SPPPLAT-WebPartInfra]Text used to label the error's callstack.", | ||
"value": "CALLSTACK:" | ||
}, | ||
"spErrorLogPropertiesText": { | ||
"comment": "[Tag:ODSP-SPPPLAT-WebPartInfra]Text used to label the error's optional log properties object.", | ||
"value": "LOGPROPERTIES:" | ||
}, | ||
"dynamicDataManagerSourceAlreadyExists": { | ||
"comment": "Error message when trying to add a Dynamic Data Source that already exists. {0} is the source id.", | ||
"value": "A source with id \"{0}\" already exists." | ||
}, | ||
"dynamicDataManagerSourceDoesntExist": { | ||
"comment": "Error message when refering to a Dynamic Data Source that doesn't exist. {0} is the source id.", | ||
"value": "No source with id \"{0}\" found." | ||
} | ||
} | ||
"_gIErrcTokcw+/VVwa+ReIA": {} | ||
} |
define([], function() { | ||
var strings = { | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "[!!--##***ȄņvįřŏņměŋťŦƴƿȅ īś įņväŀīđ##--!!]", | ||
"invalidGuidStringError": "[!!--##***Įńvâłįď ĢŨİĐ şţŗıŋğ: \"{0}\"##--!!]", | ||
"isFalseValidateError": "[!!--##***Ťħē väŀŭȇ ƒơŗ \"{0}\" ĩś ƒáłśė##--!!]", | ||
"isNullValidateError": "[!!--##***Ţħȇ vāŀũę ƒōŗ \"{0}\" mųśţ ńōť ƀȅ ƞůĺŀ##--!!]", | ||
"isUndefinedValidateError": "[!!--##***Ťĥě vàļűȅ ƒőŗ \"{0}\" mųśţ ʼnŏŧ ƅȇ ūņđęƒĭʼnęď##--!!]", | ||
"isEmptyStringValidateError": "[!!--##***Ţĥȇ vàĺůȇ ƒơř \"{0}\" můŝţ ńơť ƀě àņ ėmƿţȳ ŝŧŕįʼnĝ##--!!]", | ||
"isDisposedValidateError": "[!!--##***Ťħė \"{0}\" ōƃĴȅċŧ čȁʼnƞőţ ƃė ūšęđ ƃĕċȁūšē ĩŧ ħàś ƀȇĕņ đıśƿŏśěď.##--!!]", | ||
"invalidVersionStringError": "[!!--##***Īƞvåłĩď vėřśĩōƞ ŝťŗĩʼnġ: \"{0}\"##--!!]", | ||
"logVerboseLevelMessage": "[!!--##***{0}: VĖŘßŎŜȆ {1}##--!!]", | ||
"invalidEnvironmentTypeError": "[!!--##***ȄņvĩŕŏƞměʼnţŦɏƥę įş ĩņvàłĩď##--!!]", | ||
"invalidGuidStringError": "[!!--##***Īņväĺĩđ ĢŰĪĐ ŝţŕīʼnĝ: \"{0}\"##--!!]", | ||
"isFalseValidateError": "[!!--##***Ŧĥȇ våľūĕ ƒōř \"{0}\" ĭş ƒȁļşě##--!!]", | ||
"isNullValidateError": "[!!--##***Ŧĥĕ vȁĺůȅ ƒơŗ \"{0}\" mũśť ƞōŧ Ƅĕ ʼnŭļŀ##--!!]", | ||
"isUndefinedValidateError": "[!!--##***Ŧħę vàŀũȅ ƒơŕ \"{0}\" můŝţ ŋōŧ ɓė ūŋďęƒįńȇď##--!!]", | ||
"isEmptyStringValidateError": "[!!--##***Ţħę vãľűě ƒőř \"{0}\" můşţ ŋŏţ Ƃė ąŋ ęmƿŧŷ šţŕĩňğ##--!!]", | ||
"isDisposedValidateError": "[!!--##***Ťĥȇ \"{0}\" ơƅĴȇĉţ čąƞńōť Ƅȅ ůŝĕď ɓȇćȁūšě ıŧ ĥāš Ƃȇěń ďīšƥŏśȅđ.##--!!]", | ||
"invalidVersionStringError": "[!!--##***İņvąļĭđ vēŗşĭơƞ ŝťŕĩŋģ: \"{0}\"##--!!]", | ||
"logVerboseLevelMessage": "[!!--##***{0}: VĔŖʙƠŞĒ {1}##--!!]", | ||
"logInfoLevelMessage": "[!!--##***{0}: {1}##--!!]", | ||
"logWarningLevelMessage": "[!!--##***{0}: ŴÂŖŊĮƝĢ {1}##--!!]", | ||
"logErrorLevelMessage": "[!!--##***{0}: ȄŖŘŐŘ: {1}##--!!]", | ||
"serviceScopeConsumingBeforeFinished": "[!!--##***Ĉąńƞơť ćőńśŭmĕ šȇŗvīćęš ƅĕčăůšȇ ŧĥȇ śčōƿȇ ĩš ņōţ ƒıņīśħėď ƴēţ##--!!]", | ||
"serviceScopeConsumingDuringAutoCreation": "[!!--##***Ćàŋʼnőŧ ćőńśůmē şęŗvıčĕŝ đūřĩʼnģ ŜěŕvīċėŚćőƥȇ àųţōċŗěáţıōň##--!!]", | ||
"serviceScopeAlreadyFinishedError": "[!!--##***Ťħě ŜęŕvĭčėŜĉơƥȇ ış ãļŕēâďƴ ƒīņĭšħȇď##--!!]", | ||
"serviceScopeProvideServiceAfterFinishedError": "[!!--##***Ĉăńňőť řēġĭşŧěŗ śĕŕvĭċė Ƅęċȁũšĕ ţħē ŝĉŏƥȅ ĭś ăłŗěäđɏ ƒıʼnĭşħȇď##--!!]", | ||
"serviceScopeProvideServiceThatAlreadyExists": "[!!--##***Ťħě šĕŕvĩčĕ ķȇɏ \"{0}\" ĥȁş áļŗēąđɏ ƃęěʼn ŗȅģīŝŧēřěđ įň ťĥĩš šċơƿė##--!!]", | ||
"spErrorInnerErrorText": "[!!--##***ĨŃŅĖŔȄŖƦŌŖ:##--!!]", | ||
"spErrorCallStackText": "[!!--##***ĊĀĿĹŜŢȀĈƘ:##--!!]", | ||
"spErrorLogPropertiesText": "[!!--##***ĻƠĢƤŘŐƤĘŔŢĬȆŠ:##--!!]", | ||
"dynamicDataManagerSourceAlreadyExists": "[!!--##***Ǻ śőųŕćę ŵĭţħ īđ \"{0}\" àłŕĕąđɏ ēxĩśţş.##--!!]", | ||
"dynamicDataManagerSourceDoesntExist": "[!!--##***Ņō śơųřĉē ŵĩŧħ įď \"{0}\" ƒŏūƞď.##--!!]" | ||
"logWarningLevelMessage": "[!!--##***{0}: ŴÅŖŇĬƝĞ {1}##--!!]", | ||
"logErrorLevelMessage": "[!!--##***{0}: ĔŘƦƠŘ: {1}##--!!]", | ||
"serviceScopeConsumingBeforeFinished": "[!!--##***Ċàŋńơţ ċőʼnšűmě şēŗvĭĉęś ɓȅċàűšę ŧħȅ śčŏƿę ış ŋơţ ƒĩņĭşħēď ȳēţ##--!!]", | ||
"serviceScopeConsumingDuringAutoCreation": "[!!--##***Čąʼnńōţ ćőŋŝűmȅ šėŕvīćȇš ďũŕīňĝ ŜȅŗvĭćēŠċőƿę äŭŧőćřēåťĩōŋ##--!!]", | ||
"serviceScopeAlreadyFinishedError": "[!!--##***Ţĥĕ ŞěŕvīĉēŞćōƿȅ ĭŝ âłŕēáđɏ ƒĩŋĩŝħĕđ##--!!]", | ||
"serviceScopeProvideServiceAfterFinishedError": "[!!--##***Čåʼnňơŧ ŕęģĩşŧĕř şȅŗvīċė ƀȇčǻůśė ŧĥė šćơƥě ĭš ăŀŕėȁđŷ ƒĭńįŝħęď##--!!]", | ||
"serviceScopeProvideServiceThatAlreadyExists": "[!!--##***Ŧĥē śęŕvĩĉě ƙęȳ \"{0}\" ħȁś ăĺřęąďȳ Ƅȅěń ŕēĝįšťėŗėđ ĩń ťħĭŝ ŝĉőƥĕ##--!!]", | ||
"spErrorInnerErrorText": "[!!--##***ĪƝƝĚŖĔƦŖƠŘ:##--!!]", | ||
"spErrorCallStackText": "[!!--##***ČȀĿĽŞŤÀĆƘ:##--!!]", | ||
"spErrorLogPropertiesText": "[!!--##***ĿŌĢƤŖƠƤĚƦŢĬĔŚ:##--!!]", | ||
"dynamicDataManagerSourceAlreadyExists": "[!!--##***Ą ŝőūŗċȅ ŵıťĥ ĩď \"{0}\" ăľŗěáďŷ ęxĭŝţš.##--!!]", | ||
"dynamicDataManagerSourceDoesntExist": "[!!--##***Ŋō šŏŭŕĉȇ ŵıťĥ īď \"{0}\" ƒơűƞđ.##--!!]" | ||
} | ||
@@ -27,0 +27,0 @@ }; |
{ | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "[!!--##***ȄņvįřŏņměŋťŦƴƿȅ īś įņväŀīđ##--!!]", | ||
"invalidGuidStringError": "[!!--##***Įńvâłįď ĢŨİĐ şţŗıŋğ: \"{0}\"##--!!]", | ||
"isFalseValidateError": "[!!--##***Ťħē väŀŭȇ ƒơŗ \"{0}\" ĩś ƒáłśė##--!!]", | ||
"isNullValidateError": "[!!--##***Ţħȇ vāŀũę ƒōŗ \"{0}\" mųśţ ńōť ƀȅ ƞůĺŀ##--!!]", | ||
"isUndefinedValidateError": "[!!--##***Ťĥě vàļűȅ ƒőŗ \"{0}\" mųśţ ʼnŏŧ ƅȇ ūņđęƒĭʼnęď##--!!]", | ||
"isEmptyStringValidateError": "[!!--##***Ţĥȇ vàĺůȇ ƒơř \"{0}\" můŝţ ńơť ƀě àņ ėmƿţȳ ŝŧŕįʼnĝ##--!!]", | ||
"isDisposedValidateError": "[!!--##***Ťħė \"{0}\" ōƃĴȅċŧ čȁʼnƞőţ ƃė ūšęđ ƃĕċȁūšē ĩŧ ħàś ƀȇĕņ đıśƿŏśěď.##--!!]", | ||
"invalidVersionStringError": "[!!--##***Īƞvåłĩď vėřśĩōƞ ŝťŗĩʼnġ: \"{0}\"##--!!]", | ||
"logVerboseLevelMessage": "[!!--##***{0}: VĖŘßŎŜȆ {1}##--!!]", | ||
"invalidEnvironmentTypeError": "[!!--##***ȄņvĩŕŏƞměʼnţŦɏƥę įş ĩņvàłĩď##--!!]", | ||
"invalidGuidStringError": "[!!--##***Īņväĺĩđ ĢŰĪĐ ŝţŕīʼnĝ: \"{0}\"##--!!]", | ||
"isFalseValidateError": "[!!--##***Ŧĥȇ våľūĕ ƒōř \"{0}\" ĭş ƒȁļşě##--!!]", | ||
"isNullValidateError": "[!!--##***Ŧĥĕ vȁĺůȅ ƒơŗ \"{0}\" mũśť ƞōŧ Ƅĕ ʼnŭļŀ##--!!]", | ||
"isUndefinedValidateError": "[!!--##***Ŧħę vàŀũȅ ƒơŕ \"{0}\" můŝţ ŋōŧ ɓė ūŋďęƒįńȇď##--!!]", | ||
"isEmptyStringValidateError": "[!!--##***Ţħę vãľűě ƒőř \"{0}\" můşţ ŋŏţ Ƃė ąŋ ęmƿŧŷ šţŕĩňğ##--!!]", | ||
"isDisposedValidateError": "[!!--##***Ťĥȇ \"{0}\" ơƅĴȇĉţ čąƞńōť Ƅȅ ůŝĕď ɓȇćȁūšě ıŧ ĥāš Ƃȇěń ďīšƥŏśȅđ.##--!!]", | ||
"invalidVersionStringError": "[!!--##***İņvąļĭđ vēŗşĭơƞ ŝťŕĩŋģ: \"{0}\"##--!!]", | ||
"logVerboseLevelMessage": "[!!--##***{0}: VĔŖʙƠŞĒ {1}##--!!]", | ||
"logInfoLevelMessage": "[!!--##***{0}: {1}##--!!]", | ||
"logWarningLevelMessage": "[!!--##***{0}: ŴÂŖŊĮƝĢ {1}##--!!]", | ||
"logErrorLevelMessage": "[!!--##***{0}: ȄŖŘŐŘ: {1}##--!!]", | ||
"serviceScopeConsumingBeforeFinished": "[!!--##***Ĉąńƞơť ćőńśŭmĕ šȇŗvīćęš ƅĕčăůšȇ ŧĥȇ śčōƿȇ ĩš ņōţ ƒıņīśħėď ƴēţ##--!!]", | ||
"serviceScopeConsumingDuringAutoCreation": "[!!--##***Ćàŋʼnőŧ ćőńśůmē şęŗvıčĕŝ đūřĩʼnģ ŜěŕvīċėŚćőƥȇ àųţōċŗěáţıōň##--!!]", | ||
"serviceScopeAlreadyFinishedError": "[!!--##***Ťħě ŜęŕvĭčėŜĉơƥȇ ış ãļŕēâďƴ ƒīņĭšħȇď##--!!]", | ||
"serviceScopeProvideServiceAfterFinishedError": "[!!--##***Ĉăńňőť řēġĭşŧěŗ śĕŕvĭċė Ƅęċȁũšĕ ţħē ŝĉŏƥȅ ĭś ăłŗěäđɏ ƒıʼnĭşħȇď##--!!]", | ||
"serviceScopeProvideServiceThatAlreadyExists": "[!!--##***Ťħě šĕŕvĩčĕ ķȇɏ \"{0}\" ĥȁş áļŗēąđɏ ƃęěʼn ŗȅģīŝŧēřěđ įň ťĥĩš šċơƿė##--!!]", | ||
"spErrorInnerErrorText": "[!!--##***ĨŃŅĖŔȄŖƦŌŖ:##--!!]", | ||
"spErrorCallStackText": "[!!--##***ĊĀĿĹŜŢȀĈƘ:##--!!]", | ||
"spErrorLogPropertiesText": "[!!--##***ĻƠĢƤŘŐƤĘŔŢĬȆŠ:##--!!]", | ||
"dynamicDataManagerSourceAlreadyExists": "[!!--##***Ǻ śőųŕćę ŵĭţħ īđ \"{0}\" àłŕĕąđɏ ēxĩśţş.##--!!]", | ||
"dynamicDataManagerSourceDoesntExist": "[!!--##***Ņō śơųřĉē ŵĩŧħ įď \"{0}\" ƒŏūƞď.##--!!]" | ||
"logWarningLevelMessage": "[!!--##***{0}: ŴÅŖŇĬƝĞ {1}##--!!]", | ||
"logErrorLevelMessage": "[!!--##***{0}: ĔŘƦƠŘ: {1}##--!!]", | ||
"serviceScopeConsumingBeforeFinished": "[!!--##***Ċàŋńơţ ċőʼnšűmě şēŗvĭĉęś ɓȅċàűšę ŧħȅ śčŏƿę ış ŋơţ ƒĩņĭşħēď ȳēţ##--!!]", | ||
"serviceScopeConsumingDuringAutoCreation": "[!!--##***Čąʼnńōţ ćőŋŝűmȅ šėŕvīćȇš ďũŕīňĝ ŜȅŗvĭćēŠċőƿę äŭŧőćřēåťĩōŋ##--!!]", | ||
"serviceScopeAlreadyFinishedError": "[!!--##***Ţĥĕ ŞěŕvīĉēŞćōƿȅ ĭŝ âłŕēáđɏ ƒĩŋĩŝħĕđ##--!!]", | ||
"serviceScopeProvideServiceAfterFinishedError": "[!!--##***Čåʼnňơŧ ŕęģĩşŧĕř şȅŗvīċė ƀȇčǻůśė ŧĥė šćơƥě ĭš ăŀŕėȁđŷ ƒĭńįŝħęď##--!!]", | ||
"serviceScopeProvideServiceThatAlreadyExists": "[!!--##***Ŧĥē śęŕvĩĉě ƙęȳ \"{0}\" ħȁś ăĺřęąďȳ Ƅȅěń ŕēĝįšťėŗėđ ĩń ťħĭŝ ŝĉőƥĕ##--!!]", | ||
"spErrorInnerErrorText": "[!!--##***ĪƝƝĚŖĔƦŖƠŘ:##--!!]", | ||
"spErrorCallStackText": "[!!--##***ČȀĿĽŞŤÀĆƘ:##--!!]", | ||
"spErrorLogPropertiesText": "[!!--##***ĿŌĢƤŖƠƤĚƦŢĬĔŚ:##--!!]", | ||
"dynamicDataManagerSourceAlreadyExists": "[!!--##***Ą ŝőūŗċȅ ŵıťĥ ĩď \"{0}\" ăľŗěáďŷ ęxĭŝţš.##--!!]", | ||
"dynamicDataManagerSourceDoesntExist": "[!!--##***Ŋō šŏŭŕĉȇ ŵıťĥ īď \"{0}\" ƒơűƞđ.##--!!]" | ||
} | ||
} |
define([], function() { | ||
var strings = { | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "***ĒņvĭřŏƞmėʼnŧŦŷƿȅ ĩš ĭņvãľĩđ", | ||
"invalidGuidStringError": "***Ĩƞvàłīđ ĢŨĬƊ ŝŧřıņġ: \"{0}\"", | ||
"isFalseValidateError": "***Ţħę väŀūȇ ƒŏŕ \"{0}\" īš ƒȁĺšě", | ||
"isNullValidateError": "***Ťĥȇ vǻĺũě ƒőŗ \"{0}\" mųşť ňőť Ƃę ňūļļ", | ||
"isUndefinedValidateError": "***Ťĥȇ vâĺũę ƒơŗ \"{0}\" műŝť ňŏţ ƃĕ ũňđĕƒĭŋęď", | ||
"isEmptyStringValidateError": "***Ţħę vàĺųȇ ƒơř \"{0}\" můŝţ ňōŧ ƃė ȁŋ ĕmƥŧŷ šŧřĩʼnģ", | ||
"isDisposedValidateError": "***Ŧĥȅ \"{0}\" ōƀĴȅčť ćâŋʼnơŧ ƀȅ ūŝėđ ƀēčâůşȅ įŧ ĥáš ƅĕȅń đįŝƿőšėď.", | ||
"invalidVersionStringError": "***Ĩŋvâłĩđ vėŕŝĭőń şťŕĭňĝ: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VȄƦƁŌŞȄ {1}", | ||
"invalidEnvironmentTypeError": "***ȆŋvīŗōńmĕŋťŦƴƿȅ īś ĩňvāļīđ", | ||
"invalidGuidStringError": "***İƞvȃŀįď ĠŮİĎ šťřĩńĝ: \"{0}\"", | ||
"isFalseValidateError": "***Ţĥȅ vãŀŭĕ ƒőŗ \"{0}\" ış ƒåĺśė", | ||
"isNullValidateError": "***Ŧħȇ váļůȅ ƒơř \"{0}\" mũŝŧ ńŏť Ƅȇ ƞůŀł", | ||
"isUndefinedValidateError": "***Ťħĕ vāŀũě ƒŏŗ \"{0}\" můŝţ ňōŧ ɓě ũƞďėƒįŋȇđ", | ||
"isEmptyStringValidateError": "***Ţĥě vãĺūę ƒơř \"{0}\" mųśť ʼnŏţ ƃě āŋ ȅmƿťɏ ŝŧřıņğ", | ||
"isDisposedValidateError": "***Ŧħě \"{0}\" ơƀĴȅčŧ ĉăņʼnōť Ƃȇ ųŝĕď ɓȅćȃŭŝĕ īŧ ĥāŝ Ƃėĕń đīśƥŏśȅđ.", | ||
"invalidVersionStringError": "***Įňvăļĩđ vĕŗśĭŏʼn ŝťŗīŋĝ: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VĘŔʙŎŞĔ {1}", | ||
"logInfoLevelMessage": "***{0}: {1}", | ||
"logWarningLevelMessage": "***{0}: ŴÀŘŅĨŊĢ {1}", | ||
"logErrorLevelMessage": "***{0}: ĘŘŔŐŖ: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Ćåŋňőŧ ĉŏƞśůmȅ šēŕvįĉĕŝ ɓȇćàůšė ţħė śćơƿě ĩš ƞơŧ ƒĩņįşħēđ ƴėŧ", | ||
"serviceScopeConsumingDuringAutoCreation": "***Ċāńʼnơŧ čŏʼnşŭmĕ šėŗvĭćĕś ďűřĩƞģ ŚėŕvīčēŞĉŏƥĕ åųŧōĉŕȇåţīōƞ", | ||
"serviceScopeAlreadyFinishedError": "***Ŧħē ŜęřvĩĉĕŜċōƥĕ ĭş ǻłŗȅȃđɏ ƒįʼnĩšĥėđ", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Čǻƞņőŧ řĕğĩšťėř ŝĕŗvīĉȅ Ƃēćǻũŝė ťĥȅ šćōƿę ĩş àŀřěãđɏ ƒıńĭŝĥȅđ", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***Ťĥĕ śȇŕvįċě ƙėƴ \"{0}\" ĥȁś äłŕȇàđɏ Ƃēęń ŗęğıŝŧĕŕȅď ĩň ţħıŝ şĉŏƥĕ", | ||
"spErrorInnerErrorText": "***ĪŅŇĒŖȄŘŘƠŔ:", | ||
"spErrorCallStackText": "***ĈĀĽĽŠŤÀĆƘ:", | ||
"spErrorLogPropertiesText": "***ĹŐĞƤƦŐƤĔŖŤİĔŠ:", | ||
"dynamicDataManagerSourceAlreadyExists": "***Ȃ ŝơűŕĉȇ ŵīŧħ īđ \"{0}\" äļŕęáďȳ ēxįŝŧš.", | ||
"dynamicDataManagerSourceDoesntExist": "***Ŋŏ ŝŏŭŗćĕ ŵĭŧħ ĭď \"{0}\" ƒơūņđ." | ||
"logWarningLevelMessage": "***{0}: ŴȀŖƝĮŊĢ {1}", | ||
"logErrorLevelMessage": "***{0}: ĚŖƦŌŖ: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Ćãŋŋōŧ čőƞšũmē şęŗvĭćĕŝ ƅęćȃūşě ŧĥĕ şċŏƥȇ īş ʼnōť ƒīŋışĥēđ ŷēŧ", | ||
"serviceScopeConsumingDuringAutoCreation": "***Čáńƞōŧ ćŏńŝūmĕ şėŗvĩĉėš đŭŕĭņĝ ŞȇřvĭčėŞĉơƥě âŭťơĉŗęȁťįōň", | ||
"serviceScopeAlreadyFinishedError": "***Ŧħė ŠēŕvįčēŚċōƿē īŝ àłŕȇǻďƴ ƒĭƞīśĥėď", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Čåƞňōŧ řēģĭşţėř šȅŕvīćȅ Ƃēĉăűšȅ ťĥė śĉŏƥĕ įŝ ãĺŗȇäđȳ ƒĭʼnĩşĥěď", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***Ťħē šėřvıčȅ ƙėɏ \"{0}\" ħāş åļŗėāďɏ ƅęȅň ŗěğıŝŧěřĕđ ĩń ţĥıŝ ščơƿē", | ||
"spErrorInnerErrorText": "***ĪŃŊĒŔȄƦŖŎŔ:", | ||
"spErrorCallStackText": "***ĊÃĽĹŜŦÅĆĶ:", | ||
"spErrorLogPropertiesText": "***ĻŌĞƤŖŎƤĔŖŦĬȆŞ:", | ||
"dynamicDataManagerSourceAlreadyExists": "***Ǻ ŝōůřćę ŵĭţħ ĩđ \"{0}\" âľřȅāđȳ ēxīşŧš.", | ||
"dynamicDataManagerSourceDoesntExist": "***Ňŏ şōűŕĉĕ ŵīŧĥ īď \"{0}\" ƒơűńď." | ||
} | ||
@@ -27,0 +27,0 @@ }; |
{ | ||
"_gIErrcTokcw+/VVwa+ReIA": { | ||
"invalidEnvironmentTypeError": "***ĒņvĭřŏƞmėʼnŧŦŷƿȅ ĩš ĭņvãľĩđ", | ||
"invalidGuidStringError": "***Ĩƞvàłīđ ĢŨĬƊ ŝŧřıņġ: \"{0}\"", | ||
"isFalseValidateError": "***Ţħę väŀūȇ ƒŏŕ \"{0}\" īš ƒȁĺšě", | ||
"isNullValidateError": "***Ťĥȇ vǻĺũě ƒőŗ \"{0}\" mųşť ňőť Ƃę ňūļļ", | ||
"isUndefinedValidateError": "***Ťĥȇ vâĺũę ƒơŗ \"{0}\" műŝť ňŏţ ƃĕ ũňđĕƒĭŋęď", | ||
"isEmptyStringValidateError": "***Ţħę vàĺųȇ ƒơř \"{0}\" můŝţ ňōŧ ƃė ȁŋ ĕmƥŧŷ šŧřĩʼnģ", | ||
"isDisposedValidateError": "***Ŧĥȅ \"{0}\" ōƀĴȅčť ćâŋʼnơŧ ƀȅ ūŝėđ ƀēčâůşȅ įŧ ĥáš ƅĕȅń đįŝƿőšėď.", | ||
"invalidVersionStringError": "***Ĩŋvâłĩđ vėŕŝĭőń şťŕĭňĝ: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VȄƦƁŌŞȄ {1}", | ||
"invalidEnvironmentTypeError": "***ȆŋvīŗōńmĕŋťŦƴƿȅ īś ĩňvāļīđ", | ||
"invalidGuidStringError": "***İƞvȃŀįď ĠŮİĎ šťřĩńĝ: \"{0}\"", | ||
"isFalseValidateError": "***Ţĥȅ vãŀŭĕ ƒőŗ \"{0}\" ış ƒåĺśė", | ||
"isNullValidateError": "***Ŧħȇ váļůȅ ƒơř \"{0}\" mũŝŧ ńŏť Ƅȇ ƞůŀł", | ||
"isUndefinedValidateError": "***Ťħĕ vāŀũě ƒŏŗ \"{0}\" můŝţ ňōŧ ɓě ũƞďėƒįŋȇđ", | ||
"isEmptyStringValidateError": "***Ţĥě vãĺūę ƒơř \"{0}\" mųśť ʼnŏţ ƃě āŋ ȅmƿťɏ ŝŧřıņğ", | ||
"isDisposedValidateError": "***Ŧħě \"{0}\" ơƀĴȅčŧ ĉăņʼnōť Ƃȇ ųŝĕď ɓȅćȃŭŝĕ īŧ ĥāŝ Ƃėĕń đīśƥŏśȅđ.", | ||
"invalidVersionStringError": "***Įňvăļĩđ vĕŗśĭŏʼn ŝťŗīŋĝ: \"{0}\"", | ||
"logVerboseLevelMessage": "***{0}: VĘŔʙŎŞĔ {1}", | ||
"logInfoLevelMessage": "***{0}: {1}", | ||
"logWarningLevelMessage": "***{0}: ŴÀŘŅĨŊĢ {1}", | ||
"logErrorLevelMessage": "***{0}: ĘŘŔŐŖ: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Ćåŋňőŧ ĉŏƞśůmȅ šēŕvįĉĕŝ ɓȇćàůšė ţħė śćơƿě ĩš ƞơŧ ƒĩņįşħēđ ƴėŧ", | ||
"serviceScopeConsumingDuringAutoCreation": "***Ċāńʼnơŧ čŏʼnşŭmĕ šėŗvĭćĕś ďűřĩƞģ ŚėŕvīčēŞĉŏƥĕ åųŧōĉŕȇåţīōƞ", | ||
"serviceScopeAlreadyFinishedError": "***Ŧħē ŜęřvĩĉĕŜċōƥĕ ĭş ǻłŗȅȃđɏ ƒįʼnĩšĥėđ", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Čǻƞņőŧ řĕğĩšťėř ŝĕŗvīĉȅ Ƃēćǻũŝė ťĥȅ šćōƿę ĩş àŀřěãđɏ ƒıńĭŝĥȅđ", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***Ťĥĕ śȇŕvįċě ƙėƴ \"{0}\" ĥȁś äłŕȇàđɏ Ƃēęń ŗęğıŝŧĕŕȅď ĩň ţħıŝ şĉŏƥĕ", | ||
"spErrorInnerErrorText": "***ĪŅŇĒŖȄŘŘƠŔ:", | ||
"spErrorCallStackText": "***ĈĀĽĽŠŤÀĆƘ:", | ||
"spErrorLogPropertiesText": "***ĹŐĞƤƦŐƤĔŖŤİĔŠ:", | ||
"dynamicDataManagerSourceAlreadyExists": "***Ȃ ŝơűŕĉȇ ŵīŧħ īđ \"{0}\" äļŕęáďȳ ēxįŝŧš.", | ||
"dynamicDataManagerSourceDoesntExist": "***Ŋŏ ŝŏŭŗćĕ ŵĭŧħ ĭď \"{0}\" ƒơūņđ." | ||
"logWarningLevelMessage": "***{0}: ŴȀŖƝĮŊĢ {1}", | ||
"logErrorLevelMessage": "***{0}: ĚŖƦŌŖ: {1}", | ||
"serviceScopeConsumingBeforeFinished": "***Ćãŋŋōŧ čőƞšũmē şęŗvĭćĕŝ ƅęćȃūşě ŧĥĕ şċŏƥȇ īş ʼnōť ƒīŋışĥēđ ŷēŧ", | ||
"serviceScopeConsumingDuringAutoCreation": "***Čáńƞōŧ ćŏńŝūmĕ şėŗvĩĉėš đŭŕĭņĝ ŞȇřvĭčėŞĉơƥě âŭťơĉŗęȁťįōň", | ||
"serviceScopeAlreadyFinishedError": "***Ŧħė ŠēŕvįčēŚċōƿē īŝ àłŕȇǻďƴ ƒĭƞīśĥėď", | ||
"serviceScopeProvideServiceAfterFinishedError": "***Čåƞňōŧ řēģĭşţėř šȅŕvīćȅ Ƃēĉăűšȅ ťĥė śĉŏƥĕ įŝ ãĺŗȇäđȳ ƒĭʼnĩşĥěď", | ||
"serviceScopeProvideServiceThatAlreadyExists": "***Ťħē šėřvıčȅ ƙėɏ \"{0}\" ħāş åļŗėāďɏ ƅęȅň ŗěğıŝŧěřĕđ ĩń ţĥıŝ ščơƿē", | ||
"spErrorInnerErrorText": "***ĪŃŊĒŔȄƦŖŎŔ:", | ||
"spErrorCallStackText": "***ĊÃĽĹŜŦÅĆĶ:", | ||
"spErrorLogPropertiesText": "***ĻŌĞƤŖŎƤĔŖŦĬȆŞ:", | ||
"dynamicDataManagerSourceAlreadyExists": "***Ǻ ŝōůřćę ŵĭţħ ĩđ \"{0}\" âľřȅāđȳ ēxīşŧš.", | ||
"dynamicDataManagerSourceDoesntExist": "***Ňŏ şōűŕĉĕ ŵīŧĥ īď \"{0}\" ƒơűńď." | ||
} | ||
} |
@@ -0,0 +0,0 @@ import ServiceScope from './ServiceScope'; |
@@ -0,0 +0,0 @@ import ServiceScope from '../ServiceScope'; |
@@ -0,0 +0,0 @@ import ServiceKey from '../ServiceKey'; |
@@ -0,0 +0,0 @@ import ServiceScope from '../ServiceScope'; |
@@ -0,0 +0,0 @@ import ServiceKey from '../ServiceKey'; |
@@ -19,9 +19,16 @@ import ServiceScope from './ServiceScope'; | ||
export default class ServiceKey<T> { | ||
private static _lastId; | ||
/** | ||
* A unique identifier for this service. | ||
* A unique identifier for this service key. | ||
* | ||
* @remarks | ||
* The identifier is a currently generated by incrementing an integer counter; however | ||
* this may change in the future. | ||
* This identifier is an automatically generated string that will be unique for the lifetime | ||
* of the page. Callers should not make assumptions about the formatting of this string. It is | ||
* currently based on a global counter, but this may change in the future. | ||
* | ||
* The ServiceScope uses this identifier internally as a dictionary key for finding services. | ||
* The ServiceKey is meant to be unique, even if multiple instances of the same library are | ||
* loaded on the same page, even if the same name was passed to ServiceKey.create(). | ||
* This is because each call to ServiceKey.create() could potentially provide a different | ||
* defaultCreator implementation, whereas one of the design goals of ServiceScope is that | ||
* the order in which libraries are loaded should never affect the resulting tree of scopes. | ||
*/ | ||
@@ -28,0 +35,0 @@ readonly id: string; |
@@ -0,2 +1,4 @@ | ||
import Text from '../Text'; | ||
import Validate from '../Validate'; | ||
var SERVICEKEY_LASTID_WINDOW_VAR = '_SPFX_ServiceKey_lastId'; | ||
var ServiceKey = (function () { | ||
@@ -17,9 +19,19 @@ function ServiceKey(id, name, defaultCreator) { | ||
Validate.isNotNullOrUndefined(defaultCreator, 'defaultCreator'); | ||
ServiceKey._lastId++; | ||
var id = ServiceKey._lastId.toString(); | ||
var numericId; | ||
var lastId = window[SERVICEKEY_LASTID_WINDOW_VAR]; | ||
if (lastId !== undefined && typeof (lastId) === 'number') { | ||
numericId = lastId + 1; | ||
if (numericId === lastId) { | ||
throw new Error('ServiceKey.createCustom() counter overflow'); | ||
} | ||
} | ||
else { | ||
numericId = 1; | ||
} | ||
window[SERVICEKEY_LASTID_WINDOW_VAR] = numericId; | ||
var id = Text.replaceAll(name, ' ', '') + '_' + numericId; | ||
return new ServiceKey(id, name, defaultCreator); | ||
}; | ||
ServiceKey._lastId = 0; | ||
return ServiceKey; | ||
}()); | ||
export default ServiceKey; |
@@ -0,0 +0,0 @@ import ServiceKey from './ServiceKey'; |
@@ -0,0 +0,0 @@ import Text from '../Text'; |
@@ -0,0 +0,0 @@ import Guid from './Guid'; |
@@ -0,0 +0,0 @@ import Guid from './Guid'; |
@@ -28,3 +28,3 @@ export interface IStrings { | ||
} | ||
declare const _default: IStrings; | ||
export default _default; | ||
declare const strings: IStrings; | ||
export default strings; |
@@ -1,4 +0,6 @@ | ||
var strings = (typeof DEPRECATED_UNIT_TEST === 'undefined' || DEPRECATED_UNIT_TEST) ? | ||
var key = '_gIErrcTokcw+/VVwa+ReIA'; | ||
var allStrings = (typeof DEPRECATED_UNIT_TEST === 'undefined' || DEPRECATED_UNIT_TEST) ? | ||
require("./resx-strings/en-us.json") : | ||
require("resx-strings"); | ||
export default strings['_gIErrcTokcw+/VVwa+ReIA']; | ||
var strings = allStrings[key]; | ||
export default strings; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var DISABLED_FLIGHT_PREFIX = '!'; |
@@ -0,0 +0,0 @@ import Guid from './Guid'; |
@@ -0,0 +0,0 @@ import Guid from './Guid'; |
@@ -0,0 +0,0 @@ export { default as MockRandomNumberGenerator } from './MockRandomNumberGenerator'; |
@@ -0,0 +0,0 @@ export { default as MockRandomNumberGenerator } from './MockRandomNumberGenerator'; |
@@ -0,0 +0,0 @@ import { ServiceScope, IRandomNumberGenerator } from '../index'; |
@@ -0,0 +0,0 @@ var MockRandomNumberGenerator = (function () { |
@@ -0,0 +0,0 @@ import { ServiceScope, ITimeProvider } from '../index'; |
@@ -0,0 +0,0 @@ var MockTimeProvider = (function () { |
@@ -0,0 +0,0 @@ import { ServiceScope, ServiceKey } from '../index'; |
@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -27,2 +27,14 @@ /** | ||
static format(s: string, ...values: any[]): string; | ||
/** | ||
* Returns the input string, with all instances of searchValue replaced by replaceValue. | ||
* | ||
* @remarks | ||
* Note that JavaScript's string.replace() only replaces the first match, unless a | ||
* global RegExp is provided. | ||
* | ||
* @param input - The string to be modified | ||
* @param searchValue - The value to search for | ||
* @param replaceValue - The replacement text | ||
*/ | ||
static replaceAll(input: string, searchValue: string, replaceValue: string): string; | ||
} |
@@ -31,2 +31,5 @@ import strings from './SPCoreLibraryStrings.resx'; | ||
}; | ||
Text.replaceAll = function (input, searchValue, replaceValue) { | ||
return input.split(searchValue).join(replaceValue); | ||
}; | ||
Text.FORMAT_REGEX = /\{\d+\}/g; | ||
@@ -33,0 +36,0 @@ Text.FORMAT_ARGS_REGEX = /[\{\}]/g; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var UrlQueryParameterCollection = (function () { |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import * as lodash from '@microsoft/sp-lodash-subset'; |
@@ -0,0 +0,0 @@ import { IDisposable } from './IDisposable'; |
@@ -0,0 +0,0 @@ import Text from './Text'; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import Text from './Text'; |
{ | ||
"name": "@microsoft/sp-core-library", | ||
"version": "1.5.1", | ||
"version": "1.6.0-plusbeta", | ||
"description": "SharePoint Framework core libraries", | ||
@@ -13,11 +13,12 @@ "license": "SEE LICENSE IN \"EULA\" FOLDER", | ||
"devDependencies": { | ||
"@ms/sp-build-internal-web": "~0.16.16", | ||
"@ms/sp-build-internal-web": "~0.21.8", | ||
"@types/chai": "3.4.34", | ||
"@types/mocha": "2.2.38", | ||
"chai": "~3.5.0", | ||
"gulp": "~3.9.1" | ||
"gulp": "~3.9.1", | ||
"ts-jest": "~22.4.3" | ||
}, | ||
"dependencies": { | ||
"@microsoft/sp-lodash-subset": "1.5.1", | ||
"@microsoft/sp-module-interfaces": "1.5.1", | ||
"@microsoft/sp-lodash-subset": "1.6.0-plusbeta", | ||
"@microsoft/sp-module-interfaces": "1.6.0-plusbeta", | ||
"@types/es6-promise": "0.0.33", | ||
@@ -24,0 +25,0 @@ "@types/webpack-env": "1.13.1" |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12785
2238678
6
192
1
+ Added@microsoft/sp-lodash-subset@1.6.0-plusbeta(transitive)
+ Added@microsoft/sp-module-interfaces@1.6.0-plusbeta(transitive)
- Removed@microsoft/sp-lodash-subset@1.5.1(transitive)
- Removed@microsoft/sp-module-interfaces@1.5.1(transitive)