@kontur.candy/generator 5.79.1 → 5.80.0
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/dist/index.js +347 -106
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46861,10 +46861,10 @@ class PathTokens {
|
|
|
46861
46861
|
return typeof part === "string";
|
|
46862
46862
|
}
|
|
46863
46863
|
static isInstanceToken(part) {
|
|
46864
|
-
return typeof part === "string" && /^\d
|
|
46864
|
+
return typeof part === "string" && /^\d+$/.test(part);
|
|
46865
46865
|
}
|
|
46866
46866
|
static isInstanceTokenOrInstancesSpec(part) {
|
|
46867
|
-
return typeof part === "string" && (/^\d
|
|
46867
|
+
return typeof part === "string" && (/^\d+$/.test(part) || /^\[(\d+\,?)+\]$/i.test(part));
|
|
46868
46868
|
}
|
|
46869
46869
|
}
|
|
46870
46870
|
PathTokens.each = EachSymbol;
|
|
@@ -47021,6 +47021,10 @@ class ModelPathImpl {
|
|
|
47021
47021
|
joinWith(...path) {
|
|
47022
47022
|
return joinModelPaths(this, ...path);
|
|
47023
47023
|
}
|
|
47024
|
+
getFirstMultiplicityInstanceNumber() {
|
|
47025
|
+
const firstIndex = this.tokens.find(PathTokens.isInstanceToken);
|
|
47026
|
+
return firstIndex ? Number(firstIndex) : -1;
|
|
47027
|
+
}
|
|
47024
47028
|
isResolved() {
|
|
47025
47029
|
return isAllTokensResolved(this.tokens);
|
|
47026
47030
|
}
|
|
@@ -75936,6 +75940,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75936
75940
|
/* harmony import */ var _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxConverter.ts");
|
|
75937
75941
|
/* harmony import */ var _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts");
|
|
75938
75942
|
/* harmony import */ var _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter.ts");
|
|
75943
|
+
/* harmony import */ var _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts");
|
|
75944
|
+
|
|
75939
75945
|
|
|
75940
75946
|
|
|
75941
75947
|
|
|
@@ -76060,7 +76066,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76060
76066
|
|
|
76061
76067
|
let convertersFromNodeClassMap;
|
|
76062
76068
|
function buildConvertersFromNodeClassMap() {
|
|
76063
|
-
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter];
|
|
76069
|
+
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter];
|
|
76064
76070
|
return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
76065
76071
|
}
|
|
76066
76072
|
function getConverterByNodeClass(nodeClass) {
|
|
@@ -79207,6 +79213,10 @@ function naiveConvertJsConditionToKCLangCondition(condition) {
|
|
|
79207
79213
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*false/g, "1 == 2"]);
|
|
79208
79214
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*'false'/g, "1 == 2"]);
|
|
79209
79215
|
applyReplacements([/path\('@settings\/isIndividual'\)/g, "'false'"]);
|
|
79216
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*true/g, "1 == 1"]);
|
|
79217
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'true'/g, "1 == 1"]);
|
|
79218
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*false/g, "0 == 1"]);
|
|
79219
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'false'/g, "0 == 1"]);
|
|
79210
79220
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*'/g, "($1 as string) == '"]);
|
|
79211
79221
|
applyReplacements([/path\('([^']*?)'\)\s*!==?\s*'/g, "($1 as string) != '"]);
|
|
79212
79222
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*(\d)/g, "$1 == $2"]);
|
|
@@ -79892,7 +79902,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79892
79902
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
79893
79903
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
79894
79904
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
79895
|
-
/* harmony import */ var
|
|
79905
|
+
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
79906
|
+
/* harmony import */ var _DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultContent/DefaultContentNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/DefaultContent/DefaultContentNode.ts");
|
|
79907
|
+
/* harmony import */ var _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AttachmentFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm/AttachmentFormNode.ts");
|
|
79908
|
+
|
|
79909
|
+
|
|
79896
79910
|
|
|
79897
79911
|
|
|
79898
79912
|
|
|
@@ -79903,14 +79917,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79903
79917
|
|
|
79904
79918
|
class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
79905
79919
|
static getAcceptNodeClass() {
|
|
79906
|
-
return
|
|
79920
|
+
return _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode;
|
|
79907
79921
|
}
|
|
79908
79922
|
*getAttachmentPaths() {
|
|
79909
|
-
const node = this.getCurrentNodeAs(
|
|
79923
|
+
const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79910
79924
|
yield (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath);
|
|
79911
79925
|
}
|
|
79912
79926
|
*getAttachmentPathsWithGfvs() {
|
|
79913
|
-
const node = this.getCurrentNodeAs(
|
|
79927
|
+
const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79914
79928
|
yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
|
|
79915
79929
|
}
|
|
79916
79930
|
doBuildDataDeclaration(context) {
|
|
@@ -79923,14 +79937,21 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
79923
79937
|
// no children
|
|
79924
79938
|
}
|
|
79925
79939
|
doConvert(context) {
|
|
79926
|
-
const attachmentFormNode = this.getCurrentNodeAs(
|
|
79927
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("
|
|
79928
|
-
markupBuilder.prop("data-tid").set("attachment
|
|
79929
|
-
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_3__.createUnitId)("attachment
|
|
79940
|
+
const attachmentFormNode = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79941
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AttachmentUnit");
|
|
79942
|
+
markupBuilder.prop("data-tid").set("attachment" + attachmentFormNode.gfv);
|
|
79943
|
+
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_3__.createUnitId)("attachment" + attachmentFormNode.gfv));
|
|
79930
79944
|
markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
|
|
79931
79945
|
markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
|
|
79932
79946
|
markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
|
|
79933
79947
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(attachmentFormNode, attachmentFormNode.path));
|
|
79948
|
+
const defaultContentNode = attachmentFormNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.ofType)(_DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__.DefaultContentNode));
|
|
79949
|
+
if (defaultContentNode != undefined) {
|
|
79950
|
+
const markupBuilderDefault = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("PageFilledConditional");
|
|
79951
|
+
markupBuilderDefault.prop(x => x.visibleIfFilled).set(false);
|
|
79952
|
+
markupBuilderDefault.appendChild(context.convertChildNodes([defaultContentNode]));
|
|
79953
|
+
markupBuilder.appendChild(markupBuilder);
|
|
79954
|
+
}
|
|
79934
79955
|
return markupBuilder.buildConverterResult();
|
|
79935
79956
|
}
|
|
79936
79957
|
}
|
|
@@ -79955,22 +79976,58 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79955
79976
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
79956
79977
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
79957
79978
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
79958
|
-
/* harmony import */ var
|
|
79979
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
79980
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
79959
79981
|
|
|
79960
79982
|
|
|
79961
79983
|
|
|
79962
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
|
|
79984
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
79985
|
+
|
|
79986
|
+
|
|
79987
|
+
|
|
79988
|
+
let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attachmentform", `Встроенный редактор для формализованного приложения`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gfv", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `ГФВ приложения`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Крактое название раздела, в который поместить форму`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Описание формы приложения`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Путь до поля с именем приложения`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Обозначение множественного раздела`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Опциональный раздел`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
|
|
79963
79989
|
|
|
79990
|
+
Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
|
|
79991
|
+
showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
|
|
79992
|
+
actions: {}.
|
|
79964
79993
|
|
|
79965
|
-
|
|
79994
|
+
actions: {
|
|
79995
|
+
[actionName: string]: {
|
|
79996
|
+
description?: string;
|
|
79997
|
+
disableAction?: boolean;
|
|
79998
|
+
hideAction?: boolean;
|
|
79999
|
+
};
|
|
80000
|
+
};
|
|
80001
|
+
|
|
80002
|
+
actionName: enableAutoValues, clear, remove, copy
|
|
80003
|
+
`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("extraPageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для дополнительных действий.
|
|
80004
|
+
|
|
80005
|
+
Объект с набором действий:
|
|
80006
|
+
|
|
80007
|
+
[actionName: string]: {
|
|
80008
|
+
description?: string;
|
|
80009
|
+
disableAction?: boolean;
|
|
80010
|
+
hideAction?: boolean;
|
|
80011
|
+
tid?: string;
|
|
80012
|
+
handler?: string;
|
|
80013
|
+
};
|
|
80014
|
+
`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
79966
80015
|
constructor(...args) {
|
|
79967
80016
|
super(...args);
|
|
79968
80017
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
|
|
79969
80018
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor2, this);
|
|
79970
80019
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor3, this);
|
|
79971
80020
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor4, this);
|
|
79972
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
79973
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
80021
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor5, this);
|
|
80022
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
|
|
80023
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
|
|
80024
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
|
|
80025
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
|
|
80026
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
|
|
80027
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
80028
|
+
}
|
|
80029
|
+
getOwnPath() {
|
|
80030
|
+
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each) : undefined;
|
|
79974
80031
|
}
|
|
79975
80032
|
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "gfv", [_dec2], {
|
|
79976
80033
|
configurable: true,
|
|
@@ -79992,12 +80049,37 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
79992
80049
|
enumerable: true,
|
|
79993
80050
|
writable: true,
|
|
79994
80051
|
initializer: null
|
|
79995
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
80052
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec6], {
|
|
79996
80053
|
configurable: true,
|
|
79997
80054
|
enumerable: true,
|
|
79998
80055
|
writable: true,
|
|
79999
80056
|
initializer: null
|
|
80000
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
80057
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
|
|
80058
|
+
configurable: true,
|
|
80059
|
+
enumerable: true,
|
|
80060
|
+
writable: true,
|
|
80061
|
+
initializer: null
|
|
80062
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec8], {
|
|
80063
|
+
configurable: true,
|
|
80064
|
+
enumerable: true,
|
|
80065
|
+
writable: true,
|
|
80066
|
+
initializer: null
|
|
80067
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec9], {
|
|
80068
|
+
configurable: true,
|
|
80069
|
+
enumerable: true,
|
|
80070
|
+
writable: true,
|
|
80071
|
+
initializer: null
|
|
80072
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec10], {
|
|
80073
|
+
configurable: true,
|
|
80074
|
+
enumerable: true,
|
|
80075
|
+
writable: true,
|
|
80076
|
+
initializer: null
|
|
80077
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "extraPageActions", [_dec11], {
|
|
80078
|
+
configurable: true,
|
|
80079
|
+
enumerable: true,
|
|
80080
|
+
writable: true,
|
|
80081
|
+
initializer: null
|
|
80082
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
80001
80083
|
configurable: true,
|
|
80002
80084
|
enumerable: true,
|
|
80003
80085
|
writable: true,
|
|
@@ -80729,7 +80811,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80729
80811
|
/* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
|
|
80730
80812
|
/* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
|
|
80731
80813
|
/* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
|
|
80732
|
-
/* harmony import */ var
|
|
80814
|
+
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
80815
|
+
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
80816
|
+
|
|
80733
80817
|
|
|
80734
80818
|
|
|
80735
80819
|
|
|
@@ -80754,14 +80838,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80754
80838
|
|
|
80755
80839
|
class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
|
|
80756
80840
|
static getAcceptNodeClass() {
|
|
80757
|
-
return
|
|
80841
|
+
return _FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode;
|
|
80758
80842
|
}
|
|
80759
80843
|
doBuildDataDeclaration(context) {
|
|
80760
|
-
const node = this.getCurrentNodeAs(
|
|
80844
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80761
80845
|
const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
|
|
80762
80846
|
const entrySections = ["default"];
|
|
80763
80847
|
const optionalSections = this.findOptionalSections(node);
|
|
80764
80848
|
const allSections = this.findAllSingleSections(node);
|
|
80849
|
+
const allAttachmentSections = this.findAllAttachmentSections(node);
|
|
80765
80850
|
if (node.requisite) {
|
|
80766
80851
|
entrySections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_12__.SectionNames.requisitesSection);
|
|
80767
80852
|
}
|
|
@@ -80775,14 +80860,19 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80775
80860
|
allSingleSections: allSections
|
|
80776
80861
|
}
|
|
80777
80862
|
};
|
|
80863
|
+
allAttachmentSections.forEach(attachmentSection => {
|
|
80864
|
+
result[`${attachmentSection.path}/${_Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__.AttachmentInfoPath.toLegacyPath()}`] = {
|
|
80865
|
+
section: [attachmentSection.id]
|
|
80866
|
+
};
|
|
80867
|
+
});
|
|
80778
80868
|
return result;
|
|
80779
80869
|
}
|
|
80780
80870
|
buildChildrenDataDeclaration(context) {
|
|
80781
|
-
const node = this.getCurrentNodeAs(
|
|
80871
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80782
80872
|
return context.processChildrenDataDeclaration(node.pages);
|
|
80783
80873
|
}
|
|
80784
80874
|
*doTraverseChildren() {
|
|
80785
|
-
const node = this.getCurrentNodeAs(
|
|
80875
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80786
80876
|
yield* node.pages;
|
|
80787
80877
|
if (node.attachmentForms) {
|
|
80788
80878
|
yield* node.attachmentForms;
|
|
@@ -80790,9 +80880,12 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80790
80880
|
if (node.modalheader) {
|
|
80791
80881
|
yield* [node.modalheader];
|
|
80792
80882
|
}
|
|
80883
|
+
if (node.globalmodals) {
|
|
80884
|
+
yield* [node.globalmodals];
|
|
80885
|
+
}
|
|
80793
80886
|
}
|
|
80794
80887
|
doConvert(context) {
|
|
80795
|
-
const node = this.getCurrentNodeAs(
|
|
80888
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80796
80889
|
if (node.simple) {
|
|
80797
80890
|
return this.buildSimpleForm(context, node);
|
|
80798
80891
|
} else if (node.plain) {
|
|
@@ -80826,7 +80919,22 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80826
80919
|
dependsOnSection: this.findNearestOptionalSection(page.id, allSinglePagesWithParent)
|
|
80827
80920
|
};
|
|
80828
80921
|
}).filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined)(x.id)).toArray();
|
|
80829
|
-
|
|
80922
|
+
const attachmentForms = this.findAllAttachmentSections(node);
|
|
80923
|
+
return pages.concat(attachmentForms);
|
|
80924
|
+
}
|
|
80925
|
+
findAllAttachmentSections(node) {
|
|
80926
|
+
if (!node.attachmentForms) {
|
|
80927
|
+
return [];
|
|
80928
|
+
}
|
|
80929
|
+
return node.attachmentForms.map(attachmentForm => {
|
|
80930
|
+
var _attachmentForm$optio;
|
|
80931
|
+
return {
|
|
80932
|
+
id: this.getAttachmentFormId(attachmentForm),
|
|
80933
|
+
path: attachmentForm.getFullPath().toLegacyPath(),
|
|
80934
|
+
optional: (_attachmentForm$optio = attachmentForm.optional) !== null && _attachmentForm$optio !== void 0 ? _attachmentForm$optio : false,
|
|
80935
|
+
dependsOnSection: undefined
|
|
80936
|
+
};
|
|
80937
|
+
}).filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined)(x.id));
|
|
80830
80938
|
}
|
|
80831
80939
|
getAllPages(pages, parentPage) {
|
|
80832
80940
|
const allPages = pages.flatMap(page => this.getAllPages(page.pages, page)).map(x => ({
|
|
@@ -80935,6 +81043,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80935
81043
|
} else {
|
|
80936
81044
|
hiddenPanelBuilder.appendChild(_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_11__.TourConverter.getNoTourMarkup());
|
|
80937
81045
|
}
|
|
81046
|
+
if (node.globalmodals) {
|
|
81047
|
+
hiddenPanelBuilder.appendChild(context.convertChildNodes([node.globalmodals]));
|
|
81048
|
+
}
|
|
80938
81049
|
hiddenPanelBuilder.createChild("HiddenPanelContent").appendChild(this.buildRegularFormContent(node, context));
|
|
80939
81050
|
hiddenPanelBuilder.createChild("HiddenPanelMenu").appendChild(this.buildRegularFormPanel(context, node));
|
|
80940
81051
|
return this.buildBaseFormWithContent(context, hiddenPanelBuilder, node);
|
|
@@ -81034,14 +81145,32 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81034
81145
|
return markupBuilder;
|
|
81035
81146
|
}
|
|
81036
81147
|
buildAttachmentFormUnit(node, attachmentFormNode, context) {
|
|
81037
|
-
|
|
81038
|
-
markupBuilder.
|
|
81039
|
-
markupBuilder.prop(
|
|
81148
|
+
var _attachmentFormNode$o;
|
|
81149
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("AttachmentUnit");
|
|
81150
|
+
markupBuilder.prop("data-tid").set(this.getAttachmentFormId(attachmentFormNode));
|
|
81151
|
+
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(this.getAttachmentFormId(attachmentFormNode)));
|
|
81040
81152
|
markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
|
|
81041
81153
|
markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
|
|
81042
81154
|
markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
|
|
81043
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode
|
|
81155
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
81156
|
+
markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
|
|
81157
|
+
markupBuilder.prop(x => x.optional).set((_attachmentFormNode$o = attachmentFormNode.optional) !== null && _attachmentFormNode$o !== void 0 ? _attachmentFormNode$o : false);
|
|
81044
81158
|
markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
81159
|
+
if (attachmentFormNode.pageActions != undefined) {
|
|
81160
|
+
markupBuilder.prop(x => x.pageActions).set(attachmentFormNode.pageActions);
|
|
81161
|
+
}
|
|
81162
|
+
if (attachmentFormNode.extraPageActions != undefined) {
|
|
81163
|
+
const extraPageActions = attachmentFormNode.extraPageActions.map(action => {
|
|
81164
|
+
var _action$disableAction;
|
|
81165
|
+
return {
|
|
81166
|
+
tid: action.tid,
|
|
81167
|
+
description: action.description,
|
|
81168
|
+
handler: context.generateHelperFunctionExpressionWithoutContext(node, "handler", action.handler),
|
|
81169
|
+
disabled: (_action$disableAction = action.disableAction) !== null && _action$disableAction !== void 0 ? _action$disableAction : false
|
|
81170
|
+
};
|
|
81171
|
+
});
|
|
81172
|
+
markupBuilder.prop(x => x.extraPageActions).set(extraPageActions);
|
|
81173
|
+
}
|
|
81045
81174
|
const compiledCondition = generateKcLangOrJsCondition(attachmentFormNode);
|
|
81046
81175
|
if (attachmentFormNode.visible != undefined) {
|
|
81047
81176
|
markupBuilder.prop(x => x.visible).set({
|
|
@@ -81050,6 +81179,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81050
81179
|
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
81051
81180
|
});
|
|
81052
81181
|
}
|
|
81182
|
+
markupBuilder.appendChild(context.convertChildNodes(attachmentFormNode.children));
|
|
81053
81183
|
return markupBuilder;
|
|
81054
81184
|
}
|
|
81055
81185
|
isPageContainsTableWithStickyElements(pageNode) {
|
|
@@ -81080,6 +81210,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81080
81210
|
} else {
|
|
81081
81211
|
simpleFormBuilder.appendChild(_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_11__.TourConverter.getNoTourMarkup());
|
|
81082
81212
|
}
|
|
81213
|
+
if (node.globalmodals) {
|
|
81214
|
+
simpleFormBuilder.appendChild(context.convertChildNodes([node.globalmodals]));
|
|
81215
|
+
}
|
|
81083
81216
|
return this.buildBaseFormWithContent(context, simpleFormBuilder, node);
|
|
81084
81217
|
}
|
|
81085
81218
|
buildNavigationFromPages(formNode, context) {
|
|
@@ -81090,18 +81223,36 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81090
81223
|
}
|
|
81091
81224
|
return unitListBuilder;
|
|
81092
81225
|
}
|
|
81226
|
+
getAttachmentFormId(attachmentForm) {
|
|
81227
|
+
return "attachment" + attachmentForm.gfv;
|
|
81228
|
+
}
|
|
81093
81229
|
buildUnitItemsFromAttachmentForms(formNode, attachmentFormNodes) {
|
|
81094
81230
|
const unitItemBuilders = [];
|
|
81095
81231
|
for (const attachmentForm of attachmentFormNodes) {
|
|
81232
|
+
var _attachmentForm$optio2, _attachmentForm$multi;
|
|
81096
81233
|
const unitItemBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("UnitItem");
|
|
81097
|
-
|
|
81098
|
-
unitItemBuilder.prop(
|
|
81234
|
+
const attachmentFormId = this.getAttachmentFormId(attachmentForm);
|
|
81235
|
+
unitItemBuilder.prop("data-tid").set(attachmentFormId);
|
|
81236
|
+
unitItemBuilder.prop(x => x.id).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(attachmentFormId));
|
|
81099
81237
|
unitItemBuilder.prop(x => x.name).set(attachmentForm.name);
|
|
81100
|
-
unitItemBuilder.prop(x => x.optional).set(
|
|
81101
|
-
unitItemBuilder.prop(x => x.multiple).set(false);
|
|
81238
|
+
unitItemBuilder.prop(x => x.optional).set((_attachmentForm$optio2 = attachmentForm.optional) !== null && _attachmentForm$optio2 !== void 0 ? _attachmentForm$optio2 : false);
|
|
81239
|
+
unitItemBuilder.prop(x => x.multiple).set((_attachmentForm$multi = attachmentForm.multiple) !== null && _attachmentForm$multi !== void 0 ? _attachmentForm$multi : false);
|
|
81102
81240
|
unitItemBuilder.prop(x => x.pages).set([]);
|
|
81103
81241
|
unitItemBuilder.prop(x => x.clearConfirmationSettings).set({});
|
|
81242
|
+
unitItemBuilder.prop(x => x.hasAttachment).set(true);
|
|
81243
|
+
if (attachmentForm.path != undefined) {
|
|
81244
|
+
unitItemBuilder.prop(x => x.unitPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentForm));
|
|
81245
|
+
}
|
|
81104
81246
|
unitItemBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(formNode));
|
|
81247
|
+
if (attachmentForm.multiple) {
|
|
81248
|
+
const navigationLimit = attachmentForm.navigationLimit != undefined ? attachmentForm.navigationLimit : formNode.navigationLimit != undefined ? formNode.navigationLimit : undefined;
|
|
81249
|
+
if (navigationLimit != undefined) {
|
|
81250
|
+
unitItemBuilder.prop(x => x.navigationLimit).set(navigationLimit);
|
|
81251
|
+
}
|
|
81252
|
+
}
|
|
81253
|
+
if (attachmentForm.pageActions != undefined) {
|
|
81254
|
+
unitItemBuilder.prop(x => x.pageActions).set(attachmentForm.pageActions);
|
|
81255
|
+
}
|
|
81105
81256
|
const compiledCondition = generateKcLangOrJsCondition(attachmentForm);
|
|
81106
81257
|
if (attachmentForm.visible != undefined) {
|
|
81107
81258
|
unitItemBuilder.prop(x => x.visible).set({
|
|
@@ -81207,12 +81358,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
81207
81358
|
/* harmony import */ var _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../../Common/Enums/ButtonSettingsTypeEnum */ "./Common/Enums/ButtonSettingsTypeEnum.ts");
|
|
81208
81359
|
/* harmony import */ var _ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ZeroReportOptions/ZeroReportOptionsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ZeroReportOptions/ZeroReportOptionsNode.ts");
|
|
81209
81360
|
/* harmony import */ var _ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ModalHeader/ModalHeaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderNode.ts");
|
|
81210
|
-
/* harmony import */ var
|
|
81211
|
-
/* harmony import */ var
|
|
81361
|
+
/* harmony import */ var _GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../GlobalModal/GlobalModalsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts");
|
|
81362
|
+
/* harmony import */ var _Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Nodes/PanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/PanelNode.ts");
|
|
81363
|
+
/* harmony import */ var _TypeListNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./TypeListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/TypeListNode.ts");
|
|
81212
81364
|
|
|
81213
81365
|
|
|
81214
81366
|
|
|
81215
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46;
|
|
81367
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47;
|
|
81368
|
+
|
|
81216
81369
|
|
|
81217
81370
|
|
|
81218
81371
|
|
|
@@ -81238,8 +81391,8 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
81238
81391
|
writable: true,
|
|
81239
81392
|
initializer: null
|
|
81240
81393
|
}), _class2)) || _class);
|
|
81241
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]),
|
|
81242
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input`),
|
|
81394
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("globalmodals", [_GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__.GlobalModalsNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_16__.PanelNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Не запускать валидацию формы на старте по умолчанию. Настройка может быть переопределена, при запуске формы startForm`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления"), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isEnableTemplates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включить отображение кнопки шаблонов`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
81395
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onExternalInitSection", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Выполнение хелпер функции при вызове keweb-ого лайтбокса от внешних ребят. Когда редактор открывается из Контур Бухагалтерии или ТО. Чтобы вызвать - надо в query params передать initSectionLightbox="Path" где Path - путь до раздела`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_17__.TypeListNode]), _dec3(_class3 = (_class4 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
81243
81396
|
constructor(...args) {
|
|
81244
81397
|
super(...args);
|
|
81245
81398
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor2, this);
|
|
@@ -81254,39 +81407,40 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81254
81407
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hasRegionalForms", _descriptor11, this);
|
|
81255
81408
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "controls", _descriptor12, this);
|
|
81256
81409
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "modalheader", _descriptor13, this);
|
|
81257
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81258
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81259
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81260
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81261
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81262
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81263
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81264
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81265
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81266
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81267
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81268
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81269
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81270
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81271
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81272
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81273
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81274
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81275
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81276
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81277
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81278
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81279
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81280
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81281
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81282
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81283
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81284
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81285
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81286
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81287
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81288
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81289
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81410
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "globalmodals", _descriptor14, this);
|
|
81411
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "imports", _descriptor15, this);
|
|
81412
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "panel", _descriptor16, this);
|
|
81413
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "zeroreportoptions", _descriptor17, this);
|
|
81414
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor18, this);
|
|
81415
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentForms", _descriptor19, this);
|
|
81416
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "simple", _descriptor20, this);
|
|
81417
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor21, this);
|
|
81418
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "schemaValidations", _descriptor22, this);
|
|
81419
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isReadOnly", _descriptor23, this);
|
|
81420
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor24, this);
|
|
81421
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor25, this);
|
|
81422
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableCustomizationButton", _descriptor26, this);
|
|
81423
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor27, this);
|
|
81424
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor28, this);
|
|
81425
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor29, this);
|
|
81426
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor30, this);
|
|
81427
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor31, this);
|
|
81428
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cssWidth", _descriptor32, this);
|
|
81429
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "buttonSettingsType", _descriptor33, this);
|
|
81430
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isEnableTemplates", _descriptor34, this);
|
|
81431
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationBeforeSend", _descriptor35, this);
|
|
81432
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor36, this);
|
|
81433
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor37, this);
|
|
81434
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onExternalInitSection", _descriptor38, this);
|
|
81435
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor39, this);
|
|
81436
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor40, this);
|
|
81437
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor41, this);
|
|
81438
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor42, this);
|
|
81439
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fufSizeTooLargeErrorText", _descriptor43, this);
|
|
81440
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor44, this);
|
|
81441
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor45, this);
|
|
81442
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor46, this);
|
|
81443
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor47, this);
|
|
81290
81444
|
}
|
|
81291
81445
|
getOwnPath() {
|
|
81292
81446
|
return this.dataScope.getOwnPath();
|
|
@@ -81357,167 +81511,172 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81357
81511
|
enumerable: true,
|
|
81358
81512
|
writable: true,
|
|
81359
81513
|
initializer: null
|
|
81360
|
-
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81514
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "globalmodals", [_dec16], {
|
|
81361
81515
|
configurable: true,
|
|
81362
81516
|
enumerable: true,
|
|
81363
81517
|
writable: true,
|
|
81364
81518
|
initializer: null
|
|
81365
|
-
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81519
|
+
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "imports", [_dec17], {
|
|
81366
81520
|
configurable: true,
|
|
81367
81521
|
enumerable: true,
|
|
81368
81522
|
writable: true,
|
|
81369
81523
|
initializer: null
|
|
81370
|
-
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81524
|
+
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "panel", [_dec18], {
|
|
81371
81525
|
configurable: true,
|
|
81372
81526
|
enumerable: true,
|
|
81373
81527
|
writable: true,
|
|
81374
81528
|
initializer: null
|
|
81375
|
-
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81529
|
+
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "zeroreportoptions", [_dec19], {
|
|
81376
81530
|
configurable: true,
|
|
81377
81531
|
enumerable: true,
|
|
81378
81532
|
writable: true,
|
|
81379
81533
|
initializer: null
|
|
81380
|
-
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81534
|
+
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "pages", [_dec20], {
|
|
81381
81535
|
configurable: true,
|
|
81382
81536
|
enumerable: true,
|
|
81383
81537
|
writable: true,
|
|
81384
81538
|
initializer: null
|
|
81385
|
-
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81539
|
+
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "attachmentForms", [_dec21], {
|
|
81386
81540
|
configurable: true,
|
|
81387
81541
|
enumerable: true,
|
|
81388
81542
|
writable: true,
|
|
81389
81543
|
initializer: null
|
|
81390
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81544
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "simple", [_dec22], {
|
|
81391
81545
|
configurable: true,
|
|
81392
81546
|
enumerable: true,
|
|
81393
81547
|
writable: true,
|
|
81394
81548
|
initializer: null
|
|
81395
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81549
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "doNotValidateFormOnStart", [_dec23], {
|
|
81396
81550
|
configurable: true,
|
|
81397
81551
|
enumerable: true,
|
|
81398
81552
|
writable: true,
|
|
81399
81553
|
initializer: null
|
|
81400
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81554
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "schemaValidations", [_dec24], {
|
|
81401
81555
|
configurable: true,
|
|
81402
81556
|
enumerable: true,
|
|
81403
81557
|
writable: true,
|
|
81404
81558
|
initializer: null
|
|
81405
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81559
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isReadOnly", [_dec25], {
|
|
81406
81560
|
configurable: true,
|
|
81407
81561
|
enumerable: true,
|
|
81408
81562
|
writable: true,
|
|
81409
81563
|
initializer: null
|
|
81410
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81564
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieDeprecationWarningEnabled", [_dec26], {
|
|
81411
81565
|
configurable: true,
|
|
81412
81566
|
enumerable: true,
|
|
81413
81567
|
writable: true,
|
|
81414
81568
|
initializer: null
|
|
81415
|
-
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81569
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "compactActionPanel", [_dec27], {
|
|
81416
81570
|
configurable: true,
|
|
81417
81571
|
enumerable: true,
|
|
81418
81572
|
writable: true,
|
|
81419
81573
|
initializer: null
|
|
81420
|
-
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81574
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "enableCustomizationButton", [_dec28], {
|
|
81421
81575
|
configurable: true,
|
|
81422
81576
|
enumerable: true,
|
|
81423
81577
|
writable: true,
|
|
81424
81578
|
initializer: null
|
|
81425
|
-
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81579
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieSizeLimitation", [_dec29], {
|
|
81426
81580
|
configurable: true,
|
|
81427
81581
|
enumerable: true,
|
|
81428
81582
|
writable: true,
|
|
81429
81583
|
initializer: null
|
|
81430
|
-
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81584
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "templates", [_dec30], {
|
|
81431
81585
|
configurable: true,
|
|
81432
81586
|
enumerable: true,
|
|
81433
81587
|
writable: true,
|
|
81434
81588
|
initializer: null
|
|
81435
|
-
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81589
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "plain", [_dec31], {
|
|
81436
81590
|
configurable: true,
|
|
81437
81591
|
enumerable: true,
|
|
81438
81592
|
writable: true,
|
|
81439
81593
|
initializer: null
|
|
81440
|
-
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81594
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "requisite", [_dec32], {
|
|
81595
|
+
configurable: true,
|
|
81596
|
+
enumerable: true,
|
|
81597
|
+
writable: true,
|
|
81598
|
+
initializer: null
|
|
81599
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "width", [_dec33], {
|
|
81441
81600
|
configurable: true,
|
|
81442
81601
|
enumerable: true,
|
|
81443
81602
|
writable: true,
|
|
81444
81603
|
initializer: null
|
|
81445
|
-
}),
|
|
81604
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "cssWidth", [_dec34], {
|
|
81446
81605
|
configurable: true,
|
|
81447
81606
|
enumerable: true,
|
|
81448
81607
|
writable: true,
|
|
81449
81608
|
initializer: null
|
|
81450
|
-
}),
|
|
81609
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "buttonSettingsType", [_dec35], {
|
|
81451
81610
|
configurable: true,
|
|
81452
81611
|
enumerable: true,
|
|
81453
81612
|
writable: true,
|
|
81454
81613
|
initializer: null
|
|
81455
|
-
}),
|
|
81614
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isEnableTemplates", [_dec36], {
|
|
81456
81615
|
configurable: true,
|
|
81457
81616
|
enumerable: true,
|
|
81458
81617
|
writable: true,
|
|
81459
81618
|
initializer: null
|
|
81460
|
-
}),
|
|
81619
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "validationBeforeSend", [_dec37], {
|
|
81461
81620
|
configurable: true,
|
|
81462
81621
|
enumerable: true,
|
|
81463
81622
|
writable: true,
|
|
81464
81623
|
initializer: null
|
|
81465
|
-
}),
|
|
81624
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "padding", [_dec38], {
|
|
81466
81625
|
configurable: true,
|
|
81467
81626
|
enumerable: true,
|
|
81468
81627
|
writable: true,
|
|
81469
81628
|
initializer: null
|
|
81470
|
-
}),
|
|
81629
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "maxUnitsCount", [_dec39], {
|
|
81471
81630
|
configurable: true,
|
|
81472
81631
|
enumerable: true,
|
|
81473
81632
|
writable: true,
|
|
81474
81633
|
initializer: null
|
|
81475
|
-
}),
|
|
81634
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "onExternalInitSection", [_dec40], {
|
|
81476
81635
|
configurable: true,
|
|
81477
81636
|
enumerable: true,
|
|
81478
81637
|
writable: true,
|
|
81479
81638
|
initializer: null
|
|
81480
|
-
}),
|
|
81639
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "unitsCount", [_dec41], {
|
|
81481
81640
|
configurable: true,
|
|
81482
81641
|
enumerable: true,
|
|
81483
81642
|
writable: true,
|
|
81484
81643
|
initializer: null
|
|
81485
|
-
}),
|
|
81644
|
+
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "transferText", [_dec42], {
|
|
81486
81645
|
configurable: true,
|
|
81487
81646
|
enumerable: true,
|
|
81488
81647
|
writable: true,
|
|
81489
81648
|
initializer: null
|
|
81490
|
-
}),
|
|
81649
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "navigationLimit", [_dec43], {
|
|
81491
81650
|
configurable: true,
|
|
81492
81651
|
enumerable: true,
|
|
81493
81652
|
writable: true,
|
|
81494
81653
|
initializer: null
|
|
81495
|
-
}),
|
|
81654
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufButtonEnabled", [_dec44], {
|
|
81496
81655
|
configurable: true,
|
|
81497
81656
|
enumerable: true,
|
|
81498
81657
|
writable: true,
|
|
81499
81658
|
initializer: null
|
|
81500
|
-
}),
|
|
81659
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "fufSizeTooLargeErrorText", [_dec45], {
|
|
81501
81660
|
configurable: true,
|
|
81502
81661
|
enumerable: true,
|
|
81503
81662
|
writable: true,
|
|
81504
81663
|
initializer: null
|
|
81505
|
-
}),
|
|
81664
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxHideDemandNameButton", [_dec46], {
|
|
81506
81665
|
configurable: true,
|
|
81507
81666
|
enumerable: true,
|
|
81508
81667
|
writable: true,
|
|
81509
81668
|
initializer: null
|
|
81510
|
-
}),
|
|
81669
|
+
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "defaultUnitsCountForPaging", [_dec47], {
|
|
81511
81670
|
configurable: true,
|
|
81512
81671
|
enumerable: true,
|
|
81513
81672
|
writable: true,
|
|
81514
81673
|
initializer: null
|
|
81515
|
-
}),
|
|
81674
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "types", [_dec48], {
|
|
81516
81675
|
configurable: true,
|
|
81517
81676
|
enumerable: true,
|
|
81518
81677
|
writable: true,
|
|
81519
81678
|
initializer: null
|
|
81520
|
-
}),
|
|
81679
|
+
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "typeLists", [_dec49], {
|
|
81521
81680
|
configurable: true,
|
|
81522
81681
|
enumerable: true,
|
|
81523
81682
|
writable: true,
|
|
@@ -81684,6 +81843,88 @@ let TypeListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
81684
81843
|
|
|
81685
81844
|
/***/ }),
|
|
81686
81845
|
|
|
81846
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts":
|
|
81847
|
+
/*!*******************************************************************************************************************!*\
|
|
81848
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts ***!
|
|
81849
|
+
\*******************************************************************************************************************/
|
|
81850
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
81851
|
+
|
|
81852
|
+
"use strict";
|
|
81853
|
+
__webpack_require__.r(__webpack_exports__);
|
|
81854
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
81855
|
+
/* harmony export */ GlobalModalsConverter: () => (/* binding */ GlobalModalsConverter)
|
|
81856
|
+
/* harmony export */ });
|
|
81857
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
81858
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
81859
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
81860
|
+
/* harmony import */ var _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./GlobalModalsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts");
|
|
81861
|
+
|
|
81862
|
+
|
|
81863
|
+
|
|
81864
|
+
|
|
81865
|
+
class GlobalModalsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
81866
|
+
static getAcceptNodeClass() {
|
|
81867
|
+
return _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode;
|
|
81868
|
+
}
|
|
81869
|
+
doBuildDataDeclaration(context) {
|
|
81870
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81871
|
+
}
|
|
81872
|
+
buildChildrenDataDeclaration(context) {
|
|
81873
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81874
|
+
}
|
|
81875
|
+
*doTraverseChildren() {
|
|
81876
|
+
const node = this.getCurrentNodeAs(_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode);
|
|
81877
|
+
if (node.children) {
|
|
81878
|
+
yield* node.children;
|
|
81879
|
+
}
|
|
81880
|
+
}
|
|
81881
|
+
doConvert(context) {
|
|
81882
|
+
const node = this.getCurrentNodeAs(_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode);
|
|
81883
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("GlobalModals");
|
|
81884
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
81885
|
+
return markupBuilder.buildConverterResult();
|
|
81886
|
+
}
|
|
81887
|
+
}
|
|
81888
|
+
|
|
81889
|
+
/***/ }),
|
|
81890
|
+
|
|
81891
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts":
|
|
81892
|
+
/*!**************************************************************************************************************!*\
|
|
81893
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts ***!
|
|
81894
|
+
\**************************************************************************************************************/
|
|
81895
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
81896
|
+
|
|
81897
|
+
"use strict";
|
|
81898
|
+
__webpack_require__.r(__webpack_exports__);
|
|
81899
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
81900
|
+
/* harmony export */ GlobalModalsNode: () => (/* binding */ GlobalModalsNode)
|
|
81901
|
+
/* harmony export */ });
|
|
81902
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
81903
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
81904
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
81905
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
81906
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
81907
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
81908
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
81909
|
+
|
|
81910
|
+
|
|
81911
|
+
|
|
81912
|
+
var _dec, _dec2, _class, _class2, _descriptor;
|
|
81913
|
+
|
|
81914
|
+
let GlobalModalsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("globalmodals", `Контейнер для модалок, которые могут вызываться из любого компонента в форме`), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GlobalModalsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
81915
|
+
constructor(...args) {
|
|
81916
|
+
super(...args);
|
|
81917
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor, this);
|
|
81918
|
+
}
|
|
81919
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec2], {
|
|
81920
|
+
configurable: true,
|
|
81921
|
+
enumerable: true,
|
|
81922
|
+
writable: true,
|
|
81923
|
+
initializer: null
|
|
81924
|
+
}), _class2)) || _class);
|
|
81925
|
+
|
|
81926
|
+
/***/ }),
|
|
81927
|
+
|
|
81687
81928
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Header/HeaderConverter.ts":
|
|
81688
81929
|
/*!********************************************************************************************************!*\
|
|
81689
81930
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Header/HeaderConverter.ts ***!
|
|
@@ -94890,7 +95131,7 @@ let FiasValueSources = (_dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
94890
95131
|
writable: true,
|
|
94891
95132
|
initializer: null
|
|
94892
95133
|
}), _class4)) || _class3);
|
|
94893
|
-
let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfield", "Описание дополнительных полей для фиаса"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `По этому пути в иннер будет сетится полученное значение`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "guid", "kladr", "index"), `Тип для поля, string - строка значение из ответа фиаса, guid, kladr - уникальный адресный идентификатор`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `Описание поля - будет выводиться на полях "Заполнить вручную"`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли пользователю выводиться эта строчка при просмотре адреса`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("setToModel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли это поле сетиться в иннер. По умолчанию: true"`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли значение показываться в модальном окне ручного ввода. По умолчанию: true`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Опциональность элемента, работает для индекса в ФСС`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Префикс для значения из иннера. Если значение есть - применяется префикс`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("valuesources", [FiasValueSources]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("parentGuid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("region", "district", "city", "street", "garhouse", "room"), `Выгрузка родительского элемента GUID-a, применимо только к полям c type: guid`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("convertToShow", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum(_Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getMunicipalDistrictTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getUrbanSettlementTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getRegionNameByCode), `Метода для конвертации
|
|
95134
|
+
let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfield", "Описание дополнительных полей для фиаса"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `По этому пути в иннер будет сетится полученное значение`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "guid", "kladr", "index"), `Тип для поля, string - строка значение из ответа фиаса, guid, kladr - уникальный адресный идентификатор`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `Описание поля - будет выводиться на полях "Заполнить вручную"`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли пользователю выводиться эта строчка при просмотре адреса`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("setToModel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли это поле сетиться в иннер. По умолчанию: true"`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли значение показываться в модальном окне ручного ввода. По умолчанию: true`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Опциональность элемента, работает для индекса в ФСС`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Префикс для значения из иннера. Если значение есть - применяется префикс`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("valuesources", [FiasValueSources]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("parentGuid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("region", "district", "city", "street", "garhouse", "room"), `Выгрузка родительского элемента GUID-a, применимо только к полям c type: guid`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("convertToShow", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum(_Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getMunicipalDistrictTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getUrbanSettlementTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getRegionNameByCode), `Метода для конвертации данных из модели для отображения пользователю`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("child", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Является ли данный path - частью children`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("clearSubstring", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Подстрока, которую нужно удалить перед показом пользователю"), _dec12(_class5 = (_class6 = class FiasExtendedField extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
94894
95135
|
constructor(...args) {
|
|
94895
95136
|
super(...args);
|
|
94896
95137
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor10, this);
|
|
@@ -94973,7 +95214,7 @@ let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
94973
95214
|
writable: true,
|
|
94974
95215
|
initializer: null
|
|
94975
95216
|
}), _class6)) || _class5);
|
|
94976
|
-
let FiasChildren = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("childrenoptions", `Описание наполнения множественных полей по фиасу. Обязательно для адекватного засечивания множественности в фуф`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.
|
|
95217
|
+
let FiasChildren = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("childrenoptions", `Описание наполнения множественных полей по фиасу. Обязательно для адекватного засечивания множественности в фуф`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("childrenInStack", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "По какому пути будут засечены children-ы"), _dec26(_class7 = (_class8 = class FiasChildren extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
94977
95218
|
constructor(...args) {
|
|
94978
95219
|
super(...args);
|
|
94979
95220
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "childrenInStack", _descriptor23, this);
|