kui-crm_actions 0.0.76 → 0.0.77

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/index.d.ts CHANGED
@@ -847,6 +847,7 @@ type InspectionFillingCardProps = {
847
847
  index: number
848
848
  filling: FillingCheckParams
849
849
  warningLabel: string
850
+ disabled?: boolean
850
851
  }
851
852
 
852
853
  type InspectionFillingItemFields = {
package/index.js CHANGED
@@ -962,8 +962,8 @@ var StyledSubtitle = styled(Caption)(templateObject_3$1 || (templateObject_3$1 =
962
962
  var templateObject_1$5, templateObject_2$4, templateObject_3$1;
963
963
 
964
964
  var InspectionFillingCard = function (props) {
965
- var className = props.className, form = props.form, index = props.index, other = __rest(props, ["className", "form", "index"]);
966
- return (jsx(StyledCard$1, __assign({ className: className }, { children: jsx(StyledCheckbox, { form: form, name: "filling.".concat(index, ".check"), label: jsx(FillingCardContent, __assign({}, other)) }) })));
965
+ var className = props.className, form = props.form, index = props.index, disabled = props.disabled, other = __rest(props, ["className", "form", "index", "disabled"]);
966
+ return (jsx(StyledCard$1, __assign({ className: className }, { children: jsx(StyledCheckbox, { form: form, name: "filling.".concat(index, ".check"), label: jsx(FillingCardContent, __assign({}, other)), disabled: disabled }) })));
967
967
  };
968
968
  var StyledCard$1 = styled(Grid)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n padding: 8px 16px;\n border-radius: 12px;\n background: white;\n"], ["\n padding: 8px 16px;\n border-radius: 12px;\n background: white;\n"])));
969
969
  var StyledCheckbox = styled(CheckboxWithController)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n .KUI-Label_checkbox {\n margin-left: 0;\n }\n"], ["\n .KUI-Label_checkbox {\n margin-left: 0;\n }\n"])));