@e1011/es-kit 1.0.234 → 1.1.1

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 (159) hide show
  1. package/dist/hooks/esm/index.css +121 -47
  2. package/dist/hooks/index.css +121 -47
  3. package/dist/lib/cjs/_virtual/_rollupPluginBabelHelpers.js +1 -1
  4. package/dist/lib/cjs/index.css +74 -0
  5. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/native.js +2 -0
  6. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  7. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/rng.js +2 -0
  8. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  9. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/stringify.js +2 -0
  10. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  11. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js +2 -0
  12. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  13. package/dist/lib/cjs/src/core/ui/components/field/Field.js +1 -1
  14. package/dist/lib/cjs/src/core/ui/components/field/Field.js.map +1 -1
  15. package/dist/lib/cjs/src/core/ui/components/field/field.module.scss.js +2 -0
  16. package/dist/lib/cjs/src/core/ui/components/field/field.module.scss.js.map +1 -0
  17. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/index.js +2 -0
  18. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/index.js.map +1 -0
  19. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js +2 -0
  20. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -0
  21. package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +2 -0
  22. package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -0
  23. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js +1 -1
  24. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  25. package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.js.map +1 -1
  26. package/dist/lib/cjs/src/core/utils/helpers/other.js +1 -1
  27. package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
  28. package/dist/lib/cjs/src/index.js +1 -1
  29. package/dist/lib/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  30. package/dist/lib/esm/index.css +74 -0
  31. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/native.js +2 -0
  32. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  33. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/rng.js +2 -0
  34. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  35. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/stringify.js +2 -0
  36. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  37. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js +2 -0
  38. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  39. package/dist/lib/esm/src/core/ui/components/field/Field.js +1 -1
  40. package/dist/lib/esm/src/core/ui/components/field/Field.js.map +1 -1
  41. package/dist/lib/esm/src/core/ui/components/field/field.module.scss.js +2 -0
  42. package/dist/lib/esm/src/core/ui/components/field/field.module.scss.js.map +1 -0
  43. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/index.js +2 -0
  44. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/index.js.map +1 -0
  45. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +2 -0
  46. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -0
  47. package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +2 -0
  48. package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -0
  49. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
  50. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  51. package/dist/lib/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  52. package/dist/lib/esm/src/core/utils/helpers/other.js +1 -1
  53. package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
  54. package/dist/lib/esm/src/index.js +1 -1
  55. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  56. package/dist/types/src/core/ui/components/container/index.d.ts +0 -2
  57. package/dist/types/src/core/ui/components/container/index.d.ts.map +1 -1
  58. package/dist/types/src/core/ui/components/field/Field.d.ts +2 -3
  59. package/dist/types/src/core/ui/components/field/Field.d.ts.map +1 -1
  60. package/dist/types/src/core/utils/appState/peregrineMQ/index.d.ts +2 -1
  61. package/dist/types/src/core/utils/appState/peregrineMQ/index.d.ts.map +1 -1
  62. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.d.ts +8 -8
  63. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.d.ts.map +1 -1
  64. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts +4 -0
  65. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts.map +1 -0
  66. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.types.d.ts +38 -45
  67. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.types.d.ts.map +1 -1
  68. package/dist/types/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.d.ts +10 -0
  69. package/dist/types/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.d.ts.map +1 -0
  70. package/dist/types/src/core/utils/appState/stateMachine/index.d.ts +2 -0
  71. package/dist/types/src/core/utils/appState/stateMachine/index.d.ts.map +1 -0
  72. package/dist/types/src/core/utils/appState/stateMachine/tiny-state-machine.base.d.ts +7 -7
  73. package/dist/types/src/core/utils/appState/stateMachine/tiny-state-machine.base.d.ts.map +1 -1
  74. package/dist/types/src/core/utils/appState/store/asyncFunc.spec.d.ts +2 -0
  75. package/dist/types/src/core/utils/appState/store/asyncFunc.spec.d.ts.map +1 -0
  76. package/dist/types/src/core/utils/appState/store/store.stories.d.ts +4 -0
  77. package/dist/types/src/core/utils/appState/store/store.stories.d.ts.map +1 -0
  78. package/dist/types/src/core/utils/appState/store/store.vanillajs.d.ts.map +1 -1
  79. package/dist/types/src/core/utils/helpers/other.d.ts +2 -0
  80. package/dist/types/src/core/utils/helpers/other.d.ts.map +1 -1
  81. package/dist/types/src/core/utils/index.d.ts +2 -0
  82. package/dist/types/src/core/utils/index.d.ts.map +1 -1
  83. package/dist/ui/esm/index.css +74 -0
  84. package/dist/ui/esm/src/core/ui/components/field/Field.js +1 -1
  85. package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
  86. package/dist/ui/esm/src/core/ui/components/field/field.module.scss.js +2 -0
  87. package/dist/ui/esm/src/core/ui/components/field/field.module.scss.js.map +1 -0
  88. package/dist/ui/esm/src/core/ui/index.js +1 -1
  89. package/dist/ui/index.css +74 -0
  90. package/dist/ui/src/core/ui/components/field/Field.js +1 -1
  91. package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
  92. package/dist/ui/src/core/ui/components/field/field.module.scss.js +2 -0
  93. package/dist/ui/src/core/ui/components/field/field.module.scss.js.map +1 -0
  94. package/dist/ui/src/core/ui/index.js +1 -1
  95. package/dist/utils/_virtual/_rollupPluginBabelHelpers.js +1 -1
  96. package/dist/utils/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  97. package/dist/utils/esm/index.css +121 -47
  98. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/native.js +2 -0
  99. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  100. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/rng.js +2 -0
  101. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  102. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/stringify.js +2 -0
  103. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  104. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js +2 -0
  105. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  106. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/index.js +2 -0
  107. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/index.js.map +1 -0
  108. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +2 -0
  109. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -0
  110. package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +2 -0
  111. package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -0
  112. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
  113. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  114. package/dist/utils/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  115. package/dist/utils/esm/src/core/utils/helpers/other.js +1 -1
  116. package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
  117. package/dist/utils/esm/src/core/utils/index.js +1 -1
  118. package/dist/utils/index.css +121 -47
  119. package/dist/utils/node_modules/uuid/dist/esm-browser/native.js +2 -0
  120. package/dist/utils/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  121. package/dist/utils/node_modules/uuid/dist/esm-browser/rng.js +2 -0
  122. package/dist/utils/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  123. package/dist/utils/node_modules/uuid/dist/esm-browser/stringify.js +2 -0
  124. package/dist/utils/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  125. package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js +2 -0
  126. package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  127. package/dist/utils/src/core/utils/appState/peregrineMQ/index.js +2 -0
  128. package/dist/utils/src/core/utils/appState/peregrineMQ/index.js.map +1 -0
  129. package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js +2 -0
  130. package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -0
  131. package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +2 -0
  132. package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -0
  133. package/dist/utils/src/core/utils/appState/store/store.vanillajs.js +1 -1
  134. package/dist/utils/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  135. package/dist/utils/src/core/utils/appState/store/useStore.react.js.map +1 -1
  136. package/dist/utils/src/core/utils/helpers/other.js +1 -1
  137. package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
  138. package/dist/utils/src/core/utils/index.js +1 -1
  139. package/package.json +2 -6
  140. package/dist/lib/cjs/src/core/ui/components/container/Flex.js +0 -2
  141. package/dist/lib/cjs/src/core/ui/components/container/Flex.js.map +0 -1
  142. package/dist/lib/cjs/src/core/ui/components/container/Placeholder.js +0 -2
  143. package/dist/lib/cjs/src/core/ui/components/container/Placeholder.js.map +0 -1
  144. package/dist/lib/esm/src/core/ui/components/container/Flex.js +0 -2
  145. package/dist/lib/esm/src/core/ui/components/container/Flex.js.map +0 -1
  146. package/dist/lib/esm/src/core/ui/components/container/Placeholder.js +0 -2
  147. package/dist/lib/esm/src/core/ui/components/container/Placeholder.js.map +0 -1
  148. package/dist/types/src/core/ui/components/container/Flex.d.ts +0 -41
  149. package/dist/types/src/core/ui/components/container/Flex.d.ts.map +0 -1
  150. package/dist/types/src/core/ui/components/container/Placeholder.d.ts +0 -11
  151. package/dist/types/src/core/ui/components/container/Placeholder.d.ts.map +0 -1
  152. package/dist/ui/esm/src/core/ui/components/container/Flex.js +0 -2
  153. package/dist/ui/esm/src/core/ui/components/container/Flex.js.map +0 -1
  154. package/dist/ui/esm/src/core/ui/components/container/Placeholder.js +0 -2
  155. package/dist/ui/esm/src/core/ui/components/container/Placeholder.js.map +0 -1
  156. package/dist/ui/src/core/ui/components/container/Flex.js +0 -2
  157. package/dist/ui/src/core/ui/components/container/Flex.js.map +0 -1
  158. package/dist/ui/src/core/ui/components/container/Placeholder.js +0 -2
  159. package/dist/ui/src/core/ui/components/container/Placeholder.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./keyExtractor.js"),r=require("./date.js"),t=require("./helpers/birthnumber.validator.js"),a=require("./helpers/birthnumberCZSKvalidator.js"),s=require("./helpers/fileValidator.js"),o=require("./helpers/date.js"),i=require("./helpers/deviceInfo.js"),p=require("./helpers/emailMatcher.js"),l=require("./helpers/file.js"),n=require("./helpers/objectOperations.js"),x=require("./helpers/other.js"),m=require("./helpers/textValueOperations.js"),u=require("./helpers/valueOperations.js"),c=require("./helpers/cancelableDelayedFunction.js"),d=require("./helpers/ui.js"),h=require("./webComponents/webComponent.utils.js"),S=require("./appState/store/store.vanillajs.js"),b=require("./appState/store/store.vanillajs.templates.js"),g=require("./appState/store/useStore.react.js");exports.keyExtractor=e.keyExtractor,exports.keyExtractorFunction=e.keyExtractorFunction,exports.dateRangeFormat=r.dateRangeFormat,exports.getDateTime=r.getDateTime,exports.getTimeFromNow=r.getTimeFromNow,exports.getTimeFromNowOriginal=r.getTimeFromNowOriginal,exports.getTimeTo=r.getTimeTo,exports.isBirthNumberValid=t.isBirthNumberValid,exports.getMatch=a.getMatch,exports.isValidFormat=a.isValidFormat,exports.isValidModulo11=a.isValidModulo11,exports.parse=a.parse,exports.regex=a.regex,exports.parseCSVdata=s.parseCSVdata,exports.validateCSVFile=s.validateCSVFile,exports.validateCSVlines=s.validateCSVlines,exports.validateJSONFile=s.validateJSONFile,exports.validateLineCellTrimmed=s.validateLineCellTrimmed,exports.validateLineNumColumns=s.validateLineNumColumns,exports.validateSDFFile=s.validateSDFFile,exports.DATE_FORMAT=o.DATE_FORMAT,exports.formatDateToTimestamp=o.formatDateToTimestamp,exports.getDate=o.getDate,exports.getDeviceId=i.getDeviceId,exports.emailMatch=p.emailMatch,exports.emailMatcher=p.emailMatcher,exports.regexBuilder=p.regexBuilder,exports.cleanCsvLines=l.cleanCsvLines,exports.formatFilePath=l.formatFilePath,exports.arrayToObjectTree=n.arrayToObjectTree,exports.chunkArray=n.chunkArray,exports.duplicatesInArray=n.duplicatesInArray,exports.formatJsonString=n.formatJsonString,exports.formatObj=n.formatObj,exports.formatObj2=n.formatObj2,exports.debounce=x.debounce,exports.delay=x.delay,exports.memoize=x.memoize,exports.memoizeComplex=x.memoizeComplex,exports.memoizer=x.memoizer,exports.nestedTernary=x.nestedTernary,exports.escapeRegExp=m.escapeRegExp,exports.fileNameExt=m.fileNameExt,exports.findStringInText=m.findStringInText,exports.normalizeString=m.normalizeString,exports.removeWhitespaces=m.removeWhitespaces,exports.sanitizeId=m.sanitizeId,exports.sanitizePathId=m.sanitizePathId,exports.toLowerCase=m.toLowerCase,exports.toUpperCase=m.toUpperCase,exports.truncateText=m.truncateText,exports.Operation=u.Operation,exports.decrementValue=u.decrementValue,exports.incerementValue=u.incerementValue,exports.numberDefined=u.numberDefined,exports.numberOperation=u.numberOperation,exports.restrictNumberInLimits=u.restrictNumberInLimits,exports.setValue=u.setValue,exports.cancelableSetInterval=c.cancelableSetInterval,exports.cancelableSetTimeout=c.cancelableSetTimeout,exports.anchorClick=d.anchorClick,exports.classNames=d.classNames,exports.generateId=d.generateId,exports.mapSerReplacer=d.mapSerReplacer,exports.noop=d.noop,exports.parseProps=d.parseProps,exports.ced=h.ced,exports.createResolveAttribute=h.createResolveAttribute,exports.customElementDefine=h.customElementDefine,exports.resolveAttributes=h.resolveAttributes,exports.createStore=S.createStore,exports.createDataStore=b.createDataStore,exports.useStore=g.useStore,exports.useStoreApi=g.useStoreApi;
1
+ "use strict";var e=require("./keyExtractor.js"),t=require("./date.js"),r=require("./appState/peregrineMQ/index.js"),a=require("./helpers/birthnumber.validator.js"),s=require("./helpers/birthnumberCZSKvalidator.js"),o=require("./helpers/fileValidator.js"),i=require("./helpers/date.js"),p=require("./helpers/deviceInfo.js"),n=require("./helpers/emailMatcher.js"),l=require("./helpers/file.js"),x=require("./helpers/objectOperations.js"),m=require("./helpers/other.js"),c=require("./helpers/textValueOperations.js"),u=require("./helpers/valueOperations.js"),d=require("./helpers/cancelableDelayedFunction.js"),S=require("./helpers/ui.js"),h=require("./webComponents/webComponent.utils.js"),T=require("./appState/store/store.vanillajs.js"),g=require("./appState/store/store.vanillajs.templates.js"),v=require("./appState/store/useStore.react.js"),b=require("./appState/peregrineMQ/peregrineMQ.js"),j=require("./appState/stateMachine/tiny-state-machine.base.js");exports.keyExtractor=e.keyExtractor,exports.keyExtractorFunction=e.keyExtractorFunction,exports.dateRangeFormat=t.dateRangeFormat,exports.getDateTime=t.getDateTime,exports.getTimeFromNow=t.getTimeFromNow,exports.getTimeFromNowOriginal=t.getTimeFromNowOriginal,exports.getTimeTo=t.getTimeTo,exports.peregrineMQInstance=r.peregrineMQInstance,exports.isBirthNumberValid=a.isBirthNumberValid,exports.getMatch=s.getMatch,exports.isValidFormat=s.isValidFormat,exports.isValidModulo11=s.isValidModulo11,exports.parse=s.parse,exports.regex=s.regex,exports.parseCSVdata=o.parseCSVdata,exports.validateCSVFile=o.validateCSVFile,exports.validateCSVlines=o.validateCSVlines,exports.validateJSONFile=o.validateJSONFile,exports.validateLineCellTrimmed=o.validateLineCellTrimmed,exports.validateLineNumColumns=o.validateLineNumColumns,exports.validateSDFFile=o.validateSDFFile,exports.DATE_FORMAT=i.DATE_FORMAT,exports.formatDateToTimestamp=i.formatDateToTimestamp,exports.getDate=i.getDate,exports.getDeviceId=p.getDeviceId,exports.emailMatch=n.emailMatch,exports.emailMatcher=n.emailMatcher,exports.regexBuilder=n.regexBuilder,exports.cleanCsvLines=l.cleanCsvLines,exports.formatFilePath=l.formatFilePath,exports.arrayToObjectTree=x.arrayToObjectTree,exports.chunkArray=x.chunkArray,exports.duplicatesInArray=x.duplicatesInArray,exports.formatJsonString=x.formatJsonString,exports.formatObj=x.formatObj,exports.formatObj2=x.formatObj2,exports.AsyncFunctionTemplate=m.AsyncFunctionTemplate,exports.debounce=m.debounce,exports.delay=m.delay,exports.isFunctionAsync=m.isFunctionAsync,exports.memoize=m.memoize,exports.memoizeComplex=m.memoizeComplex,exports.memoizer=m.memoizer,exports.nestedTernary=m.nestedTernary,exports.escapeRegExp=c.escapeRegExp,exports.fileNameExt=c.fileNameExt,exports.findStringInText=c.findStringInText,exports.normalizeString=c.normalizeString,exports.removeWhitespaces=c.removeWhitespaces,exports.sanitizeId=c.sanitizeId,exports.sanitizePathId=c.sanitizePathId,exports.toLowerCase=c.toLowerCase,exports.toUpperCase=c.toUpperCase,exports.truncateText=c.truncateText,exports.Operation=u.Operation,exports.decrementValue=u.decrementValue,exports.incerementValue=u.incerementValue,exports.numberDefined=u.numberDefined,exports.numberOperation=u.numberOperation,exports.restrictNumberInLimits=u.restrictNumberInLimits,exports.setValue=u.setValue,exports.cancelableSetInterval=d.cancelableSetInterval,exports.cancelableSetTimeout=d.cancelableSetTimeout,exports.anchorClick=S.anchorClick,exports.classNames=S.classNames,exports.generateId=S.generateId,exports.mapSerReplacer=S.mapSerReplacer,exports.noop=S.noop,exports.parseProps=S.parseProps,exports.ced=h.ced,exports.createResolveAttribute=h.createResolveAttribute,exports.customElementDefine=h.customElementDefine,exports.resolveAttributes=h.resolveAttributes,exports.createStore=T.createStore,exports.createDataStore=g.createDataStore,exports.useStore=v.useStore,exports.useStoreApi=v.useStoreApi,exports.PeregrineMQ=b.PeregrineMQ,exports.PeregrineMQClearError=b.PeregrineMQClearError,exports.TinyStateMachine=j.TinyStateMachine,exports.TinyStateMachineEvent=j.TinyStateMachineEvent,exports.TinyStateMachineEventType=j.TinyStateMachineEventType,exports.TinyStateMachineState=j.TinyStateMachineState,exports.createStates=j.createStates,exports.stateIterator=j.stateIterator;
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e1011/es-kit",
3
- "version": "1.0.234",
3
+ "version": "1.1.1",
4
4
  "main": "dist/lib/cjs/src/index.js",
5
5
  "module": "dist/lib/esm/src/index.js",
6
6
  "sideEffects": false,
@@ -112,9 +112,7 @@
112
112
  "@types/react": "^18.0.34",
113
113
  "@types/sanitize-html": "^2.6.1",
114
114
  "@types/shelljs": "^0.8.15",
115
- "@types/styled-components": "^5.1.19",
116
115
  "babel-plugin-react-html-attrs": "^3.0.5",
117
- "babel-plugin-styled-components": "^2.1.4",
118
116
  "babel-plugin-transform-remove-console": "^6.9.4",
119
117
  "babel-plugin-transform-typescript-metadata": "^0.3.2",
120
118
  "chalk-pipe": "^6.0.0",
@@ -147,7 +145,6 @@
147
145
  "ramda": "^0.27.1",
148
146
  "react": "^17.0.2 || ^18.2.0",
149
147
  "sanitize-html": "^2.6.1",
150
- "styled-components": "^6.1.8",
151
148
  "uuid": "^9.0.1"
152
149
  },
153
150
  "peerDdependencies": {
@@ -156,7 +153,6 @@
156
153
  "lodash-es": "^4.17.21",
157
154
  "ramda": "^0.27.1",
158
155
  "react": "^17.0.2 || ^18.2.0",
159
- "sanitize-html": "^2.6.1",
160
- "styled-components": "^6.1.8"
156
+ "sanitize-html": "^2.6.1"
161
157
  }
162
158
  }
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("react");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(require("styled-components"));const i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},l=e=>e&&i[e]||e,n=e.memo(r.default.div.withConfig({displayName:"Flex",componentId:"sc-19vq3db-0"})(["display:flex;position:relative;flex-direction:",";flex:",";flex-grow:",";flex-shrink:",";flex-basis:",";flex-wrap:",";gap:",";text-align:",";justify-content:",";align-items:",";align-self:",";margin:",";padding:",";width:",";height:",";max-width:",";max-height:",";min-width:",";min-height:",";border-radius:",";"],(e=>{let{direction:t}=e;return t||"row"}),(e=>{let{flex:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexGrow:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexShrink:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexBasis:t}=e;return t||"auto"}),(e=>{let{flexWrap:t}=e;return t||"nowrap"}),(e=>{let{gap:t}=e;return void 0!==t?t:"0"}),(e=>{let{alignText:t}=e;return t||"left"}),(e=>{let{justify:t}=e;return l(t)||"flex-start"}),(e=>{let{align:t}=e;return l(t)||"flex-start"}),(e=>{let{alignSelf:t}=e;return t||"auto"}),(e=>{let{margin:t}=e;return t||"0"}),(e=>{let{padding:t}=e;return t||"0"}),(e=>{let{width:t}=e;return t||"auto"}),(e=>{let{height:t}=e;return t||"auto"}),(e=>{let{maxWidth:t}=e;return t||"none"}),(e=>{let{maxHeight:t}=e;return t||"none"}),(e=>{let{minWidth:t}=e;return t||"0"===t?t:"0"}),(e=>{let{minHeight:t}=e;return t||"0"}),(e=>{let{borderRadius:t}=e;return t||"initial"}))),a=e.memo(r.default(n).attrs((e=>({width:e.width||"100%",height:e.height||"100%",justify:e.justify||"center",align:e.align||"center",...e}))).withConfig({displayName:"Flex__FlexWrapper",componentId:"sc-19vq3db-1"})([""])),d=e.memo(r.default(n).attrs((e=>({width:"initial",...e}))).withConfig({displayName:"Flex__FlexTight",componentId:"sc-19vq3db-2"})([""])),o=e.memo(r.default(n).attrs((e=>({width:"initial",style:{text:"blue",padding:"1rem",border:"1px solid green"},...e}))).withConfig({displayName:"Flex__FlexTightStyled",componentId:"sc-19vq3db-3"})([""]));exports.Flex=n,exports.FlexTight=d,exports.FlexTightStyled=o,exports.FlexWrapper=a;
2
- //# sourceMappingURL=Flex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.js","sources":["../../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","default","attrs","props","FlexTight","FlexTightStyled","style","text","border"],"mappings":"6HA4BA,MAAMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAoBC,GAAwCA,GAASJ,EAAaI,IAAmBA,EAE9FC,EAAOC,EAAIA,KAACC,UAAOC,IAAGC,WAAA,CAAAC,YAAA,OAAAC,YAAA,gBAAVJ,CAAU,CAAA,iDAAA,SAAA,cAAA,gBAAA,eAAA,cAAA,QAAA,eAAA,oBAAA,gBAAA,eAAA,WAAA,YAAA,UAAA,WAAA,cAAA,eAAA,cAAA,eAAA,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GAA+BD,EAAA,OAAKC,GAAa,GAAG,IACpDC,IAAA,IAACC,aAAEA,GAAkCD,EAAA,OAAKC,GAAgB,SAAS,KAIzEC,EAAc/C,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAClD,CACEhB,MAAOgB,EAAMhB,OAAS,OACtBE,OAAQc,EAAMd,QAAU,OACxBZ,QAAS0B,EAAM1B,SAAW,SAC1BE,MAAOwB,EAAMxB,OAAS,YACnBwB,MAEL/C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,CAQ9B,CAAA,MAEWkD,EAAYnD,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAA+B,CAC/EhB,MAAO,aACJgB,MACF/C,WAAA,CAAAC,YAAA,kBAAAC,YAAA,gBAH2BJ,CAG3B,CAAA,MAEUmD,EAAkBpD,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAA+B,CACrFhB,MAAO,UACPmB,MAAO,CACLC,KAAM,OACNtB,QAAS,OACTuB,OAAQ,sBAEPL,MACF/C,WAAA,CAAAC,YAAA,wBAAAC,YAAA,gBARiCJ,CAQjC,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("styled-components"),l=require("react"),s=require("./Flex.js");function c(e){return e&&e.__esModule?e:{default:e}}var t=c(r);const o=l.memo((r=>{let{title:l,border:s,background:c,onClick:t,cssProp:o,children:n,...d}=r;return React.createElement(a,e.extends({onClick:t},d,{$_css:s||"border: 1px solid #999999;",$_css2:c||"background-color: rgba(0, 120, 255, 0.2);",$_css3:o}),l&&React.createElement("h2",null,l),n&&n)}));o.displayName="Placeholder";var a=t.default(s.FlexWrapper).withConfig({displayName:"Placeholder___StyledFlexWrapper",componentId:"sc-ozx0bx-0"})([""," "," ",""],(e=>e.$_css),(e=>e.$_css2),(e=>e.$_css3));exports.Placeholder=o;
2
- //# sourceMappingURL=Placeholder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.js","sources":["../../../../../../../../src/core/ui/components/container/Placeholder.tsx"],"sourcesContent":["import { FC, memo, PropsWithChildren } from 'react'\n\nimport { FlexWrapper, FlexProps } from './Flex'\n\nexport type PlaceholderProps = FlexProps & PropsWithChildren<unknown> & {\n title?: string\n cssProp?: string\n background?: string\n border?: string\n onClick?: () => void\n}\n\nexport const Placeholder: FC<PlaceholderProps>\n= memo<PlaceholderProps>(({ title, border, background, onClick, cssProp, children, ...props }: PlaceholderProps) => (\n <FlexWrapper\n css={`\n ${border || 'border: 1px solid #999999;'}\n ${background || 'background-color: rgba(0, 120, 255, 0.2);'}\n ${cssProp}\n `}\n onClick={onClick}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n {title && (<h2>{title}</h2>)}\n {children && children}\n </FlexWrapper>\n))\n\nPlaceholder.displayName = 'Placeholder'\n"],"names":["Placeholder","memo","_ref","title","border","background","onClick","cssProp","children","props","React","createElement","_StyledFlexWrapper","_extends","$_css","$_css2","$_css3","displayName","_styled","default","FlexWrapper","withConfig","componentId","p"],"mappings":"0NAYaA,MAAAA,EACXC,EAAIA,MAAmBC,IAAA,IAACC,MAAEA,EAAKC,OAAEA,EAAMC,WAAEA,EAAUC,QAAEA,EAAOC,QAAEA,EAAOC,SAAEA,KAAaC,GAAyBP,EAAA,OAC7GQ,MAAAC,cAAAC,EAAAC,UAAA,CAMEP,QAASA,GAELG,EAAK,CAAAK,MANLV,GAAU,6BAA4BW,OACtCV,GAAc,4CAA2CW,OACzDT,IAMHJ,GAAUO,MAAAC,cAAA,KAAA,KAAKR,GACfK,GAAYA,EACD,IAGhBR,EAAYiB,YAAc,cAAa,IAAAL,EAAAM,EAAAC,QAAAC,eAAAC,WAAA,CAAAJ,YAAA,kCAAAK,YAAA,eAAAJ,CAAA,CAAA,GAAA,IAAA,IAAA,KAAAK,GAAAA,EAAAT,QAAAS,GAAAA,EAAAR,SAAAQ,GAAAA,EAAAP"}
@@ -1,2 +0,0 @@
1
- import{memo as t}from"react";import e from"styled-components";const i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},r=t=>t&&i[t]||t,n=t(e.div.withConfig({displayName:"Flex",componentId:"sc-19vq3db-0"})(["display:flex;position:relative;flex-direction:",";flex:",";flex-grow:",";flex-shrink:",";flex-basis:",";flex-wrap:",";gap:",";text-align:",";justify-content:",";align-items:",";align-self:",";margin:",";padding:",";width:",";height:",";max-width:",";max-height:",";min-width:",";min-height:",";border-radius:",";"],(t=>{let{direction:e}=t;return e||"row"}),(t=>{let{flex:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexGrow:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexShrink:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexBasis:e}=t;return e||"auto"}),(t=>{let{flexWrap:e}=t;return e||"nowrap"}),(t=>{let{gap:e}=t;return void 0!==e?e:"0"}),(t=>{let{alignText:e}=t;return e||"left"}),(t=>{let{justify:e}=t;return r(e)||"flex-start"}),(t=>{let{align:e}=t;return r(e)||"flex-start"}),(t=>{let{alignSelf:e}=t;return e||"auto"}),(t=>{let{margin:e}=t;return e||"0"}),(t=>{let{padding:e}=t;return e||"0"}),(t=>{let{width:e}=t;return e||"auto"}),(t=>{let{height:e}=t;return e||"auto"}),(t=>{let{maxWidth:e}=t;return e||"none"}),(t=>{let{maxHeight:e}=t;return e||"none"}),(t=>{let{minWidth:e}=t;return e||"0"===e?e:"0"}),(t=>{let{minHeight:e}=t;return e||"0"}),(t=>{let{borderRadius:e}=t;return e||"initial"}))),l=t(e(n).attrs((t=>({width:t.width||"100%",height:t.height||"100%",justify:t.justify||"center",align:t.align||"center",...t}))).withConfig({displayName:"Flex__FlexWrapper",componentId:"sc-19vq3db-1"})([""])),a=t(e(n).attrs((t=>({width:"initial",...t}))).withConfig({displayName:"Flex__FlexTight",componentId:"sc-19vq3db-2"})([""])),d=t(e(n).attrs((t=>({width:"initial",style:{text:"blue",padding:"1rem",border:"1px solid green"},...t}))).withConfig({displayName:"Flex__FlexTightStyled",componentId:"sc-19vq3db-3"})([""]));export{n as Flex,a as FlexTight,d as FlexTightStyled,l as FlexWrapper};
2
- //# sourceMappingURL=Flex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.js","sources":["../../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","attrs","props","FlexTight","FlexTightStyled","style","text","border"],"mappings":"8DA4BA,MA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,EAAA,OAAKC,GAAS,MAAM,IACjDC,IAAA,IAACC,OAAEA,GAA4BD,EAAA,OAAKC,GAAU,MAAM,IACjDC,IAAA,IAACC,SAAEA,GAA8BD,EAAA,OAAKC,GAAY,MAAM,IACvDC,IAAA,IAACC,UAAEA,GAA+BD,EAAA,OAAKC,GAAa,MAAM,IAC3DC,IAAA,IAACC,SAAEA,GAA8BD,EAAA,OAAOC,GAAyB,MAAbA,EAAoBA,EAAW,GAAG,IACrFC,IAAA,IAACC,UAAEA,GAA+BD,EAAA,OAAKC,GAAa,GAAG,IACpDC,IAAA,IAACC,aAAEA,GAAkCD,EAAA,OAAKC,GAAgB,SAAS,KAIzEC,EAAc/C,EAAKC,EAAOF,GAAMiD,OAAOC,IAClD,CACEf,MAAOe,EAAMf,OAAS,OACtBE,OAAQa,EAAMb,QAAU,OACxBZ,QAASyB,EAAMzB,SAAW,SAC1BE,MAAOuB,EAAMvB,OAAS,YACnBuB,MAEL9C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,CAQ9B,CAAA,MAEWiD,EAAYlD,EAAKC,EAAOF,GAAMiD,OAAOC,IAA+B,CAC/Ef,MAAO,aACJe,MACF9C,WAAA,CAAAC,YAAA,kBAAAC,YAAA,gBAH2BJ,CAG3B,CAAA,MAEUkD,EAAkBnD,EAAKC,EAAOF,GAAMiD,OAAOC,IAA+B,CACrFf,MAAO,UACPkB,MAAO,CACLC,KAAM,OACNrB,QAAS,OACTsB,OAAQ,sBAEPL,MACF9C,WAAA,CAAAC,YAAA,wBAAAC,YAAA,gBARiCJ,CAQjC,CAAA"}
@@ -1,2 +0,0 @@
1
- import{extends as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import r from"styled-components";import{memo as o}from"react";import{FlexWrapper as l}from"./Flex.js";const s=o((r=>{let{title:o,border:l,background:s,onClick:t,cssProp:a,children:n,...i}=r;return React.createElement(c,e({onClick:t},i,{$_css:l||"border: 1px solid #999999;",$_css2:s||"background-color: rgba(0, 120, 255, 0.2);",$_css3:a}),o&&React.createElement("h2",null,o),n&&n)}));s.displayName="Placeholder";var c=r(l).withConfig({displayName:"Placeholder___StyledFlexWrapper",componentId:"sc-ozx0bx-0"})([""," "," ",""],(e=>e.$_css),(e=>e.$_css2),(e=>e.$_css3));export{s as Placeholder};
2
- //# sourceMappingURL=Placeholder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.js","sources":["../../../../../../../../src/core/ui/components/container/Placeholder.tsx"],"sourcesContent":["import { FC, memo, PropsWithChildren } from 'react'\n\nimport { FlexWrapper, FlexProps } from './Flex'\n\nexport type PlaceholderProps = FlexProps & PropsWithChildren<unknown> & {\n title?: string\n cssProp?: string\n background?: string\n border?: string\n onClick?: () => void\n}\n\nexport const Placeholder: FC<PlaceholderProps>\n= memo<PlaceholderProps>(({ title, border, background, onClick, cssProp, children, ...props }: PlaceholderProps) => (\n <FlexWrapper\n css={`\n ${border || 'border: 1px solid #999999;'}\n ${background || 'background-color: rgba(0, 120, 255, 0.2);'}\n ${cssProp}\n `}\n onClick={onClick}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n {title && (<h2>{title}</h2>)}\n {children && children}\n </FlexWrapper>\n))\n\nPlaceholder.displayName = 'Placeholder'\n"],"names":["Placeholder","memo","_ref","title","border","background","onClick","cssProp","children","props","React","createElement","_StyledFlexWrapper","_extends","$_css","$_css2","$_css3","displayName","_styled","FlexWrapper","withConfig","componentId","p"],"mappings":"qLAYaA,MAAAA,EACXC,GAAuBC,IAAA,IAACC,MAAEA,EAAKC,OAAEA,EAAMC,WAAEA,EAAUC,QAAEA,EAAOC,QAAEA,EAAOC,SAAEA,KAAaC,GAAyBP,EAAA,OAC7GQ,MAAAC,cAAAC,EAAAC,EAAA,CAMEP,QAASA,GAELG,EAAK,CAAAK,MANLV,GAAU,6BAA4BW,OACtCV,GAAc,4CAA2CW,OACzDT,IAMHJ,GAAUO,MAAAC,cAAA,KAAA,KAAKR,GACfK,GAAYA,EACD,IAGhBR,EAAYiB,YAAc,cAAa,IAAAL,EAAAM,EAAAC,GAAAC,WAAA,CAAAH,YAAA,kCAAAI,YAAA,eAAAH,CAAA,CAAA,GAAA,IAAA,IAAA,KAAAI,GAAAA,EAAAR,QAAAQ,GAAAA,EAAAP,SAAAO,GAAAA,EAAAN"}
@@ -1,41 +0,0 @@
1
- /// <reference types="react" />
2
- export type FlexProps = {
3
- flex?: string;
4
- flexGrow?: string | number;
5
- alignText?: 'center' | 'right' | 'left';
6
- direction?: string;
7
- flexShrink?: string | number;
8
- flexBasis?: string;
9
- flexWrap?: string;
10
- justify?: string;
11
- align?: string;
12
- alignSelf?: string;
13
- margin?: string;
14
- padding?: string;
15
- width?: string;
16
- height?: string;
17
- maxWidth?: string;
18
- maxHeight?: string;
19
- minWidth?: string;
20
- minHeight?: string;
21
- gap?: string;
22
- css?: string;
23
- borderRadius?: string;
24
- };
25
- export declare const Flex: import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlexProps>> & string>;
26
- export declare const FlexWrapper: import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
27
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
28
- }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
29
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
30
- }>, never>, never>> & string & Omit<import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlexProps>> & string>, keyof import("react").Component<any, {}, any>>>;
31
- export declare const FlexTight: import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
32
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
33
- }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
34
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
35
- }>, never>, never>> & string & Omit<import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlexProps>> & string>, keyof import("react").Component<any, {}, any>>>;
36
- export declare const FlexTightStyled: import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
37
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
38
- }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FlexProps> & FlexProps, "ref"> & {
39
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
40
- }>, never>, never>> & string & Omit<import("react").MemoExoticComponent<import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FlexProps>> & string>, keyof import("react").Component<any, {}, any>>>;
41
- //# sourceMappingURL=Flex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/container/Flex.ts"],"names":[],"mappings":";AAIA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAWD,eAAO,MAAM,IAAI,mRAuBf,CAAA;AAGF,eAAO,MAAM,WAAW;;;;sWAQnB,CAAA;AAEL,eAAO,MAAM,SAAS;;;;sWAGhB,CAAA;AAEN,eAAO,MAAM,eAAe;;;;sWAQtB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { FlexProps } from './Flex';
3
- export type PlaceholderProps = FlexProps & PropsWithChildren<unknown> & {
4
- title?: string;
5
- cssProp?: string;
6
- background?: string;
7
- border?: string;
8
- onClick?: () => void;
9
- };
10
- export declare const Placeholder: FC<PlaceholderProps>;
11
- //# sourceMappingURL=Placeholder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/ui/components/container/Placeholder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAQ,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAe,SAAS,EAAE,MAAM,QAAQ,CAAA;AAE/C,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,CAAC,OAAO,CAAC,GAAG;IACtE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAe3C,CAAA"}
@@ -1,2 +0,0 @@
1
- import{memo as t}from"react";import e from"styled-components";const i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},r=t=>t&&i[t]||t,n=t(e.div.withConfig({displayName:"Flex",componentId:"sc-19vq3db-0"})(["display:flex;position:relative;flex-direction:",";flex:",";flex-grow:",";flex-shrink:",";flex-basis:",";flex-wrap:",";gap:",";text-align:",";justify-content:",";align-items:",";align-self:",";margin:",";padding:",";width:",";height:",";max-width:",";max-height:",";min-width:",";min-height:",";border-radius:",";"],(t=>{let{direction:e}=t;return e||"row"}),(t=>{let{flex:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexGrow:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexShrink:e}=t;return void 0!==e?e:"0"}),(t=>{let{flexBasis:e}=t;return e||"auto"}),(t=>{let{flexWrap:e}=t;return e||"nowrap"}),(t=>{let{gap:e}=t;return void 0!==e?e:"0"}),(t=>{let{alignText:e}=t;return e||"left"}),(t=>{let{justify:e}=t;return r(e)||"flex-start"}),(t=>{let{align:e}=t;return r(e)||"flex-start"}),(t=>{let{alignSelf:e}=t;return e||"auto"}),(t=>{let{margin:e}=t;return e||"0"}),(t=>{let{padding:e}=t;return e||"0"}),(t=>{let{width:e}=t;return e||"auto"}),(t=>{let{height:e}=t;return e||"auto"}),(t=>{let{maxWidth:e}=t;return e||"none"}),(t=>{let{maxHeight:e}=t;return e||"none"}),(t=>{let{minWidth:e}=t;return e||"0"===e?e:"0"}),(t=>{let{minHeight:e}=t;return e||"0"}),(t=>{let{borderRadius:e}=t;return e||"initial"}))),l=t(e(n).attrs((t=>({width:t.width||"100%",height:t.height||"100%",justify:t.justify||"center",align:t.align||"center",...t}))).withConfig({displayName:"Flex__FlexWrapper",componentId:"sc-19vq3db-1"})([""])),a=t(e(n).attrs((t=>({width:"initial",...t}))).withConfig({displayName:"Flex__FlexTight",componentId:"sc-19vq3db-2"})([""])),d=t(e(n).attrs((t=>({width:"initial",style:{text:"blue",padding:"1rem",border:"1px solid green"},...t}))).withConfig({displayName:"Flex__FlexTightStyled",componentId:"sc-19vq3db-3"})([""]));export{n as Flex,a as FlexTight,d as FlexTightStyled,l as FlexWrapper};
2
- //# sourceMappingURL=Flex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.js","sources":["../../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","attrs","props","FlexTight","FlexTightStyled","style","text","border"],"mappings":"8DA4BA,MAAMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAoBC,GAAwCA,GAASJ,EAAaI,IAAmBA,EAE9FC,EAAOC,EAAKC,EAAOC,IAAGC,WAAA,CAAAC,YAAA,OAAAC,YAAA,gBAAVJ,CAAU,CAAA,iDAAA,SAAA,cAAA,gBAAA,eAAA,cAAA,QAAA,eAAA,oBAAA,gBAAA,eAAA,WAAA,YAAA,UAAA,WAAA,cAAA,e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AA,IAACC,UAAEA,GAA+BD,EAAA,OAAKC,GAAa,GAAG,IACpDC,IAAA,IAACC,aAAEA,GAAkCD,EAAA,OAAKC,GAAgB,SAAS,KAIzEC,EAAc/C,EAAKC,EAAOF,GAAMiD,OAAOC,IAClD,CACEf,MAAOe,EAAMf,OAAS,OACtBE,OAAQa,EAAMb,QAAU,OACxBZ,QAASyB,EAAMzB,SAAW,SAC1BE,MAAOuB,EAAMvB,OAAS,YACnBuB,MAEL9C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,CAQ9B,CAAA,MAEWiD,EAAYlD,EAAKC,EAAOF,GAAMiD,OAAOC,IAA+B,CAC/Ef,MAAO,aACJe,MACF9C,WAAA,CAAAC,YAAA,kBAAAC,YAAA,gBAH2BJ,CAG3B,CAAA,MAEUkD,EAAkBnD,EAAKC,EAAOF,GAAMiD,OAAOC,IAA+B,CACrFf,MAAO,UACPkB,MAAO,CACLC,KAAM,OACNrB,QAAS,OACTsB,OAAQ,sBAEPL,MACF9C,WAAA,CAAAC,YAAA,wBAAAC,YAAA,gBARiCJ,CAQjC,CAAA"}
@@ -1,2 +0,0 @@
1
- import{extends as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import r from"styled-components";import{memo as o}from"react";import{FlexWrapper as l}from"./Flex.js";const s=o((r=>{let{title:o,border:l,background:s,onClick:t,cssProp:a,children:n,...i}=r;return React.createElement(c,e({onClick:t},i,{$_css:l||"border: 1px solid #999999;",$_css2:s||"background-color: rgba(0, 120, 255, 0.2);",$_css3:a}),o&&React.createElement("h2",null,o),n&&n)}));s.displayName="Placeholder";var c=r(l).withConfig({displayName:"Placeholder___StyledFlexWrapper",componentId:"sc-ozx0bx-0"})([""," "," ",""],(e=>e.$_css),(e=>e.$_css2),(e=>e.$_css3));export{s as Placeholder};
2
- //# sourceMappingURL=Placeholder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.js","sources":["../../../../../../../../src/core/ui/components/container/Placeholder.tsx"],"sourcesContent":["import { FC, memo, PropsWithChildren } from 'react'\n\nimport { FlexWrapper, FlexProps } from './Flex'\n\nexport type PlaceholderProps = FlexProps & PropsWithChildren<unknown> & {\n title?: string\n cssProp?: string\n background?: string\n border?: string\n onClick?: () => void\n}\n\nexport const Placeholder: FC<PlaceholderProps>\n= memo<PlaceholderProps>(({ title, border, background, onClick, cssProp, children, ...props }: PlaceholderProps) => (\n <FlexWrapper\n css={`\n ${border || 'border: 1px solid #999999;'}\n ${background || 'background-color: rgba(0, 120, 255, 0.2);'}\n ${cssProp}\n `}\n onClick={onClick}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n {title && (<h2>{title}</h2>)}\n {children && children}\n </FlexWrapper>\n))\n\nPlaceholder.displayName = 'Placeholder'\n"],"names":["Placeholder","memo","_ref","title","border","background","onClick","cssProp","children","props","React","createElement","_StyledFlexWrapper","_extends","$_css","$_css2","$_css3","displayName","_styled","FlexWrapper","withConfig","componentId","p"],"mappings":"qLAYaA,MAAAA,EACXC,GAAuBC,IAAA,IAACC,MAAEA,EAAKC,OAAEA,EAAMC,WAAEA,EAAUC,QAAEA,EAAOC,QAAEA,EAAOC,SAAEA,KAAaC,GAAyBP,EAAA,OAC7GQ,MAAAC,cAAAC,EAAAC,EAAA,CAMEP,QAASA,GAELG,EAAK,CAAAK,MANLV,GAAU,6BAA4BW,OACtCV,GAAc,4CAA2CW,OACzDT,IAMHJ,GAAUO,MAAAC,cAAA,KAAA,KAAKR,GACfK,GAAYA,EACD,IAGhBR,EAAYiB,YAAc,cAAa,IAAAL,EAAAM,EAAAC,GAAAC,WAAA,CAAAH,YAAA,kCAAAI,YAAA,eAAAH,CAAA,CAAA,GAAA,IAAA,IAAA,KAAAI,GAAAA,EAAAR,QAAAQ,GAAAA,EAAAP,SAAAO,GAAAA,EAAAN"}
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("react");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(require("styled-components"));const i={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},l=e=>e&&i[e]||e,n=e.memo(r.default.div.withConfig({displayName:"Flex",componentId:"sc-19vq3db-0"})(["display:flex;position:relative;flex-direction:",";flex:",";flex-grow:",";flex-shrink:",";flex-basis:",";flex-wrap:",";gap:",";text-align:",";justify-content:",";align-items:",";align-self:",";margin:",";padding:",";width:",";height:",";max-width:",";max-height:",";min-width:",";min-height:",";border-radius:",";"],(e=>{let{direction:t}=e;return t||"row"}),(e=>{let{flex:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexGrow:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexShrink:t}=e;return void 0!==t?t:"0"}),(e=>{let{flexBasis:t}=e;return t||"auto"}),(e=>{let{flexWrap:t}=e;return t||"nowrap"}),(e=>{let{gap:t}=e;return void 0!==t?t:"0"}),(e=>{let{alignText:t}=e;return t||"left"}),(e=>{let{justify:t}=e;return l(t)||"flex-start"}),(e=>{let{align:t}=e;return l(t)||"flex-start"}),(e=>{let{alignSelf:t}=e;return t||"auto"}),(e=>{let{margin:t}=e;return t||"0"}),(e=>{let{padding:t}=e;return t||"0"}),(e=>{let{width:t}=e;return t||"auto"}),(e=>{let{height:t}=e;return t||"auto"}),(e=>{let{maxWidth:t}=e;return t||"none"}),(e=>{let{maxHeight:t}=e;return t||"none"}),(e=>{let{minWidth:t}=e;return t||"0"===t?t:"0"}),(e=>{let{minHeight:t}=e;return t||"0"}),(e=>{let{borderRadius:t}=e;return t||"initial"}))),a=e.memo(r.default(n).attrs((e=>({width:e.width||"100%",height:e.height||"100%",justify:e.justify||"center",align:e.align||"center",...e}))).withConfig({displayName:"Flex__FlexWrapper",componentId:"sc-19vq3db-1"})([""])),d=e.memo(r.default(n).attrs((e=>({width:"initial",...e}))).withConfig({displayName:"Flex__FlexTight",componentId:"sc-19vq3db-2"})([""])),o=e.memo(r.default(n).attrs((e=>({width:"initial",style:{text:"blue",padding:"1rem",border:"1px solid green"},...e}))).withConfig({displayName:"Flex__FlexTightStyled",componentId:"sc-19vq3db-3"})([""]));exports.Flex=n,exports.FlexTight=d,exports.FlexTightStyled=o,exports.FlexWrapper=a;
2
- //# sourceMappingURL=Flex.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Flex.js","sources":["../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\nimport { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","default","attrs","props","FlexTight","FlexTightStyled","style","text","border"],"mappings":"6HA4BA,MAAMA,EAAuC,CAC3CC,MAAO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,MAAM,IACjDC,IAAA,IAACC,OAAEA,GAA4BD,EAAA,OAAKC,GAAU,MAAM,IACjDC,IAAA,IAACC,SAAEA,GAA8BD,EAAA,OAAKC,GAAY,MAAM,IACvDC,IAAA,IAACC,UAAEA,GAA+BD,EAAA,OAAKC,GAAa,MAAM,IAC3DC,IAAA,IAACC,SAAEA,GAA8BD,EAAA,OAAOC,GAAyB,MAAbA,EAAoBA,EAAW,GAAG,IACrFC,IAAA,IAACC,UAAEA,GAA+BD,EAAA,OAAKC,GAAa,GAAG,IACpDC,IAAA,IAACC,aAAEA,GAAkCD,EAAA,OAAKC,GAAgB,SAAS,KAIzEC,EAAc/C,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAClD,CACEhB,MAAOgB,EAAMhB,OAAS,OACtBE,OAAQc,EAAMd,QAAU,OACxBZ,QAAS0B,EAAM1B,SAAW,SAC1BE,MAAOwB,EAAMxB,OAAS,YACnBwB,MAEL/C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,CAQ9B,CAAA,MAEWkD,EAAYnD,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAA+B,CAC/EhB,MAAO,aACJgB,MACF/C,WAAA,CAAAC,YAAA,kBAAAC,YAAA,gBAH2BJ,CAG3B,CAAA,MAEUmD,EAAkBpD,EAAIA,KAACC,EAAM+C,QAACjD,GAAMkD,OAAOC,IAA+B,CACrFhB,MAAO,UACPmB,MAAO,CACLC,KAAM,OACNtB,QAAS,OACTuB,OAAQ,sBAEPL,MACF/C,WAAA,CAAAC,YAAA,wBAAAC,YAAA,gBARiCJ,CAQjC,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),r=require("styled-components"),l=require("react"),s=require("./Flex.js");function c(e){return e&&e.__esModule?e:{default:e}}var t=c(r);const o=l.memo((r=>{let{title:l,border:s,background:c,onClick:t,cssProp:o,children:n,...d}=r;return React.createElement(a,e.extends({onClick:t},d,{$_css:s||"border: 1px solid #999999;",$_css2:c||"background-color: rgba(0, 120, 255, 0.2);",$_css3:o}),l&&React.createElement("h2",null,l),n&&n)}));o.displayName="Placeholder";var a=t.default(s.FlexWrapper).withConfig({displayName:"Placeholder___StyledFlexWrapper",componentId:"sc-ozx0bx-0"})([""," "," ",""],(e=>e.$_css),(e=>e.$_css2),(e=>e.$_css3));exports.Placeholder=o;
2
- //# sourceMappingURL=Placeholder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholder.js","sources":["../../../../../../../src/core/ui/components/container/Placeholder.tsx"],"sourcesContent":["import { FC, memo, PropsWithChildren } from 'react'\n\nimport { FlexWrapper, FlexProps } from './Flex'\n\nexport type PlaceholderProps = FlexProps & PropsWithChildren<unknown> & {\n title?: string\n cssProp?: string\n background?: string\n border?: string\n onClick?: () => void\n}\n\nexport const Placeholder: FC<PlaceholderProps>\n= memo<PlaceholderProps>(({ title, border, background, onClick, cssProp, children, ...props }: PlaceholderProps) => (\n <FlexWrapper\n css={`\n ${border || 'border: 1px solid #999999;'}\n ${background || 'background-color: rgba(0, 120, 255, 0.2);'}\n ${cssProp}\n `}\n onClick={onClick}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n {title && (<h2>{title}</h2>)}\n {children && children}\n </FlexWrapper>\n))\n\nPlaceholder.displayName = 'Placeholder'\n"],"names":["Placeholder","memo","_ref","title","border","background","onClick","cssProp","children","props","React","createElement","_StyledFlexWrapper","_extends","$_css","$_css2","$_css3","displayName","_styled","default","FlexWrapper","withConfig","componentId","p"],"mappings":"0NAYaA,MAAAA,EACXC,EAAIA,MAAmBC,IAAA,IAACC,MAAEA,EAAKC,OAAEA,EAAMC,WAAEA,EAAUC,QAAEA,EAAOC,QAAEA,EAAOC,SAAEA,KAAaC,GAAyBP,EAAA,OAC7GQ,MAAAC,cAAAC,EAAAC,UAAA,CAMEP,QAASA,GAELG,EAAK,CAAAK,MANLV,GAAU,6BAA4BW,OACtCV,GAAc,4CAA2CW,OACzDT,IAMHJ,GAAUO,MAAAC,cAAA,KAAA,KAAKR,GACfK,GAAYA,EACD,IAGhBR,EAAYiB,YAAc,cAAa,IAAAL,EAAAM,EAAAC,QAAAC,eAAAC,WAAA,CAAAJ,YAAA,kCAAAK,YAAA,eAAAJ,CAAA,CAAA,GAAA,IAAA,IAAA,KAAAK,GAAAA,EAAAT,QAAAS,GAAAA,EAAAR,SAAAQ,GAAAA,EAAAP"}