tnx-shared 5.3.310 → 5.3.312

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,29 @@ 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
+ field: control.field,
15984
+ label: control.label,
15985
+ valueBefore: control._component.dataSource.map(p => p.label).join(', '),
15986
+ visible: false,
15987
+ valueAfter: ''
15988
+ }));
15989
+ }
15990
+ }, 2000);
15991
+ }
15942
15992
  fixDateValue(control, parentModel, parentPath) {
15943
15993
  let _parentPath = control.field;
15944
15994
  if (parentPath != null)
@@ -16031,10 +16081,155 @@ class DataFormBase extends ComponentBaseWithButton {
16031
16081
  _triggerSave() {
16032
16082
  this.save();
16033
16083
  }
16084
+ onAfterGetLogValue() {
16085
+ return __awaiter(this, void 0, void 0, function* () {
16086
+ });
16087
+ }
16088
+ getSingleLabel(control, dataSource, valueParam) {
16089
+ let result = dataSource.find(p => p.value[control.valueField] == valueParam);
16090
+ if (!!result) {
16091
+ const funcGetLabel = control.funcGetLabel;
16092
+ if (funcGetLabel) {
16093
+ result = funcGetLabel(result.value);
16094
+ }
16095
+ }
16096
+ else {
16097
+ result = this.logSetting.emptyValue;
16098
+ }
16099
+ return result;
16100
+ }
16101
+ getMultipleLabel(control, dataSource, valueParam) {
16102
+ try {
16103
+ if (valueParam.some(p => p == Number(p))) {
16104
+ valueParam = valueParam.map(p => Number(p));
16105
+ }
16106
+ }
16107
+ catch (_a) { }
16108
+ let result = dataSource
16109
+ .filter(p => valueParam.includes(p.value[control.valueField]))
16110
+ .map(p => control.funcGetLabel(p.value))
16111
+ .join(', ');
16112
+ if (!result) {
16113
+ result = this.logSetting.emptyValue;
16114
+ }
16115
+ return result;
16116
+ }
16117
+ addSinglePropertyLog(control, oldValue, newValue) {
16118
+ if (control instanceof AutoCompletePickerControlSchema) {
16119
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.field == control.field);
16120
+ let dataSource = control._component.selectedValueObject;
16121
+ if (!Array.isArray(dataSource))
16122
+ dataSource = [dataSource];
16123
+ logColumn.visible = true;
16124
+ logColumn.valueAfter = this.getSingleLabel(control, dataSource, newValue);
16125
+ }
16126
+ else {
16127
+ const dataSource = control._component.dataSourceInternal;
16128
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16129
+ field: control.field,
16130
+ label: control.label,
16131
+ valueBefore: this.getSingleLabel(control, dataSource, oldValue),
16132
+ valueAfter: this.getSingleLabel(control, dataSource, newValue)
16133
+ }));
16134
+ }
16135
+ }
16136
+ addMultiplePropertyLog(control, oldValue, newValue) {
16137
+ if (control instanceof AutoCompletePickerControlSchema) {
16138
+ const logColumn = this.logSetting.arrValueAfterUpdate.find(p => p.field == control.field);
16139
+ logColumn.visible = true;
16140
+ logColumn.valueAfter = this.getMultipleLabel(control, control._component.selectedValueObject, newValue);
16141
+ }
16142
+ else {
16143
+ const dataSource = control._component.dataSourceInternal;
16144
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16145
+ field: control.field,
16146
+ label: control.label,
16147
+ valueBefore: this.getMultipleLabel(control, dataSource, oldValue),
16148
+ valueAfter: this.getMultipleLabel(control, dataSource, newValue)
16149
+ }));
16150
+ }
16151
+ }
16152
+ getLogValueDefault(control, oldValue, newValue) {
16153
+ var _a, _b;
16154
+ const isNullOldValue = this.isNullOrEmpty(oldValue);
16155
+ const isNullNewValue = this.isNullOrEmpty(newValue);
16156
+ if (control instanceof DateTimeControlSchema) {
16157
+ const format = control.showTime ? 'HH:mm dd/MM/yyyy' : 'dd/MM/yyyy';
16158
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : this._datePipe.transform(oldValue, format);
16159
+ newValue = isNullNewValue ? this.logSetting.emptyValue : this._datePipe.transform(newValue, format);
16160
+ }
16161
+ else if (control instanceof MaskControlSchema) {
16162
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : this._numberPipe.transform(oldValue, '', 'vi-VN');
16163
+ newValue = isNullNewValue ? this.logSetting.emptyValue : this._numberPipe.transform(newValue, '', 'vi-VN');
16164
+ }
16165
+ else if (control instanceof CheckboxControlSchema || control instanceof SwitchControlSchema) {
16166
+ oldValue = isNullOldValue ? this.logSetting.emptyValue : (_a = DataSourceBoolean.find(p => p.id == oldValue)) === null || _a === void 0 ? void 0 : _a.ten;
16167
+ newValue = isNullNewValue ? this.logSetting.emptyValue : (_b = DataSourceBoolean.find(p => p.id == newValue)) === null || _b === void 0 ? void 0 : _b.ten;
16168
+ }
16169
+ return [oldValue, newValue];
16170
+ }
16171
+ getLogValue() {
16172
+ var _a;
16173
+ try {
16174
+ const cloneModel = this._commonService.cloneObject(this.model.data);
16175
+ for (const controlName of Object.keys(this.formControls)) {
16176
+ if (controlName.includes('.') || ((_a = this.crudForm.formControls[controlName]) === null || _a === void 0 ? void 0 : _a.hidden) === true)
16177
+ continue;
16178
+ const control = this.formControls[controlName];
16179
+ const oldValue = this.logSetting.valueBeforeUpdate[control.field];
16180
+ const newValue = cloneModel[control.field];
16181
+ const isMultiple = Array.isArray(oldValue);
16182
+ if (!this.isNullOrEmpty(oldValue) || !this.isNullOrEmpty(newValue)) {
16183
+ if (control instanceof DropdownControlSchema || control instanceof AutoCompletePickerControlSchema) {
16184
+ if (!isMultiple && oldValue != newValue) {
16185
+ this.addSinglePropertyLog(control, oldValue, newValue);
16186
+ }
16187
+ else if (isMultiple && !this._commonService.isSameArray(oldValue, newValue)) {
16188
+ this.addMultiplePropertyLog(control, oldValue, newValue);
16189
+ }
16190
+ }
16191
+ else {
16192
+ if (oldValue != newValue) {
16193
+ const [valueBefore, valueAfter] = this.getLogValueDefault(control, oldValue, newValue);
16194
+ this.logSetting.arrValueAfterUpdate.push(new LogColumn({
16195
+ field: control.field,
16196
+ label: control.label,
16197
+ valueBefore: valueBefore,
16198
+ valueAfter: valueAfter,
16199
+ isHtml: (control instanceof EditorControlSchema || control instanceof TextAreaControlSchema)
16200
+ }));
16201
+ }
16202
+ }
16203
+ }
16204
+ }
16205
+ }
16206
+ catch (_b) {
16207
+ console.error('----log data fail----');
16208
+ }
16209
+ }
16210
+ isNullOrEmpty(input) {
16211
+ if (input !== undefined && input !== null) {
16212
+ if (Array.isArray(input)) {
16213
+ return input.length ? false : true;
16214
+ }
16215
+ if (input.toString().trim() !== '') {
16216
+ return false;
16217
+ }
16218
+ }
16219
+ return true;
16220
+ }
16034
16221
  save() {
16035
16222
  return __awaiter(this, void 0, void 0, function* () {
16036
16223
  const validated = yield this.validateFormBase();
16037
16224
  if (validated) {
16225
+ if (this.logSetting.isEnableLog) {
16226
+ if (!this.logSetting.isCustomAll) {
16227
+ yield this.getLogValue();
16228
+ }
16229
+ // cấu hình thêm
16230
+ yield this.onAfterGetLogValue();
16231
+ this.model.data.logMetaData = JSON.stringify(this.logSetting.arrValueAfterUpdate.filter(p => p.visible));
16232
+ }
16038
16233
  yield this.onBeforeSave();
16039
16234
  this.triggerSaveFileUpload();
16040
16235
  if (this.autoSave) {
@@ -16205,6 +16400,9 @@ class DataFormBase extends ComponentBaseWithButton {
16205
16400
  this.model.submitting = false;
16206
16401
  this.showMessageAfterUpdate(false, error);
16207
16402
  });
16403
+ if (this.logSetting.isEnableLog) {
16404
+ this.logSetting.arrValueAfterUpdate = [];
16405
+ }
16208
16406
  });
16209
16407
  }
16210
16408
  handleUpdateError() {
@@ -23865,7 +24063,7 @@ class ListBase extends ComponentBaseWithButton {
23865
24063
  const lstHeader = ['TT'];
23866
24064
  const fieldSchemaMap = new Map(this.setting.modelSchemas.map(schema => [schema.field, schema.name]));
23867
24065
  lstVisibleField.forEach(field => {
23868
- const schemaName = fieldSchemaMap.get(field) || fieldSchemaMap.get(field.slice(3)) || "";
24066
+ const schemaName = fieldSchemaMap.get(field) || fieldSchemaMap.get(field.slice(3)) || '';
23869
24067
  lstHeader.push(schemaName);
23870
24068
  });
23871
24069
  const printData = [
@@ -48715,5 +48913,5 @@ class Pair {
48715
48913
  * Generated bundle index. Do not edit.
48716
48914
  */
48717
48915
 
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 };
48916
+ 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
48917
  //# sourceMappingURL=tnx-shared.js.map