@lm_fe/components_m 0.2.2 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +1 -1
  2. package/dist/FU_components/DateRange/utils.d.ts +400 -0
  3. package/dist/FU_components/FormSection/RenderFormSectionComponent.d.ts +0 -4
  4. package/dist/FU_components/FormSection/types.d.ts +0 -4
  5. package/dist/FU_components/TemplateTextarea/index.d.ts +1 -0
  6. package/dist/a_chunks/Inner.js +6 -12
  7. package/dist/a_chunks/{.root45.js → components.business.TextareaWithTemplate.js} +1 -1
  8. package/dist/a_chunks/index.js +75 -337
  9. package/dist/a_chunks/{.root59.js → src.BusinessComponents.BloodAndThalassemia.js} +1 -1
  10. package/dist/a_chunks/{.root75.js → src.BusinessComponents.NoenateRecord.js} +2 -2
  11. package/dist/a_chunks/{.root85.js → src.BusinessComponents.ProcedureCystocentesis.js} +1 -1
  12. package/dist/a_chunks/{.root88.js → src.BusinessComponents.ReferralRegister.js} +2 -2
  13. package/dist/a_chunks/{.root20.js → src.FB_components.DoctorEnd_ImageReport_Report.js} +1 -1
  14. package/dist/a_chunks/{.root11.js → src.FU_components.CommonFormTabs.js} +1 -1
  15. package/dist/a_chunks/{.root46.js → src.FU_components.FormSection.js} +247 -305
  16. package/dist/a_chunks/{.root14.js → src.FU_components.MyEditTable.js} +1 -1
  17. package/dist/a_chunks/{.root132.js → src.GeneralComponents.CheckboxGroupObjectCustom.js} +1 -1
  18. package/dist/a_chunks/{.root3.js → src.doctor-end.GestationalWeekProjectTree.js} +10 -3
  19. package/dist/index.d.ts +0 -2
  20. package/dist/index.js +1 -1
  21. package/package.json +7 -7
  22. package/dist/a_chunks/.root103.js +0 -85
  23. package/dist/a_chunks/.root112.js +0 -31
  24. package/dist/a_chunks/.root114.js +0 -2003
  25. package/dist/a_chunks/.root121.js +0 -108
  26. package/dist/a_chunks/.root122.js +0 -109
  27. package/dist/a_chunks/.root52.js +0 -265
  28. package/dist/selects/ApiPermissionSelect/index.d.ts +0 -21
  29. package/dist/selects/PermissionSelect/index.d.ts +0 -14
  30. /package/dist/a_chunks/{.root56.js → BusinessComponents.TreatmentProgram.TreatmentProgramBasic.js} +0 -0
  31. /package/dist/a_chunks/{.root32.js → MyForm.components.MyAutoComplete.js} +0 -0
  32. /package/dist/a_chunks/{.root33.js → MyForm.components.MyCascader.js} +0 -0
  33. /package/dist/a_chunks/{.root39.js → MyForm.components.MyCheckbox.js} +0 -0
  34. /package/dist/a_chunks/{.root34.js → MyForm.components.MyCustom.js} +0 -0
  35. /package/dist/a_chunks/{.root35.js → MyForm.components.MyCustom2.js} +0 -0
  36. /package/dist/a_chunks/{.root43.js → MyForm.components.MyCustom3.js} +0 -0
  37. /package/dist/a_chunks/{.root36.js → MyForm.components.MyInputWithRed.js} +0 -0
  38. /package/dist/a_chunks/{.root38.js → MyForm.components.MySelect.js} +0 -0
  39. /package/dist/a_chunks/{.root57.js → MyForm.components.MyTable.js} +0 -0
  40. /package/dist/a_chunks/{.root42.js → MyForm.components.MyTreeSelect.js} +0 -0
  41. /package/dist/a_chunks/{.root37.js → MyForm.components.SingleCheckbox.js} +0 -0
  42. /package/dist/a_chunks/{.root26.js → components.business.BloodPressure.js} +0 -0
  43. /package/dist/a_chunks/{.root27.js → components.business.DoubleInput.js} +0 -0
  44. /package/dist/a_chunks/{.root28.js → components.business.FilterDateInput.js} +0 -0
  45. /package/dist/a_chunks/{.root29.js → components.business.FundalHeightInput.js} +0 -0
  46. /package/dist/a_chunks/{.root30.js → components.business.NormalButton.js} +0 -0
  47. /package/dist/a_chunks/{.root6.js → components.business.PregnancyHistory.js} +0 -0
  48. /package/dist/a_chunks/{.root31.js → components.business.TextareaWithBtn.js} +0 -0
  49. /package/dist/a_chunks/{.root44.js → components.business.prenatalReturnTable.js} +0 -0
  50. /package/dist/a_chunks/{.root.js → components_m.src.BaseEditPanel.js} +0 -0
  51. /package/dist/a_chunks/{.root22.js → components_m.src.BaseFormComponent.js} +0 -0
  52. /package/dist/a_chunks/{.root40.js → components_m.src.BaseTable.js} +0 -0
  53. /package/dist/a_chunks/{.root54.js → components_m.src.DataSelectWithAutoInput.js} +0 -0
  54. /package/dist/a_chunks/{.root2.js → components_m.src.MyForm.js} +0 -0
  55. /package/dist/a_chunks/{.root21.js → components_m.src.PDFPreview.js} +0 -0
  56. /package/dist/a_chunks/{.root58.js → src.BusinessComponents.Appgar.js} +0 -0
  57. /package/dist/a_chunks/{.root48.js → src.BusinessComponents.BirthCertificateChildren.js} +0 -0
  58. /package/dist/a_chunks/{.root135.js → src.BusinessComponents.BloodAndThalassemia2.js} +0 -0
  59. /package/dist/a_chunks/{.root60.js → src.BusinessComponents.BregmaGroup.js} +0 -0
  60. /package/dist/a_chunks/{.root61.js → src.BusinessComponents.CaesareanChildren.js} +0 -0
  61. /package/dist/a_chunks/{.root62.js → src.BusinessComponents.Diagnosis.js} +0 -0
  62. /package/dist/a_chunks/{.root63.js → src.BusinessComponents.DiagnosisList.js} +0 -0
  63. /package/dist/a_chunks/{.root64.js → src.BusinessComponents.DiagnosisListInduced.js} +0 -0
  64. /package/dist/a_chunks/{.root65.js → src.BusinessComponents.DiagnosisListv2.js} +0 -0
  65. /package/dist/a_chunks/{.root129.js → src.BusinessComponents.FamilyTumorHistory.js} +0 -0
  66. /package/dist/a_chunks/{.root66.js → src.BusinessComponents.FetalNTCheck.js} +0 -0
  67. /package/dist/a_chunks/{.root67.js → src.BusinessComponents.GynaecologyOperationTemplateTextarea.js} +0 -0
  68. /package/dist/a_chunks/{.root68.js → src.BusinessComponents.GynaecologyTemplateTextarea.js} +0 -0
  69. /package/dist/a_chunks/{.root69.js → src.BusinessComponents.HighriskSign.js} +0 -0
  70. /package/dist/a_chunks/{.root70.js → src.BusinessComponents.InducedFetus.js} +0 -0
  71. /package/dist/a_chunks/{.root71.js → src.BusinessComponents.KnowledgeBase.js} +0 -0
  72. /package/dist/a_chunks/{.root72.js → src.BusinessComponents.LaborProcess.js} +0 -0
  73. /package/dist/a_chunks/{.root73.js → src.BusinessComponents.MiddleUltsounds.js} +0 -0
  74. /package/dist/a_chunks/{.root74.js → src.BusinessComponents.MiddleUltsoundsSingle.js} +0 -0
  75. /package/dist/a_chunks/{.root78.js → src.BusinessComponents.NurseChildren.js} +0 -0
  76. /package/dist/a_chunks/{.root79.js → src.BusinessComponents.NurseChildren2.js} +0 -0
  77. /package/dist/a_chunks/{.root80.js → src.BusinessComponents.NursingFetus.js} +0 -0
  78. /package/dist/a_chunks/{.root81.js → src.BusinessComponents.NursingFetusv2.js} +0 -0
  79. /package/dist/a_chunks/{.root82.js → src.BusinessComponents.NursingFetusv3.js} +0 -0
  80. /package/dist/a_chunks/{.root83.js → src.BusinessComponents.PostpartumFetal.js} +0 -0
  81. /package/dist/a_chunks/{.root84.js → src.BusinessComponents.PregnancyHistoryV2.js} +0 -0
  82. /package/dist/a_chunks/{.root55.js → src.BusinessComponents.PressureInput.js} +0 -0
  83. /package/dist/a_chunks/{.root87.js → src.BusinessComponents.RecordState.js} +0 -0
  84. /package/dist/a_chunks/{.root91.js → src.BusinessComponents.ReferralToRegister.js} +0 -0
  85. /package/dist/a_chunks/{.root92.js → src.BusinessComponents.ShiftPatients.js} +0 -0
  86. /package/dist/a_chunks/{.root49.js → src.BusinessComponents.TemplateTexDeathclassification1.js} +0 -0
  87. /package/dist/a_chunks/{.root50.js → src.BusinessComponents.TemplateTexDeathclassification2.js} +0 -0
  88. /package/dist/a_chunks/{.root93.js → src.BusinessComponents.TemplateTextarea.js} +0 -0
  89. /package/dist/a_chunks/{.root94.js → src.BusinessComponents.TemplateTextareav2.js} +0 -0
  90. /package/dist/a_chunks/{.root51.js → src.BusinessComponents.TemplateTextareav3.js} +0 -0
  91. /package/dist/a_chunks/{.root89.js → src.ConfigComponents.CheckboxGroup.js} +0 -0
  92. /package/dist/a_chunks/{.root95.js → src.ConfigComponents.CheckboxWithInputv2.js} +0 -0
  93. /package/dist/a_chunks/{.root96.js → src.ConfigComponents.CheckboxWithSingleInput.js} +0 -0
  94. /package/dist/a_chunks/{.root97.js → src.ConfigComponents.CustomEditInTable.js} +0 -0
  95. /package/dist/a_chunks/{.root76.js → src.ConfigComponents.InputWithLabel.js} +0 -0
  96. /package/dist/a_chunks/{.root99.js → src.ConfigComponents.InputWithRangTip.js} +0 -0
  97. /package/dist/a_chunks/{.root98.js → src.ConfigComponents.InputWithRange.js} +0 -0
  98. /package/dist/a_chunks/{.root77.js → src.ConfigComponents.NormalCheckboxWithInput.js} +0 -0
  99. /package/dist/a_chunks/{.root86.js → src.ConfigComponents.ProcedureRecords.js} +0 -0
  100. /package/dist/a_chunks/{.root133.js → src.ConfigComponents.VaginaStrumentsRecordForm.js} +0 -0
  101. /package/dist/a_chunks/{.root19.js → src.FB_components.DoctorEnd_SurveyReport_Report.js} +0 -0
  102. /package/dist/a_chunks/{.root10.js → src.FU_components.ArrayPanel.js} +0 -0
  103. /package/dist/a_chunks/{.root12.js → src.FU_components.CommonFormTabs2.js} +0 -0
  104. /package/dist/a_chunks/{.root13.js → src.FU_components.DateTimeInput.js} +0 -0
  105. /package/dist/a_chunks/{.root134.js → src.FU_components.LoadFlag.js} +0 -0
  106. /package/dist/a_chunks/{.root18.js → src.FU_components.MchcDriverStatus.js} +0 -0
  107. /package/dist/a_chunks/{.root100.js → src.FU_components.MySearchSelect.js} +0 -0
  108. /package/dist/a_chunks/{.root15.js → src.FU_components.TakeInVolumn.js} +0 -0
  109. /package/dist/a_chunks/{.root16.js → src.FU_components.TakeOutVolumn.js} +0 -0
  110. /package/dist/a_chunks/{.root17.js → src.FU_components.ToggleForm.js} +0 -0
  111. /package/dist/a_chunks/{.root101.js → src.GeneralComponents.AsyncAutoComplete.js} +0 -0
  112. /package/dist/a_chunks/{.root130.js → src.GeneralComponents.CheckboxGroupObject.js} +0 -0
  113. /package/dist/a_chunks/{.root41.js → src.GeneralComponents.CheckboxWithInput.js} +0 -0
  114. /package/dist/a_chunks/{.root125.js → src.GeneralComponents.DataTimePick.js} +0 -0
  115. /package/dist/a_chunks/{.root9.js → src.GeneralComponents.DatePicker.js} +0 -0
  116. /package/dist/a_chunks/{.root7.js → src.GeneralComponents.DictionarySelect.js} +0 -0
  117. /package/dist/a_chunks/{.root4.js → src.GeneralComponents.EditInTable.js} +0 -0
  118. /package/dist/a_chunks/{.root102.js → src.GeneralComponents.FormSectionInput.js} +0 -0
  119. /package/dist/a_chunks/{.root127.js → src.GeneralComponents.ImageUploadPreview.js} +0 -0
  120. /package/dist/a_chunks/{.root128.js → src.GeneralComponents.ImageUploadPreviewIntranet.js} +0 -0
  121. /package/dist/a_chunks/{.root8.js → src.GeneralComponents.InputWithLabel.js} +0 -0
  122. /package/dist/a_chunks/{.root5.js → src.GeneralComponents.MobileEditor.js} +0 -0
  123. /package/dist/a_chunks/{.root104.js → src.GeneralComponents.MultipleInputGroup.js} +0 -0
  124. /package/dist/a_chunks/{.root105.js → src.GeneralComponents.RadioWithInput.js} +0 -0
  125. /package/dist/a_chunks/{.root106.js → src.GeneralComponents.RangePicker.js} +0 -0
  126. /package/dist/a_chunks/{.root107.js → src.GeneralComponents.TimePicker.js} +0 -0
  127. /package/dist/a_chunks/{.root108.js → src.GeneralComponents.UploadFile.js} +0 -0
  128. /package/dist/a_chunks/{.root109.js → src.GeneralComponents.UploadFileUrlEdit.js} +0 -0
  129. /package/dist/a_chunks/{.root53.js → src.GeneralComponents.border-title.js} +0 -0
  130. /package/dist/a_chunks/{.root124.js → src.GeneralComponents.datapick_with_check.js} +0 -0
  131. /package/dist/a_chunks/{.root126.js → src.newly-component.hepatitis-new-baby.js} +0 -0
  132. /package/dist/a_chunks/{.root47.js → src.others.TemplateTree.js} +0 -0
  133. /package/dist/a_chunks/{.root110.js → src.selects.AgeSelect.js} +0 -0
  134. /package/dist/a_chunks/{.root111.js → src.selects.ApgarScoreInput.js} +0 -0
  135. /package/dist/a_chunks/{.root23.js → src.selects.CascaderAddress.js} +0 -0
  136. /package/dist/a_chunks/{.root113.js → src.selects.CountrySelect.js} +0 -0
  137. /package/dist/a_chunks/{.root115.js → src.selects.DeviceStatusSelect.js} +0 -0
  138. /package/dist/a_chunks/{.root25.js → src.selects.NativePlace.js} +0 -0
  139. /package/dist/a_chunks/{.root116.js → src.selects.ParentPermissionSelect.js} +0 -0
  140. /package/dist/a_chunks/{.root24.js → src.selects.PatientAutoComplete.js} +0 -0
  141. /package/dist/a_chunks/{.root117.js → src.selects.PermissionTypeSelect.js} +0 -0
  142. /package/dist/a_chunks/{.root118.js → src.selects.RadioWithInput.js} +0 -0
  143. /package/dist/a_chunks/{.root119.js → src.selects.RadioWithInputNumber.js} +0 -0
  144. /package/dist/a_chunks/{.root90.js → src.selects.ReferralOrganizationSelect.js} +0 -0
  145. /package/dist/a_chunks/{.root120.js → src.selects.SelectWithNoneOption.js} +0 -0
  146. /package/dist/a_chunks/{.root131.js → src.selects.SelectWithOptionsOrInput.js} +0 -0
  147. /package/dist/a_chunks/{.root123.js → src.selects.TriggerTypeSelect.js} +0 -0
@@ -30,7 +30,7 @@ var styles = {
30
30
  styleInject(css_248z);
31
31
  var BaseFormComponent = /*#__PURE__*/lazy(function () {
32
32
  return import('./index.js').then(function (n) {
33
- return n.bU;
33
+ return n.bS;
34
34
  });
35
35
  });
36
36
  var MyEditTable = function MyEditTable(props) {
@@ -5,7 +5,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
5
5
  var _excluded = ["value", "options", "onChange", "type", "row", "cusextraObj"];
6
6
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
- import DefaultSelect from './.root38.js';
8
+ import DefaultSelect from './MyForm.components.MySelect.js';
9
9
  import { Row, Checkbox, Input, AutoComplete } from 'antd';
10
10
  import classnames from 'classnames';
11
11
  import { map, get, set, isArray } from 'lodash';
@@ -10,7 +10,7 @@ import { map } from 'lodash';
10
10
  import React, { useState, useEffect } from 'react';
11
11
  import { a as styleInject } from './index.js';
12
12
  import { MyIcon } from '@lm_fe/components';
13
- import { isEmpty, is_fuck_abnormal, speculate_on_display } from '@lm_fe/utils';
13
+ import { isEmpty, speculate_on_display, is_fuck_abnormal } from '@lm_fe/utils';
14
14
  import '@lm_fe/provoke';
15
15
  import 'dayjs';
16
16
  import 'reconnecting-websocket';
@@ -190,13 +190,20 @@ function GestationalWeekProjectTree(props) {
190
190
  }
191
191
  }, group.reports.map(function (rep) {
192
192
  var items = rep.itemInfos;
193
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
193
+ return /*#__PURE__*/React.createElement("div", {
194
+ style: {
195
+ textOverflow: 'ellipsis',
196
+ overflow: 'hidden'
197
+ }
198
+ }, /*#__PURE__*/React.createElement("span", {
194
199
  style: {
195
200
  fontWeight: 'bold',
196
201
  whiteSpace: 'nowrap'
197
202
  }
198
203
  }, rep.reportTitle, "\uFF1A"), items.map(function (item, idx) {
204
+ var v = speculate_on_display(item.value);
199
205
  return /*#__PURE__*/React.createElement("span", {
206
+ title: v,
200
207
  style: {
201
208
  whiteSpace: 'nowrap'
202
209
  }
@@ -208,7 +215,7 @@ function GestationalWeekProjectTree(props) {
208
215
  style: {
209
216
  color: is_fuck_abnormal(item) ? 'red' : 'unset'
210
217
  }
211
- }, speculate_on_display(item.value)), items.length === idx + 1 ? '' : '/');
218
+ }, v), items.length === idx + 1 ? '' : '/');
212
219
  }));
213
220
  })));
214
221
  })));
package/dist/index.d.ts CHANGED
@@ -44,8 +44,6 @@ declare const BaseEditPanelFormFC: import("react").LazyExoticComponent<typeof im
44
44
  export { BaseEditPanelFormFC };
45
45
  export { default as PressureInput } from './BusinessComponents/PressureInput';
46
46
  export { default as InputWithRange } from './GeneralComponents/InputWithRange';
47
- export { default as PermissionSelect } from './selects/PermissionSelect';
48
- export { default as ApiPermissionSelect } from './selects/ApiPermissionSelect';
49
47
  export * from '@lm_fe/components';
50
48
  export * from './utils/preload_components';
51
49
  export { MyBaseListComponents } from './FU_components/MyBaseList';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { a$ as ALLOW_CALC_EDD_BASED_ON_IVF, aj as APP_CONFIG, aF as ApiPermissionSelect, A as ArrayPanel, a7 as BaseEditPanel, a5 as BaseEditPanelForm, aq as BaseEditPanelFormFC, aB as BaseListOld, ax as BaseQuery, B as BaseTable, aA as BaseTableOld, x as CalcBmi, z as CascaderAddress, ar as CheckAndCancelButton, aM as CheckboxWithInput_lm, U as CheckboxWithValue, aN as CommonFormTabs, Q as ConfigComponents_DictionarySelect, C as CustomIcon, az as DataSelect, J as DateTimeInput, aU as DoctorEnd_ImageReport_Report, aT as DoctorEnd_SurveyReport_Report, ag as DynamicForm, _ as FormSection, c as FormSectionForm, L as FormTabs, b0 as GZlevelOptions, b4 as GZlevelOptions_Old, W as GeneralComponents_DictionarySelect, G as GeneralComponents_DictionarySelect_Display, ae as GeneralComponents_EditInTable, E as GeneralComponents_EditInTable_Inner, r as GeneralComponents_InputWithLabel, aI as GestationalWeekProjectTree, H as HbvdnaInput, aJ as HighRiskGradeSelect, Y as HighRiskGradeSelectPure, aO as HighriskGradeColorSpan, aG as HighriskGradeDisplay, S as HourMinuteInput, an as InputWithRange, $ as InterceptComponent, b8 as InterceptDisplayFC, aR as LoadingPlaceholder, aS as MchcDriverStatus, a1 as MobileEditor, aL as MountMchcModal, d as MyBaseListComponents, aP as MyBaseTable, M as MyComponent, v as MyDatePicker, X as MyEditTable, w as MyForm, _ as MyFormSection, c as MyFormSectionForm, ai as MyForm_Business_PregnancyHistory, V as MyPressure, aQ as MyPressureDisplayFC, Z as MyReferralOrganizationSelect, N as NativePlace, a0 as OkButton, P as PDFPreview_View, aW as PRENATAL_DIAGNOSIS_CHANGE_PATIENT, aY as PRENATAL_DIAGNOSIS_CLOSE_SPIN, aX as PRENATAL_DIAGNOSIS_OPEN_SPIN, au as PanelTitle, av as PanelTitleWrapper, aw as PanelWithChild, at as PanelWithChildFC, O as PatientAutoComplete, aE as PermissionSelect, aD as PressureInput, aV as RUNTIME_CONFIG, F as ResultTextarea, a2 as RolesPicker, T as TakeInVolumn, y as TakeOutVolumn, D as TemplateTextarea, K as ToggleForm, aZ as WEBSOCKET_STATUS, a_ as WEBSOCKET_STATUS_TEXT, ab as createResources, bg as createTemplate, ad as deleteResourcesByID, b7 as dictionaryTranslator, bC as expandObjectOrEmptyArray, bB as expandObjectOrEmptyObj, bd as filterReferrals, bc as fixedSelects, ba as formDescriptionsFromApi, a8 as formDescriptionsWithoutSectionApi, bu as formatDateToStandardApi, f as formatFormConfig, bs as formatTimeToApi, bp as formatTimeToDate, bo as formatTimeToStandard, bt as formatTimeToStandardApi, br as formatTimeToUTC, bq as formatTimeToYearMonth, ap as fromApi, bl as fubaoHistoryPush, by as fun_date, as as generateModalForm, aH as generateObjectByPath, am as getAllResources, bF as getDefaultRequiredRules, ak as getDictionariesEnumerations, b as getFormData, bD as getKeyAndKeyNote, bi as getLabExamGroup, b3 as getLevelOptions, bE as getObjByKeyAndKeyNote, bk as getOutReportFileBase64, be as getPhysicalExamdata, g as getRenderData, a9 as getResources, ac as getResourcesByID, bz as getResourcesTotal, bf as getTemplateById, bx as idNOFuzzy, b2 as levelOptionsobj, b6 as levelOptionsobj_Old, aK as mchcModal, bn as momentDate, b1 as nationLevelOptions, b5 as nationLevelOptions_Old, ay as observePatientData, bw as phoneFuzzy, bG as preload_components, bm as resolveFubaoPath, bj as saveFirstReader, ao as toApi, bA as transferDataByDate, bb as transferDataToFormByRules, bv as transferMenus, aa as updateResources, bh as updateTemplate, n as useFormTabs, b9 as useObisDoctorWs, aC as usePatientAutoComplete } from './a_chunks/index.js';
2
+ export { aZ as ALLOW_CALC_EDD_BASED_ON_IVF, aj as APP_CONFIG, A as ArrayPanel, a7 as BaseEditPanel, a5 as BaseEditPanelForm, aq as BaseEditPanelFormFC, aB as BaseListOld, ax as BaseQuery, B as BaseTable, aA as BaseTableOld, x as CalcBmi, z as CascaderAddress, ar as CheckAndCancelButton, aK as CheckboxWithInput_lm, U as CheckboxWithValue, aL as CommonFormTabs, Q as ConfigComponents_DictionarySelect, C as CustomIcon, az as DataSelect, J as DateTimeInput, aS as DoctorEnd_ImageReport_Report, aR as DoctorEnd_SurveyReport_Report, ag as DynamicForm, _ as FormSection, c as FormSectionForm, L as FormTabs, a_ as GZlevelOptions, b2 as GZlevelOptions_Old, W as GeneralComponents_DictionarySelect, G as GeneralComponents_DictionarySelect_Display, ae as GeneralComponents_EditInTable, E as GeneralComponents_EditInTable_Inner, r as GeneralComponents_InputWithLabel, aG as GestationalWeekProjectTree, H as HbvdnaInput, aH as HighRiskGradeSelect, Y as HighRiskGradeSelectPure, aM as HighriskGradeColorSpan, aE as HighriskGradeDisplay, S as HourMinuteInput, an as InputWithRange, $ as InterceptComponent, b6 as InterceptDisplayFC, aP as LoadingPlaceholder, aQ as MchcDriverStatus, a1 as MobileEditor, aJ as MountMchcModal, d as MyBaseListComponents, aN as MyBaseTable, M as MyComponent, v as MyDatePicker, X as MyEditTable, w as MyForm, _ as MyFormSection, c as MyFormSectionForm, ai as MyForm_Business_PregnancyHistory, V as MyPressure, aO as MyPressureDisplayFC, Z as MyReferralOrganizationSelect, N as NativePlace, a0 as OkButton, P as PDFPreview_View, aU as PRENATAL_DIAGNOSIS_CHANGE_PATIENT, aW as PRENATAL_DIAGNOSIS_CLOSE_SPIN, aV as PRENATAL_DIAGNOSIS_OPEN_SPIN, au as PanelTitle, av as PanelTitleWrapper, aw as PanelWithChild, at as PanelWithChildFC, O as PatientAutoComplete, aD as PressureInput, aT as RUNTIME_CONFIG, F as ResultTextarea, a2 as RolesPicker, T as TakeInVolumn, y as TakeOutVolumn, D as TemplateTextarea, K as ToggleForm, aX as WEBSOCKET_STATUS, aY as WEBSOCKET_STATUS_TEXT, ab as createResources, be as createTemplate, ad as deleteResourcesByID, b5 as dictionaryTranslator, bA as expandObjectOrEmptyArray, bz as expandObjectOrEmptyObj, bb as filterReferrals, ba as fixedSelects, b8 as formDescriptionsFromApi, a8 as formDescriptionsWithoutSectionApi, bs as formatDateToStandardApi, f as formatFormConfig, bq as formatTimeToApi, bn as formatTimeToDate, bm as formatTimeToStandard, br as formatTimeToStandardApi, bp as formatTimeToUTC, bo as formatTimeToYearMonth, ap as fromApi, bj as fubaoHistoryPush, bw as fun_date, as as generateModalForm, aF as generateObjectByPath, am as getAllResources, bD as getDefaultRequiredRules, ak as getDictionariesEnumerations, b as getFormData, bB as getKeyAndKeyNote, bg as getLabExamGroup, b1 as getLevelOptions, bC as getObjByKeyAndKeyNote, bi as getOutReportFileBase64, bc as getPhysicalExamdata, g as getRenderData, a9 as getResources, ac as getResourcesByID, bx as getResourcesTotal, bd as getTemplateById, bv as idNOFuzzy, b0 as levelOptionsobj, b4 as levelOptionsobj_Old, aI as mchcModal, bl as momentDate, a$ as nationLevelOptions, b3 as nationLevelOptions_Old, ay as observePatientData, bu as phoneFuzzy, bE as preload_components, bk as resolveFubaoPath, bh as saveFirstReader, ao as toApi, by as transferDataByDate, b9 as transferDataToFormByRules, bt as transferMenus, aa as updateResources, bf as updateTemplate, n as useFormTabs, b7 as useObisDoctorWs, aC as usePatientAutoComplete } from './a_chunks/index.js';
3
3
  export * from '@lm_fe/components';
4
4
  export { MyAutoComplete, MyRangeDate, MyRangeDateTime, MyRangePicker, getInputStyle } from '@lm_fe/components';
5
5
  export { EventEmitter_Old, GetAgeByBirthDay, calEddByLmp, gen_id_form_item_config, getBMI, getDataSource, getDiffYears, getExpected, getGesWeek, getGestationalDays, getGestationalWeekBySureEdd, getOrderTime, menopauseWeek } from '@lm_fe/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lm_fe/components_m",
3
- "version": "0.2.2",
3
+ "version": "0.2.6",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -51,16 +51,16 @@
51
51
  "rollup-plugin-postcss": "^4.0.2"
52
52
  },
53
53
  "dependencies": {
54
- "@lm_fe/components": "0.2.2",
55
- "@lm_fe/env": "0.2.2",
56
- "@lm_fe/provoke": "0.2.2",
54
+ "@lm_fe/components": "^0.2.6",
55
+ "@lm_fe/env": "^0.2.6",
56
+ "@lm_fe/provoke": "^0.2.6",
57
57
  "@lm_fe/scripts": "*",
58
- "@lm_fe/service": "0.2.2",
59
- "@lm_fe/utils": "0.2.2"
58
+ "@lm_fe/service": "^0.2.6",
59
+ "@lm_fe/utils": "^0.2.6"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
64
  "license": "MIT",
65
- "gitHead": "1ff13bdf8a20c78515bef188000c3855aa4663a5"
65
+ "gitHead": "6e298f7ef7ab4c77f79d02fd3f1224bfcf227f8b"
66
66
  }
@@ -1,85 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["unknown", "value", "onChange", "placeholder", "warn", "disabled"],
4
- _excluded2 = ["unknown", "value", "onChange", "placeholder", "warn", "disabled"];
5
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
- import { InputNumber, Checkbox } from 'antd';
8
- import React from 'react';
9
- import { getInputStyle } from '@lm_fe/components';
10
-
11
- // .ant-input-affix-wrapper-borderless
12
- var UNKNOWN_NUMBER_SYMBOL = 2147483647;
13
- function MyInputNumber(props) {
14
- var unknown = props.unknown,
15
- value = props.value,
16
- _onChange = props.onChange,
17
- placeholder = props.placeholder,
18
- warn = props.warn,
19
- disabled = props.disabled,
20
- others = _objectWithoutProperties(props, _excluded);
21
- var _style = getInputStyle(props);
22
- var isUnkown = !!unknown && value === UNKNOWN_NUMBER_SYMBOL;
23
- if (unknown) {
24
- _style.flex = 1;
25
- }
26
- if (warn) {
27
- _style.color = 'red';
28
- }
29
- // const node = <Input disabled={disabled} {...others} placeholder={placeholder ?? '请输入数值'} allowClear style={_style} type='number' value={isUnkown ? undefined : value!} onChange={e => onChange?.(e.target.value)} />
30
- var node = /*#__PURE__*/React.createElement(InputNumber, _objectSpread(_objectSpread({}, others), {}, {
31
- placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : '请输入',
32
- style: _objectSpread({
33
- width: '100%'
34
- }, _style),
35
- value: isUnkown ? undefined : value,
36
- onChange: _onChange
37
- }));
38
- return unknown ? /*#__PURE__*/React.createElement("span", {
39
- style: {
40
- display: 'flex',
41
- alignItems: 'center'
42
- }
43
- }, node, /*#__PURE__*/React.createElement("span", {
44
- style: {
45
- marginLeft: 6
46
- }
47
- }, /*#__PURE__*/React.createElement(Checkbox, {
48
- disabled: disabled,
49
- checked: isUnkown,
50
- skipGroup: true,
51
- onChange: function onChange(e) {
52
- var _value = e.target.checked ? UNKNOWN_NUMBER_SYMBOL : null;
53
- _onChange === null || _onChange === void 0 || _onChange(_value);
54
- }
55
- }), /*#__PURE__*/React.createElement("span", {
56
- style: {
57
- marginLeft: 6
58
- }
59
- }, "\u4E0D\u8BE6"))) : node;
60
- }
61
- function DisplayFC(props) {
62
- var unknown = props.unknown,
63
- value = props.value,
64
- onChange = props.onChange,
65
- placeholder = props.placeholder,
66
- warn = props.warn,
67
- disabled = props.disabled,
68
- others = _objectWithoutProperties(props, _excluded2);
69
- var _style = getInputStyle(props);
70
- var isUnkown = !!unknown && value === UNKNOWN_NUMBER_SYMBOL;
71
- if (isUnkown) {
72
- return /*#__PURE__*/React.createElement("span", null, "\u4E0D\u8BE6");
73
- }
74
- if (warn) {
75
- _style.color = 'red';
76
- }
77
- return /*#__PURE__*/React.createElement("span", {
78
- title: 'DisplayFC',
79
- style: _style
80
- }, value);
81
- }
82
- var index = Object.assign(MyInputNumber, {
83
- DisplayFC: DisplayFC
84
- });
85
- export { index as default };
@@ -1,31 +0,0 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
- import _createClass from "@babel/runtime/helpers/createClass";
4
- import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
- import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- import _inherits from "@babel/runtime/helpers/inherits";
7
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- import React, { Component } from 'react';
12
- import { AutoComplete } from 'antd';
13
- var Index = /*#__PURE__*/function (_Component) {
14
- function Index() {
15
- _classCallCheck(this, Index);
16
- return _callSuper(this, Index, arguments);
17
- }
18
- _inherits(Index, _Component);
19
- return _createClass(Index, [{
20
- key: "render",
21
- value: function render() {
22
- var value = this.props.value;
23
- return /*#__PURE__*/React.createElement(AutoComplete, _objectSpread(_objectSpread({}, this.props), {}, {
24
- style: {
25
- color: value === '阳性' ? '#ff4d4f' : ''
26
- }
27
- }));
28
- }
29
- }]);
30
- }(Component);
31
- export { Index as default };