react-input-material 0.0.656 → 0.0.658
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/components/FileInput/index.js +1 -1
- package/dist/components/Inputs/index.js +1 -1
- package/dist/components/Interval/index.js +1 -1
- package/dist/components/RequireableCheckbox/index.js +1 -1
- package/dist/components/TextInput/helper.d.ts +1 -1
- package/dist/components/TextInput/index.js +1 -1
- package/dist/components/WrapConfigurations.js +1 -1
- package/dist/components/WrapTooltip.d.ts +1 -1
- package/dist/components/WrapTooltip.js +1 -1
- package/dist/helper.d.ts +9 -8
- package/dist/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/type.d.ts +17 -17
- package/dist/type.js +1 -1
- package/package.json +35 -34
package/dist/type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/dist/property-types"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","clientnode","clientnode/dist/property-types"],n);else{var t="object"==typeof exports?n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/dist/property-types")):n(e["@babel/runtime/helpers/extends"],e.clientnode,e["clientnode/dist/property-types"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,(function(e,n,t){return function(){var o={1:function(n){n.exports=e},3:function(e){e.exports=n},8:function(e){e.exports=t}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var t=r[e]={exports:{}};return o[e](t,t.exports,i),t.exports}i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};i.r(a),i.d(a,{baseModelPropertyTypes:function(){return p},checkboxPropertyTypes:function(){return T},dedicatedFileInputPropertyTypes:function(){return M},defaultCheckboxModel:function(){return h},defaultCheckboxProperties:function(){return v},defaultFileInputModel:function(){return z},defaultFileInputModelState:function(){return $},defaultFileInputProperties:function(){return E},defaultFileNameInputProperties:function(){return L},defaultInputModel:function(){return I},defaultInputModelState:function(){return j},defaultInputProperties:function(){return S},defaultInputsModel:function(){return F},defaultInputsProperties:function(){return V},defaultIntervalProperties:function(){return R},defaultModel:function(){return b},defaultModelState:function(){return y},defaultProperties:function(){return g},fileInputModelPropertyTypes:function(){return N},fileInputModelStatePropertyTypes:function(){return w},fileInputPropertyTypes:function(){return C},fileInputRenderProperties:function(){return q},inputModelStatePropertyTypes:function(){return x},inputPropertyTypes:function(){return O},inputsPropertyTypes:function(){return _},inputsRenderProperties:function(){return B},intervalPropertyTypes:function(){return D},modelPropertyTypes:function(){return c},modelStatePropertyTypes:function(){return d},propertyTypes:function(){return f},textInputRenderProperties:function(){return P}});var u=i(1),l=i.n(u),s=i(3),m=i(8),p={name:m.string,declaration:m.string,description:m.string,default:m.any,selection:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.number,m.string])),m.number,(0,m.objectOf)((0,m.oneOfType)([m.number,m.string])),m.string])),(0,m.objectOf)((0,m.oneOfType)([m.number,m.string]))]),type:m.string,value:m.any},d={dirty:(0,m.oneOfType)([m.boolean,m.symbol]),pristine:(0,m.oneOfType)([m.boolean,m.symbol]),touched:(0,m.oneOfType)([m.boolean,m.symbol]),untouched:(0,m.oneOfType)([m.boolean,m.symbol]),focused:(0,m.oneOfType)([m.boolean,m.symbol]),visited:(0,m.oneOfType)([m.boolean,m.symbol]),invalid:(0,m.oneOfType)([m.boolean,m.symbol]),invalidRequired:(0,m.oneOfType)([m.boolean,m.symbol]),valid:(0,m.oneOfType)([m.boolean,m.symbol])},c=l()({},p,{emptyEqualsNull:m.boolean,trim:m.boolean,invertedPattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),pattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximum:(0,m.oneOfType)([m.number,m.string]),minimum:(0,m.oneOfType)([m.number,m.string]),maximumLength:m.number,minimumLength:m.number,mutable:m.boolean,writable:m.boolean,state:(0,m.shape)(d)}),f=l()({},p,d,{className:m.string,styles:m.object,themeConfiguration:m.object,disabled:m.boolean,enforceUncontrolled:m.boolean,initialValue:m.any,inputProperties:m.object,model:(0,m.shape)(c),onChange:m.func,onChangeValue:m.func,onChangeShowDeclaration:m.func,onChangeState:m.func,onClick:m.func,onFocus:m.func,onTouch:m.func,required:m.boolean,requiredText:m.string,ripple:(0,m.oneOfType)([m.boolean,m.object]),rootProps:m.object,showDeclaration:(0,m.oneOfType)([m.boolean,m.symbol]),showInitialValidationState:m.boolean,showValidationState:m.boolean,tooltip:m.any}),y={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},b={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:l()({},y),trim:!0,type:"string"},g={enforceUncontrolled:!1,model:l()({},b),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},T=l()({},f,d,{checked:m.boolean,id:m.string}),h=l()({},b,{default:!1,type:"boolean",value:!1}),v=l()({},g,{default:!1,model:l()({},h),requiredText:"Please check this field."}),x=l()({},d,{invalidMaximum:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimum:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMaximumLength:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimumLength:(0,m.oneOfType)([m.boolean,m.symbol]),invalidInvertedPattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidPattern:(0,m.oneOfType)([m.boolean,m.symbol])}),O=l()({},f,x,{align:m.string,children:m.func,cursor:(0,m.oneOfType)([(0,m.shape)({end:m.number.isRequired,start:m.number.isRequired}),m.symbol]),editor:m.string,editorIsActive:(0,m.oneOfType)([m.boolean,m.symbol]),hidden:(0,m.oneOfType)([m.boolean,m.symbol]),icon:(0,m.oneOfType)([m.string,m.object]),inputProps:m.object,invertedPattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedPatternText:m.string,labels:(0,m.oneOfType)([(0,m.arrayOf)((0,m.arrayOf)(m.string)),(0,m.arrayOf)(m.string),m.object]),maximum:(0,m.oneOfType)([m.number,m.string]),maximumLengthText:m.string,maximumText:m.string,minimum:(0,m.oneOfType)([m.number,m.string]),minimumLengthText:m.string,minimumText:m.string,onBlur:m.func,onChangeEditorIsActive:m.func,onKeyDown:m.func,onKeyUp:m.func,onSelect:m.func,onSelectionChange:m.func,outlined:m.boolean,pattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),patternText:m.string,placeholder:m.string,representation:(0,m.oneOfType)([m.string,m.symbol]),rows:m.number,searchSelection:m.boolean,selectableEditor:m.boolean,step:m.number,suggestionCreator:m.func,suggestSelection:m.boolean,trailingIcon:m.any,transformer:m.object}),P=["children","suggestionCreator"],j=l()({},y,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),I=l()({},b,{state:j}),S=l()({},g,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:l()({},I),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1}),q=["children","generateFileNameInputProperties"],M={contentTypePattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedContentTypePattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximumSize:m.number,minimumSize:m.number},N=l()({},c,M,{fileName:(0,m.shape)(O)}),w=l()({},d,{invalidContentTypePattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidInvertedContentTypePattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMaximumSize:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimumSize:(0,m.oneOfType)([m.boolean,m.symbol]),invalidName:(0,m.oneOfType)([m.boolean,m.symbol])}),C=l()({},f,M,w,{children:m.func,contentTypePatternText:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedContentTypePatternText:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximumSizeText:m.string,minimumSizeText:m.string,model:(0,m.shape)(N),deleteButton:(0,m.oneOfType)([m.object,m.string]),downloadButton:(0,m.oneOfType)([m.object,m.string]),editButton:(0,m.oneOfType)([m.object,m.string]),newButton:(0,m.oneOfType)([m.object,m.string]),encoding:m.string,generateFileNameInputProperties:m.func,onBlur:m.func,outlined:m.boolean}),$=l()({},y,{invalidContentTypePattern:!1,invalidInvertedContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),z=l()({},b,{contentTypePattern:/^.+\/.+$/,invertedContentTypePattern:void 0,fileName:l()({},I,{maximumLength:1024,name:"Name",pattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:$}),L=l()({},S,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',required:!0});delete L.model;var E=l()({},g,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: "${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: "${[].concat(invertedContentTypePattern).join("\\", \\"")}".',maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",requiredText:"Please select a file.",deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:s.identity,media:{sixteenByNine:!0},model:l()({},z),sourceToBlobOptions:{endings:"transparent",type:"text/plain"},hashingConfiguration:{binaryString:!1,prefix:"",readChunkSizeInByte:2097152}}),_=l()({},f,x,{children:m.func,createItem:m.func,createPrototype:m.func,maximumNumber:m.number,minimumNumber:m.number}),B=["children","createItem","createPrototype"],F=l()({},b,{state:l()({},b.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}),V=l()({},g,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:l()({},F)}),D=l()({},O,{value:(0,m.shape)({end:(0,m.oneOfType)([m.number,m.string,(0,m.shape)(O)]),start:(0,m.oneOfType)([m.number,m.string,(0,m.shape)(O)])})}),R={icon:{icon:"timelapse"},maximumText:"Please provide something earlier than ${formatValue(maximum)}.",minimumText:"Please provide something later than ${formatValue(minimum)}.",requiredText:"Please provide a range.",model:{name:"NO_NAME_DEFINED",state:l()({},y),value:{end:l()({},I,{description:"End",name:"end"}),start:l()({},I,{description:"Start",name:"start"})}},type:"time"};return a}()}));
|
|
1
|
+
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/dist/property-types"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","clientnode","clientnode/dist/property-types"],n);else{var t="object"==typeof exports?n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/dist/property-types")):n(e["@babel/runtime/helpers/extends"],e.clientnode,e["clientnode/dist/property-types"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,(function(e,n,t){return function(){var o={1:function(n){n.exports=e},3:function(e){e.exports=n},8:function(e){e.exports=t}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var t=r[e]={exports:{}};return o[e](t,t.exports,i),t.exports}i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};i.r(a),i.d(a,{baseModelPropertyTypes:function(){return p},checkboxPropertyTypes:function(){return T},dedicatedFileInputPropertyTypes:function(){return M},defaultCheckboxModel:function(){return h},defaultCheckboxProperties:function(){return v},defaultFileInputModel:function(){return z},defaultFileInputModelState:function(){return $},defaultFileInputProperties:function(){return E},defaultFileNameInputProperties:function(){return L},defaultInputModel:function(){return I},defaultInputModelState:function(){return j},defaultInputProperties:function(){return S},defaultInputsModel:function(){return F},defaultInputsProperties:function(){return V},defaultIntervalProperties:function(){return R},defaultModel:function(){return b},defaultModelState:function(){return y},defaultProperties:function(){return g},fileInputModelPropertyTypes:function(){return N},fileInputModelStatePropertyTypes:function(){return w},fileInputPropertyTypes:function(){return C},fileInputRenderProperties:function(){return q},inputModelStatePropertyTypes:function(){return x},inputPropertyTypes:function(){return O},inputsPropertyTypes:function(){return _},inputsRenderProperties:function(){return B},intervalPropertyTypes:function(){return D},modelPropertyTypes:function(){return c},modelStatePropertyTypes:function(){return d},propertyTypes:function(){return f},textInputRenderProperties:function(){return P}});var u=i(1),l=i.n(u),s=i(3),m=i(8),p={name:m.string,declaration:m.string,description:m.string,default:m.any,selection:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.number,m.string])),m.number,(0,m.objectOf)((0,m.oneOfType)([m.number,m.string])),m.string])),(0,m.objectOf)((0,m.oneOfType)([m.number,m.string]))]),type:m.string,value:m.any},d={dirty:(0,m.oneOfType)([m.boolean,m.symbol]),pristine:(0,m.oneOfType)([m.boolean,m.symbol]),touched:(0,m.oneOfType)([m.boolean,m.symbol]),untouched:(0,m.oneOfType)([m.boolean,m.symbol]),focused:(0,m.oneOfType)([m.boolean,m.symbol]),visited:(0,m.oneOfType)([m.boolean,m.symbol]),invalid:(0,m.oneOfType)([m.boolean,m.symbol]),invalidRequired:(0,m.oneOfType)([m.boolean,m.symbol]),valid:(0,m.oneOfType)([m.boolean,m.symbol])},c=l()({},p,{emptyEqualsNull:m.boolean,trim:m.boolean,invertedPattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),pattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximum:(0,m.oneOfType)([m.number,m.string]),minimum:(0,m.oneOfType)([m.number,m.string]),maximumLength:m.number,minimumLength:m.number,mutable:m.boolean,writable:m.boolean,state:(0,m.shape)(d)}),f=l()({},p,d,{className:(0,m.oneOfType)([(0,m.arrayOf)(m.string),m.string]),styles:m.object,themeConfiguration:m.object,disabled:m.boolean,enforceUncontrolled:m.boolean,initialValue:m.any,inputProperties:m.object,model:(0,m.shape)(c),onChange:m.func,onChangeValue:m.func,onChangeShowDeclaration:m.func,onChangeState:m.func,onClick:m.func,onFocus:m.func,onTouch:m.func,required:m.boolean,requiredText:m.string,ripple:(0,m.oneOfType)([m.boolean,m.object]),rootProps:m.object,showDeclaration:(0,m.oneOfType)([m.boolean,m.symbol]),showInitialValidationState:m.boolean,showValidationState:m.boolean,tooltip:m.any}),y={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},b={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:l()({},y),trim:!0,type:"string"},g={className:[],styles:{},enforceUncontrolled:!1,model:l()({},b),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},T=l()({},f,d,{checked:m.boolean,id:m.string}),h=l()({},b,{default:!1,type:"boolean",value:!1}),v=l()({},g,{default:!1,model:l()({},h),requiredText:"Please check this field."}),x=l()({},d,{invalidMaximum:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimum:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMaximumLength:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimumLength:(0,m.oneOfType)([m.boolean,m.symbol]),invalidInvertedPattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidPattern:(0,m.oneOfType)([m.boolean,m.symbol])}),O=l()({},f,x,{align:m.string,children:m.func,cursor:(0,m.oneOfType)([(0,m.shape)({end:m.number.isRequired,start:m.number.isRequired}),m.symbol]),editor:m.string,editorIsActive:(0,m.oneOfType)([m.boolean,m.symbol]),hidden:(0,m.oneOfType)([m.boolean,m.symbol]),icon:(0,m.oneOfType)([m.string,m.object]),inputProps:m.object,invertedPattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedPatternText:m.string,labels:(0,m.oneOfType)([(0,m.arrayOf)((0,m.arrayOf)(m.string)),(0,m.arrayOf)(m.string),m.object]),maximum:(0,m.oneOfType)([m.number,m.string]),maximumLengthText:m.string,maximumText:m.string,minimum:(0,m.oneOfType)([m.number,m.string]),minimumLengthText:m.string,minimumText:m.string,onBlur:m.func,onChangeEditorIsActive:m.func,onKeyDown:m.func,onKeyUp:m.func,onSelect:m.func,onSelectionChange:m.func,outlined:m.boolean,pattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),patternText:m.string,placeholder:m.string,representation:(0,m.oneOfType)([m.string,m.symbol]),rows:m.number,searchSelection:m.boolean,selectableEditor:m.boolean,step:m.number,suggestionCreator:m.func,suggestSelection:m.boolean,trailingIcon:m.any,transformer:m.object}),P=["children","suggestionCreator"],j=l()({},y,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),I=l()({},b,{state:j}),S=l()({},g,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:l()({},I),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1}),q=["children","generateFileNameInputProperties"],M={contentTypePattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedContentTypePattern:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximumSize:m.number,minimumSize:m.number},N=l()({},c,M,{fileName:(0,m.shape)(O)}),w=l()({},d,{invalidContentTypePattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidInvertedContentTypePattern:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMaximumSize:(0,m.oneOfType)([m.boolean,m.symbol]),invalidMinimumSize:(0,m.oneOfType)([m.boolean,m.symbol]),invalidName:(0,m.oneOfType)([m.boolean,m.symbol])}),C=l()({},f,M,w,{children:m.func,contentTypePatternText:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),invertedContentTypePatternText:(0,m.oneOfType)([(0,m.arrayOf)((0,m.oneOfType)([m.object,m.string])),m.object,m.string]),maximumSizeText:m.string,minimumSizeText:m.string,model:(0,m.shape)(N),deleteButton:(0,m.oneOfType)([m.object,m.string]),downloadButton:(0,m.oneOfType)([m.object,m.string]),editButton:(0,m.oneOfType)([m.object,m.string]),newButton:(0,m.oneOfType)([m.object,m.string]),encoding:m.string,generateFileNameInputProperties:m.func,onBlur:m.func,outlined:m.boolean}),$=l()({},y,{invalidContentTypePattern:!1,invalidInvertedContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),z=l()({},b,{contentTypePattern:/^.+\/.+$/,invertedContentTypePattern:void 0,fileName:l()({},I,{maximumLength:1024,name:"Name",pattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:$}),L=l()({},S,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',required:!0});delete L.model;var E=l()({},g,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: "${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: "${[].concat(invertedContentTypePattern).join("\\", \\"")}".',maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",requiredText:"Please select a file.",deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:s.identity,media:{sixteenByNine:!0},model:l()({},z),sourceToBlobOptions:{endings:"transparent",type:"text/plain"},hashingConfiguration:{binaryString:!1,prefix:"",readChunkSizeInByte:2097152}}),_=l()({},f,x,{children:m.func,createItem:m.func,createPrototype:m.func,maximumNumber:m.number,minimumNumber:m.number}),B=["children","createItem","createPrototype"],F=l()({},b,{state:l()({},b.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}),V=l()({},g,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:l()({},F)}),D=l()({},O,{value:(0,m.shape)({end:(0,m.oneOfType)([m.number,m.string,(0,m.shape)(O)]),start:(0,m.oneOfType)([m.number,m.string,(0,m.shape)(O)])})}),R={icon:{icon:"timelapse"},maximumText:"Please provide something earlier than ${formatValue(maximum)}.",minimumText:"Please provide something later than ${formatValue(minimum)}.",requiredText:"Please provide a range.",model:{name:"NO_NAME_DEFINED",state:l()({},y),value:{end:l()({},I,{description:"End",name:"end"}),start:l()({},I,{description:"Start",name:"start"})}},type:"time"};return a}()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-input-material",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.658",
|
|
4
4
|
"description": "Reusable material design based input field with support for (richt-)text, code, selections, numbers, dates and so on.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"form-field",
|
|
@@ -90,25 +90,25 @@
|
|
|
90
90
|
},
|
|
91
91
|
"runkitExample": "require('@babel/runtime/package.json')\n\nglobalThis.window = globalThis\n\nconst {TextInput} = require('react-input-material')\n\nTextInput.webComponentAdapterWrapped",
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@babel/eslint-parser": "^7.25.
|
|
94
|
-
"@babel/plugin-transform-proto-to-assign": "^7.
|
|
95
|
-
"@babel/preset-react": "^7.
|
|
96
|
-
"@babel/runtime": "^7.25.
|
|
93
|
+
"@babel/eslint-parser": "^7.25.7",
|
|
94
|
+
"@babel/plugin-transform-proto-to-assign": "^7.25.7",
|
|
95
|
+
"@babel/preset-react": "^7.25.7",
|
|
96
|
+
"@babel/runtime": "^7.25.7",
|
|
97
97
|
"@emotion/react": "^11.13.3",
|
|
98
|
-
"@rmwc/card": "^14.3.
|
|
99
|
-
"@rmwc/checkbox": "^14.3.
|
|
100
|
-
"@rmwc/circular-progress": "^14.3.
|
|
101
|
-
"@rmwc/formfield": "^14.3.
|
|
102
|
-
"@rmwc/icon": "^14.3.
|
|
103
|
-
"@rmwc/icon-button": "^14.3.
|
|
104
|
-
"@rmwc/menu": "^14.3.
|
|
105
|
-
"@rmwc/select": "patch:@rmwc/select@npm%3A14.3.
|
|
106
|
-
"@rmwc/tabs": "^14.3.
|
|
107
|
-
"@rmwc/textfield": "^14.3.
|
|
108
|
-
"@rmwc/theme": "^14.3.
|
|
109
|
-
"@rmwc/tooltip": "^14.3.
|
|
110
|
-
"@rmwc/touch-target": "^14.3.
|
|
111
|
-
"@rmwc/typography": "^14.3.
|
|
98
|
+
"@rmwc/card": "^14.3.4",
|
|
99
|
+
"@rmwc/checkbox": "^14.3.4",
|
|
100
|
+
"@rmwc/circular-progress": "^14.3.4",
|
|
101
|
+
"@rmwc/formfield": "^14.3.4",
|
|
102
|
+
"@rmwc/icon": "^14.3.4",
|
|
103
|
+
"@rmwc/icon-button": "^14.3.4",
|
|
104
|
+
"@rmwc/menu": "^14.3.4",
|
|
105
|
+
"@rmwc/select": "patch:@rmwc/select@npm%3A14.3.4#~/.yarn/patches/@rmwc-select-npm-14.3.4-6d0aebe22c.patch",
|
|
106
|
+
"@rmwc/tabs": "^14.3.4",
|
|
107
|
+
"@rmwc/textfield": "^14.3.4",
|
|
108
|
+
"@rmwc/theme": "^14.3.4",
|
|
109
|
+
"@rmwc/tooltip": "^14.3.4",
|
|
110
|
+
"@rmwc/touch-target": "^14.3.4",
|
|
111
|
+
"@rmwc/typography": "^14.3.4",
|
|
112
112
|
"@stylistic/eslint-plugin-ts": "^2.8.0",
|
|
113
113
|
"@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
|
|
114
114
|
"@tinymce/tinymce-react": "^5.1.1",
|
|
@@ -117,21 +117,21 @@
|
|
|
117
117
|
"@types/jquery": "^3.5.31",
|
|
118
118
|
"@types/jsdom": "^21.1.7",
|
|
119
119
|
"@types/node": "^22.7.4",
|
|
120
|
-
"@types/react": "^18.3.
|
|
120
|
+
"@types/react": "^18.3.11",
|
|
121
121
|
"@types/react-dom": "^18.3.0",
|
|
122
122
|
"@types/react-transition-group": "^4.4.11",
|
|
123
123
|
"@types/spark-md5": "^3.0.4",
|
|
124
124
|
"@types/webpack-env": "^1.18.5",
|
|
125
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
126
|
-
"@typescript-eslint/parser": "^8.
|
|
125
|
+
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
126
|
+
"@typescript-eslint/parser": "^8.8.0",
|
|
127
127
|
"blob-util": "^2.0.2",
|
|
128
|
-
"clientnode": "^3.0.
|
|
128
|
+
"clientnode": "^3.0.1195",
|
|
129
129
|
"css-loader": "^7.1.2",
|
|
130
130
|
"cssnano": "^7.0.6",
|
|
131
|
-
"documentation-website": "^1.0.
|
|
131
|
+
"documentation-website": "^1.0.334",
|
|
132
132
|
"eslint": "^9.11.1",
|
|
133
133
|
"eslint-config-google": "^0.14.0",
|
|
134
|
-
"eslint-plugin-jsdoc": "^50.3.
|
|
134
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
135
135
|
"identity-obj-proxy": "^3.0.0",
|
|
136
136
|
"jest": "^29.7.0",
|
|
137
137
|
"jsdoc": "^4.0.3",
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
"react": "^18.3.1",
|
|
148
148
|
"react-ace": "^12.0.0",
|
|
149
149
|
"react-dom": "^18.3.1",
|
|
150
|
-
"react-generic-animate": "^0.0.
|
|
151
|
-
"react-generic-dummy": "^0.0.
|
|
152
|
-
"react-generic-tools": "^0.0.
|
|
150
|
+
"react-generic-animate": "^0.0.53",
|
|
151
|
+
"react-generic-dummy": "^0.0.78",
|
|
152
|
+
"react-generic-tools": "^0.0.48",
|
|
153
153
|
"react-transition-group": "^4.4.5",
|
|
154
154
|
"react-useanimations": "^2.10.0",
|
|
155
155
|
"spark-md5": "^3.0.2",
|
|
@@ -158,10 +158,10 @@
|
|
|
158
158
|
"stylelint-config-standard": "^36.0.1",
|
|
159
159
|
"tinymce": "^7.3.0",
|
|
160
160
|
"tslib": "^2.7.0",
|
|
161
|
-
"typescript-eslint": "^8.
|
|
161
|
+
"typescript-eslint": "^8.8.0",
|
|
162
162
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
163
|
-
"web-component-wrapper": "^0.0.
|
|
164
|
-
"weboptimizer": "^2.0.
|
|
163
|
+
"web-component-wrapper": "^0.0.497",
|
|
164
|
+
"weboptimizer": "^2.0.1518",
|
|
165
165
|
"webpack-dev-server": "^5.1.0"
|
|
166
166
|
},
|
|
167
167
|
"peerDependencies": {
|
|
@@ -283,12 +283,13 @@
|
|
|
283
283
|
"yarn": ">=4"
|
|
284
284
|
},
|
|
285
285
|
"resolutions": {
|
|
286
|
-
"colors": "1.4.0",
|
|
287
286
|
"@rmwc/ripple@npm:14.0.11": "patch:@rmwc/ripple@npm%3A14.0.11#~/.yarn/patches/@rmwc-ripple-npm-14.0.11-22d1530040.patch",
|
|
288
|
-
"
|
|
287
|
+
"@rmwc/ripple@npm:14.3.4": "patch:@rmwc/ripple@npm%3A14.3.4#~/.yarn/patches/@rmwc-ripple-npm-14.3.4-27648eff11.patch",
|
|
288
|
+
"colors": "1.4.0",
|
|
289
|
+
"globals@npm:^9.18.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
|
|
289
290
|
"globals@npm:^11.1.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
|
|
290
291
|
"globals@npm:^14.0.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
|
|
291
|
-
"
|
|
292
|
+
"webpack@npm:^5.90.3": "patch:webpack@npm%3A5.90.3#~/.yarn/patches/webpack-npm-5.90.3-2a12e60d26.patch"
|
|
292
293
|
},
|
|
293
294
|
"sideEffects": false,
|
|
294
295
|
"documentationWebsite": {
|