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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ticatec/uniface-app-component

v0.2.4

Published

uniface web app components base on the uniface web elements

Downloads

180

Readme

@ticatec/uniface-app-component

NPM Version License

🇨🇳 中文文档 | 📖 Documentation

A focused Svelte component library providing essential data display components for building data-driven web applications. Built on top of Svelte 5 and the Ticatec Uniface ecosystem, it offers specialized components for card-based and table-based data presentations.

This library is the perfect tool for building:

  • Data-intensive admin panels
  • Complex data grids and lists
  • Card-based data views
  • Paginated data displays

✨ Key Features

  • 📊 Specialized Data Views: Professional components for displaying data, including DataTable and CardList, with comprehensive support for:
    • Pagination (client-side and server-side)
    • "Managed" mode with automatic data fetching and state management
    • Dynamic filtering and searching
  • 🔧 Two Component Modes: Both "managed" (automatic data handling) and "unmanaged" (manual control) versions available
  • 🌐 Internationalization (i18n): Core components come with built-in support for multiple languages
  • 🎨 Ticatec Ecosystem: Seamlessly integrates with @ticatec/uniface-element and other Ticatec data management libraries

📦 Installation

Install the package and its peer dependencies using your favorite package manager:

npm install @ticatec/uniface-app-component @ticatec/uniface-element svelte

You also need to include the component's stylesheet in your main application file.

// src/main.ts
import "@ticatec/uniface-app-component/uniface-app-component.css";

🚀 Quick Start

Here's how to create a managed, paginated data table that fetches data from a remote API using DataManager.

  1. Define your data service, manager and columns:

    // src/routes/demo/paged-table/TenantService.ts
    import { PagingDataService } from '@ticatec/app-data-service';
    
    export default class TenantService extends PagingDataService {
        constructor() {
            super('/api/tenants');
        }
    }
    
    export const service = new TenantService();
    // src/routes/demo/paged-table/TenantManager.ts
    import { PagedDataManager } from "@ticatec/app-data-manager";
    import { service } from "./TenantService";
    
    export default class TenantManager extends PagedDataManager {
        constructor() {
            super(service, 'id'); // Use 'id' as the unique identifier field
        }
    }
    // src/routes/demo/paged-table/TenantColumns.ts
    import type { DataColumn } from "@ticatec/uniface-element";
    
    const columns: Array<DataColumn> = [
        {
            text: 'Tenant Name',
            field: 'name',
            width: 200,
            resizable: true
        },
        {
            text: 'Contact Email',
            field: 'email',
            width: 250,
            resizable: true
        },
        {
            text: 'Status',
            field: 'status',
            width: 120,
            align: 'center'
        }
    ];
    
    export default columns;
  2. Configure the global REST service (in your app setup):

    // src/app.ts or src/main.ts
    import { BaseDataService } from '@ticatec/app-data-service';
    import RestService from '@ticatec/axios-restful-service';
    
    // Configure global REST service
    BaseDataService.setProxy(new RestService('https://api.example.com'));
  3. Use the PagingListPage component in your Svelte page:

    <!-- src/routes/demo/paged-table/+page.svelte -->
    <script lang="ts">
        import PagingListPage from '@ticatec/uniface-app-component/data-table/managed/PagingListPage.svelte';
        import TenantManager from './TenantManager';
        import columns from './TenantColumns';
    
        const dataManager = new TenantManager();
    
        let page$attrs = {
            title: "Managed Tenants"
        };
    </script>
    
    <PagingListPage 
        {dataManager} 
        {columns} 
        {page$attrs} 
        rowHeight={48}
    />

This example creates a fully functional data table using @ticatec/uniface-element/DataTable with pagination, data fetching, loading indicators, and error handling—all managed automatically by the PagedDataManager.

🛠️ Development

This is a SvelteKit library project. To start developing, clone the repository and run the following commands:

# Install dependencies
npm install

# Start the development server with live-reloading
npm run dev

# Build the library for publishing
npm run build

# Run type checking
npm run check

📚 Documentation

🌐 Language Options

🧩 Core Components

Common Utilities

📊 Data Display Components

📋 Data Tables

🃏 Card Lists

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.