@fctc/sme-widget-ui 1.5.3 → 1.5.5
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/index.js +12 -0
- package/dist/index.mjs +12 -0
- package/dist/widgets.js +12 -0
- package/dist/widgets.mjs +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18150,6 +18150,10 @@ var BinaryField = (props) => {
|
|
|
18150
18150
|
renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
18151
18151
|
"img",
|
|
18152
18152
|
{
|
|
18153
|
+
style: {
|
|
18154
|
+
width: "128px",
|
|
18155
|
+
height: "128px"
|
|
18156
|
+
},
|
|
18153
18157
|
src: renderImage,
|
|
18154
18158
|
alt: "Selected",
|
|
18155
18159
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -18157,6 +18161,10 @@ var BinaryField = (props) => {
|
|
|
18157
18161
|
) : renderImage ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
18158
18162
|
"img",
|
|
18159
18163
|
{
|
|
18164
|
+
style: {
|
|
18165
|
+
width: "128px",
|
|
18166
|
+
height: "128px"
|
|
18167
|
+
},
|
|
18160
18168
|
src: getImageBase64WithMimeType(renderImage) ?? void 0,
|
|
18161
18169
|
alt: "Selected",
|
|
18162
18170
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -18175,6 +18183,10 @@ var BinaryField = (props) => {
|
|
|
18175
18183
|
"label",
|
|
18176
18184
|
{
|
|
18177
18185
|
htmlFor: inputId,
|
|
18186
|
+
style: {
|
|
18187
|
+
width: "128px",
|
|
18188
|
+
height: "128px"
|
|
18189
|
+
},
|
|
18178
18190
|
className: `relative p-2 flex h-32 w-32 cursor-pointer items-center justify-center rounded-lg border border-gray-300 hover:border-gray-500 bg-white transition-colors duration-300 ${readonly && "pointer-events-none"}`,
|
|
18179
18191
|
children: [
|
|
18180
18192
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
package/dist/index.mjs
CHANGED
|
@@ -18031,6 +18031,10 @@ var BinaryField = (props) => {
|
|
|
18031
18031
|
renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ jsx69(
|
|
18032
18032
|
"img",
|
|
18033
18033
|
{
|
|
18034
|
+
style: {
|
|
18035
|
+
width: "128px",
|
|
18036
|
+
height: "128px"
|
|
18037
|
+
},
|
|
18034
18038
|
src: renderImage,
|
|
18035
18039
|
alt: "Selected",
|
|
18036
18040
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -18038,6 +18042,10 @@ var BinaryField = (props) => {
|
|
|
18038
18042
|
) : renderImage ? /* @__PURE__ */ jsx69(
|
|
18039
18043
|
"img",
|
|
18040
18044
|
{
|
|
18045
|
+
style: {
|
|
18046
|
+
width: "128px",
|
|
18047
|
+
height: "128px"
|
|
18048
|
+
},
|
|
18041
18049
|
src: getImageBase64WithMimeType(renderImage) ?? void 0,
|
|
18042
18050
|
alt: "Selected",
|
|
18043
18051
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -18056,6 +18064,10 @@ var BinaryField = (props) => {
|
|
|
18056
18064
|
"label",
|
|
18057
18065
|
{
|
|
18058
18066
|
htmlFor: inputId,
|
|
18067
|
+
style: {
|
|
18068
|
+
width: "128px",
|
|
18069
|
+
height: "128px"
|
|
18070
|
+
},
|
|
18059
18071
|
className: `relative p-2 flex h-32 w-32 cursor-pointer items-center justify-center rounded-lg border border-gray-300 hover:border-gray-500 bg-white transition-colors duration-300 ${readonly && "pointer-events-none"}`,
|
|
18060
18072
|
children: [
|
|
18061
18073
|
/* @__PURE__ */ jsx69(
|
package/dist/widgets.js
CHANGED
|
@@ -17776,6 +17776,10 @@ var BinaryField = (props) => {
|
|
|
17776
17776
|
renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
17777
17777
|
"img",
|
|
17778
17778
|
{
|
|
17779
|
+
style: {
|
|
17780
|
+
width: "128px",
|
|
17781
|
+
height: "128px"
|
|
17782
|
+
},
|
|
17779
17783
|
src: renderImage,
|
|
17780
17784
|
alt: "Selected",
|
|
17781
17785
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -17783,6 +17787,10 @@ var BinaryField = (props) => {
|
|
|
17783
17787
|
) : renderImage ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
17784
17788
|
"img",
|
|
17785
17789
|
{
|
|
17790
|
+
style: {
|
|
17791
|
+
width: "128px",
|
|
17792
|
+
height: "128px"
|
|
17793
|
+
},
|
|
17786
17794
|
src: getImageBase64WithMimeType(renderImage) ?? void 0,
|
|
17787
17795
|
alt: "Selected",
|
|
17788
17796
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -17801,6 +17809,10 @@ var BinaryField = (props) => {
|
|
|
17801
17809
|
"label",
|
|
17802
17810
|
{
|
|
17803
17811
|
htmlFor: inputId,
|
|
17812
|
+
style: {
|
|
17813
|
+
width: "128px",
|
|
17814
|
+
height: "128px"
|
|
17815
|
+
},
|
|
17804
17816
|
className: `relative p-2 flex h-32 w-32 cursor-pointer items-center justify-center rounded-lg border border-gray-300 hover:border-gray-500 bg-white transition-colors duration-300 ${readonly && "pointer-events-none"}`,
|
|
17805
17817
|
children: [
|
|
17806
17818
|
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
package/dist/widgets.mjs
CHANGED
|
@@ -17713,6 +17713,10 @@ var BinaryField = (props) => {
|
|
|
17713
17713
|
renderImage && checkIsImageLink2(renderImage) ? /* @__PURE__ */ jsx69(
|
|
17714
17714
|
"img",
|
|
17715
17715
|
{
|
|
17716
|
+
style: {
|
|
17717
|
+
width: "128px",
|
|
17718
|
+
height: "128px"
|
|
17719
|
+
},
|
|
17716
17720
|
src: renderImage,
|
|
17717
17721
|
alt: "Selected",
|
|
17718
17722
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -17720,6 +17724,10 @@ var BinaryField = (props) => {
|
|
|
17720
17724
|
) : renderImage ? /* @__PURE__ */ jsx69(
|
|
17721
17725
|
"img",
|
|
17722
17726
|
{
|
|
17727
|
+
style: {
|
|
17728
|
+
width: "128px",
|
|
17729
|
+
height: "128px"
|
|
17730
|
+
},
|
|
17723
17731
|
src: getImageBase64WithMimeType(renderImage) ?? void 0,
|
|
17724
17732
|
alt: "Selected",
|
|
17725
17733
|
className: "h-32 w-32 max-w-fit rounded-lg object-contain"
|
|
@@ -17738,6 +17746,10 @@ var BinaryField = (props) => {
|
|
|
17738
17746
|
"label",
|
|
17739
17747
|
{
|
|
17740
17748
|
htmlFor: inputId,
|
|
17749
|
+
style: {
|
|
17750
|
+
width: "128px",
|
|
17751
|
+
height: "128px"
|
|
17752
|
+
},
|
|
17741
17753
|
className: `relative p-2 flex h-32 w-32 cursor-pointer items-center justify-center rounded-lg border border-gray-300 hover:border-gray-500 bg-white transition-colors duration-300 ${readonly && "pointer-events-none"}`,
|
|
17742
17754
|
children: [
|
|
17743
17755
|
/* @__PURE__ */ jsx69(
|