Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rocket.chat/ui-kit

Package Overview
Dependencies
Maintainers
9
Versions
727
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rocket.chat/ui-kit - npm Package Compare versions

Comparing version 0.2.0-dev.88 to 0.2.0-dev.89

3

dist/index.js

@@ -1,2 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("RocketChatUiKit",[],t):"object"==typeof exports?exports.RocketChatUiKit=t():e.RocketChatUiKit=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r,i,o,E=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),T=this&&this.__assign||function(){return(T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},u=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.version="DEVELOPMENT",function(e){e.IMAGE="image",e.BUTTON="button",e.STATIC_SELECT="static_select",e.MULTI_STATIC_SELECT="multi_static_select",e.CONVERSATION_SELECT="conversations_select",e.CHANNEL_SELECT="channels_select",e.USER_SELECT="users_select",e.OVERFLOW="overflow",e.DATEPICKER="datepicker",e.PLAIN_TEXT_INPUT="plain_text_input",e.SECTION="section",e.DIVIDER="divider",e.ACTIONS="actions",e.CONTEXT="context",e.FIELDS="fields",e.INPUT="input",e.PLAIN_TEXT="plain_text",e.TEXT="text",e.MARKDOWN="mrkdwn"}(i=t.ELEMENT_TYPES||(t.ELEMENT_TYPES={})),function(e){e[e.BLOCK=0]="BLOCK",e[e.SECTION=1]="SECTION",e[e.ACTION=2]="ACTION",e[e.FORM=3]="FORM",e[e.CONTEXT=4]="CONTEXT"}(o=t.BLOCK_CONTEXT||(t.BLOCK_CONTEXT={}));var c=function(){};t.UiKitParserButtons=c;var a=function(){};t.UiKitParserText=a;var s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.renderAccessories=t.createRenderElement([i.BUTTON,i.IMAGE,i.MULTI_STATIC_SELECT,i.STATIC_SELECT,i.CONVERSATION_SELECT,i.USER_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.DATEPICKER,i.OVERFLOW]),n.renderActions=t.createRenderElement([i.BUTTON,i.STATIC_SELECT,i.MULTI_STATIC_SELECT,i.CONVERSATION_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.USER_SELECT,i.DATEPICKER]),n.renderContext=t.createRenderElement([i.IMAGE,i.TEXT,i.MARKDOWN]),n}return E(n,e),n}(a);t.UiKitParserMessage=s;var l=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.renderInputs=t.createRenderElement([i.STATIC_SELECT,i.PLAIN_TEXT_INPUT,i.MULTI_STATIC_SELECT,i.CONVERSATION_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.USER_SELECT,i.DATEPICKER]),n}return E(n,e),n}(s);t.UiKitParserModal=l,t.uiKitGeneric=function(e){return function(t){return function(n){return n.filter((function(t){var n=t.type;return!e||e.includes(n)})).map((function(e,n){var r=e.type,i=u(e,["type"]);return t[r]?t[r](i,o.BLOCK,n):r}))}}};t.createRenderElement=function(e){return function(t,n,r,o){return e&&!e.includes(t.type)?null:function(e,t,n,r){var o=e.type,E=u(e,["type"]);switch(o){case i.OVERFLOW:return n.overflow(T({type:o},E),t,r);case i.MARKDOWN:case i.TEXT:return n.text(T({type:o},E),t,r);case i.BUTTON:return n.button(E,t,r);case i.IMAGE:return n.image(E,t,r);case i.STATIC_SELECT:return n.staticSelect(E,t,r);case i.MULTI_STATIC_SELECT:return n.multiStaticSelect(E,t,r);case i.DATEPICKER:return n.datePicker(E,t,r);case i.PLAIN_TEXT_INPUT:return n.plainInput(E,t,r)}}(t,n,r,o)}},t.uiKitButtons=t.uiKitGeneric([i.BUTTON]),t.uiKitText=t.uiKitGeneric([i.TEXT,i.PLAIN_TEXT,i.MARKDOWN]),t.uiKitMessage=t.uiKitGeneric([i.DIVIDER,i.SECTION,i.IMAGE,i.ACTIONS,i.CONTEXT]),t.uiKitModal=t.uiKitGeneric([i.SECTION,i.DIVIDER,i.IMAGE,i.ACTIONS,i.CONTEXT,i.INPUT])}])}));
//# sourceMappingURL=index.js.map
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("RocketChatUiKit",[],t):"object"==typeof exports?exports.RocketChatUiKit=t():e.RocketChatUiKit=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r,i,o,E=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),T=this&&this.__assign||function(){return(T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},u=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.version="DEVELOPMENT",function(e){e.IMAGE="image",e.BUTTON="button",e.STATIC_SELECT="static_select",e.MULTI_STATIC_SELECT="multi_static_select",e.CONVERSATION_SELECT="conversations_select",e.CHANNEL_SELECT="channels_select",e.USER_SELECT="users_select",e.OVERFLOW="overflow",e.DATEPICKER="datepicker",e.PLAIN_TEXT_INPUT="plain_text_input",e.SECTION="section",e.DIVIDER="divider",e.ACTIONS="actions",e.CONTEXT="context",e.FIELDS="fields",e.INPUT="input",e.PLAIN_TEXT="plain_text",e.TEXT="text",e.MARKDOWN="mrkdwn"}(i=t.ELEMENT_TYPES||(t.ELEMENT_TYPES={})),function(e){e[e.BLOCK=0]="BLOCK",e[e.SECTION=1]="SECTION",e[e.ACTION=2]="ACTION",e[e.FORM=3]="FORM",e[e.CONTEXT=4]="CONTEXT"}(o=t.BLOCK_CONTEXT||(t.BLOCK_CONTEXT={}));var c=function(){};t.UiKitParserButtons=c;var a=function(){};t.UiKitParserText=a;var s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.renderAccessories=t.createRenderElement([i.BUTTON,i.IMAGE,i.MULTI_STATIC_SELECT,i.STATIC_SELECT,i.CONVERSATION_SELECT,i.USER_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.DATEPICKER,i.OVERFLOW]),n.renderActions=t.createRenderElement([i.BUTTON,i.STATIC_SELECT,i.MULTI_STATIC_SELECT,i.CONVERSATION_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.USER_SELECT,i.DATEPICKER]),n.renderContext=t.createRenderElement([i.IMAGE,i.TEXT,i.MARKDOWN]),n}return E(n,e),n}(a);t.UiKitParserMessage=s;var l=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.renderInputs=t.createRenderElement([i.STATIC_SELECT,i.PLAIN_TEXT_INPUT,i.MULTI_STATIC_SELECT,i.CONVERSATION_SELECT,i.CHANNEL_SELECT,i.USER_SELECT,i.USER_SELECT,i.DATEPICKER]),n}return E(n,e),n}(s);t.UiKitParserModal=l,t.uiKitGeneric=function(e){return function(t){return function(n){return n.filter((function(t){var n=t.type;return!e||e.includes(n)})).map((function(e,n){var r=e.type,i=u(e,["type"]);return t[r]?t[r](i,o.BLOCK,n):r}))}}};t.createRenderElement=function(e){return function(t,n,r,o){return e&&!e.includes(t.type)?null:function(e,t,n,r){var o=e.type,E=u(e,["type"]);switch(o){case i.OVERFLOW:return n.overflow(T({type:o},E),t,r);case i.MARKDOWN:case i.TEXT:return n.text(T({type:o},E),t,r);case i.BUTTON:return n.button(E,t,r);case i.IMAGE:return n.image(E,t,r);case i.STATIC_SELECT:return n.staticSelect(E,t,r);case i.MULTI_STATIC_SELECT:return n.multiStaticSelect(E,t,r);case i.DATEPICKER:return n.datePicker(E,t,r);case i.PLAIN_TEXT_INPUT:return n.plainInput(E,t,r)}}(t,n,r,o)}},t.uiKitButtons=t.uiKitGeneric([i.BUTTON]),t.uiKitText=t.uiKitGeneric([i.TEXT,i.PLAIN_TEXT,i.MARKDOWN]),t.uiKitMessage=t.uiKitGeneric([i.DIVIDER,i.SECTION,i.IMAGE,i.ACTIONS,i.CONTEXT]),t.uiKitModal=t.uiKitGeneric([i.SECTION,i.DIVIDER,i.IMAGE,i.ACTIONS,i.CONTEXT,i.INPUT])}])}));
{
"name": "@rocket.chat/ui-kit",
"version": "0.2.0-dev.88+52fcedb",
"version": "0.2.0-dev.89+7a32d58",
"description": "Package Fuselage ui kit ",

@@ -41,3 +41,3 @@ "author": "Guilherme Gazzo <guilhermegazzo@gmail.com>",

},
"gitHead": "52fcedb0efbc33ad4240c83fd92a325fcc9f0f4c"
"gitHead": "7a32d5818dff76891625e0572b15e9cce2720b0c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc