import { b as __awaiter, c as __generator, a as __spreadArray, d as __assign } from './index.js';
import { get_check_invert_values } from '@lm_fe/components_m';
import { mchcEnv } from '@lm_fe/env';
import 'react';
import 'antd/es/tabs/style';
import 'antd/es/tabs';
import 'lodash/size';
import 'lodash/get';
import '@lm_fe/utils';
import 'lodash/orderBy';
import 'lodash/map';
import '@lm_fe/components';
import 'antd/es/collapse/style';
import 'antd/es/collapse';
import 'antd/es/badge/style';
import 'antd/es/badge';
import 'antd/es/button/style';
import 'antd/es/button';
import 'lodash/assign';
import '@ant-design/icons';
import '@lm_fe/service';
import '@lm_fe/pages';
function check_config() {
  return __awaiter(this, void 0, void 0, function () {
    var 既往史_pack_建瓯, 既往史_pack;
    return __generator(this, function (_a) {
      switch (_a.label) {
        case 0:
          if (!mchcEnv.is('建瓯')) return [3, 2];
          return [4, import('./nurse-end.archival-information.form_new.js')];
        case 1:
          既往史_pack_建瓯 = _a.sent().既往史_pack_建瓯;
          return [2, 既往史_pack_建瓯(true, true)];
        case 2:
          return [4, import('./nurse-end.archival-information.form.js')];
        case 3:
          既往史_pack = _a.sent().既往史_pack;
          return [2, 既往史_pack(true, true)];
      }
    });
  });
}
function getConfig() {
  return __awaiter(this, void 0, void 0, function () {
    var config, _a;
    return __generator(this, function (_b) {
      switch (_b.label) {
        case 0:
          _a = [[{
            name: 'id',
            form_hidden: true
          }]];
          return [4, check_config()];
        case 1:
          config = __spreadArray.apply(void 0, [__spreadArray.apply(void 0, _a.concat([_b.sent(), true])), [{
            "key": "既往史一键勾选",
            "label": "一键勾选",
            "inputType": "check_invert_button",
            inputPropsFn: function inputPropsFn() {
              return {
                check_invert_values: __assign({}, get_check_invert_values(config))
              };
            },
            layout: '1/3'
          }], false]);
          return [2, config];
      }
    });
  });
}
export { getConfig as default };
//# sourceMappingURL=prenatal-visit.pregnancy.doctor-end10.js.map
