npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

witty-v2-email-package

v0.0.10

Published

Wittymanager Webmaillite Integration Package

Downloads

3

Readme

witty-email-package

INSTALLATION

Download & install applications

Application Install

  1. Clone the repository hhttps://gitlab.com/wittydevops/witty-email-package.git
  2. Navigate to the app root directory using Cmder or Git Bash CLI Example: cd c:\xampp\htdocs\witty-email-package\
  3. Run npm install
  4. Generate component docs. Install Vuese and run vuese gen. This will generate a website folder containing component documentation.

Testing (Option 1)

  1. Run npm run build
  2. Run npm pack
  3. Copy the created zip file and extract to the project node_modules or install it using npm.

Testing (Option 2)

  1. Run npm run serve
  2. Go to your localhost site. (http://localhost:8080/)

Publish

  1. Run npm run build
  2. Run npm publish
  3. In the project, run npm install --save witty-twilio-plugin

Local Testing

  1. Run npm link on current witty-video-chat-plugin folder
  2. Run npm link witty-twilio-plugin to target project folder
  3. Import package ` import WittyVideoChatPlugin from 'witty-twilio-plugin'

Sample WittyVideoChat Implementation

<template>
    <div id="app">
        <witty-email
        token=""
        :user="{
            email: '[email protected]',
            password: 'gagayijnkfnhbews'
        }"
        base-url="http://localhost/webmail/?/Api"
        url="http://localhost/webmail/"
        layout="email"
        :options="options"
        :kanban-data="sortData"
        @kanban-template-created="onKanbanTemplateCreated"
        @kanban-template-deleted="onKanbanTemplateDeleted"
        @message-sent="onMessageSent"
        ref="wittyEmail">
        </witty-email>
    </div>
</template>

<script>

    import axios from 'axios'
    import WittyEmail from '~components/WittyEmail.vue'

    export default {
    	data() {
            return {
            	options: {
                    imageUpload: (image) => { console.log(" image upload ", image) },
                    enableCustomData: true,
                    customMessageLoad: this.customLoadMessages,
                    formatFilter: this.formatFilters,
                    getUserList: this.getUserList,
                    getUserData: this.getUserData,
                    locale: 'en-Us',
                    customMessageItemSlots: this.customMessageAction,
                    dialog: {
                        closeOnClick: false,
                        closeOnEsc: false,
                    },
                    messageActions: [
                        {
                            name: `<i class="witx-task-square"></i>${('Task')}`, 
                            key: 'convert_to_task',
                            class: ['divided'],
                            selectable: true,
                            show: true,
                            action: this.convertToTask
                        },
                        {
                            name: `<i class="witx-ticket"></i>${('Ticket')}`, 
                            key: 'convert_to_ticket',
                            show: true,
                            selectable: true,
                            action: this.convertToTask,
                        },
                    ],
                    editor: {
                        // custom icons for tinymce editor
                        // must be hosted to a url, a copy exists in src/assets/tinymce
                        iconsUrl: 'http://localhost/oxide-icon-pack-template/dist/icons/Witx/icons.js'
                    },
                    viewTypes: [
                        {
                            list: [],
                            page: 1,
                            limit: 25,
                            result: null,
                            value: 'accounts',
                            label: 'Accounts'
                        },
                        {
                            list: [],
                            page: 1,
                            limit: 25,
                            result: null,
                            value: 'contacts',
                            label: 'Contacts'
                        },
                        {
                            list: [],
                            page: 1,
                            limit: 25,
                            result: null,
                            value: 'tasks',
                            label: 'Tasks'
                        },
                        {
                            list: [],
                            page: 1,
                            limit: 25,
                            result: null,
                            value: 'tickets',
                            label: 'Tickets'
                        }
                    ]
                },
            }
        }
    }
</script>

WittyEmail (Main Component)

Props

|Name|Description|Type|Required|Default| |---|---|---|---|---| |token|webmail-lite access token|String|false|null| |user|User object. Can contain any data. Must match with properties from options.|Object|false|null| |baseUrl|webmail-lite api url link|String|false|-| |url|webmail-lite url|—|false|-| |options|config settings|Object|false|{"properties":{"email":"Email","label1":"DisplayName","label2":"label2","label3":"label3","image":"image_path","timeFormat":"hh:mm A","dateFormat":"MMMM DD, YYYY"},"editor":{"color":"#333333","fontSize":"10pt","fontFamily":"Inter, sans-serif","apiKey":"q1fl7wqmmbkxzshds6b8k7ux6ib10y8n2xvd38au0cztw6we"},"imageUpload":null,"enableCustomData":false,"locale":"en-Us","customMessageLoad":null,"formatFilter":null,"messageActions":null}| |layout|layout (email, kanban)|String|false|email| |kanbanData|array of kanban templates containing columns and card sort order|Array|false|-|

Events

|Event Name|Description|Parameters| |---|---|---| |kanban-template-created|Kanban Template Created|{Folder| |kanban-template-deleted|Kanban Template Deleted|{Folder| |cards-updated|Kanban Cards updates|{template| |message-sent|-|-|

Slots

|Name|Description|Default Slot Content| |---|---|---| |message-detail-header-author-info|-|-| |message-header-sort|-|-| |kanban-header-sort|-|-| |email-header-actions|-|-| |email-detail-header-actions|-|-| |message-detail-pre-content|-|-| |message-detail-post-content|-|-|

MixIns

|MixIn| |---| |accountMixin| |messageDetailsMixin|