jamespot-front-business 1.1.47 → 1.1.48

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/esm.js CHANGED
@@ -1922,6 +1922,22 @@ const UserCurrent = {
1922
1922
  utils: { isAdmin, isLogged },
1923
1923
  };
1924
1924
 
1925
+ const widgetApiDefinition = {
1926
+ label: 'WIDGET_Api',
1927
+ description: 'WIDGET_Api_Description',
1928
+ name: 'widget-api',
1929
+ img: '/img/fast-intranet/widget-text.png',
1930
+ available: true,
1931
+ panel: {
1932
+ useWrapper: false,
1933
+ useEditor: true,
1934
+ useWidgets: false,
1935
+ },
1936
+ };
1937
+ const widgetApiContent = {
1938
+ url: '',
1939
+ };
1940
+
1925
1941
  const widgetArticleAttachmentDefinition = {
1926
1942
  label: 'WIDGET_Article_Attachment',
1927
1943
  description: 'WIDGET_Article_Attachment_Description',
@@ -1938,6 +1954,33 @@ const widgetArticleAttachmentContent = {
1938
1954
  files: [],
1939
1955
  };
1940
1956
 
1957
+ const widgetArticleButtonDefinition = {
1958
+ label: 'WIDGET_Button',
1959
+ description: 'WIDGET_Button_Description',
1960
+ name: 'widget-article-button',
1961
+ img: '/img/article-widget-thumbnail/widget_thumbnail_button.png',
1962
+ available: true,
1963
+ panel: {
1964
+ useWrapper: false,
1965
+ useEditor: true,
1966
+ useWidgets: false,
1967
+ },
1968
+ };
1969
+ const widgetArticleButtonContent = {
1970
+ text: '',
1971
+ openingType: 'link',
1972
+ openingTypeLink: {
1973
+ url: '',
1974
+ target: '_blank',
1975
+ },
1976
+ variant: 'contained',
1977
+ fontSize: '14',
1978
+ color: '#fff',
1979
+ backgroundColor: '#4dbf96',
1980
+ buttonSize: 'lg',
1981
+ borderRadius: '4',
1982
+ };
1983
+
1941
1984
  const widgetArticleGalleryDefinition = {
1942
1985
  label: 'WIDGET_Article_Gallery',
1943
1986
  description: 'WIDGET_Article_Gallery_Description',
@@ -1970,11 +2013,11 @@ const widgetArticleImageDefinition = {
1970
2013
  };
1971
2014
  const widgetArticleImageContent = {};
1972
2015
 
1973
- const widgetArticleButtonDefinition = {
1974
- label: 'WIDGET_Button',
1975
- description: 'WIDGET_Button_Description',
1976
- name: 'widget-article-button',
1977
- img: '/img/article-widget-thumbnail/widget_thumbnail_button.png',
2016
+ const widgetArticleSliderDefinition = {
2017
+ label: 'WIDGET_Slider',
2018
+ description: 'WIDGET_Slider_Description',
2019
+ name: 'widget-article-slider',
2020
+ img: '/img/article-widget-thumbnail/widget_thumbnail_slider.png',
1978
2021
  available: true,
1979
2022
  panel: {
1980
2023
  useWrapper: false,
@@ -1982,19 +2025,12 @@ const widgetArticleButtonDefinition = {
1982
2025
  useWidgets: false,
1983
2026
  },
1984
2027
  };
1985
- const widgetArticleButtonContent = {
1986
- text: '',
1987
- openingType: 'link',
1988
- openingTypeLink: {
1989
- url: '',
1990
- target: '_blank',
1991
- },
1992
- variant: 'contained',
1993
- fontSize: '14',
1994
- color: '#fff',
1995
- backgroundColor: '#4dbf96',
1996
- buttonSize: 'lg',
1997
- borderRadius: '4',
2028
+ const widgetArticleSliderContent = {
2029
+ slides: [],
2030
+ maxWidth: 800,
2031
+ loop: false,
2032
+ useDots: true,
2033
+ startAt: 0,
1998
2034
  };
1999
2035
 
2000
2036
  const widgetArticleTextDefinition = {
@@ -2033,27 +2069,34 @@ const widgetArticleTitleContent = {
2033
2069
  backgroundColor: 'transparent',
2034
2070
  };
2035
2071
 
2036
- const widgetApiDefinition = {
2037
- label: 'WIDGET_Api',
2038
- description: 'WIDGET_Api_Description',
2039
- name: 'widget-api',
2040
- img: '/img/fast-intranet/widget-text.png',
2041
- available: true,
2042
- panel: {
2043
- useWrapper: false,
2044
- useEditor: true,
2045
- useWidgets: false,
2046
- },
2047
- };
2048
- const widgetApiContent = {
2049
- url: '',
2050
- };
2072
+ const WIDGET_ARTICLE_TITLE = 'widget-article-title';
2073
+ const WIDGET_ARTICLE_TEXT = 'widget-article-text';
2074
+ const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
2075
+ const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
2076
+ const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
2077
+ const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
2078
+ const WIDGET_CHECK_LIST = 'widget-check-list';
2079
+ const WIDGET_CHECK_LIST_LABEL = 'WIDGET_Check_List';
2080
+ const WIDGET_CHECK_LIST_DESCRIPTION = 'WIDGET_Check_List_Description';
2051
2081
 
2052
- const widgetArticleSliderDefinition = {
2053
- label: 'WIDGET_Slider',
2054
- description: 'WIDGET_Slider_Description',
2055
- name: 'widget-article-slider',
2056
- img: '/img/article-widget-thumbnail/widget_thumbnail_slider.png',
2082
+ var WIDGETS = /*#__PURE__*/Object.freeze({
2083
+ __proto__: null,
2084
+ WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
2085
+ WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
2086
+ WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
2087
+ WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
2088
+ WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
2089
+ WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT,
2090
+ WIDGET_CHECK_LIST: WIDGET_CHECK_LIST,
2091
+ WIDGET_CHECK_LIST_LABEL: WIDGET_CHECK_LIST_LABEL,
2092
+ WIDGET_CHECK_LIST_DESCRIPTION: WIDGET_CHECK_LIST_DESCRIPTION
2093
+ });
2094
+
2095
+ const widgetCheckListDefinition = {
2096
+ label: WIDGET_CHECK_LIST_LABEL,
2097
+ description: WIDGET_CHECK_LIST_DESCRIPTION,
2098
+ name: WIDGET_CHECK_LIST,
2099
+ img: '/img/fast-intranet/widget-check-list.png',
2057
2100
  available: true,
2058
2101
  panel: {
2059
2102
  useWrapper: false,
@@ -2061,12 +2104,8 @@ const widgetArticleSliderDefinition = {
2061
2104
  useWidgets: false,
2062
2105
  },
2063
2106
  };
2064
- const widgetArticleSliderContent = {
2065
- slides: [],
2066
- maxWidth: 800,
2067
- loop: false,
2068
- useDots: true,
2069
- startAt: 0,
2107
+ const widgetCheckListContent = {
2108
+ arr: [],
2070
2109
  };
2071
2110
 
2072
2111
  function uniqid() {
@@ -2109,26 +2148,11 @@ function content(name) {
2109
2148
  return Object.assign({}, widgetArticleImageContent);
2110
2149
  case 'widget-article-text':
2111
2150
  return Object.assign({}, widgetArticleTextContent);
2151
+ case 'widget-check-list':
2152
+ return Object.assign({}, widgetCheckListContent);
2112
2153
  }
2113
2154
  }
2114
2155
 
2115
- const WIDGET_ARTICLE_TITLE = 'widget-article-title';
2116
- const WIDGET_ARTICLE_TEXT = 'widget-article-text';
2117
- const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
2118
- const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
2119
- const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
2120
- const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
2121
-
2122
- var WIDGETS = /*#__PURE__*/Object.freeze({
2123
- __proto__: null,
2124
- WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
2125
- WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
2126
- WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
2127
- WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
2128
- WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
2129
- WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT
2130
- });
2131
-
2132
2156
  function widgetDefinition(name) {
2133
2157
  switch (name) {
2134
2158
  default:
@@ -2149,6 +2173,8 @@ function widgetDefinition(name) {
2149
2173
  return widgetApiDefinition;
2150
2174
  case 'widget-article-button':
2151
2175
  return widgetArticleButtonDefinition;
2176
+ case 'widget-check-list':
2177
+ return widgetCheckListDefinition;
2152
2178
  }
2153
2179
  }
2154
2180