tnx-shared 5.3.310 → 5.3.311

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.
@@ -22,5 +22,9 @@ export const DataSourceGioiTinh = [
22
22
  { id: ɵ3, ten: 'Nam' },
23
23
  { id: ɵ4, ten: 'Nữ' }
24
24
  ];
25
+ export const DataSourceBoolean = [
26
+ { id: false, ten: 'Không' },
27
+ { id: true, ten: 'Có' }
28
+ ];
25
29
  export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4 };
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdG54LXNoYXJlZC9zcmMvbGliL2NvbnN0L2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLGNBQWMsRUFBRSxjQUFjLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvRSxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsS0FBSyxDQUFDO0FBQ3JDLE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUFHLGlCQUFpQixDQUFDO0FBQzlELE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUFHLFlBQVksQ0FBQztBQUN6RCxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyxzQkFBc0IsQ0FBQztBQUM5RCxNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyx3QkFBd0IsQ0FBQztBQUM5RCxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUcsU0FBUyxDQUFDO0FBQ3BDLE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRyxTQUFTLENBQUM7QUFDcEMsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLEtBQUssQ0FBQztBQUNsQ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lkOiBQZXJtaXNzaW9uQmFzZS5FRElULCB0ZW46IFBlcm1pc3Npb25OYW1lLkVESVQgfSxcbiAgICB7IGlkOiBQZXJtaXNzaW9uQmFzZS5ERUxFVEUsIHRlbjogUGVybWlzc2lvbk5hbWUuREVMRVRFIH1cbl07XG5cbmV4cG9ydCBjb25zdCBEYXRhU291cmNlR2lvaVRpbmggPSBbXG4gICAgeyBpZDogRW51bUdpb2lUaW5oLk5BTSwgdGVuOiAnTmFtJyB9LFxuICAgIHsgaWQ6IEVudW1HaW9pVGluaC5OVSwgdGVuOiAnTuG7rycgfVxuXTtcbmV4cG9ydCBjb25zdCBEYXRhU291cmNlQm9vbGVhbiA9IFtcbiAgICB7IGlkOiBmYWxzZSwgdGVuOiAnS2jDtG5nJyB9LFxuICAgIHsgaWQ6IHRydWUsIHRlbjogJ0PDsycgfVxuXTsiXX0=
@@ -1875,6 +1875,26 @@ class FieldRowSpan {
1875
1875
  }
1876
1876
  }
1877
1877
  }
1878
+ class LogSetting {
1879
+ constructor(init) {
1880
+ this.isEnableLog = false;
1881
+ this.isCustomAll = false;
1882
+ this.emptyValue = 'Không có giá trị';
1883
+ this.arrValueAfterUpdate = [];
1884
+ for (const key in init) {
1885
+ this[key] = init[key];
1886
+ }
1887
+ }
1888
+ }
1889
+ class LogColumn {
1890
+ constructor(init) {
1891
+ this.visible = true;
1892
+ this.isHtml = false;
1893
+ for (const key in init) {
1894
+ this[key] = init[key];
1895
+ }
1896
+ }
1897
+ }
1878
1898
  var DataType;
1879
1899
  (function (DataType) {
1880
1900
  DataType["date"] = "date";
@@ -9500,6 +9520,10 @@ const DataSourceGioiTinh = [
9500
9520
  { id: ɵ3, ten: 'Nam' },
9501
9521
  { id: ɵ4, ten: 'Nữ' }
9502
9522
  ];
9523
+ const DataSourceBoolean = [
9524
+ { id: false, ten: 'Không' },
9525
+ { id: true, ten: 'Có' }
9526
+ ];
9503
9527
 
9504
9528
  class ExceptionHandlerService {
9505
9529
  constructor() { }
@@ -15628,6 +15652,7 @@ class DataFormBase extends ComponentBaseWithButton {
15628
15652
  this.messageInsertSuccess = '';
15629
15653
  this.messageUpdateSuccess = '';
15630
15654
  this.setting = new CrudFormSetting();
15655
+ this.logSetting = new LogSetting();
15631
15656
  this.vi = CONFIG_CALENDAR_VIETNAMESE;
15632
15657
  this.formControlsList = {};
15633
15658
  this.environment = {};
@@ -15647,6 +15672,7 @@ class DataFormBase extends ComponentBaseWithButton {
15647
15672
  const moduleConfigService = _injector.get(ModuleConfigService);
15648
15673
  this.environment = moduleConfigService.getConfig().environment;
15649
15674
  this._notifierService = this._injector.get(NotifierService);
15675
+ this._numberPipe = this._injector.get(DecimalPipe);
15650
15676
  this._masterDataService = this._injector.get(MasterDataService);
15651
15677
  this._router = this._injector.get(Router);
15652
15678
  this._activatedRoute = this._injector.get(ActivatedRoute);
@@ -15832,6 +15858,9 @@ class DataFormBase extends ComponentBaseWithButton {
15832
15858
  }
15833
15859
  yield this._processAfterGetData(response.data);
15834
15860
  yield this.onAfterGetDetail(response.data);
15861
+ if (this.logSetting.isEnableLog) {
15862
+ this.logSetting.valueBeforeUpdate = this._commonService.cloneObject(response.data);
15863
+ }
15835
15864
  }
15836
15865
  else {
15837
15866
  if (this.crudForm) {
@@ -15937,8 +15966,28 @@ class DataFormBase extends ComponentBaseWithButton {
15937
15966
  }
15938
15967
  }
15939
15968
  this.disableBuildInField();
15969
+ if (this.logSetting.isEnableLog) {
15970
+ this.getLogValueAfterLoadDetail();
15971
+ }
15940
15972
  });
15941
15973
  }
15974
+ getLogValueAfterLoadDetail() {
15975
+ setTimeout(() => {
15976
+ var _a;
15977
+ for (const controlName of Object.keys(this.formControls)) {
15978
+ const control = this.crudForm.formControls[controlName];
15979
+ if (controlName.includes('.') || ((_a = this.crudForm.formControls[controlName]) === null || _a === void 0 ? void 0 : _a.hidden) === true
15980
+ || !(control instanceof AutoCompletePickerControlSchema))
15981
+ continue;
15982
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
15983
+ column: control.label,
15984
+ valueBefore: control._component.dataSource.map(p => p.label).join(', '),
15985
+ visible: false,
15986
+ valueAfter: ''
15987
+ }));
15988
+ }
15989
+ }, 2000);
15990
+ }
15942
15991
  fixDateValue(control, parentModel, parentPath) {
15943
15992
  let _parentPath = control.field;
15944
15993
  if (parentPath != null)
@@ -16031,10 +16080,152 @@ class DataFormBase extends ComponentBaseWithButton {
16031
16080
  _triggerSave() {
16032
16081
  this.save();
16033
16082
  }
16083
+ onAfterGetLogValue() {
16084
+ return __awaiter(this, void 0, void 0, function* () {
16085
+ });
16086
+ }
16087
+ getSingleLabel(control, dataSource, valueParam) {
16088
+ let result = dataSource.find(p => p.value[control.valueField] == valueParam);
16089
+ if (!!result) {
16090
+ const funcGetLabel = control.funcGetLabel;
16091
+ if (funcGetLabel) {
16092
+ result = funcGetLabel(result.value);
16093
+ }
16094
+ }
16095
+ else {
16096
+ result = this.logSetting.emptyValue;
16097
+ }
16098
+ return result;
16099
+ }
16100
+ getMultipleLabel(control, dataSource, valueParam) {
16101
+ try {
16102
+ if (valueParam.some(p => p == Number(p))) {
16103
+ valueParam = valueParam.map(p => Number(p));
16104
+ }
16105
+ }
16106
+ catch (_a) { }
16107
+ let result = dataSource
16108
+ .filter(p => valueParam.includes(p.value[control.valueField]))
16109
+ .map(p => control.funcGetLabel(p.value))
16110
+ .join(', ');
16111
+ if (!result) {
16112
+ result = this.logSetting.emptyValue;
16113
+ }
16114
+ return result;
16115
+ }
16116
+ addSinglePropertyLog(control, oldValue, newValue) {
16117
+ if (control instanceof AutoCompletePickerControlSchema) {
16118
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.column == control.label);
16119
+ let dataSource = control._component.selectedValueObject;
16120
+ if (!Array.isArray(dataSource))
16121
+ dataSource = [dataSource];
16122
+ logColumn.visible = true;
16123
+ logColumn.valueAfter = this.getSingleLabel(control, dataSource, newValue);
16124
+ }
16125
+ else {
16126
+ const dataSource = control._component.dataSourceInternal;
16127
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16128
+ column: control.label,
16129
+ valueBefore: this.getSingleLabel(control, dataSource, oldValue),
16130
+ valueAfter: this.getSingleLabel(control, dataSource, newValue)
16131
+ }));
16132
+ }
16133
+ }
16134
+ addMultiplePropertyLog(control, oldValue, newValue) {
16135
+ if (control instanceof AutoCompletePickerControlSchema) {
16136
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.column == control.label);
16137
+ logColumn.visible = true;
16138
+ logColumn.valueAfter = this.getMultipleLabel(control, control._component.selectedValueObject, newValue);
16139
+ }
16140
+ else {
16141
+ const dataSource = control._component.dataSourceInternal;
16142
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16143
+ column: control.label,
16144
+ valueBefore: this.getMultipleLabel(control, dataSource, oldValue),
16145
+ valueAfter: this.getMultipleLabel(control, dataSource, newValue)
16146
+ }));
16147
+ }
16148
+ }
16149
+ getLogValueDefault(control, oldValue, newValue) {
16150
+ var _a, _b;
16151
+ const isNullOldValue = this.isNullOrEmpty(oldValue);
16152
+ const isNullNewValue = this.isNullOrEmpty(newValue);
16153
+ if (control instanceof DateTimeControlSchema) {
16154
+ const format = control.showTime ? 'HH:mm dd/MM/yyyy' : 'dd/MM/yyyy';
16155
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : this._datePipe.transform(oldValue, format);
16156
+ newValue = isNullNewValue ? this.logSetting.emptyValue : this._datePipe.transform(newValue, format);
16157
+ }
16158
+ else if (control instanceof MaskControlSchema) {
16159
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : this._numberPipe.transform(oldValue, '', 'vi-VN');
16160
+ newValue = isNullNewValue ? this.logSetting.emptyValue : this._numberPipe.transform(newValue, '', 'vi-VN');
16161
+ }
16162
+ else if (control instanceof CheckboxControlSchema || control instanceof SwitchControlSchema) {
16163
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : (_a = DataSourceBoolean.find(p => p.id == oldValue)) === null || _a === void 0 ? void 0 : _a.ten;
16164
+ newValue = isNullNewValue ? this.logSetting.emptyValue : (_b = DataSourceBoolean.find(p => p.id == newValue)) === null || _b === void 0 ? void 0 : _b.ten;
16165
+ }
16166
+ return [oldValue, newValue];
16167
+ }
16168
+ getLogValue() {
16169
+ var _a;
16170
+ try {
16171
+ const cloneModel = this._commonService.cloneObject(this.model.data);
16172
+ for (const controlName of Object.keys(this.formControls)) {
16173
+ if (controlName.includes('.') || ((_a = this.crudForm.formControls[controlName]) === null || _a === void 0 ? void 0 : _a.hidden) === true)
16174
+ continue;
16175
+ const control = this.formControls[controlName];
16176
+ const oldValue = this.logSetting.valueBeforeUpdate[control.field];
16177
+ const newValue = cloneModel[control.field];
16178
+ const isMultiple = Array.isArray(oldValue);
16179
+ if (!this.isNullOrEmpty(oldValue) || !this.isNullOrEmpty(newValue)) {
16180
+ if (control instanceof DropdownControlSchema || control instanceof AutoCompletePickerControlSchema) {
16181
+ if (!isMultiple && oldValue != newValue) {
16182
+ this.addSinglePropertyLog(control, oldValue, newValue);
16183
+ }
16184
+ else if (isMultiple && !this._commonService.isSameArray(oldValue, newValue)) {
16185
+ this.addMultiplePropertyLog(control, oldValue, newValue);
16186
+ }
16187
+ }
16188
+ else {
16189
+ if (oldValue != newValue) {
16190
+ const [valueBefore, valueAfter] = this.getLogValueDefault(control, oldValue, newValue);
16191
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16192
+ column: control.label,
16193
+ valueBefore: valueBefore,
16194
+ valueAfter: valueAfter,
16195
+ isHtml: (control instanceof EditorControlSchema || control instanceof TextAreaControlSchema)
16196
+ }));
16197
+ }
16198
+ }
16199
+ }
16200
+ }
16201
+ }
16202
+ catch (_b) {
16203
+ console.error('----log data fail----');
16204
+ }
16205
+ }
16206
+ isNullOrEmpty(input) {
16207
+ if (input !== undefined && input !== null) {
16208
+ if (Array.isArray(input)) {
16209
+ return input.length ? false : true;
16210
+ }
16211
+ if (input.toString().trim() !== '') {
16212
+ return false;
16213
+ }
16214
+ }
16215
+ return true;
16216
+ }
16034
16217
  save() {
16035
16218
  return __awaiter(this, void 0, void 0, function* () {
16036
16219
  const validated = yield this.validateFormBase();
16037
16220
  if (validated) {
16221
+ if (this.logSetting.isEnableLog) {
16222
+ if (!this.logSetting.isCustomAll) {
16223
+ yield this.getLogValue();
16224
+ }
16225
+ // cấu hình thêm
16226
+ yield this.onAfterGetLogValue();
16227
+ this.model.data.logMetaData = JSON.stringify(this.logSetting.arrValueAfterUpdate.filter(p => p.visible));
16228
+ }
16038
16229
  yield this.onBeforeSave();
16039
16230
  this.triggerSaveFileUpload();
16040
16231
  if (this.autoSave) {
@@ -16205,6 +16396,9 @@ class DataFormBase extends ComponentBaseWithButton {
16205
16396
  this.model.submitting = false;
16206
16397
  this.showMessageAfterUpdate(false, error);
16207
16398
  });
16399
+ if (this.logSetting.isEnableLog) {
16400
+ this.logSetting.arrValueAfterUpdate = [];
16401
+ }
16208
16402
  });
16209
16403
  }
16210
16404
  handleUpdateError() {
@@ -23865,7 +24059,7 @@ class ListBase extends ComponentBaseWithButton {
23865
24059
  const lstHeader = ['TT'];
23866
24060
  const fieldSchemaMap = new Map(this.setting.modelSchemas.map(schema => [schema.field, schema.name]));
23867
24061
  lstVisibleField.forEach(field => {
23868
- const schemaName = fieldSchemaMap.get(field) || fieldSchemaMap.get(field.slice(3)) || "";
24062
+ const schemaName = fieldSchemaMap.get(field) || fieldSchemaMap.get(field.slice(3)) || '';
23869
24063
  lstHeader.push(schemaName);
23870
24064
  });
23871
24065
  const printData = [
@@ -48715,5 +48909,5 @@ class Pair {
48715
48909
  * Generated bundle index. Do not edit.
48716
48910
  */
48717
48911
 
48718
- export { AccessDeniedComponent, Action, ActionChoYKienBase, ActionThuHoiBase, ActionUpdateModel, AddressControlSchema, AddressService, AdvanceSearchData, AdvanceSearchSetting, AfterViewCheckedComponent, AnnouncementReadsService, AnnouncementsService, AppComponentBase, AppListService, ApplicationContextService, ApprovalPipe, ArrayPair, AtLeastOneRowTableValidator, AuthenService, AuthorizeDirective, AutoCompleteControlSchema, AutoCompletePickerControlSchema, AutocompleteDatasourceComponent, AvatarUploaderComponent, BaseMenuService, BaseModule, BaseService, BooleanFormatPipe, ButtonAction, ButtonControlSchema, ButtonPermission, ButtonPermissions, ButtonTextActionCongViec, CONFIG_CALENDAR_VIETNAMESE, CalculationEngineService, CanBoHoSoService, CanBo_HoSo_CoCauToChucService, CauHinhWorkflowService, CccdValidator, CellExcel, ChatBoxComponent, ChatSendMessageBoxComponent, CheckBoxListControlSchema, CheckControlVisibleService, CheckDuplicateFieldsValidator, CheckDuplicateValidator, CheckboxControlSchema, ChipsControlSchema, ClientV5Service, CoCauToChucControlSchema, CoCauToChucNewService, CoCauToChucPickerComponent, CoCauToChucPickerControlSchema, CoCauToChucPickerControlSchemaNew, CoCauToChucService, CodeValidator, ColorBlack, ColorControlSchema, ColorPickerControlSchema, ColorWhite, Column, ColumnSchemaBase, ColumnSetting, ColumnSettingDetail, ComCtxConstants, CommandType, CommonDashboardComponent, CommonErrorCode, CommonLibComponent, CommonSearchFormComponent, CommonService, CompareValidator, ComponentBase, ComponentBaseWithButton, ComponentConstants, ComponentContextService, ConditionalBuilderService, CongViecPickerControlSchema, CongViecService, ContainerSchema, ControlTreeNode, ControlType, ConvertMoneyToWordPipe, CoreConfigService, CrudBase, CrudFormComponent, CrudFormCustomFunction, CrudFormData, CrudFormSetting, CrudListComponent, CrudListConfig, CrudListCustomFunction, CrudListData, CrudListHelper, CrudListSetting, CrudService, CustomControlSchema, CustomRouterService, CustomizeUiModel, CustomizeUiService, DanhmucApiService, DataExcel, DataFormBase, DataListBase, DataSourceControlSchema, DataSourceGioiTinh, DataSourcePermissionBase, DataSourceWorkflowCoreStatus, DataType, DateCompareValidator, DateTimeControlSchema, DateTimeRangeControlSchema, DbOrganizationOrganizationService, DbOrganizationPositionService, Deadline, DeadlineType, DhvinhGuardService, DialogModel, DmChucVuService, DmLoaiCongViecService, DomService, DownloadLinkService, DropdownComponent, DropdownControlSchema, DropdownOptions, DummyWorkflowCode, DynamicComponentService, ENUM_DON_VI_HANH_CHINH, EXPLORER_TYPES, EXPORT_VERSION_V4, EXPORT_VERSION_V5, EditFileCommand, EditorControlSchema, EformService, EmailValidator, EntityMedataDataSetting, EntityMetadataService, EntityPickerColumn, EntityPickerControlSchema, EntityWorkflowHistoryService, EntityWorkflowType, EnumActionType, EnumAppSwitcherCode, EnumCanBo, EnumControlPickerType, EnumDoiTuongGuiThongBaoNguoiDung, EnumFileLayout, EnumGetRefType, EnumGioiTinh, EnumHocHamHocVi, EnumLoaiVanBanBase$1 as EnumLoaiVanBanBase, EnumNotificationAction, EnumPermissionType, EnumProcessWorkflowType, EnumProperties, EnumStateType, EnumTargetType, EnumTypeSplash, EnumUserRule, EnumUserSource, EnumWFNhomTrangThai, EnumWorkflowCheckboxOption, EnumWorkflowCoreCodeSettingKey, EnumWorkflowHistoryStatus, ErrorType, EventData, EventType, ExactOneValueInTableValidator, ExportAllMode, ExportItem, ExportItemType, ExportItemsMode, ExportManyModel, ExportManyResultModel, ExportModel, ExportService, ExportWithoutTemplateModel, Extension, ExtensionsConst, FILE_TYPES, FederationService, FieldCheckboxCrudList, FieldColExpandCrudList, FieldColReorderCrudList, FieldDefineHasTask, FieldDefineIsTaskFormControl, FieldDefineIsWorkflowControl, FieldFunctionCrudList, FieldIndexInDataSource, FieldOrderCrudList, FieldRowSpan, FieldWorkflowCodeInCrudForm, FileDataService, FileExplorerService, FileExtensions, FileManagerComponent, FileManagerControlSchema, FileManagerMode, FileManagerSetting, FileObjectService, FilePickerDialogComponent, FilePickerSetting, FileType, FileTypeFlag, FileUploadComponent, FileUploadControlSchema, FileUploadMode, FileUploadSetting, FileV4Service, Filter, FolderService, FormControlBase, FormControlBaseWithService, FormSchemaBase, FormSchemaBaseWithService, FormState, Gender, GenerateLinkDownloadDTO, GenericGuardChildService, GenericGuardService, GlobalService, GmailCorrector, GridInfo, GuardService, GuardSvService, HeightType, HighPerformanceService, HighlightPipe, HoSoDoiTacService, HtmlFormatPipe, HtmlPreviewControlSchema, HttpOptions, ImageService, ImageUploaderControlSchema, Include, KeyFieldGetRefType, KeyFilterStateByMenuCongViec, KeyFlashShow, KeyFunctionReload, KeyValueComponent, KeyValueControlSchema, LabelSchema, LabelWFNhomTrangThai, LabelWorkflowCoreStatus, LatexService, LengthValidator, ListHelperService, LoaiPhieuDeXuat, LocalCacheService, LowerCorrector, LstEmailValidator, MA_THONG_BAO_PHAN_HE, MaActionBatDauQuyTrinh, ManagerType, MaskControlSchema, MasterDataItem, MasterDataPipe, MasterDataService, MenuService, MenuSource, MergeConfigModel, MethodResult, ModelKySoDonVi, ModelSchema, ModuleConfigService, MultiTranslateHttpLoader, MultipleReferenceDataFormatPipe, NameValidator, NotificationObjectType, NotificationParams, NotificationService, NotifierService, NotifierType, NumberCompareValidator, NumberOnlyValidator, NumberRangeControlSchema, Operator, OrganizationFormatPipe, OrganizationNameFormatPipe, OrganizationPickerControlSchema, OrganizationService, OrganizationsFormatPipe, PageInfo, PageSetting, Pair, PassportValidator, PasswordValidator, Pattern, PercentControlSchema, PermissionBase, PermissionConstant, PermissionName, PermissionService, PermissionStorage, PermissionTypes, PermissionUtilsComponent, PersonalSetting, PhanQuyenModel, PhoneNumberValidator, PhoneValidator, PopupSize, PositionService, PrintService, PublicFunction, QueryBuilderComponent, QueryBuilderGroupComponent, QueryBuilderRuleComponent, QueryGroup, QueryRule, RELOAD_FILE_LIST, RadioButtonListControlSchema, RandomDataService, RefField, ReferenceDataFormatPipe, ReferenceTextControlSchema, RegexSplitFieldByItem, ReponseResult, RequiredFieldsValidator, RequiredValidator, RowColorOption, RowExcel, SEND_ACTION, SHARE_COMPONENT_ID, SHARE_EVENT, SafeHtmlPipe, SafeStylePipe, SafeUrlPipe, SameValueValidator, ScalarValueValidator, SchemaBase, SecurePipe, ServiceFileUploadComponent, ServiceRequestModel, ServiceRequestModelV5, SessionTypes, SharedFolderType, SignalRService, SimpleDicItem, SimpleDictionary, Sort, SortDirs, SpanControlSchema, SplashComponentComponent, StartupBusinessComponentBase, StateMachinesService, Status, StatusAction, StatusGroup, StatusOption, StatusOrg, StatusUser, StorageService, StorageUpdatedService, StringCompareOption, StringFormatPipe, SummaryPipe, SwitchControlSchema, TBL_DM_COSODAOTAO_CONSTS, TBL_DM_PHONGHOC_CONSTS, TBL_KTX_NGUOITHUE_HOSO, TBL_TS_PHIEUDEXUAT, TBL_TS_TAISANCODINH_CONSTS, TabViewData, TableSchema, TagSeparator, TaiLieuComponent, TaxCodeValidator, TemplateConstant, TemplateControlSchema, TemplateInstanceService, TemplateService, TemplateTextItem, TemplateTextMany, TemplateTextService, TemplateTextV4Service, TemplateType, TemplateV4Service, TenContainer, TextAlign, TextAreaControlSchema, TextControlSchema, TextControlSchemaWithService, TitleSchema, TnClientCommand, TnClientService, TnComponentConfig, TnCustomScrollbarComponent, TnDatePipe, TnMenu, TnMenuItem, TnReorderableColumnDirective, TnReorderableRowDirective, TnSortIcon, TnSortableColumnDirective, TnTreeTableToggler, TnUser, TnxSharedModule, TopicReloadCongViecV5, TopicReloadCountCongViecV5, TopicReloadNotification, TrangThaiMasterData, TrangThais, TreeDataOption, TreeListBase, TreeNode, TrimCorrector, TrimEndCorrector, TrimStartCorrector, TypeDanhMucAPI, UniqueFieldInTableValidator, UniqueNumberService, UpperCorrector, UserGroupRealService, UserGroupService, UserOnlineDetailsService, UserPickerControlSchema, UserPickerDialogComponent, UserPublicInfo, UserService, UserType, UserV5Service, Validation, ValueType, VanBanPickerControlSchema, ViewContainerRefDirective, VirtualBaseService, WfAction, WfItem, WfMachine, WfSchema, WorkflowConfigAdvance, WorkflowCoreStatusEnum, WorkflowFieldStateCode, WorkflowHistoryService, WorkflowPermissionDetailService, WorkflowService, WorkflowSetting, WorkflowSettingNew, WorkflowSettingsService, WorkflowTargetDefaultValue, WrapPickerControlSchema, addDay, addZero, appendDefaultFilter, clearAll, clone, cloneOld, coreDeclaration, coreModuleImport, coreProvider, dataSourceIcon, dateDiff, fileTypeSource, genQueryFromFilters, getDateFromStringDateVN, getDayOfWeek, getEnvironmentByName, getEnvironmentData, getListMenuByName, getMenuData, getMonday, getStringDate, getStringDateTime, getStringDateVN, getStringDateVNLocal, getTimeSpan, isArray, isBoolean, isDate, isFunction, isLiteralObject, isNumber, isObjectOld, isRegular, isSimpleType, isString, isValidDate, isValidTime, keyUserSurveyLocal, loadRemoteModule, loadRemotePageModule, mapProperty, maximumPageSize, mergeJSON, mergeJSONOld, moduleConfigFunc, monthDiff, multipleSort, romanize, ɵ1$1 as ɵ1, ɵ2$1 as ɵ2, ɵ3, ɵ4, LoggerService as ɵa, DropdownService as ɵb, ImageUploaderComponent as ɵba, CheckBoxListComponent as ɵbb, CoCauToChucPickerListComponent as ɵbc, CoCauToChucPickerListNewComponent as ɵbd, FormBuilderComponent as ɵbe, DatetimePickerComponent as ɵbf, DatetimePickerRangeComponent as ɵbg, EntityPickerBoxComponent as ɵbh, EntityPickerDataComponent as ɵbi, EntityPickerSelectedComponent as ɵbj, EntityPickerComponent as ɵbk, EntityPickerSearchFormComponent as ɵbl, EntityPickerDialogComponent as ɵbm, EntityPickerTreeDataComponent as ɵbn, EntityPickerTreeSelectedComponent as ɵbo, EntityPermissionComponent as ɵbp, EquationEditorComponent as ɵbq, MaskComponent as ɵbr, NumberPickerRangeComponent as ɵbs, PagingNextBackOnlyComponent as ɵbt, RadioButtonListComponent as ɵbu, VanBanPickerComponent as ɵbv, VanBanDenService as ɵbw, VanBanDiService as ɵbx, VanBanPickerDialogComponent as ɵby, VanbanDiPickerComponent as ɵbz, EntityPickerService as ɵc, VanbanDenPickerComponent as ɵca, CongViecPickerComponent as ɵcb, SettingsComponent as ɵcc, SettingsRowComponent as ɵcd, ShareLinkByPermissionComponent as ɵce, TnCheckboxComponent as ɵcf, TnDialogComponent as ɵcg, TnColorPickerComponent as ɵch, TnTinymceComponent as ɵci, TnTabViewComponent as ɵcj, TableDetailFormComponent as ɵck, FileIconPipe as ɵcl, FileSizePipe as ɵcm, QuickAddFormComponent as ɵcn, PreventShiftTabDirective as ɵco, TnTemplateDirective as ɵcp, UserPickerComponent as ɵcq, UserPickerBoxComponent as ɵcr, CoCauToChucTestService as ɵcs, TnAppHelpComponent as ɵct, PathNameService as ɵcu, HelperCurrentPageComponent as ɵcv, TnAppNotificationListComponent as ɵcw, TnAppNotificationComponent as ɵcx, FolderFormComponent as ɵcy, FileFormComponent as ɵcz, ExceptionHandlerService as ɵd, FileViewerComponent as ɵda, FileVersionListComponent as ɵdb, ViewDetailComponent as ɵdc, ReferenceTextBoxComponent as ɵdd, QrCodeGeneratorComponent as ɵde, ThongBaoComponent as ɵdf, AddNewsComponent as ɵdg, ArticleService as ɵdh, NewsCategoryService as ɵdi, UniversalLinkProcessorComponent as ɵdj, SignatureDetailComponent as ɵdk, KySoSimDanhSachChuKyComponent as ɵdl, KySoSimChuKyUserService as ɵdm, FileKySoSimComponent as ɵdn, KySoSimSignPDFService as ɵdo, TaiLieuCuaToiComponent as ɵdp, KhaiThacTaiLieuDungChungComponent as ɵdq, DanhMucDungChungService as ɵdr, TnTemplateComponent as ɵds, DropdownSettingFormComponent as ɵdt, CheckReadyComponent as ɵdu, TnAccordionTabComponent as ɵdv, SettingsWorkflowComponent as ɵdw, SettingAuthorizeButtonComponent as ɵdx, BasePermissionService as ɵdy, SettingsWorkflowNo1Component as ɵdz, ListBase as ɵe, HtmlPreviewComponent as ɵea, AUTOCOMPLETE_VALUE_ACCESSOR as ɵeb, AutoComplete as ɵec, AutoCompleteModule as ɵed, ListComponentBase as ɵf, TreeTableComponent as ɵg, NotFoundComponent as ɵh, SendAccessTokenInterceptor as ɵi, LogInterceptor as ɵj, PermissionUtilsInterceptor as ɵk, TraceInterceptor as ɵl, EntityPermissionService as ɵm, ChatService as ɵn, MyDriveService as ɵo, ContentsService as ɵp, StatusExtendsService as ɵq, MessageBoardService as ɵr, FileExplorerNewService as ɵs, FileVersionService as ɵt, FileManagerService as ɵu, DM_ChucVuService as ɵv, RoleService as ɵw, AddressComponent as ɵx, AdvanceSearchComponent as ɵy, AutoCompletePickerComponent as ɵz };
48912
+ export { AccessDeniedComponent, Action, ActionChoYKienBase, ActionThuHoiBase, ActionUpdateModel, AddressControlSchema, AddressService, AdvanceSearchData, AdvanceSearchSetting, AfterViewCheckedComponent, AnnouncementReadsService, AnnouncementsService, AppComponentBase, AppListService, ApplicationContextService, ApprovalPipe, ArrayPair, AtLeastOneRowTableValidator, AuthenService, AuthorizeDirective, AutoCompleteControlSchema, AutoCompletePickerControlSchema, AutocompleteDatasourceComponent, AvatarUploaderComponent, BaseMenuService, BaseModule, BaseService, BooleanFormatPipe, ButtonAction, ButtonControlSchema, ButtonPermission, ButtonPermissions, ButtonTextActionCongViec, CONFIG_CALENDAR_VIETNAMESE, CalculationEngineService, CanBoHoSoService, CanBo_HoSo_CoCauToChucService, CauHinhWorkflowService, CccdValidator, CellExcel, ChatBoxComponent, ChatSendMessageBoxComponent, CheckBoxListControlSchema, CheckControlVisibleService, CheckDuplicateFieldsValidator, CheckDuplicateValidator, CheckboxControlSchema, ChipsControlSchema, ClientV5Service, CoCauToChucControlSchema, CoCauToChucNewService, CoCauToChucPickerComponent, CoCauToChucPickerControlSchema, CoCauToChucPickerControlSchemaNew, CoCauToChucService, CodeValidator, ColorBlack, ColorControlSchema, ColorPickerControlSchema, ColorWhite, Column, ColumnSchemaBase, ColumnSetting, ColumnSettingDetail, ComCtxConstants, CommandType, CommonDashboardComponent, CommonErrorCode, CommonLibComponent, CommonSearchFormComponent, CommonService, CompareValidator, ComponentBase, ComponentBaseWithButton, ComponentConstants, ComponentContextService, ConditionalBuilderService, CongViecPickerControlSchema, CongViecService, ContainerSchema, ControlTreeNode, ControlType, ConvertMoneyToWordPipe, CoreConfigService, CrudBase, CrudFormComponent, CrudFormCustomFunction, CrudFormData, CrudFormSetting, CrudListComponent, CrudListConfig, CrudListCustomFunction, CrudListData, CrudListHelper, CrudListSetting, CrudService, CustomControlSchema, CustomRouterService, CustomizeUiModel, CustomizeUiService, DanhmucApiService, DataExcel, DataFormBase, DataListBase, DataSourceBoolean, DataSourceControlSchema, DataSourceGioiTinh, DataSourcePermissionBase, DataSourceWorkflowCoreStatus, DataType, DateCompareValidator, DateTimeControlSchema, DateTimeRangeControlSchema, DbOrganizationOrganizationService, DbOrganizationPositionService, Deadline, DeadlineType, DhvinhGuardService, DialogModel, DmChucVuService, DmLoaiCongViecService, DomService, DownloadLinkService, DropdownComponent, DropdownControlSchema, DropdownOptions, DummyWorkflowCode, DynamicComponentService, ENUM_DON_VI_HANH_CHINH, EXPLORER_TYPES, EXPORT_VERSION_V4, EXPORT_VERSION_V5, EditFileCommand, EditorControlSchema, EformService, EmailValidator, EntityMedataDataSetting, EntityMetadataService, EntityPickerColumn, EntityPickerControlSchema, EntityWorkflowHistoryService, EntityWorkflowType, EnumActionType, EnumAppSwitcherCode, EnumCanBo, EnumControlPickerType, EnumDoiTuongGuiThongBaoNguoiDung, EnumFileLayout, EnumGetRefType, EnumGioiTinh, EnumHocHamHocVi, EnumLoaiVanBanBase$1 as EnumLoaiVanBanBase, EnumNotificationAction, EnumPermissionType, EnumProcessWorkflowType, EnumProperties, EnumStateType, EnumTargetType, EnumTypeSplash, EnumUserRule, EnumUserSource, EnumWFNhomTrangThai, EnumWorkflowCheckboxOption, EnumWorkflowCoreCodeSettingKey, EnumWorkflowHistoryStatus, ErrorType, EventData, EventType, ExactOneValueInTableValidator, ExportAllMode, ExportItem, ExportItemType, ExportItemsMode, ExportManyModel, ExportManyResultModel, ExportModel, ExportService, ExportWithoutTemplateModel, Extension, ExtensionsConst, FILE_TYPES, FederationService, FieldCheckboxCrudList, FieldColExpandCrudList, FieldColReorderCrudList, FieldDefineHasTask, FieldDefineIsTaskFormControl, FieldDefineIsWorkflowControl, FieldFunctionCrudList, FieldIndexInDataSource, FieldOrderCrudList, FieldRowSpan, FieldWorkflowCodeInCrudForm, FileDataService, FileExplorerService, FileExtensions, FileManagerComponent, FileManagerControlSchema, FileManagerMode, FileManagerSetting, FileObjectService, FilePickerDialogComponent, FilePickerSetting, FileType, FileTypeFlag, FileUploadComponent, FileUploadControlSchema, FileUploadMode, FileUploadSetting, FileV4Service, Filter, FolderService, FormControlBase, FormControlBaseWithService, FormSchemaBase, FormSchemaBaseWithService, FormState, Gender, GenerateLinkDownloadDTO, GenericGuardChildService, GenericGuardService, GlobalService, GmailCorrector, GridInfo, GuardService, GuardSvService, HeightType, HighPerformanceService, HighlightPipe, HoSoDoiTacService, HtmlFormatPipe, HtmlPreviewControlSchema, HttpOptions, ImageService, ImageUploaderControlSchema, Include, KeyFieldGetRefType, KeyFilterStateByMenuCongViec, KeyFlashShow, KeyFunctionReload, KeyValueComponent, KeyValueControlSchema, LabelSchema, LabelWFNhomTrangThai, LabelWorkflowCoreStatus, LatexService, LengthValidator, ListHelperService, LoaiPhieuDeXuat, LocalCacheService, LogColumn, LogSetting, LowerCorrector, LstEmailValidator, MA_THONG_BAO_PHAN_HE, MaActionBatDauQuyTrinh, ManagerType, MaskControlSchema, MasterDataItem, MasterDataPipe, MasterDataService, MenuService, MenuSource, MergeConfigModel, MethodResult, ModelKySoDonVi, ModelSchema, ModuleConfigService, MultiTranslateHttpLoader, MultipleReferenceDataFormatPipe, NameValidator, NotificationObjectType, NotificationParams, NotificationService, NotifierService, NotifierType, NumberCompareValidator, NumberOnlyValidator, NumberRangeControlSchema, Operator, OrganizationFormatPipe, OrganizationNameFormatPipe, OrganizationPickerControlSchema, OrganizationService, OrganizationsFormatPipe, PageInfo, PageSetting, Pair, PassportValidator, PasswordValidator, Pattern, PercentControlSchema, PermissionBase, PermissionConstant, PermissionName, PermissionService, PermissionStorage, PermissionTypes, PermissionUtilsComponent, PersonalSetting, PhanQuyenModel, PhoneNumberValidator, PhoneValidator, PopupSize, PositionService, PrintService, PublicFunction, QueryBuilderComponent, QueryBuilderGroupComponent, QueryBuilderRuleComponent, QueryGroup, QueryRule, RELOAD_FILE_LIST, RadioButtonListControlSchema, RandomDataService, RefField, ReferenceDataFormatPipe, ReferenceTextControlSchema, RegexSplitFieldByItem, ReponseResult, RequiredFieldsValidator, RequiredValidator, RowColorOption, RowExcel, SEND_ACTION, SHARE_COMPONENT_ID, SHARE_EVENT, SafeHtmlPipe, SafeStylePipe, SafeUrlPipe, SameValueValidator, ScalarValueValidator, SchemaBase, SecurePipe, ServiceFileUploadComponent, ServiceRequestModel, ServiceRequestModelV5, SessionTypes, SharedFolderType, SignalRService, SimpleDicItem, SimpleDictionary, Sort, SortDirs, SpanControlSchema, SplashComponentComponent, StartupBusinessComponentBase, StateMachinesService, Status, StatusAction, StatusGroup, StatusOption, StatusOrg, StatusUser, StorageService, StorageUpdatedService, StringCompareOption, StringFormatPipe, SummaryPipe, SwitchControlSchema, TBL_DM_COSODAOTAO_CONSTS, TBL_DM_PHONGHOC_CONSTS, TBL_KTX_NGUOITHUE_HOSO, TBL_TS_PHIEUDEXUAT, TBL_TS_TAISANCODINH_CONSTS, TabViewData, TableSchema, TagSeparator, TaiLieuComponent, TaxCodeValidator, TemplateConstant, TemplateControlSchema, TemplateInstanceService, TemplateService, TemplateTextItem, TemplateTextMany, TemplateTextService, TemplateTextV4Service, TemplateType, TemplateV4Service, TenContainer, TextAlign, TextAreaControlSchema, TextControlSchema, TextControlSchemaWithService, TitleSchema, TnClientCommand, TnClientService, TnComponentConfig, TnCustomScrollbarComponent, TnDatePipe, TnMenu, TnMenuItem, TnReorderableColumnDirective, TnReorderableRowDirective, TnSortIcon, TnSortableColumnDirective, TnTreeTableToggler, TnUser, TnxSharedModule, TopicReloadCongViecV5, TopicReloadCountCongViecV5, TopicReloadNotification, TrangThaiMasterData, TrangThais, TreeDataOption, TreeListBase, TreeNode, TrimCorrector, TrimEndCorrector, TrimStartCorrector, TypeDanhMucAPI, UniqueFieldInTableValidator, UniqueNumberService, UpperCorrector, UserGroupRealService, UserGroupService, UserOnlineDetailsService, UserPickerControlSchema, UserPickerDialogComponent, UserPublicInfo, UserService, UserType, UserV5Service, Validation, ValueType, VanBanPickerControlSchema, ViewContainerRefDirective, VirtualBaseService, WfAction, WfItem, WfMachine, WfSchema, WorkflowConfigAdvance, WorkflowCoreStatusEnum, WorkflowFieldStateCode, WorkflowHistoryService, WorkflowPermissionDetailService, WorkflowService, WorkflowSetting, WorkflowSettingNew, WorkflowSettingsService, WorkflowTargetDefaultValue, WrapPickerControlSchema, addDay, addZero, appendDefaultFilter, clearAll, clone, cloneOld, coreDeclaration, coreModuleImport, coreProvider, dataSourceIcon, dateDiff, fileTypeSource, genQueryFromFilters, getDateFromStringDateVN, getDayOfWeek, getEnvironmentByName, getEnvironmentData, getListMenuByName, getMenuData, getMonday, getStringDate, getStringDateTime, getStringDateVN, getStringDateVNLocal, getTimeSpan, isArray, isBoolean, isDate, isFunction, isLiteralObject, isNumber, isObjectOld, isRegular, isSimpleType, isString, isValidDate, isValidTime, keyUserSurveyLocal, loadRemoteModule, loadRemotePageModule, mapProperty, maximumPageSize, mergeJSON, mergeJSONOld, moduleConfigFunc, monthDiff, multipleSort, romanize, ɵ1$1 as ɵ1, ɵ2$1 as ɵ2, ɵ3, ɵ4, LoggerService as ɵa, DropdownService as ɵb, ImageUploaderComponent as ɵba, CheckBoxListComponent as ɵbb, CoCauToChucPickerListComponent as ɵbc, CoCauToChucPickerListNewComponent as ɵbd, FormBuilderComponent as ɵbe, DatetimePickerComponent as ɵbf, DatetimePickerRangeComponent as ɵbg, EntityPickerBoxComponent as ɵbh, EntityPickerDataComponent as ɵbi, EntityPickerSelectedComponent as ɵbj, EntityPickerComponent as ɵbk, EntityPickerSearchFormComponent as ɵbl, EntityPickerDialogComponent as ɵbm, EntityPickerTreeDataComponent as ɵbn, EntityPickerTreeSelectedComponent as ɵbo, EntityPermissionComponent as ɵbp, EquationEditorComponent as ɵbq, MaskComponent as ɵbr, NumberPickerRangeComponent as ɵbs, PagingNextBackOnlyComponent as ɵbt, RadioButtonListComponent as ɵbu, VanBanPickerComponent as ɵbv, VanBanDenService as ɵbw, VanBanDiService as ɵbx, VanBanPickerDialogComponent as ɵby, VanbanDiPickerComponent as ɵbz, EntityPickerService as ɵc, VanbanDenPickerComponent as ɵca, CongViecPickerComponent as ɵcb, SettingsComponent as ɵcc, SettingsRowComponent as ɵcd, ShareLinkByPermissionComponent as ɵce, TnCheckboxComponent as ɵcf, TnDialogComponent as ɵcg, TnColorPickerComponent as ɵch, TnTinymceComponent as ɵci, TnTabViewComponent as ɵcj, TableDetailFormComponent as ɵck, FileIconPipe as ɵcl, FileSizePipe as ɵcm, QuickAddFormComponent as ɵcn, PreventShiftTabDirective as ɵco, TnTemplateDirective as ɵcp, UserPickerComponent as ɵcq, UserPickerBoxComponent as ɵcr, CoCauToChucTestService as ɵcs, TnAppHelpComponent as ɵct, PathNameService as ɵcu, HelperCurrentPageComponent as ɵcv, TnAppNotificationListComponent as ɵcw, TnAppNotificationComponent as ɵcx, FolderFormComponent as ɵcy, FileFormComponent as ɵcz, ExceptionHandlerService as ɵd, FileViewerComponent as ɵda, FileVersionListComponent as ɵdb, ViewDetailComponent as ɵdc, ReferenceTextBoxComponent as ɵdd, QrCodeGeneratorComponent as ɵde, ThongBaoComponent as ɵdf, AddNewsComponent as ɵdg, ArticleService as ɵdh, NewsCategoryService as ɵdi, UniversalLinkProcessorComponent as ɵdj, SignatureDetailComponent as ɵdk, KySoSimDanhSachChuKyComponent as ɵdl, KySoSimChuKyUserService as ɵdm, FileKySoSimComponent as ɵdn, KySoSimSignPDFService as ɵdo, TaiLieuCuaToiComponent as ɵdp, KhaiThacTaiLieuDungChungComponent as ɵdq, DanhMucDungChungService as ɵdr, TnTemplateComponent as ɵds, DropdownSettingFormComponent as ɵdt, CheckReadyComponent as ɵdu, TnAccordionTabComponent as ɵdv, SettingsWorkflowComponent as ɵdw, SettingAuthorizeButtonComponent as ɵdx, BasePermissionService as ɵdy, SettingsWorkflowNo1Component as ɵdz, ListBase as ɵe, HtmlPreviewComponent as ɵea, AUTOCOMPLETE_VALUE_ACCESSOR as ɵeb, AutoComplete as ɵec, AutoCompleteModule as ɵed, ListComponentBase as ɵf, TreeTableComponent as ɵg, NotFoundComponent as ɵh, SendAccessTokenInterceptor as ɵi, LogInterceptor as ɵj, PermissionUtilsInterceptor as ɵk, TraceInterceptor as ɵl, EntityPermissionService as ɵm, ChatService as ɵn, MyDriveService as ɵo, ContentsService as ɵp, StatusExtendsService as ɵq, MessageBoardService as ɵr, FileExplorerNewService as ɵs, FileVersionService as ɵt, FileManagerService as ɵu, DM_ChucVuService as ɵv, RoleService as ɵw, AddressComponent as ɵx, AdvanceSearchComponent as ɵy, AutoCompletePickerComponent as ɵz };
48719
48913
  //# sourceMappingURL=tnx-shared.js.map