@kne/react-form-antd 4.1.7 → 4.1.9

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["index.scss","style.scss"],"names":[],"mappings":"AAAA;EACE,gBAAgB;EAChB,eAAe;AACjB;AACA;EACE,WAAW;AACb;AACA;EACE,eAAe;EACf,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,gBAAgB;EAChB,iBAAiB;EACjB,cAAc;EACd,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,qBAAqB;EACrB,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,0BAA0B;EAC1B,eAAe;AACjB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;EACjB,4BAA4B;AAC9B;AACA;EACE,kBAAkB;EAClB,OAAO;EACP,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,qBAAqB;AACvB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,qBAAqB;AACvB;AACA;E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;EAEE,wBAAwB;EACxB,iCAAiC;EACjC,yBAAyB;EACzB,8BAA8B;EAC9B,sBAAsB;EACtB,0BAA0B;EAC1B,0BAA0B;EAC1B,gBAAgB;AAClB;AACA;;EAEE,wBAAwB;EACxB,yBAAyB;EACzB,sBAAsB;EACtB,0BAA0B;EAC1B,uBAAuB;EACvB,2EAA2E;AAC7E;AACA;;EAEE,sBAAsB;EACtB,sBAAsB;EACtB,uBAAuB;EACvB,0BAA0B;EAC1B,oBAAoB;EACpB,kBAAkB;EAClB,2BAA2B;AAC7B;AACA;;EAEE,kBAAkB;AACpB;AACA;;EAEE,sBAAsB;EACtB,0BAA0B;EAC1B,gBAAgB;EAChB,uBAAuB;EACvB,4BAA4B;EAC5B,4BAA4B;EAC5B,kBAAkB;EAClB,kBAAkB;AACpB;AACA;;EAEE,+BAA+B;EAC/B,gBAAgB;AAClB;AACA;;EAEE,WAAW;EACX,yCAAyC;EACzC,gBAAgB;AAClB;AACA;;EAEE,yBAAyB;AAC3B;;AAEA;EACE,yBAAyB;EACzB,4BAA4B;AAC9B;AACA;;EAEE,sBAAsB;AACxB;;AAEA;;;;;;;;EAQE,0BAA0B;EAC1B,2BAA2B;EAC3B,4EAA4E;AAC9E;;AAEA;;EAEE,0BAA0B;EAC1B,2BAA2B;EAC3B,+BAA+B;EAC/B,4EAA4E;AAC9E","file":"index.css","sourcesContent":[".react-form, .react-form--inline, .react-form--inline--small, .react-form--inline--large, .react-form--inner, .react-form--inner--small, .react-form--inner--large, .react-form--small, .react-form--large {\n text-align: left;\n font-size: 12px;\n}\n.react-form .ant-select, .react-form--inline .ant-select, .react-form--inline--small .ant-select, .react-form--inline--large .ant-select, .react-form--inner .ant-select, .react-form--inner--small .ant-select, .react-form--inner--large .ant-select, .react-form--small .ant-select, .react-form--large .ant-select {\n width: 100%;\n}\n.react-form--large .react-form__field-label {\n font-size: 14px;\n margin-right: 20px;\n line-height: 34px;\n}\n.react-form--small .react-form__field-label {\n margin-right: 12px;\n line-height: 24px;\n}\n.react-form--inner .react-form__field, .react-form--inner--small .react-form__field, .react-form--inner--large .react-form__field {\n margin-bottom: 22px;\n}\n.react-form--inner .react-form__field-main, .react-form--inner--small .react-form__field-main, .react-form--inner--large .react-form__field-main {\n flex-direction: column;\n}\n.react-form--inner .react-form__field-input, .react-form--inner--small .react-form__field-input, .react-form--inner--large .react-form__field-input {\n align-self: auto;\n}\n.react-form--inner .react-form__field-label, .react-form--inner--small .react-form__field-label, .react-form--inner--large .react-form__field-label {\n font-size: 14px;\n text-align: left;\n font-weight: bold;\n margin-left: 0;\n margin-bottom: 2px;\n}\n.react-form--inner--small .react-form__field-label {\n font-size: 12px;\n margin-bottom: 1px;\n}\n.react-form--inline, .react-form--inline--small, .react-form--inline--large {\n padding: 30px 30px 6px;\n}\n.react-form--inline .react-form__field, .react-form--inline--small .react-form__field, .react-form--inline--large .react-form__field {\n display: inline-block;\n margin-right: 40px;\n}\n.react-form--inline .react-form__field:last-child, .react-form--inline--small .react-form__field:last-child, .react-form--inline--large .react-form__field:last-child {\n margin-right: 0;\n}\n.react-form--inline .react-form__field-label, .react-form--inline--small .react-form__field-label, .react-form--inline--large .react-form__field-label {\n min-width: auto !important;\n padding-left: 0;\n}\n.react-form--inline .react-form__field-label.is-req:before, .react-form--inline--small .react-form__field-label.is-req:before, .react-form--inline--large .react-form__field-label.is-req:before {\n position: static;\n}\n.react-form--inline--large .react-form__field-label {\n font-size: 14px;\n line-height: 34px;\n}\n.react-form--inline--small .react-form__field-label {\n margin-right: 12px;\n}\n.react-form__field-main {\n display: flex;\n}\n.react-form__field-label {\n text-align: right;\n margin-right: 16px;\n line-height: 30px;\n margin-left: 10px;\n position: relative;\n}\n.react-form__field-label.is-req:before {\n position: absolute;\n color: #fc3333;\n font-weight: bold;\n content: \"*\";\n margin-right: 4px;\n transform: translateX(-10px);\n}\n.react-form__field-input {\n align-self: center;\n flex: 1;\n position: relative;\n}\n.react-form__field-describable {\n font-size: 12px;\n color: #999999;\n line-height: 20px;\n}\n.react-form__field {\n margin-bottom: 24px;\n transition: border-color 300ms;\n}\n.react-form__field.is-req-error .react-form__field-component, .react-form__field.is-error .react-form__field-component {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component:focus, .react-form__field.is-error .react-form__field-component:focus {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component .ant-select-selection, .react-form__field.is-req-error .react-form__field-component .ant-input, .react-form__field.is-req-error .react-form__field-component .ant-radio-inner, .react-form__field.is-error .react-form__field-component .ant-select-selection, .react-form__field.is-error .react-form__field-component .ant-input, .react-form__field.is-error .react-form__field-component .ant-radio-inner {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component .ant-select-selection:focus, .react-form__field.is-req-error .react-form__field-component .ant-input:focus, .react-form__field.is-req-error .react-form__field-component .ant-radio-inner:focus, .react-form__field.is-error .react-form__field-component .ant-select-selection:focus, .react-form__field.is-error .react-form__field-component .ant-input:focus, .react-form__field.is-error .react-form__field-component .ant-radio-inner:focus {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component .ant-upload.ant-upload-select-picture-card, .react-form__field.is-error .react-form__field-component .ant-upload.ant-upload-select-picture-card {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-input-affix-wrapper .ant-input, .react-form__field.is-error .react-form__field-component.ant-input-affix-wrapper .ant-input {\n box-shadow: none;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-input-affix-wrapper-focused, .react-form__field.is-error .react-form__field-component.ant-input-affix-wrapper-focused {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component.ant-select > .ant-select-selector, .react-form__field.is-error .react-form__field-component.ant-select > .ant-select-selector {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-select.ant-select-focused > .ant-select-selector, .react-form__field.is-error .react-form__field-component.ant-select.ant-select-focused > .ant-select-selector {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field-error {\n color: #fc3333;\n font-size: 12px;\n position: absolute;\n top: calc(100% + 1px);\n left: 0;\n}\n\n.react-form-modal .ant-modal-content > .ant-modal-body {\n padding: 0;\n}\n.react-form-modal .ant-modal-confirm-btns {\n display: none;\n}\n.react-form-modal.ant-modal-confirm .ant-modal-header, .react-form-modal.ant-modal-confirm .ant-modal-close {\n display: block;\n}\n\n.data_range_picker {\n color: rgba(0, 0, 0, 0.85);\n position: relative;\n}\n.data_range_picker .zhijin {\n position: absolute;\n line-height: 31px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.85);\n margin-left: 12px;\n pointer-events: auto;\n}\n.data_range_picker .zhijin_show {\n z-index: 9;\n}\n\n.data_range_picker_dis .ant-picker-input input {\n color: transparent;\n}\n\n.svg_box {\n display: flex;\n align-items: center;\n padding: 0 8px;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.react-form__field-input .data_range_picker {\n flex: 1;\n}\n\n.react-form--inner .svg_box, .react-form--inner--large .svg_box, .react-form--inner--small .svg_box {\n padding: 0 4px;\n}\n.react-form--inner .ant-picker, .react-form--inner--large .ant-picker, .react-form--inner--small .ant-picker {\n flex: 1;\n width: 100%;\n}\n.react-form--inner .date-picker-today-container, .react-form--inner--large .date-picker-today-container, .react-form--inner--small .date-picker-today-container {\n width: 100%;\n}\n\n.date-picker-today-container {\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n.date-picker-today-container .date-picker-today-inputs {\n display: inline-flex;\n align-items: center;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n padding: 0 11px;\n background: #fff;\n transition: all 0.2s;\n cursor: pointer;\n}\n.date-picker-today-container .date-picker-today-inputs:hover {\n border-color: #4096ff;\n}\n.date-picker-today-container .date-picker-today-inputs:focus-within {\n border-color: #4096ff;\n box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end {\n display: flex;\n align-items: center;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input {\n border: none;\n padding: 0;\n height: 30px;\n cursor: pointer;\n width: 110px;\n outline: none;\n background: transparent;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input::placeholder,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input:focus,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input:focus {\n box-shadow: none;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input.so-far-active,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input.so-far-active {\n color: rgba(0, 0, 0, 0.85);\n font-weight: 500;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-separator {\n padding: 0 8px;\n color: rgba(0, 0, 0, 0.25);\n line-height: 30px;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix {\n display: flex;\n align-items: center;\n padding-left: 4px;\n color: rgba(0, 0, 0, 0.25);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix .date-picker-today-clear {\n color: rgba(0, 0, 0, 0.25);\n font-size: 12px;\n transition: color 0.2s;\n cursor: pointer;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix .date-picker-today-clear:hover {\n color: rgba(0, 0, 0, 0.45);\n}\n.date-picker-today-container .ant-picker {\n position: absolute;\n top: 0;\n left: 0;\n width: 0 !important;\n height: 0 !important;\n visibility: hidden;\n pointer-events: none;\n}","@keyframes react-form-antd-mobile-expand-down {\n from {\n max-height: 0;\n }\n to {\n max-height: var(--react-form-antd-mobile-popup-height, 100vh);\n }\n}\n@keyframes react-form-antd-mobile-collapse-up {\n from {\n max-height: var(--react-form-antd-mobile-popup-height, 100vh);\n opacity: 1;\n }\n to {\n max-height: 0;\n opacity: 0;\n }\n}\n@keyframes react-form-antd-mobile-mask-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes react-form-antd-mobile-mask-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n.react-form-antd-mobile-anchor {\n display: contents;\n}\n\n.react-form-antd-mobile-anchor.is-mobile .ant-select,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-input,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-placeholder,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-content,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-content-value,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-selection-search-input,\n.react-form-antd-mobile-anchor.is-mobile .ant-picker-input > input,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-selection-item,\n.react-form-antd-mobile-anchor.is-mobile .ant-select-selection-placeholder {\n font-size: 16px !important;\n}\n.react-form-antd-mobile-anchor.is-mobile .ant-select {\n --ant-select-font-size: 16px;\n}\n\n.react-form-antd-mobile-mask {\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.45);\n animation: react-form-antd-mobile-mask-in 180ms ease-out both;\n}\n.react-form-antd-mobile-mask.kne-is-viewport {\n position: fixed;\n}\n.react-form-antd-mobile-mask.kne-is-boundary {\n position: absolute;\n width: 100%;\n}\n.react-form-antd-mobile-mask.is-leave {\n animation: react-form-antd-mobile-mask-out 180ms ease-out both;\n}\n\n.react-form-antd-mobile-popup {\n left: 0 !important;\n right: auto !important;\n top: var(--react-form-antd-mobile-popup-top) !important;\n width: var(--kne-viewport-width, 100vw);\n max-width: var(--kne-viewport-width, 100vw);\n max-height: var(--react-form-antd-mobile-popup-height, 100vh);\n overflow: hidden;\n background: #fff;\n border-radius: 0 0 var(--radius-default, 2px) var(--radius-default, 2px) !important;\n animation: react-form-antd-mobile-expand-down 180ms ease-out both;\n}\n.react-form-antd-mobile-popup.kne-is-viewport {\n position: fixed !important;\n width: var(--kne-viewport-width, 100vw) !important;\n max-width: var(--kne-viewport-width, 100vw) !important;\n min-width: var(--kne-viewport-width, 100vw) !important;\n}\n.react-form-antd-mobile-popup.kne-is-boundary {\n position: absolute !important;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n}\n.react-form-antd-mobile-popup.ant-slide-up-enter, .react-form-antd-mobile-popup.ant-slide-up-appear, .react-form-antd-mobile-popup.ant-slide-up-enter-active, .react-form-antd-mobile-popup.ant-slide-up-appear-active, .react-form-antd-mobile-popup.ant-slide-up-leave, .react-form-antd-mobile-popup.ant-slide-up-leave-active {\n transform: none !important;\n transition: none !important;\n}\n.react-form-antd-mobile-popup .ant-select-dropdown,\n.react-form-antd-mobile-popup .ant-cascader-dropdown,\n.react-form-antd-mobile-popup .ant-tree-select-dropdown {\n border-radius: 0 0 var(--radius-default, 2px) var(--radius-default, 2px) !important;\n}\n.react-form-antd-mobile-popup .ant-picker-panel-container,\n.react-form-antd-mobile-popup .ant-picker-panels,\n.react-form-antd-mobile-popup .ant-select-item-option-content,\n.react-form-antd-mobile-popup .ant-cascader-menus {\n max-width: 100%;\n}\n.react-form-antd-mobile-popup .ant-select-dropdown,\n.react-form-antd-mobile-popup .ant-cascader-menus,\n.react-form-antd-mobile-popup .ant-select-tree {\n overflow: auto;\n max-height: var(--react-form-antd-mobile-popup-height, 100vh);\n}\n.react-form-antd-mobile-popup .ant-select-item {\n min-height: 44px;\n align-items: center;\n}\n.react-form-antd-mobile-popup .ant-select-item-option-content,\n.react-form-antd-mobile-popup .ant-cascader-menu-item-content {\n white-space: normal;\n}\n.react-form-antd-mobile-popup .ant-cascader-menu-item,\n.react-form-antd-mobile-popup .ant-select-tree-node-content-wrapper {\n min-height: 44px;\n display: flex;\n align-items: center;\n}\n.react-form-antd-mobile-popup .ant-picker-range-arrow {\n display: none !important;\n}\n\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range) {\n clip-path: inset(0 -40px -40px -40px);\n}\n\n.react-form-antd-mobile-popup.is-above:not(.is-picker):not(.is-range) {\n top: auto !important;\n bottom: var(--react-form-antd-mobile-popup-bottom) !important;\n border-radius: var(--radius-default, 2px) var(--radius-default, 2px) 0 0 !important;\n transform: none !important;\n animation: none !important;\n clip-path: inset(-40px -40px 0 -40px);\n}\n\n.react-form-antd-mobile-popup.is-picker,\n.react-form-antd-mobile-popup.is-range {\n overflow: visible;\n background: transparent;\n animation: none;\n border-radius: 0 !important;\n}\n.react-form-antd-mobile-popup.is-picker.is-above,\n.react-form-antd-mobile-popup.is-range.is-above {\n top: auto !important;\n bottom: var(--react-form-antd-mobile-popup-bottom) !important;\n margin-bottom: 0 !important;\n padding-bottom: 0 !important;\n transform: none !important;\n}\n.react-form-antd-mobile-popup.is-picker.is-above .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-range.is-above .ant-picker-panel-container {\n margin: 0 !important;\n border-radius: var(--ant-border-radius-lg, 8px) var(--ant-border-radius-lg, 8px) 0 0 !important;\n clip-path: inset(-40px -40px 0 -40px);\n}\n.react-form-antd-mobile-popup.is-picker:not(.is-above) .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-range:not(.is-above) .ant-picker-panel-container {\n margin: 0 !important;\n border-radius: 0 0 var(--ant-border-radius-lg, 8px) var(--ant-border-radius-lg, 8px) !important;\n clip-path: inset(0 -40px -40px -40px);\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-picker .ant-picker-panel-layout,\n.react-form-antd-mobile-popup.is-picker .ant-picker-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-footer,\n.react-form-antd-mobile-popup.is-picker .ant-picker-header,\n.react-form-antd-mobile-popup.is-picker .ant-picker-body,\n.react-form-antd-mobile-popup.is-picker .ant-picker-content,\n.react-form-antd-mobile-popup.is-picker .ant-picker-date-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-week-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-month-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-quarter-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-year-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-decade-panel,\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel-layout,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-footer,\n.react-form-antd-mobile-popup.is-range .ant-picker-header,\n.react-form-antd-mobile-popup.is-range .ant-picker-body,\n.react-form-antd-mobile-popup.is-range .ant-picker-content,\n.react-form-antd-mobile-popup.is-range .ant-picker-date-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-week-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-month-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-quarter-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-year-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-decade-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel {\n width: 100%;\n min-width: 0;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-content,\n.react-form-antd-mobile-popup.is-range .ant-picker-content {\n table-layout: fixed;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel-container {\n display: block !important;\n overflow: visible;\n max-height: none;\n width: 100% !important;\n min-width: 100% !important;\n background: #fff !important;\n box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-panel-layout,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel-layout {\n max-height: var(--react-form-antd-mobile-popup-height, 100vh);\n overflow: auto;\n width: 100%;\n}\n.react-form-antd-mobile-popup.is-picker:has(.ant-picker-time-panel),\n.react-form-antd-mobile-popup.is-range:has(.ant-picker-time-panel) {\n background: #fff !important;\n overflow: hidden;\n}\n.react-form-antd-mobile-popup.is-picker:has(.ant-picker-time-panel) .ant-picker-panel-container,\n.react-form-antd-mobile-popup.is-range:has(.ant-picker-time-panel) .ant-picker-panel-container {\n clip-path: none !important;\n box-shadow: none !important;\n border-radius: inherit !important;\n display: flex !important;\n flex-direction: column !important;\n}\n.react-form-antd-mobile-popup.is-picker:has(.ant-picker-time-panel) .ant-picker-panel-layout,\n.react-form-antd-mobile-popup.is-range:has(.ant-picker-time-panel) .ant-picker-panel-layout {\n display: flex !important;\n flex-direction: column !important;\n align-items: stretch !important;\n width: 100% !important;\n flex: 1 1 auto !important;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel {\n display: flex !important;\n flex-direction: column !important;\n flex: 1 1 auto !important;\n align-self: stretch !important;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 100% !important;\n background: #fff;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel .ant-picker-content,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel .ant-picker-content {\n display: flex !important;\n flex: 1 1 auto !important;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n height: min(280px, var(--react-form-antd-mobile-popup-height, 50vh) - 56px);\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel-column,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel-column {\n flex: 1 1 0 !important;\n width: auto !important;\n min-width: 0 !important;\n max-width: none !important;\n margin: 0 !important;\n text-align: center;\n overflow-y: auto !important;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel-column > li.ant-picker-time-panel-cell,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel-column > li.ant-picker-time-panel-cell {\n margin-inline: 4px;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {\n width: 100% !important;\n max-width: none !important;\n min-height: 44px;\n height: 44px !important;\n line-height: 44px !important;\n padding-inline: 0 !important;\n text-align: center;\n border-radius: 6px;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-time-panel-column > li.ant-picker-time-panel-cell.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner,\n.react-form-antd-mobile-popup.is-range .ant-picker-time-panel-column > li.ant-picker-time-panel-cell.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {\n background: rgba(0, 0, 0, 0.04);\n font-weight: 600;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-footer,\n.react-form-antd-mobile-popup.is-range .ant-picker-footer {\n width: 100%;\n border-top: 1px solid rgba(0, 0, 0, 0.06);\n background: #fff;\n}\n.react-form-antd-mobile-popup.is-picker .ant-picker-ok,\n.react-form-antd-mobile-popup.is-range .ant-picker-ok {\n margin-inline-start: auto;\n}\n\n.react-form-antd-mobile-popup.is-range {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n.react-form-antd-mobile-popup.is-range .ant-picker-panels,\n.react-form-antd-mobile-popup.is-range .ant-picker-panel-layout {\n flex-direction: column;\n}\n\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-enter,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-appear,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-enter-prepare,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-appear-prepare,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-enter-start,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-appear-start,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-enter-active,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-appear-active {\n transform: none !important;\n transition: none !important;\n animation: react-form-antd-mobile-expand-down 180ms ease-out both !important;\n}\n\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-leave,\n.react-form-antd-mobile-popup:not(.is-picker):not(.is-range):not(.is-above).ant-slide-up-leave-active {\n transform: none !important;\n transition: none !important;\n pointer-events: none !important;\n animation: react-form-antd-mobile-collapse-up 120ms ease-out both !important;\n}"]}
1
+ {"version":3,"sources":["index.scss","style.scss"],"names":[],"mappings":"AAAA;EACE,gBAAgB;EAChB,eAAe;AACjB;AACA;EACE,WAAW;AACb;AACA;EACE,eAAe;EACf,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,gBAAgB;EAChB,iBAAiB;EACjB,cAAc;EACd,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,qBAAqB;EACrB,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,0BAA0B;EAC1B,eAAe;AACjB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;EACjB,4BAA4B;AAC9B;AACA;EACE,kBAAkB;EAClB,OAAO;EACP,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,qBAAqB;AACvB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,cAAc;EACd,eAAe;EACf,kBAAkB;EAClB,qBAAqB;EACrB,OAAO;AACT;;AAEA;EACE,UAAU;AACZ;AACA;EACE,aAAa;AACf;AACA;EACE,cAAc;AAChB;;AAEA;EACE,0BAA0B;EAC1B,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,iBAAiB;EACjB,eAAe;EACf,0BAA0B;EAC1B,iBAAiB;EACjB,oBAAoB;AACtB;AACA;EACE,UAAU;AACZ;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,0BAA0B;AAC5B;;AAEA;EACE,OAAO;AACT;;AAEA;EACE,cAAc;AAChB;AACA;EACE,OAAO;EACP,WAAW;AACb;AACA;EACE,WAAW;AACb;;AAEA;EACE,kBAAkB;EAClB,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,oBAAoB;EACpB,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;EAClB,eAAe;EACf,gBAAgB;EAChB,oBAAoB;EACpB,eAAe;AACjB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,qBAAqB;EACrB,4CAA4C;AAC9C;AACA;;EAEE,aAAa;EACb,mBAAmB;AACrB;AACA;;EAEE,YAAY;EACZ,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ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E;AA5UA;EACE,WAAW;AACb;AACA;EACE,+CAA+C;AACjD;AACA;EACE,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,mBAAmB;EACnB,wGAAwG;EACxG,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,wGAAwG;AAC1G","file":"index.css","sourcesContent":[".react-form, .react-form--inline, .react-form--inline--small, .react-form--inline--large, .react-form--inner, .react-form--inner--small, .react-form--inner--large, .react-form--small, .react-form--large {\n text-align: left;\n font-size: 12px;\n}\n.react-form .ant-select, .react-form--inline .ant-select, .react-form--inline--small .ant-select, .react-form--inline--large .ant-select, .react-form--inner .ant-select, .react-form--inner--small .ant-select, .react-form--inner--large .ant-select, .react-form--small .ant-select, .react-form--large .ant-select {\n width: 100%;\n}\n.react-form--large .react-form__field-label {\n font-size: 14px;\n margin-right: 20px;\n line-height: 34px;\n}\n.react-form--small .react-form__field-label {\n margin-right: 12px;\n line-height: 24px;\n}\n.react-form--inner .react-form__field, .react-form--inner--small .react-form__field, .react-form--inner--large .react-form__field {\n margin-bottom: 22px;\n}\n.react-form--inner .react-form__field-main, .react-form--inner--small .react-form__field-main, .react-form--inner--large .react-form__field-main {\n flex-direction: column;\n}\n.react-form--inner .react-form__field-input, .react-form--inner--small .react-form__field-input, .react-form--inner--large .react-form__field-input {\n align-self: auto;\n}\n.react-form--inner .react-form__field-label, .react-form--inner--small .react-form__field-label, .react-form--inner--large .react-form__field-label {\n font-size: 14px;\n text-align: left;\n font-weight: bold;\n margin-left: 0;\n margin-bottom: 2px;\n}\n.react-form--inner--small .react-form__field-label {\n font-size: 12px;\n margin-bottom: 1px;\n}\n.react-form--inline, .react-form--inline--small, .react-form--inline--large {\n padding: 30px 30px 6px;\n}\n.react-form--inline .react-form__field, .react-form--inline--small .react-form__field, .react-form--inline--large .react-form__field {\n display: inline-block;\n margin-right: 40px;\n}\n.react-form--inline .react-form__field:last-child, .react-form--inline--small .react-form__field:last-child, .react-form--inline--large .react-form__field:last-child {\n margin-right: 0;\n}\n.react-form--inline .react-form__field-label, .react-form--inline--small .react-form__field-label, .react-form--inline--large .react-form__field-label {\n min-width: auto !important;\n padding-left: 0;\n}\n.react-form--inline .react-form__field-label.is-req:before, .react-form--inline--small .react-form__field-label.is-req:before, .react-form--inline--large .react-form__field-label.is-req:before {\n position: static;\n}\n.react-form--inline--large .react-form__field-label {\n font-size: 14px;\n line-height: 34px;\n}\n.react-form--inline--small .react-form__field-label {\n margin-right: 12px;\n}\n.react-form__field-main {\n display: flex;\n}\n.react-form__field-label {\n text-align: right;\n margin-right: 16px;\n line-height: 30px;\n margin-left: 10px;\n position: relative;\n}\n.react-form__field-label.is-req:before {\n position: absolute;\n color: #fc3333;\n font-weight: bold;\n content: \"*\";\n margin-right: 4px;\n transform: translateX(-10px);\n}\n.react-form__field-input {\n align-self: center;\n flex: 1;\n position: relative;\n}\n.react-form__field-describable {\n font-size: 12px;\n color: #999999;\n line-height: 20px;\n}\n.react-form__field {\n margin-bottom: 24px;\n transition: border-color 300ms;\n}\n.react-form__field.is-req-error .react-form__field-component, .react-form__field.is-error .react-form__field-component {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component:focus, .react-form__field.is-error .react-form__field-component:focus {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component .ant-input, .react-form__field.is-req-error .react-form__field-component .ant-radio-inner, .react-form__field.is-error .react-form__field-component .ant-input, .react-form__field.is-error .react-form__field-component .ant-radio-inner {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component .ant-input:focus, .react-form__field.is-req-error .react-form__field-component .ant-radio-inner:focus, .react-form__field.is-error .react-form__field-component .ant-input:focus, .react-form__field.is-error .react-form__field-component .ant-radio-inner:focus {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component .ant-upload.ant-upload-select-picture-card, .react-form__field.is-error .react-form__field-component .ant-upload.ant-upload-select-picture-card {\n border-color: #fc3333;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-input-affix-wrapper .ant-input, .react-form__field.is-error .react-form__field-component.ant-input-affix-wrapper .ant-input {\n box-shadow: none;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-input-affix-wrapper-focused, .react-form__field.is-error .react-form__field-component.ant-input-affix-wrapper-focused {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field.is-req-error .react-form__field-component.ant-select, .react-form__field.is-error .react-form__field-component.ant-select {\n --ant-select-border-color: #fc3333 !important;\n}\n.react-form__field.is-req-error .react-form__field-component.ant-select.ant-select-focused, .react-form__field.is-error .react-form__field-component.ant-select.ant-select-focused {\n box-shadow: 0 0 0 2px rgba(252, 51, 51, 0.2);\n}\n.react-form__field-error {\n color: #fc3333;\n font-size: 12px;\n position: absolute;\n top: calc(100% + 1px);\n left: 0;\n}\n\n.react-form-modal .ant-modal-content > .ant-modal-body {\n padding: 0;\n}\n.react-form-modal .ant-modal-confirm-btns {\n display: none;\n}\n.react-form-modal.ant-modal-confirm .ant-modal-header, .react-form-modal.ant-modal-confirm .ant-modal-close {\n display: block;\n}\n\n.data_range_picker {\n color: rgba(0, 0, 0, 0.85);\n position: relative;\n}\n.data_range_picker .zhijin {\n position: absolute;\n line-height: 31px;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.85);\n margin-left: 12px;\n pointer-events: auto;\n}\n.data_range_picker .zhijin_show {\n z-index: 9;\n}\n\n.data_range_picker_dis .ant-picker-input input {\n color: transparent;\n}\n\n.svg_box {\n display: flex;\n align-items: center;\n padding: 0 8px;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.react-form__field-input .data_range_picker {\n flex: 1;\n}\n\n.react-form--inner .svg_box, .react-form--inner--large .svg_box, .react-form--inner--small .svg_box {\n padding: 0 4px;\n}\n.react-form--inner .ant-picker, .react-form--inner--large .ant-picker, .react-form--inner--small .ant-picker {\n flex: 1;\n width: 100%;\n}\n.react-form--inner .date-picker-today-container, .react-form--inner--large .date-picker-today-container, .react-form--inner--small .date-picker-today-container {\n width: 100%;\n}\n\n.date-picker-today-container {\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n.date-picker-today-container .date-picker-today-inputs {\n display: inline-flex;\n align-items: center;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n padding: 0 11px;\n background: #fff;\n transition: all 0.2s;\n cursor: pointer;\n}\n.date-picker-today-container .date-picker-today-inputs:hover {\n border-color: #4096ff;\n}\n.date-picker-today-container .date-picker-today-inputs:focus-within {\n border-color: #4096ff;\n box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end {\n display: flex;\n align-items: center;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input {\n border: none;\n padding: 0;\n height: 30px;\n cursor: pointer;\n width: 110px;\n outline: none;\n background: transparent;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input::placeholder,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input:focus,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input:focus {\n box-shadow: none;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-start .ant-input.so-far-active,\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-end .ant-input.so-far-active {\n color: rgba(0, 0, 0, 0.85);\n font-weight: 500;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-separator {\n padding: 0 8px;\n color: rgba(0, 0, 0, 0.25);\n line-height: 30px;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix {\n display: flex;\n align-items: center;\n padding-left: 4px;\n color: rgba(0, 0, 0, 0.25);\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix .date-picker-today-clear {\n color: rgba(0, 0, 0, 0.25);\n font-size: 12px;\n transition: color 0.2s;\n cursor: pointer;\n}\n.date-picker-today-container .date-picker-today-inputs .date-picker-today-suffix .date-picker-today-clear:hover {\n color: rgba(0, 0, 0, 0.45);\n}\n.date-picker-today-container .ant-picker {\n position: absolute;\n top: 0;\n left: 0;\n width: 0 !important;\n height: 0 !important;\n visibility: hidden;\n pointer-events: none;\n}",".react-form-antd-mobile-stepper.ant-input-number {\n width: 100%;\n}\n.react-form-antd-mobile-stepper.ant-input-number.ant-input-number-lg {\n border-radius: var(--ant-border-radius-lg, 8px);\n}\n.react-form-antd-mobile-stepper.ant-input-number.ant-input-number-mode-spinner {\n overflow: hidden;\n}\n.react-form-antd-mobile-stepper.ant-input-number.ant-input-number-mode-spinner .ant-input-number-action {\n display: flex;\n align-items: center;\n justify-content: center;\n align-self: stretch;\n width: calc(1em * var(--ant-line-height, 1.5714) + 2 * var(--ant-input-number-input-padding-block, 4px));\n padding-inline: 0;\n font-size: inherit;\n}\n.react-form-antd-mobile-stepper.ant-input-number.ant-input-number-mode-spinner .ant-input-number-action .anticon {\n font-size: 14px;\n}\n.react-form-antd-mobile-stepper.ant-input-number.ant-input-number-mode-spinner.ant-input-number-lg .ant-input-number-action {\n width: calc(1em * var(--ant-line-height-lg, 1.5) + 2 * var(--ant-input-number-input-padding-block, 7px));\n}"]}
package/dist/index.js CHANGED
@@ -81,7 +81,18 @@ var preset = (function (props) {
81
81
  ReactForm.preset(globalParams.rules);
82
82
  });
83
83
 
84
- var _excluded$6 = ["className", "cache", "enterSubmit", "scrollToError", "scrollProps", "type", "size", "children"];
84
+ /** 仅控制表单布局;字段弹层、字号等字段级移动端优化不读这里 */
85
+ var FormMobileContext = React.createContext(undefined);
86
+ var useFormMobile = function useFormMobile() {
87
+ return React.useContext(FormMobileContext);
88
+ };
89
+ var useFormIsMobile = function useFormIsMobile() {
90
+ var mobile = useFormMobile();
91
+ var isMobile = responsiveUtils.useIsMobile();
92
+ return mobile === false ? false : isMobile;
93
+ };
94
+
95
+ var _excluded$7 = ["className", "cache", "enterSubmit", "scrollToError", "scrollProps", "type", "size", "mobile", "children"];
85
96
  var ScrollToError = reactFormHelper.widget.ScrollToError,
86
97
  EnterSubmit = reactFormHelper.widget.EnterSubmit,
87
98
  FormStore = reactFormHelper.widget.FormStore,
@@ -98,9 +109,12 @@ var Form = React.forwardRef(function (originProps, ref) {
98
109
  scrollProps = _originProps$scrollPr === void 0 ? {
99
110
  block: 'center'
100
111
  } : _originProps$scrollPr,
112
+ originMobile = originProps.mobile,
101
113
  children = originProps.children,
102
- props = _objectWithoutPropertiesLoose(originProps, _excluded$6);
114
+ props = _objectWithoutPropertiesLoose(originProps, _excluded$7);
103
115
  var isMobile = responsiveUtils.useIsMobile();
116
+ var parentMobile = useFormMobile();
117
+ var mobile = originMobile !== undefined ? originMobile : parentMobile !== undefined ? parentMobile : globalParams.mobile;
104
118
  var baseClass = 'react-form';
105
119
  var computedClass = baseClass;
106
120
  var _Object$assign = Object.assign({
@@ -117,11 +131,13 @@ var Form = React.forwardRef(function (originProps, ref) {
117
131
  }
118
132
  var maxLabel = /*#__PURE__*/React__default["default"].createElement(MaxLabelProvider, null, children);
119
133
  return /*#__PURE__*/React__default["default"].createElement("form", {
120
- className: classnames__default["default"](baseClass, computedClass, isMobile && 'is-mobile', className),
134
+ className: classnames__default["default"](baseClass, computedClass, isMobile && 'is-mobile', mobile === false && 'is-mobile-disabled', className),
121
135
  onSubmit: function onSubmit(e) {
122
136
  e.preventDefault();
123
137
  e.stopPropagation();
124
138
  }
139
+ }, /*#__PURE__*/React__default["default"].createElement(FormMobileContext.Provider, {
140
+ value: mobile
125
141
  }, /*#__PURE__*/React__default["default"].createElement(SizeProvider, {
126
142
  value: {
127
143
  size: size
@@ -132,7 +148,7 @@ var Form = React.forwardRef(function (originProps, ref) {
132
148
  cache: cache
133
149
  }) : null, scrollToError ? /*#__PURE__*/React__default["default"].createElement(ScrollToError, {
134
150
  scrollProps: scrollProps
135
- }) : null, enterSubmit ? /*#__PURE__*/React__default["default"].createElement(EnterSubmit, null, maxLabel) : maxLabel)));
151
+ }) : null, enterSubmit ? /*#__PURE__*/React__default["default"].createElement(EnterSubmit, null, maxLabel) : maxLabel))));
136
152
  });
137
153
 
138
154
  var locale$1 = {
@@ -31313,19 +31329,12 @@ var useMobileFieldPopup = function useMobileFieldPopup(_temp) {
31313
31329
  unlockTriggerWidth = _ref$unlockTriggerWid === void 0 ? false : _ref$unlockTriggerWid,
31314
31330
  _ref$syncListHeight = _ref.syncListHeight,
31315
31331
  syncListHeight = _ref$syncListHeight === void 0 ? false : _ref$syncListHeight,
31316
- _ref$dropdownVisibleE = _ref.dropdownVisibleEvent,
31317
- dropdownVisibleEvent = _ref$dropdownVisibleE === void 0 ? false : _ref$dropdownVisibleE,
31318
31332
  anchorRefProp = _ref.anchorRef,
31319
31333
  openProp = _ref.open,
31320
31334
  onOpenChange = _ref.onOpenChange,
31321
- onDropdownVisibleChange = _ref.onDropdownVisibleChange,
31322
31335
  getPopupContainerProp = _ref.getPopupContainer,
31323
31336
  classNamesProp = _ref.classNames,
31324
31337
  stylesProp = _ref.styles,
31325
- popupClassName = _ref.popupClassName,
31326
- dropdownClassName = _ref.dropdownClassName,
31327
- popupStyle = _ref.popupStyle,
31328
- dropdownStyle = _ref.dropdownStyle,
31329
31338
  placement = _ref.placement,
31330
31339
  zIndex = _ref.zIndex,
31331
31340
  inputReadOnly = _ref.inputReadOnly,
@@ -31617,8 +31626,7 @@ var useMobileFieldPopup = function useMobileFieldPopup(_temp) {
31617
31626
  updatePopupMetrics();
31618
31627
  }
31619
31628
  onOpenChange && onOpenChange(next);
31620
- onDropdownVisibleChange && onDropdownVisibleChange(next);
31621
- }, [controlled, isMobile, onDropdownVisibleChange, onOpenChange, updatePopupMetrics]);
31629
+ }, [controlled, isMobile, onOpenChange, updatePopupMetrics]);
31622
31630
  var close = React.useCallback(function () {
31623
31631
  emitOpenChange(false);
31624
31632
  }, [emitOpenChange]);
@@ -31636,7 +31644,6 @@ var useMobileFieldPopup = function useMobileFieldPopup(_temp) {
31636
31644
  var openAbove = popupMetrics.placement === 'top';
31637
31645
  var popupClass = classnames__default["default"](POPUP_CLASS, modeClass, kind === 'picker' && 'is-picker', kind === 'range-picker' && 'is-range', openAbove && 'is-above');
31638
31646
  var mobilePopupStyle = (_mobilePopupStyle = {}, _mobilePopupStyle[HEIGHT_VAR] = popupMetrics.height > 0 ? popupMetrics.height + "px" : undefined, _mobilePopupStyle[TOP_VAR] = popupMetrics.top + "px", _mobilePopupStyle[BOTTOM_VAR] = openAbove ? popupMetrics.bottom + "px" : undefined, _mobilePopupStyle.top = openAbove ? 'auto' : popupMetrics.top, _mobilePopupStyle.bottom = openAbove ? popupMetrics.bottom : undefined, _mobilePopupStyle.left = (_popupMetrics$left = popupMetrics.left) != null ? _popupMetrics$left : 0, _mobilePopupStyle.zIndex = panelZIndex, _mobilePopupStyle);
31639
- var mergedPopupStyle = Object.assign({}, popupStyle, dropdownStyle, mobilePopupStyle);
31640
31647
  var popupProps = {};
31641
31648
  if (isMobile) {
31642
31649
  popupProps = {
@@ -31647,16 +31654,9 @@ var useMobileFieldPopup = function useMobileFieldPopup(_temp) {
31647
31654
  // 位置由我们按可用空间计算,禁止 antd 再自动翻转,否则遮罩会和弹层错位
31648
31655
  autoAdjustOverflow: false,
31649
31656
  transitionName: '',
31650
- popupClassName: classnames__default["default"](popupClassName, popupClass),
31651
- dropdownClassName: classnames__default["default"](dropdownClassName, popupClass),
31652
- popupStyle: mergedPopupStyle,
31653
- dropdownStyle: mergedPopupStyle,
31654
31657
  classNames: mergeClassNames(classNamesProp, popupClass),
31655
31658
  styles: mergeStyles(stylesProp, mobilePopupStyle)
31656
31659
  };
31657
- if (dropdownVisibleEvent) {
31658
- popupProps.onDropdownVisibleChange = emitOpenChange;
31659
- }
31660
31660
  if (kind === 'picker' || kind === 'range-picker') {
31661
31661
  popupProps.inputReadOnly = inputReadOnly !== undefined ? inputReadOnly : true;
31662
31662
  }
@@ -31689,26 +31689,21 @@ var useMobileFieldPopup = function useMobileFieldPopup(_temp) {
31689
31689
  };
31690
31690
  };
31691
31691
 
31692
- var _excluded$5 = ["disableMobilePopup"];
31692
+ var _excluded$6 = ["disableMobilePopup"];
31693
31693
  var withMobilePopup = function withMobilePopup(WrappedComponent, options) {
31694
31694
  if (options === void 0) {
31695
31695
  options = {};
31696
31696
  }
31697
31697
  var MobilePopupField = React.forwardRef(function (props, ref) {
31698
31698
  var disableMobilePopup = props.disableMobilePopup,
31699
- rest = _objectWithoutPropertiesLoose(props, _excluded$5);
31699
+ rest = _objectWithoutPropertiesLoose(props, _excluded$6);
31700
31700
  var _useMobileFieldPopup = useMobileFieldPopup(Object.assign({}, options, {
31701
31701
  disabled: disableMobilePopup,
31702
31702
  open: rest.open,
31703
31703
  onOpenChange: rest.onOpenChange,
31704
- onDropdownVisibleChange: rest.onDropdownVisibleChange,
31705
31704
  getPopupContainer: rest.getPopupContainer,
31706
31705
  classNames: rest.classNames,
31707
31706
  styles: rest.styles,
31708
- popupClassName: rest.popupClassName,
31709
- dropdownClassName: rest.dropdownClassName,
31710
- popupStyle: rest.popupStyle,
31711
- dropdownStyle: rest.dropdownStyle,
31712
31707
  placement: rest.placement,
31713
31708
  zIndex: rest.zIndex,
31714
31709
  inputReadOnly: rest.inputReadOnly,
@@ -31823,7 +31818,7 @@ var normalizeDateValue = function normalizeDateValue(value, picker) {
31823
31818
  return startOfByPicker(value, picker);
31824
31819
  };
31825
31820
 
31826
- var _excluded$4 = ["value", "defaultValue", "format", "showTime", "picker", "onChange"];
31821
+ var _excluded$5 = ["value", "defaultValue", "format", "showTime", "picker", "onChange"];
31827
31822
 
31828
31823
  /**
31829
31824
  * Wrap antd picker so string/number initial values from form/API become dayjs.
@@ -31846,7 +31841,7 @@ var withDayjsValue = function withDayjsValue(WrappedComponent, options) {
31846
31841
  showTime = _ref.showTime,
31847
31842
  picker = _ref.picker,
31848
31843
  onChange = _ref.onChange,
31849
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
31844
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
31850
31845
  var mergedPicker = picker || defaultPicker;
31851
31846
  var shouldStripTime = stripTime && !showTime;
31852
31847
  var mergedValue = React.useMemo(function () {
@@ -31991,8 +31986,7 @@ var useOnChange$8 = reactFormHelper.hooks.useOnChange;
31991
31986
  var MobileSelect = withMobilePopup(antd.Select, {
31992
31987
  kind: 'select',
31993
31988
  unlockTriggerWidth: true,
31994
- syncListHeight: true,
31995
- dropdownVisibleEvent: true
31989
+ syncListHeight: true
31996
31990
  });
31997
31991
  var SelectInner = function SelectInner(props) {
31998
31992
  var _useIntl = reactIntl.useIntl(),
@@ -32014,11 +32008,11 @@ SelectInner.Option = antd.Select.Option;
32014
32008
  SelectInner.OptGroup = antd.Select.OptGroup;
32015
32009
  var _Select = withLocale(SelectInner);
32016
32010
 
32017
- var _excluded$3 = ["onChange"];
32011
+ var _excluded$4 = ["onChange"];
32018
32012
  var useOnChange$7 = reactFormHelper.hooks.useOnChange;
32019
32013
  var RadioGroup = function RadioGroup(_ref) {
32020
32014
  var onChange = _ref.onChange,
32021
- props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
32015
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
32022
32016
  props = Object.assign({}, {
32023
32017
  fieldName: 'radioGroup'
32024
32018
  }, props);
@@ -32036,7 +32030,28 @@ var _RadioGroup = function _RadioGroup(props) {
32036
32030
  _RadioGroup.Field = RadioGroup;
32037
32031
  _RadioGroup.Radio = antd.Radio;
32038
32032
 
32033
+ var MOBILE_STEPPER_CLASS = 'react-form-antd-mobile-stepper';
32034
+ var withMobileStepper = function withMobileStepper(WrappedComponent) {
32035
+ var MobileStepper = React.forwardRef(function (props, ref) {
32036
+ var isMobile = responsiveUtils.useIsMobile();
32037
+ if (!isMobile) {
32038
+ return /*#__PURE__*/React__default["default"].createElement(WrappedComponent, _extends$3({
32039
+ ref: ref
32040
+ }, props));
32041
+ }
32042
+ return /*#__PURE__*/React__default["default"].createElement(WrappedComponent, _extends$3({
32043
+ ref: ref
32044
+ }, props, {
32045
+ mode: props.mode || 'spinner',
32046
+ className: classnames__default["default"](props.className, MOBILE_STEPPER_CLASS)
32047
+ }));
32048
+ });
32049
+ MobileStepper.displayName = "withMobileStepper(" + (WrappedComponent.displayName || WrappedComponent.name || 'Component') + ")";
32050
+ return MobileStepper;
32051
+ };
32052
+
32039
32053
  var useDecorator$1 = reactFormHelper.hooks.useDecorator;
32054
+ var MobileInputNumber = withMobileStepper(antd.InputNumber);
32040
32055
  var InputNumberFieldInner = function InputNumberFieldInner(props) {
32041
32056
  var _useIntl = reactIntl.useIntl(),
32042
32057
  formatMessage = _useIntl.formatMessage;
@@ -32051,7 +32066,7 @@ var InputNumberFieldInner = function InputNumberFieldInner(props) {
32051
32066
  label: mergedProps.label
32052
32067
  })
32053
32068
  }, mergedProps));
32054
- return render(antd.InputNumber);
32069
+ return render(MobileInputNumber);
32055
32070
  };
32056
32071
  InputNumberFieldInner.Field = antd.InputNumber;
32057
32072
  var InputNumberField = withLocale(InputNumberFieldInner);
@@ -32496,7 +32511,7 @@ if (process.env.NODE_ENV !== 'production') {
32496
32511
  }
32497
32512
  var CloseCircleFilled$1 = RefIcon;
32498
32513
 
32499
- var _excluded$2 = ["soFarText", "soFarValue", "picker", "placeholder"];
32514
+ var _excluded$3 = ["soFarText", "soFarValue", "picker", "placeholder"];
32500
32515
  var useOnChange$6 = reactFormHelper.hooks.useOnChange;
32501
32516
  var PickerTodayInner = function PickerTodayInner(_ref) {
32502
32517
  var soFarText = _ref.soFarText,
@@ -32505,7 +32520,7 @@ var PickerTodayInner = function PickerTodayInner(_ref) {
32505
32520
  _ref$picker = _ref.picker,
32506
32521
  picker = _ref$picker === void 0 ? 'date' : _ref$picker,
32507
32522
  placeholder = _ref.placeholder,
32508
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
32523
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
32509
32524
  var _useIntl = reactIntl.useIntl(),
32510
32525
  formatMessage = _useIntl.formatMessage;
32511
32526
  var _useControlValue = useControlValue__default["default"](props),
@@ -32992,12 +33007,17 @@ var Slider = function Slider(props) {
32992
33007
  };
32993
33008
  Slider.Field = antd.Slider;
32994
33009
 
32995
- var ResetButton = function ResetButton(props) {
33010
+ var _excluded$2 = ["className"];
33011
+ var ResetButton = function ResetButton(_ref) {
33012
+ var className = _ref.className,
33013
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
32996
33014
  var resetProps = ReactForm.useReset();
32997
- return /*#__PURE__*/React__default["default"].createElement(antd.Button, _extends$3({}, resetProps, props));
33015
+ return /*#__PURE__*/React__default["default"].createElement(antd.Button, _extends$3({}, resetProps, props, {
33016
+ className: classnames__default["default"]('react-form__action-button', className)
33017
+ }));
32998
33018
  };
32999
33019
 
33000
- var _excluded$1 = ["type", "realtime", "disabled"],
33020
+ var _excluded$1 = ["type", "realtime", "disabled", "className"],
33001
33021
  _excluded2 = ["isPass", "isLoading"];
33002
33022
  var SubmitButton = function SubmitButton(_ref) {
33003
33023
  var _ref$type = _ref.type,
@@ -33005,6 +33025,7 @@ var SubmitButton = function SubmitButton(_ref) {
33005
33025
  realtime = _ref.realtime,
33006
33026
  _ref$disabled = _ref.disabled,
33007
33027
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
33028
+ className = _ref.className,
33008
33029
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
33009
33030
  var _useSubmit = ReactForm.useSubmit(props),
33010
33031
  isPass = _useSubmit.isPass,
@@ -33014,16 +33035,20 @@ var SubmitButton = function SubmitButton(_ref) {
33014
33035
  type: type,
33015
33036
  loading: isLoading,
33016
33037
  disabled: disabled || (realtime ? !isPass : false)
33017
- }, props, submitProps));
33038
+ }, props, submitProps, {
33039
+ className: classnames__default["default"]('react-form__action-button', className)
33040
+ }));
33018
33041
  };
33019
33042
 
33020
- var _excluded = ["onClick"];
33043
+ var _excluded = ["onClick", "className"];
33021
33044
  var useCacheRemove = reactFormHelper.hooks.useCacheRemove;
33022
33045
  var CancelButton = function CancelButton(_ref) {
33023
33046
  var _onClick = _ref.onClick,
33047
+ className = _ref.className,
33024
33048
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
33025
33049
  var remove = useCacheRemove();
33026
33050
  return /*#__PURE__*/React__default["default"].createElement(antd.Button, _extends$3({}, props, {
33051
+ className: classnames__default["default"]('react-form__action-button', className),
33027
33052
  onClick: function onClick() {
33028
33053
  remove();
33029
33054
  _onClick && _onClick.apply(void 0, [].slice.call(arguments));
@@ -33073,6 +33098,7 @@ exports.CheckboxGroup = CheckboxGroup;
33073
33098
  exports.DatePicker = _DatePicker;
33074
33099
  exports.DatePickerToday = RangePickerToday;
33075
33100
  exports.FormAntd = FormAntd;
33101
+ exports.FormMobileContext = FormMobileContext;
33076
33102
  exports.Input = InputField;
33077
33103
  exports.InputNumber = InputNumberField;
33078
33104
  exports.RadioGroup = _RadioGroup;
@@ -33088,6 +33114,8 @@ exports.TreeSelect = _TreeSelect;
33088
33114
  exports["default"] = Form;
33089
33115
  exports.fields = fields;
33090
33116
  exports.preset = preset;
33117
+ exports.useFormIsMobile = useFormIsMobile;
33118
+ exports.useFormMobile = useFormMobile;
33091
33119
  Object.keys(ReactForm).forEach(function (k) {
33092
33120
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
33093
33121
  enumerable: true,