@ebuilding/base 2.1.4 → 2.1.6
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/fesm2022/shared.util.mjs
CHANGED
|
@@ -4452,6 +4452,9 @@ function toUpperCase(e) {
|
|
|
4452
4452
|
}
|
|
4453
4453
|
return '';
|
|
4454
4454
|
}
|
|
4455
|
+
function base64Encode(str) {
|
|
4456
|
+
return btoa(unescape(encodeURIComponent(str)));
|
|
4457
|
+
}
|
|
4455
4458
|
function getRandom() {
|
|
4456
4459
|
return `${moment().format('YYYYMMDDHHmmss')}` + Math.round((Math.random() * 9 + 1) * 100000);
|
|
4457
4460
|
}
|
|
@@ -4672,5 +4675,5 @@ function yuan(value, digits = 2) {
|
|
|
4672
4675
|
* Generated bundle index. Do not edit.
|
|
4673
4676
|
*/
|
|
4674
4677
|
|
|
4675
|
-
export { Assigned$1 as Assigned, Base64Utils, BreakModeData, CalcType$1 as CalcType, CalendarDayType, ChargeTypeData, ComparatorData$1 as ComparatorData, ConditionData, ConditionList, ConditionNumberList, DateByType, DateByType2, Decrypt, DefaultUserRole, DefaultUserRoleAll, EarlyHoursType, EditorConfig, Encrypt, EvalState, EvalType$1 as EvalType, FollowDay, FollowRate, FollowType, FollowUpFrequency$1 as FollowUpFrequency, FollowWeek, Guid, GuidNumber, IndicatorType$1 as IndicatorType, LevelData, LiveLensData, LostActionData, MapTypeData, MenuInit, MessageType, MethodValue, ModuleInit, MonthlyData$1 as MonthlyData, OverTimeNum, OverTimeRuleCalc, OverTimeRuleCalendar, OverTimeRuleType, OverTimeType, PlanStatus, PushStreamTypeData, RainfallData, RecordOptimizeData, RefType$1 as RefType, RoundType, SectionItemTypeData, SectionTypeData, ShiftType, SystemColor, TakeClockType, TakeTimeType, TaskPeriodTypeData, TaskStatus, TaskTypeData, ValueType, WeekData$1 as WeekData, WeekTransfer, WeeklyData$1 as WeeklyData, WeightData, WorkFlowSkipRule, WorkFlowState, WorkFlowType, WorkHoursAnalysis, index$3 as "comm.leave", index$2 as "comm.setting", index$1 as "comm.workflow", defaultLatlng, formatApprovalStatus, formatDataType, formatDate, formatMsgType, formatPropType$1 as formatPropType, formatQueryType, getFieldPro, getGramAppType, getMenuChild, getOperationText, getOperationType, getRandom, hexToRgba, initData, initKpiEvalTypeData, initKpiTypeData, initModuleData, initModuleMenuData, isFirefox, maxLengthMessages, maxMessages, minLengthMessages, minMessages, requiredMessages, setDynamicUrl, showData, index as static, toLowerCase, toUpperCase, validationConfig, yuan };
|
|
4678
|
+
export { Assigned$1 as Assigned, Base64Utils, BreakModeData, CalcType$1 as CalcType, CalendarDayType, ChargeTypeData, ComparatorData$1 as ComparatorData, ConditionData, ConditionList, ConditionNumberList, DateByType, DateByType2, Decrypt, DefaultUserRole, DefaultUserRoleAll, EarlyHoursType, EditorConfig, Encrypt, EvalState, EvalType$1 as EvalType, FollowDay, FollowRate, FollowType, FollowUpFrequency$1 as FollowUpFrequency, FollowWeek, Guid, GuidNumber, IndicatorType$1 as IndicatorType, LevelData, LiveLensData, LostActionData, MapTypeData, MenuInit, MessageType, MethodValue, ModuleInit, MonthlyData$1 as MonthlyData, OverTimeNum, OverTimeRuleCalc, OverTimeRuleCalendar, OverTimeRuleType, OverTimeType, PlanStatus, PushStreamTypeData, RainfallData, RecordOptimizeData, RefType$1 as RefType, RoundType, SectionItemTypeData, SectionTypeData, ShiftType, SystemColor, TakeClockType, TakeTimeType, TaskPeriodTypeData, TaskStatus, TaskTypeData, ValueType, WeekData$1 as WeekData, WeekTransfer, WeeklyData$1 as WeeklyData, WeightData, WorkFlowSkipRule, WorkFlowState, WorkFlowType, WorkHoursAnalysis, base64Encode, index$3 as "comm.leave", index$2 as "comm.setting", index$1 as "comm.workflow", defaultLatlng, formatApprovalStatus, formatDataType, formatDate, formatMsgType, formatPropType$1 as formatPropType, formatQueryType, getFieldPro, getGramAppType, getMenuChild, getOperationText, getOperationType, getRandom, hexToRgba, initData, initKpiEvalTypeData, initKpiTypeData, initModuleData, initModuleMenuData, isFirefox, maxLengthMessages, maxMessages, minLengthMessages, minMessages, requiredMessages, setDynamicUrl, showData, index as static, toLowerCase, toUpperCase, validationConfig, yuan };
|
|
4676
4679
|
//# sourceMappingURL=shared.util.mjs.map
|