hrm_ui_lib 2.0.0-alpha.25 → 2.0.0-alpha.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as m,jsx as e}from"react/jsx-runtime";import{Text as t}from"../Text/Text.js";import{Image as c}from"../Image/Image.js";import{Button as u}from"../Button/Button.js";import g from"classnames";import p from"../../assets/images/no-result.svg
|
|
1
|
+
import{jsxs as m,jsx as e}from"react/jsx-runtime";import{Text as t}from"../Text/Text.js";import{Image as c}from"../Image/Image.js";import{Button as u}from"../Button/Button.js";import g from"classnames";import p from"../../assets/images/no-result.svg";const _=s=>{const{size:a="large",mainMessage:l,paragraphMessage:r,buttonProps:o,className:n,illustration:i=p}=s;/* @__PURE__ */
|
|
2
2
|
return m("div",{className:g("no-result "+("large"==a?"no-result--large":"no-result--small"),n),children:[
|
|
3
3
|
/* @__PURE__ */e("div",{className:"no-result__icon",children:/* @__PURE__ */e(c,{imagePath:i})}),
|
|
4
4
|
/* @__PURE__ */m("div",{className:"no-result__content",children:[l?/* @__PURE__ */e(t,{size:"large"==a?"large":"small",weight:"bold",children:l}):null,r?/* @__PURE__ */e(t,{size:"large"==a?"small":"xsmall",children:r}):null,o?/* @__PURE__ */e(u,{...o,size:"medium",className:"mt-4"}):null]})]})};export{_ as Empty};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as f,Fragment as p,jsx as e}from"react/jsx-runtime";import{useState as o}from"react";import{Progress as _}from"../../Progress/Progress.js";import a from"../../../assets/images/file-preview.svg
|
|
1
|
+
import{jsxs as f,Fragment as p,jsx as e}from"react/jsx-runtime";import{useState as o}from"react";import{Progress as _}from"../../Progress/Progress.js";import a from"../../../assets/images/file-preview.svg";import c from"classnames";const h=({preview:i,type:s})=>{const[r,m]=o(!0),[t,l]=o(!1);return"image"===s?/* @__PURE__ */f(p,{children:[r&&/* @__PURE__ */e(_,{size:"small",loop:!0,noText:!0,percent:30,type:"circle",dimension:20}),
|
|
2
2
|
/* @__PURE__ */e("img",{src:t?a:i,alt:"Preview",onLoad:()=>{setTimeout(()=>{m(!1)},500)},onError:()=>{l(!0),m(!1)},className:c("dz-file-upload__files--item__preview--image",{"dz-file-upload__files--item__preview--image--loading":r})})]}):/* @__PURE__ */e("img",{src:a,alt:"Preview",className:"dnd-file-upload__files--item__preview--image dnd-file-upload__files--item__preview--image_default"})};export{h as FilePreview};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as s,jsx as e}from"react/jsx-runtime";import{Text as n}from"../Text/Text.js";import{Image as d}from"../Image/Image.js";import g from"classnames";import u from"../../assets/images/under-construction.webp
|
|
1
|
+
import{jsxs as s,jsx as e}from"react/jsx-runtime";import{Text as n}from"../Text/Text.js";import{Image as d}from"../Image/Image.js";import g from"classnames";import u from"../../assets/images/under-construction.webp";import{SELECT_TRANSLATIONS as p}from"./localization.js";const M=a=>{const{size:r="large",mainMessage:t,paragraphMessage:i,className:o,illustration:c=u,language:m="en"}=a,l=p[m];/* @__PURE__ */
|
|
2
2
|
return s("div",{className:g("under-construction "+("large"===r?"under-construction--large":"under-construction--small"),o),children:[
|
|
3
3
|
/* @__PURE__ */e("div",{className:"under-construction__icon",children:/* @__PURE__ */e(d,{imagePath:c})}),
|
|
4
4
|
/* @__PURE__ */s("div",{className:"under-construction__content",children:[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{Empty as e}from"../../components/Empty/Empty.js";import m from"../../assets/images/no_mobile_image.svg
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Empty as e}from"../../components/Empty/Empty.js";import m from"../../assets/images/no_mobile_image.svg";const p=({message:s})=>/* @__PURE__ */r(e,{paragraphMessage:s,mainMessage:"",illustration:m});export{p as GoToWebPage};
|